Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841997 - =sys-apps/fwupd-1.8.0: Fails to build due to missing tss2-esys
Summary: =sys-apps/fwupd-1.8.0: Fails to build due to missing tss2-esys
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: 2022-05-01 12:05 UTC by Petr Šabata
Modified: 2022-05-02 01:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,13.69 KB, text/plain)
2022-05-01 12:06 UTC, Petr Šabata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Šabata 2022-05-01 12:05:35 UTC
[ebuild     U  ] sys-apps/fwupd-1.8.0::gentoo [1.7.7-r2::gentoo] USE="amt dell elogind gnutls lzma synaptics thunderbolt uefi -archive -bash-completion -bluetooth -cbor% -fastboot -flashrom -gtk-doc -gusb -introspection -logitech -man -minimal -modemmanager -nvme -policykit -spi -sqlite -systemd -test -tpm" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 0 KiB

Fails during the meson configure phase:
(...)
Compiler for C supports arguments -fcf-protection: YES 
Checking if "__attribute__((noinline,noclone))" compiles: YES 
Run-time dependency tss2-esys found: NO (tried pkgconfig and cmake)

plugins/dell/meson.build:1:0: ERROR: Dependency "tss2-esys" not found, tried pkgconfig and cmake

Reproducible: Always

Steps to Reproduce:
1. Attempt to build =sys-apps/fwupd-1.8.0 on a fairly minimal system with the abovementioned USE flags.
Actual Results:  
The build fails due to a missing dependency.

Expected Results:  
The build pulls in all the required dependencies and hopefully passes.

Portage 3.0.30 (python 3.10.4-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.3.0, glibc-2.35-r4, 5.17.5-gentoo x86_64)
=================================================================
System uname: Linux-5.17.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.35
KiB Mem:    16020100 total,   4101744 free
KiB Swap:   16777212 total,  14189820 free
Timestamp of repository gentoo: Sun, 01 May 2022 09:33:04 +0000
Head commit of repository gentoo: ab2079084980a3c9edab8870f6766d87cc486524

sh dash 0.5.11.5
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000

local
    location: /var/db/repos/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -frename-registers -fweb -ftracer -ftree-vectorize -fvect-cost-model=dynamic -pipe -flto=auto -flto-partition=one -fuse-linker-plugin"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -frename-registers -fweb -ftracer -ftree-vectorize -fvect-cost-model=dynamic -pipe -flto=auto -flto-partition=one -fuse-linker-plugin"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -frename-registers -fweb -ftracer -ftree-vectorize -fvect-cost-model=dynamic -pipe -flto=auto -flto-partition=one -fuse-linker-plugin"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo notitles parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -frename-registers -fweb -ftracer -ftree-vectorize -fvect-cost-model=dynamic -pipe -flto=auto -flto-partition=one -fuse-linker-plugin"
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-march=native -O2 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -frename-registers -fweb -ftracer -ftree-vectorize -fvect-cost-model=dynamic -pipe -flto=auto -flto-partition=one -fuse-linker-plugin -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu -zcombreloc"
MAKEOPTS="-j12 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/zsh"
USE="10bit 8bit X acl aio alsa alsa-plugin amd64 amr aom apng asm avif branding brotli bzip2 cairo caps cjk cli compiler-rt crypt cups curl dav1d dbus dri dri3 egl elogind emoji exif filecaps flac fontconfig gif gmp graphite gssapi gzip harfbuzz heif hwdb ibus iconv icu inotify ipv6 ithreads jbig jemalloc jpeg jpeg2k kerberos libass libdrm libffi libglvnd libinput libsamplerate libtirpc lto lz4 lzma lzo magic minizip mjpeg mp3 ncurses nls nptl offensive ogg oniguruma opengl openh264 openmp openrc openssl opus orc pam pcre pgo pkcs11 png pulseaudio raw readline rootless sanitize screencast seccomp sha512 shm split-usr ssl ssp svg text tfo theora thread-safety threads tiff tls truetype udev uefi unicode v4l vaapi vim-syntax vorbis vulkan webp webrtc-aec x264 x265 xa xattr xvid zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Petr Šabata 2022-05-01 12:06:43 UTC
Created attachment 775766 [details]
build.log
Comment 2 Petr Šabata 2022-05-01 13:18:13 UTC
Looking at the source, it seems app-crypt/tpm2-tss is only needed with USE="dell".
Comment 3 Larry the Git Cow gentoo-dev 2022-05-02 01:52:34 UTC
The bug has been closed via the following commit(s):

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

commit c8a9cfb270cad1d39650ce0de0295e84d5002656
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-02 01:52:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-02 01:52:20 +0000

    sys-apps/fwupd: [QA] add missing dell dependency
    
    Closes: https://bugs.gentoo.org/841997
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/fwupd/fwupd-1.8.0-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)