Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835778 - app-editors/zile: uses vala_setup for binpkgs (No installed vala in || ( dev-lang/vala:0.54 dev-lang/vala:0.52 ))
Summary: app-editors/zile: uses vala_setup for binpkgs (No installed vala in || ( dev-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-22 02:02 UTC by Sam James
Modified: 2022-04-12 07:01 UTC (History)
1 user (show)

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


Attachments
build.log (file_835778.txt,2.41 KB, text/plain)
2022-03-22 02:02 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-22 02:02:16 UTC
Created attachment 767543 [details]
build.log

On some infra hosts, when merging a zile binpkg, I hit the following error:
>* ERROR: app-editors/zile-2.6.2-r1::gentoo failed (setup phase):
>* No installed vala in || ( dev-lang/vala:0.54 dev-lang/vala:0.52 )
>* 
>* Call stack:
>* ebuild.sh, line 127: Called pkg_setup
>* environment, line 1156: Called vala_setup
>* environment, line 1932: Called die
>* The specific snippet of code:
>* [[ -n ${version} ]] || die "No installed vala in $(vala_depend)";
>* 

After discussing this in #gentoo-desktop with the GNOME team, it seems vala_setup shouldn't be called in pkg_setup without a guard for binpkgs, so may fit better in src_prepare?
Comment 1 Ulrich Müller gentoo-dev 2022-03-22 08:19:51 UTC
Right, I have overlooked that usage case. Sorry for this.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-22 08:27:40 UTC
The bug has been closed via the following commit(s):

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

commit f1d14fd556a033b31394b31e561e2f62267ef815
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-03-22 08:25:24 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-03-22 08:25:55 +0000

    app-editors/zile: Don't call vala_setup when installing a binpkg
    
    Closes: https://bugs.gentoo.org/835778
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/zile/{zile-2.6.2-r1.ebuild => zile-2.6.2-r2.ebuild} | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)