-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
build: CMakeLists.txt Do not use private makefile targets #5819
Conversation
fdff3f0
to
9c94708
Compare
Not sure what is the issue with the commit message. How can i get a diagnostic besides to read the commit message guidelines? |
The commit message is fine but it's not signed off: https://github.com/fluent/fluent-bit/runs/7628179973 Basically needs the |
9c94708
to
13fa158
Compare
Ah, @ptsneves the commit and PR message checker does not like the special characters you have
Can you just update it slightly (and the PR title to match) to remove it? |
$< is a private detail from the Makefile generated by CMakefile and id not under control or to be used at the CMakeLists level. In CMake 3.20 that private generation changed pre-requisite targets[1] and now logs contain the path compiler_depend.ts instead of the actual file. Signed-off-by: Paulo Neves <[email protected]>
13fa158
to
e7b87aa
Compare
ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ptsneves I confirmed https://github.com/fluent/fluent-bit/tree/fc325524d50fe179b76f127243ab9e03ddbdaaa4 is reported warnings.
|
$< is a private detail from the Makefile generated by CMakefile and id not under control or to be used at the CMakeLists level. In CMake 3.20 that private generation changed pre-requisite targets[1] and now logs contain the path compiler_depend.ts instead of the actual file. Signed-off-by: Paulo Neves <[email protected]> Signed-off-by: Paulo Neves <[email protected]>
$< is a private detail from the Makefile generated by CMakefile and id not under control or to be used at the CMakeLists level. In CMake 3.20 that private generation changed pre-requisite targets[1] and now logs contain the path compiler_depend.ts instead of the actual file. Signed-off-by: Paulo Neves <[email protected]> Signed-off-by: Paulo Neves <[email protected]> Signed-off-by: Manal Geries <[email protected]>
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 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]>
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]>
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]>
$< is a private detail from the Makefile generated by CMakefile and
are not under control or to be used at the CMakeLists level. In 3.20
that private generation changed pre-requisite targets[1] and now logs
contain the path compiler_depend.ts instead of the actual file.
Fixes #5492
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:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
Documentation
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.