https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/fwupd-1.9.4 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 868681 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: plugins/acpi-dmar/acpi-dmar-self-test.p/fu-self-test.c.o FAILED: plugins/acpi-dmar/libfu_plugin_acpi_dmar.a.p/fu-acpi-dmar.c.o FAILED: plugins/acpi-dmar/libfu_plugin_acpi_dmar.a.p/fu-acpi-dmar-plugin.c.o FAILED: plugins/acpi-facp/acpi-facp-self-test.p/fu-self-test.c.o FAILED: plugins/acpi-facp/libfu_plugin_acpi_facp.a.p/fu-acpi-facp.c.o FAILED: plugins/acpi-facp/libfu_plugin_acpi_facp.a.p/fu-acpi-facp-plugin.c.o FAILED: plugins/acpi-ivrs/acpi-ivrs-self-test.p/fu-self-test.c.o FAILED: plugins/acpi-ivrs/libfu_plugin_acpi_ivrs.a.p/fu-acpi-ivrs.c.o FAILED: plugins/acpi-ivrs/libfu_plugin_acpi_ivrs.a.p/fu-acpi-ivrs-plugin.c.o FAILED: plugins/amd-gpu/libfu_plugin_amd_gpu.a.p/fu-amd-gpu-device.c.o FAILED: plugins/amd-gpu/libfu_plugin_amd_gpu.a.p/fu-amd-gpu-plugin.c.o FAILED: plugins/amd-pmc/libfu_plugin_amd_pmc.a.p/fu-amd-pmc-device.c.o FAILED: plugins/amd-pmc/libfu_plugin_amd_pmc.a.p/fu-amd-pmc-plugin.c.o FAILED: plugins/android-boot/libfu_plugin_android_boot.a.p/fu-android-boot-device.c.o FAILED: plugins/android-boot/libfu_plugin_android_boot.a.p/fu-android-boot-plugin.c.o FAILED: plugins/ata/ata-self-test.p/fu-self-test.c.o FAILED: plugins/ata/libfu_plugin_ata.a.p/fu-ata-device.c.o FAILED: plugins/ata/libfu_plugin_ata.a.p/fu-ata-plugin.c.o FAILED: plugins/bcm57xx/libfu_plugin_bcm57xx.a.p/fu-bcm57xx-common.c.o FAILED: plugins/bcm57xx/libfu_plugin_bcm57xx.a.p/fu-bcm57xx-plugin.c.o ../fwupd-1.9.4/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: fu-efi-struct.h: No such file or directory Program gi-docgen found: NO Run-time dependency systemd found: NO (tried pkgconfig and cmake) Run-time dependency umockdev-1.0 found: NO (tried pkgconfig and cmake) Run-time dependency valgrind found: NO (tried pkgconfig) ../fwupd-1.9.4/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: fu-efi-struct.h: No such file or directory
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4543929f146615d7ec86133bfcc95fd08669de9d commit 4543929f146615d7ec86133bfcc95fd08669de9d Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-09-07 08:50:11 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-09-07 09:27:45 +0000 sys-apps/fwupd: add 1.9.5, drop 1.9.4 Closes: https://bugs.gentoo.org/913003 Signed-off-by: Marek Szuba <marecki@gentoo.org> sys-apps/fwupd/Manifest | 2 +- sys-apps/fwupd/{fwupd-1.9.4.ebuild => fwupd-1.9.5.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)
I can still reproduce the error with sys-apps/fwupd-1.9.5 (amd64 with llvm/musl toolchain): ``` samu: job failed: clang -Isrc/libfwupdengine.so.p -Isrc -I../fwupd-1.9.5/src -I. -I../fwupd-1.9.5 -Ilibfwupd -I../fwupd-1.9.5/libfwupd -Ilibfwupdplugin -I../fwupd-1.9.5/libfwupdplugin -I/usr/include/libjcat-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxmlb-2 -I/usr/include/libgcab-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gudev-1.0 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/polkit-1 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-cast-function-type -Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings -fstack-protector-strong -DFWUPD_COMPILATION -D_DEFAULT_SOURCE -D_BSD_SOURCE -D__BSD_VISIBLE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_DARWIN_C_SOURCE=900000 -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -flto -Wno-incompatible-function-pointer-types -fPIC -pthread -MD -MQ src/libfwupdengine.so.p/fu-udev-backend.c.o -MF src/libfwupdengine.so.p/fu-udev-backend.c.o.d -o src/libfwupdengine.so.p/fu-udev-backend.c.o -c ../fwupd-1.9.5/src/fu-udev-backend.c In file included from ../fwupd-1.9.5/src/fu-udev-backend.c:11: In file included from ../fwupd-1.9.5/libfwupdplugin/fwupdplugin.h:47: ../fwupd-1.9.5/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: 'fu-efi-struct.h' file not found 11 | #include "fu-efi-struct.h" | ^~~~~~~~~~~~~~~~~ 1 error generated. samu: job failed: clang -Isrc/libfwupdengine.so.p -Isrc -I../fwupd-1.9.5/src -I. -I../fwupd-1.9.5 -Ilibfwupd -I../fwupd-1.9.5/libfwupd -Ilibfwupdplugin -I../fwupd-1.9.5/libfwupdplugin -I/usr/include/libjcat-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxmlb-2 -I/usr/include/libgcab-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gudev-1.0 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/polkit-1 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-cast-function-type -Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings -fstack-protector-strong -DFWUPD_COMPILATION -D_DEFAULT_SOURCE -D_BSD_SOURCE -D__BSD_VISIBLE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_DARWIN_C_SOURCE=900000 -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -flto -Wno-incompatible-function-pointer-types -fPIC -pthread -MD -MQ src/libfwupdengine.so.p/fu-security-attr-common.c.o -MF src/libfwupdengine.so.p/fu-security-attr-common.c.o.d -o src/libfwupdengine.so.p/fu-security-attr-common.c.o -c ../fwupd-1.9.5/src/fu-security-attr-common.c In file included from ../fwupd-1.9.5/src/fu-security-attr-common.c:14: In file included from ../fwupd-1.9.5/src/fu-security-attr-common.h:9: In file included from ../fwupd-1.9.5/libfwupdplugin/fwupdplugin.h:47: ../fwupd-1.9.5/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: 'fu-efi-struct.h' file not found 11 | #include "fu-efi-struct.h" | ^~~~~~~~~~~~~~~~~ 1 error generated. samu: job failed: clang -Isrc/libfwupdengine.so.p -Isrc -I../fwupd-1.9.5/src -I. -I../fwupd-1.9.5 -Ilibfwupd -I../fwupd-1.9.5/libfwupd -Ilibfwupdplugin -I../fwupd-1.9.5/libfwupdplugin -I/usr/include/libjcat-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxmlb-2 -I/usr/include/libgcab-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gudev-1.0 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/polkit-1 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-cast-function-type -Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings -fstack-protector-strong -DFWUPD_COMPILATION -D_DEFAULT_SOURCE -D_BSD_SOURCE -D__BSD_VISIBLE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_DARWIN_C_SOURCE=900000 -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -flto -Wno-incompatible-function-pointer-types -fPIC -pthread -MD -MQ src/libfwupdengine.so.p/fu-remote-list.c.o -MF src/libfwupdengine.so.p/fu-remote-list.c.o.d -o src/libfwupdengine.so.p/fu-remote-list.c.o -c ../fwupd-1.9.5/src/fu-remote-list.c In file included from ../fwupd-1.9.5/src/fu-remote-list.c:22: In file included from ../fwupd-1.9.5/src/fu-remote-list.h:9: In file included from ../fwupd-1.9.5/libfwupdplugin/fwupdplugin.h:47: ../fwupd-1.9.5/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: 'fu-efi-struct.h' file not found 11 | #include "fu-efi-struct.h" | ^~~~~~~~~~~~~~~~~ 1 error generated. samu: job failed: clang -Isrc/fwupd.p -Isrc -I../fwupd-1.9.5/src -I. -I../fwupd-1.9.5 -Ilibfwupd -I../fwupd-1.9.5/libfwupd -Ilibfwupdplugin -I../fwupd-1.9.5/libfwupdplugin -I/usr/include/libjcat-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxmlb-2 -I/usr/include/libgcab-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/gudev-1.0 -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/polkit-1 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wignored-qualifiers -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-cast-function-type -Wno-address-of-packed-member -Wno-unknown-pragmas -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wunused-variable -Wvla -Wwrite-strings -fstack-protector-strong -DFWUPD_COMPILATION -D_DEFAULT_SOURCE -D_BSD_SOURCE -D__BSD_VISIBLE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_DARWIN_C_SOURCE=900000 -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -g0 -flto -Wno-incompatible-function-pointer-types -pthread '-DFU_OFFLINE_DESTDIR=""' -MD -MQ src/fwupd.p/fu-daemon.c.o -MF src/fwupd.p/fu-daemon.c.o.d -o src/fwupd.p/fu-daemon.c.o -c ../fwupd-1.9.5/src/fu-daemon.c In file included from ../fwupd-1.9.5/src/fu-daemon.c:11: In file included from ../fwupd-1.9.5/libfwupdplugin/fwupdplugin.h:47: ../fwupd-1.9.5/libfwupdplugin/fu-efi-signature.h:11:10: fatal error: 'fu-efi-struct.h' file not found 11 | #include "fu-efi-struct.h" | ^~~~~~~~~~~~~~~~~ 1 error generated. samu: subcommands failed ```
Only reproducible with dev-util/samurai after adding `NINJA=samu` to make.conf.
Upstream bug report: https://github.com/fwupd/fwupd/issues/6175
(In reply to hugegameartgd from comment #6) > Upstream bug report: https://github.com/fwupd/fwupd/issues/6175 Fixed by https://github.com/fwupd/fwupd/commit/085a89ce3f7734fd9bc0527df7f0bb05e27fbaef (main branch)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e47682057e9621a7728df1e4e510588bb9a80ed2 commit e47682057e9621a7728df1e4e510588bb9a80ed2 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2023-09-28 08:11:47 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2023-09-28 08:24:58 +0000 sys-apps/fwupd: backport part 2 of parallel-build fixes Closes: https://bugs.gentoo.org/913003 Signed-off-by: Marek Szuba <marecki@gentoo.org> sys-apps/fwupd/files/fwupd-1.9.5-parallel_build.patch | 16 ++++++++++++++++ sys-apps/fwupd/fwupd-1.9.5.ebuild | 1 + 2 files changed, 17 insertions(+)