Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 783033

Summary: sys-apps/fwupd-1.4.7 Dependency "tss2-esys" not found
Product: Gentoo Linux Reporter: MT <toffanin.mauro>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: alarig, gem, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description MT 2021-04-15 19:30:36 UTC
When upgrading sys-apps/fwupd-1.4.7, the configure phase fails with the following error from Meson:

> 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

Indeed, dependency "tss2-esys" (app-crypt/tpm2-tss) is not installed in my system. The ebuild pulls in app-crypt/tpm2-tss only if the USE flags 'tpm' or 'uefi' are enable, which is not my case:

> sys-apps/fwupd-1.4.6::gentoo was built with the following:
USE="amt man synaptics systemd -agent -dell -elogind -gtk-doc -introspection -minimal -nvme -redfish -test -thunderbolt -tpm -uefi" PYTHON_SINGLE_TARGET="python3_8 -python3_7"

I can temporarily fix the issue by forcing USE flags in /etc/portage, so it's not affecting me much at the moment, but eventually this missing dependency needs to be properly sorted out within the ebuild.

Reproducible: Always
Comment 1 Gary E. Miller 2021-04-15 20:10:54 UTC
+1
Comment 2 MT 2021-05-21 12:10:22 UTC
The bug has been resolved by this commit:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efc245ed225db85e36e141457b42f0dd8b8435b