dev-embedded/u-boot-utils: Add a missing dependency#37991
dev-embedded/u-boot-utils: Add a missing dependency#37991krnowak wants to merge 1 commit intogentoo:masterfrom
Conversation
Fixes a build in Flatcar:
x86_64-pc-linux-gnu-gcc -Wp,-MD,tools/.mkeficapsule.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -O2 -pipe -std=gnu11 -DCONFIG_FIT_SIGNATURE -DCONFIG_FIT_SIGNATURE_MAX_SIZE=0xffffffff -DCONFIG_FIT_CIPHER -include ./include/compiler.h -idirafterinclude -idirafter./arch/sandbox/include -I./scripts/dtc/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -I/usr/include/uuid -Wl,-O2 -Wl,--as-needed -o tools/mkeficapsule tools/mkeficapsule.c -lgnutls -luuid
tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h: No such file or directory
21 | #include <gnutls/gnutls.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
The build system silently ignores missing gnutls by adding nothing to
`CFLAGS` and adding `-lgnutls` to `LDLIBS`.
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Pull Request assignmentSubmitter: @krnowak dev-embedded/u-boot-tools: @gentoo/embedded Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
|
mkeficapsule is not being built on my system, but I don't know why. |
|
Ah, Flatcar is missing the patch that Gentoo has to disable it. |
|
I synced the package with Gentoo on Flatcar, so we should have it the same. Unless the patch is elsewhere. |
Pull request CI reportReport generated at: 2024-08-06 11:00 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
It looks like the last version dropped the patch but didn't resolve the dependency issues. Since we are already building mkeficapsule, it makes sense to install it if folks want to use it, I will add that bit as well. I will merge your contribution and do the remaining changes in the following commit. Thanks! |
Right, should have done so, sorry about that.
Gah, that's a mistake I'm quite consistently doing. :) Thanks for fixing this in the commit message.
Thanks too! |
Fixes a build in Flatcar:
x86_64-pc-linux-gnu-gcc -Wp,-MD,tools/.mkeficapsule.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -O2 -pipe -std=gnu11 -DCONFIG_FIT_SIGNATURE -DCONFIG_FIT_SIGNATURE_MAX_SIZE=0xffffffff -DCONFIG_FIT_CIPHER -include ./include/compiler.h -idirafterinclude -idirafter./arch/sandbox/include -I./scripts/dtc/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE -I/usr/include/uuid -Wl,-O2 -Wl,--as-needed -o tools/mkeficapsule tools/mkeficapsule.c -lgnutls -luuid
The build system silently ignores missing gnutls by adding nothing to
CFLAGSand adding-lgnutlstoLDLIBS.I'm not sure if I should also add a dependency on
sys-apps/util-linuxto make sure thatpkg-config --cflags uuidalso always works, since the package is theprofiles/default/linux/packageslist.Please check all the boxes that apply:
Signed-off-byline to every commit in the pull request.pkgcheck scan --commits --netto check for issues with my commits.Please note that all boxes must be checked for the pull request to be merged.