Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: Do not use private makefile targets in CMakelists.txt #9450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikomauno
Copy link

By extending the scope of changes introduced in commit fc32552
("build: CMakeLists.txt Do not use private makefile targets (#5819)") we mitigate the following error produced by BitBake in Yocto

ERROR: fluentbit-3.1.9-r0 do_package_qa: QA Issue: File /usr/bin/fluent-bit in package fluentbit contains reference to TMPDIR [buildpaths]
ERROR: fluentbit-3.1.9-r0 do_package_qa: Fatal QA errors were found, failing task.

stemming from

  $ strings packages-split/fluentbit/usr/bin/fluent-bit
  ...
  $(subst /yocto/upstream/build/tmp/work/cortexa57-poky-linux/fluentbit/3.1.9/git/,,$(abspath $<))
  ...

Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • [N/A] Example configuration file for the change
  • [N/A] Debug log output from testing the change
  • [N/A] Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [N/A] Run local packaging test showing all targets (including any new ones) build.
  • [N/A] Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

@patrick-stephens
Copy link
Contributor

It looks like these are all in upstream dependencies so really should be updated there and then the new versions sync'd to Fluent Bit. I don't think this will be accepted.

@patrick-stephens
Copy link
Contributor

Additionally you've made a change to Windows builds so really need to verify it functions for that target too.

@patrick-stephens patrick-stephens added ok-package-test Run PR packaging tests and removed docs-required labels Oct 1, 2024
By extending the scope of changes introduced in commit
fc32552
("build: CMakeLists.txt Do not use private makefile targets (fluent#5819)")
we mitigate the following error produced by BitBake in Yocto

  ERROR: fluentbit-3.1.9-r0 do_package_qa: QA Issue: File /usr/bin/fluent-bit in package fluentbit contains reference to TMPDIR [buildpaths]
  ERROR: fluentbit-3.1.9-r0 do_package_qa: Fatal QA errors were found, failing task.

stemming from

  $ strings packages-split/fluentbit/usr/bin/fluent-bit
  ...
  $(subst /yocto/upstream/build/tmp/work/cortexa57-poky-linux/fluentbit/3.1.9/git/,,$(abspath $<))
  ...

Signed-off-by: Niko Mauno <[email protected]>
@nikomauno nikomauno force-pushed the master-fix-cmakelists branch from 940a4e2 to 3bf76a1 Compare October 1, 2024 10:07
@nikomauno
Copy link
Author

Additionally you've made a change to Windows builds so really need to verify it functions for that target too.

Indeed, that was not intentional -- updated commit to avoid this from happening.

@nikomauno
Copy link
Author

It looks like these are all in upstream dependencies so really should be updated there and then the new versions sync'd to Fluent Bit. I don't think this will be accepted.

Thank You for pointing this out, as a first time submitter I was wholly unaware of the fact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-package-test Run PR packaging tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants