Created attachment 698331 [details] build.log > Checking for function "pwrite" : YES > Found CMake: /usr/bin/cmake (3.18.5) > Run-time dependency tss2-esys found: NO (tried pkgconfig and cmake) > > meson.build:273:2: ERROR: Dependency "tss2-esys" not found, tried pkgconfig and cmake > > A full log can be found at /var/tmp/portage/sys-apps/fwupd-1.4.7/work/fwupd-1.4.7-build/meson-logs/meson-log.txt > * ERROR: sys-apps/fwupd-1.4.7::gentoo failed (configure phase): > * (no error message) >
Installing app-crypt/tpm2-tss fixes the problem so probably a missing test dep.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d039d6fb7710bff785de9a6f73f74d4856f5586e commit d039d6fb7710bff785de9a6f73f74d4856f5586e Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-04-12 16:39:55 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-04-12 16:41:12 +0000 sys-apps/fwupd: Fixed build with FEATURES="test" Closes: https://bugs.gentoo.org/780903 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/fwupd/fwupd-1.4.7.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Having none of the USE flags that would pull in app-crypt/tpm2-tss activated I still get the same error. After some digging I found the line WARNING: Unknown options: "plugin_tpm" in /var/tmp/portage/sys-apps/fwupd-1.4.7/work/fwupd-1.4.7-build/meson-logs/meson-log.txt and then in /var/tmp/portage/sys-apps/fwupd-1.4.7/work/fwupd-1.4.7/meson.build if build_standalone and get_option('tpm') tpm2tss = dependency('tss2-esys', version : '>= 2.0') conf.set('HAVE_TSS2', '1') else tpm2tss = dependency('', required: false) endif So I changed $(meson_use tpm plugin_tpm) to $(meson_use tpm tpm) in the ebuild and the error was gone.
I also hit the same problem. I have only these flags enabled: USE="elogind nvme". sys-apps/fwupd-1.5.9 doesn't have this problem anymore.
Can you test fwupd-1.4.8 as well please?
> Checking for function "getuid" : YES > Checking for function "realpath" : YES > Header <locale.h> has symbol "LC_MESSAGES" : YES > Checking for function "pwrite" : YES > Found CMake: /usr/bin/cmake (3.18.5) > Run-time dependency tss2-esys found: NO (tried pkgconfig and cmake) > > meson.build:273:2: ERROR: Dependency "tss2-esys" not found, tried pkgconfig and cmake > > A full log can be found at /var/tmp/portage/sys-apps/fwupd-1.4.8/work/fwupd-1.4.8-build/meson-logs/meson-log.txt > * ERROR: sys-apps/fwupd-1.4.8::gentoo failed (configure phase): > * (no error message) >
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efc245ed225db85e36e141457b42f0dd8b8435b commit 9efc245ed225db85e36e141457b42f0dd8b8435b Author: Alarig Le Lay <alarig@swordarmor.fr> AuthorDate: 2021-04-24 12:25:25 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-04-24 12:57:16 +0000 sys-apps/fwupd: tpm isn’t a plugin anymore Closes: https://bugs.gentoo.org/780903 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/20524 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/fwupd/fwupd-1.4.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)