Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783033 - sys-apps/fwupd-1.4.7 Dependency "tss2-esys" not found
Summary: sys-apps/fwupd-1.4.7 Dependency "tss2-esys" not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-15 19:30 UTC by MT
Modified: 2021-05-21 12:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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