Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837896 - sys-apps/fwupd-1.7.7: ERROR: Program 'vapigen' not found or not executable
Summary: sys-apps/fwupd-1.7.7: ERROR: Program 'vapigen' not found or not executable
Status: RESOLVED DUPLICATE of bug 837857
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-11 21:22 UTC by crabbed halo ablution
Modified: 2022-04-11 21:29 UTC (History)
0 users

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 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.