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

Bug 837866

Summary: sys-apps/fwupd-1.7. -- Program 'vapigen' not found or not executable
Product: Gentoo Linux Reporter: Gary E. Miller <gem>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gem, whissi, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=837962
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Gary E. Miller 2022-04-11 18:22:51 UTC
Fails to emerge

Reproducible: Always

Steps to Reproduce:
1. emerge fwupd
2.
3.
Actual Results:  

libfwupd/meson.build:148:8: ERROR: Program 'vapigen' not found or not executable




dilbert ~ # emerge -pqv '=sys-apps/fwupd-1.7.7::gentoo'
[ebuild     U ] sys-apps/fwupd-1.7.7 [1.7.6] USE="amt bluetooth elogind gnutls introspection man nvme policykit sqlite synaptics thunderbolt uefi -archive -bash-completion -dell -fastboot -flashrom -gtk-doc -gusb -logitech -lzma -minimal -modemmanager -spi -systemd -test -tpm" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 
dilbert ~ # emerge --info '=sys-apps/fwupd-1.7.7::gentoo'
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.1, glibc-2.35-r2, 5.17.1-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.17.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.35
KiB Mem:    32722672 total,  10084544 free
KiB Swap:   32767996 total,  32761596 free
Timestamp of repository gentoo: Mon, 11 Apr 2022 16:45:01 +0000
Head commit of repository gentoo: 8245fce27c1cd6734737ee870b47b300fde4ae09
Head commit of repository brother-overlay: 843fdeb30008cbbe6361ef47a127d3489a0e66a7

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.1::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.0::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.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r1::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.1::gentoo, 14.0.0-r1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.0::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.1::gentoo, 14.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

vifino-overlay
    location: /var/lib/layman/vifino-overlay
    sync-type: laymansync
    sync-uri: https://github.com/vifino/vifino-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fcommon"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /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="-O2 -pipe -march=native -fcommon"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=15"
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="-O2 -pipe -march=native -fcommon"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -fcommon"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi adns alsa alsa-plugin amd64 appindicator blake2 bluetooth bluray branding bs2b bzip2 cairo calf cdda cdr chromecast cli corefonts cpudetection cron crypt cups curl dav1d dbus dri dri3 drm dts dv dvb dvd dvdr elogind encode equalizer exif extra faac faad fdk ffmpeg ffmpegthumbnailer fingerprint flac fontconfig fontforge fortran gbm gdal gdbm gif gimp gles2 glib gpg gpm gstreamer gtk gtk3 gui harfbuzz hddtemp http2 iconv icu introspection ipp_autosetup ipv6 jpeg keybinder ladspa lastfm lcms libcanberra libglvnd libmpeg2 libmpv libnotify libtirpc lm_sensors lto lv2 lz4 lzo mad matroska md5sum mda-lv2 mng mp3 mp4 mpeg mtp multilib ncurses nfs nfsv41 nls nptl nvenc offensive ogg openal opengl openmp opus pam pango pcap pcre pdf pgo png policykit postproc ppds projectm pulseaudio pvr python qml qt5 readline realtime rtc rtmp rubberband screencast sctp sdl seccomp sftp sna snmp sox spandsp spell split-usr sqlite ssl startup-notification svg theora threads tiff tools truetype twolame udev udisks unicode update_drivedb upnp upower usb uxa v4l vaapi vdpau vdr vim vim-syntax vlc vmaf vorbis vpx wg-quick wxwidgets x264 x265 xa xattr xcb xinerama xml xrandr xv xvid zamaudio zeroconf zlib 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27 ruby31" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia iris nouveau" 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, 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, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Gary E. Miller 2022-04-11 18:23:46 UTC
Created attachment 770135 [details]
build log

build log
Comment 2 Gary E. Miller 2022-04-11 18:24:47 UTC
Configuring fwupd-version.h using configuration
Compiler for C supports link arguments -Wl,--version-script,/var/tmp/portage/sys-apps/fwupd-1.7.7/work/fwupd-1.7.7/libfwupd/fwupd.map: YES 
Run-time dependency gobject-introspection-1.0 found: YES 1.72.0
Dependency gobject-introspection-1.0 found: YES 1.72.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.72.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program vapigen found: NO

libfwupd/meson.build:148:8: ERROR: Program 'vapigen' not found or not executable

A full log can be found at /var/tmp/portage/sys-apps/fwupd-1.7.7/work/fwupd-1.7.7-build/meson-logs/meson-log.txt
 * ERROR: sys-apps/fwupd-1.7.7::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 3149:  Called meson_src_configure
 *   environment, line 2400:  Called die
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-04-11 19:19:30 UTC
Please post the output of

  emerge -Opv dev-lang/vala

as a comment to this bug.
Comment 4 Larry the Git Cow gentoo-dev 2022-04-11 19:23:19 UTC
The bug has been closed via the following commit(s):

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

commit a49c1e4861cbc3ef6c03859193849d05261f3f36
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2022-04-11 19:22:27 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2022-04-11 19:23:10 +0000

    sys-apps/fwupd: Revbump to fix vala detection
    
    which has been changed for EAPI-8
    
    Closes: https://bugs.gentoo.org/837866
    Closes: https://bugs.gentoo.org/837857
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/fwupd/{fwupd-1.7.7.ebuild => fwupd-1.7.7-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 5 Gary E. Miller 2022-04-11 19:50:27 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #3)
> Please post the output of
> 
>   emerge -Opv dev-lang/vala
> 
> as a comment to this bug.

Prolly too late, but:

dilbert ~ #  emerge -Opv dev-lang/vala

These are the packages that would be merged, in order:

[ebuild   R    ] dev-lang/vala-0.56.0:0.56::gentoo  USE="-test -valadoc" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 6 Gary E. Miller 2022-04-11 19:50:50 UTC
Thanks for the quick fix!
Comment 7 Gary E. Miller 2022-04-11 19:51:47 UTC

*** This bug has been marked as a duplicate of bug 837857 ***