Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835841 - gnome-extra/evolution-data-server-3.44.0[vala]: build cannot find versioned valac - calls vala_src_prepare() while EAPI>=8 must call vala_setup()
Summary: gnome-extra/evolution-data-server-3.44.0[vala]: build cannot find versioned v...
Status: RESOLVED FIXED
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-03-23 08:18 UTC by Christian Bricart
Modified: 2022-03-23 08:19 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 Christian Bricart 2022-03-23 08:18:33 UTC
the valac.eclass defines vala_src_prepare() wrapper for "${EAPI} == [67]" only.
gnome-extra/evolution-data-server-3.44.0 ebuild defines to be EAPI=8, which causes the versionied valac setup to fail in src_prepare() and eventually causes the build to fail.

the ebuild must call vala_setup() directly in src_prepare() instead.

Reproducible: Always




 * Package:    gnome-extra/evolution-data-server-3.44.0
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gnome-online-accounts gtk introspection ipv6 kernel_linux userland_GNU vala weather
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking evolution-data-server-3.44.0.tar.xz to /var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/work
>>> Source unpacked in /var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/work
>>> Preparing source in /var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/work/evolution-data-server-3.44.0 ...
/var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/temp/environment: line 2704: vala_src_prepare: command not found
...
--   Found sqlite3, version 3.38.1
CMake Error at CMakeLists.txt:976 (find_program):
  find_program called with incorrect number of arguments


CMake Error at CMakeLists.txt:978 (message):
  The valac not found.  Install it or disable Vala bindings with
  -DENABLE_VALA_BINDINGS=OFF


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/work/evolution-data-server-3.44.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage-tmpfs/portage/gnome-extra/evolution-data-server-3.44.0/work/evolution-data-server-3.44.0_build/CMakeFiles/CMakeError.log".
 * ERROR: gnome-extra/evolution-data-server-3.44.0::gentoo failed (configure phase):
 *   cmake failed
 * 
...
Comment 1 Larry the Git Cow gentoo-dev 2022-03-23 08:19:43 UTC
The bug has been closed via the following commit(s):

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

commit 49ecfd7a4a59c77466256b9cd4facd5a709eb323
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-03-23 08:18:50 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-03-23 08:19:37 +0000

    gnome-extra/evolution-data-server: Call vala_setup
    
    Closes: https://bugs.gentoo.org/835841
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 gnome-extra/evolution-data-server/evolution-data-server-3.44.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)