Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435850 - dev-lang/vala:0.18 slot installs 0.17.5 and 0.17.6 versions
Summary: dev-lang/vala:0.18 slot installs 0.17.5 and 0.17.6 versions
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal QA
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 12:29 UTC by Markos Chandras (RETIRED)
Modified: 2012-09-22 18:31 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 Markos Chandras (RETIRED) gentoo-dev 2012-09-22 12:29:13 UTC
Hi,

I really don't understand why versions 0.17.X are in the 0.18 slot. This breaks all packages that use the following mechanism to get the currently installed vala compiler

myvalaver="$(best_version dev-lang/vala | sed -e's@dev-lang/vala-\([0-9]*\.[0-9]*\)\..*@\1@g')"
myvalac="$(type -p valac-${myvalaver})"

So they match 0.17.X but what it is actually installed is vala-0.18

Is this expected?
Comment 1 Pacho Ramos gentoo-dev 2012-09-22 13:07:25 UTC
0.17.x versions are development versions that will lead to 0.18 stable versions, what I don't know is why some packages are using that strange way to get current vala compiler, does vala.eclass don't work for you?
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2012-09-22 15:26:32 UTC
The problem is that the semantics are different in the 0.18 slow compared to the rest of the slots. Shouldn't that be renamed to 0.17 and then use 0.18 when this version is finally out?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-22 18:31:42 UTC
vala-0.17.x versions are betas for vala-0.18. The ebuild slots correspond to the suffixes upstream adds to executables and pkgconfig files: vala-0.17.6 installs /usr/bin/valac-0.18 and libvala-0.18.pc.

Vala, like most packages in the gnome ecosystem, uses the traditional convention that odd minor versions are development, even are final release. The myvalavar/myvalac code that you proposed was therefore always broken - you just didn't notice until now because you don't use the gnome overlay, where unstable vala versions live until something in the tree needs them :)

To automatically use the best installed vala slot, please use vala.eclass.