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

Bug 837896

Summary: sys-apps/fwupd-1.7.7: ERROR: Program 'vapigen' not found or not executable
Product: Gentoo Linux Reporter: crabbed halo ablution <crabbedhaloablution>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description crabbed halo ablution 2022-04-11 21:22:35 UTC
Compilation fails at:
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


Reproducible: Always
Comment 1 Conrad Kostecki gentoo-dev 2022-04-11 21:24:48 UTC

*** This bug has been marked as a duplicate of bug 837884 ***
Comment 2 Conrad Kostecki gentoo-dev 2022-04-11 21:25:33 UTC

*** This bug has been marked as a duplicate of bug 837857 ***
Comment 3 crabbed halo ablution 2022-04-11 21:29:56 UTC
I am currently unable to attach a build log, bugzilla errors out with "Internal Server Error".
I've found the cause of the error, though.

in pkg_setup(), vala_setup needs to be called to setup the vala environment. In 1.7.6. which was EAPI 7, vala.eclass had vala_src_prepare which just called vala_setup, but that went away when 1.7.7 changed to EAPI 8. In the log file the following lines also appear:
>>> Preparing source in /var/tmp/portage/sys-apps/fwupd-1.7.7/work/fwupd-1.7.7 ...
/var/tmp/portage/sys-apps/fwupd-1.7.7/temp/environment: line 3185: vala_src_prepare: command not found
>>> Source prepared.

So the call to vala_src_prepare should also be removed.