Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445580 - two slot dev-lang/vala-0.14.2-r2:0.14 dev-lang/vala-0.18.1:0.18 with dev-libs/vala-common-0.18.1 cause blocks issue
Summary: two slot dev-lang/vala-0.14.2-r2:0.14 dev-lang/vala-0.18.1:0.18 with dev-libs...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-02 09:01 UTC by Glenn
Modified: 2012-12-03 19:13 UTC (History)
0 users

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


Attachments
emerge block information (emerge_gnome-shell.log,8.95 KB, text/plain)
2012-12-02 09:01 UTC, Glenn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn 2012-12-02 09:01:53 UTC
Created attachment 331188 [details]
emerge block information

When I compile gnome-shell use command:
sudo emerge -av gnome-shell

and there have a block issue caused by media-video/cheese/cheese-3.4.2.ebuild
attachment is block info.

--- cheese-3.4.2.ebuild.orig    2012-12-02 16:45:48.375622831 +0800
+++ cheese-3.4.2.ebuild 2012-12-02 16:46:06.168808888 +0800
@@ -56,7 +56,7 @@
 
        sendto? ( >=gnome-extra/nautilus-sendto-2.91 )"
 DEPEND="${COMMON_DEPEND}
-       >=dev-lang/vala-0.13.2:0.14
+       >=dev-lang/vala-0.13.2
        >=dev-util/intltool-0.40
        virtual/pkgconfig

Because media-video/cheese DEPEND >=dev-lang/vala-0.13.2:0.14, and it indicates that slot mast be 0.14, so media-video/cheese depend install dev-lang/vala-0.14.2-r1 
but gnome-shell depend install dev-lang/vala-0.18.1:0.18 and dev-libs/vala-common-0.18.1
Then there occur block problem: 
[blocks B      ] <dev-lang/vala-0.14.2-r2:0.14 ("<dev-lang/vala-0.14.2-r2:0.14" is blocking dev-libs/vala-common-0.18.1)

I modify cheese-3.4.2.ebuild to solve this block issue, but I feel it is not the best way.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-03 19:06:25 UTC
You simply need to update all of your vala slots at the same time, e.g. the 0.14 slot needs to be updated to version 0.14.2-r2 at the same time as the 0.18 slot is updated to version 0.18.1

You can use the following command:
# emerge -1auv $(equery list dev-lang/vala --format '$cp:$slot')

(If you don't have equery, you will need to install app-portage/gentoolkit first)
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-12-03 19:13:17 UTC
Also, if you haven't done "emerge sync" recently, do so now: vala-0.14.2-r2 was marked stable last month, so portage should not be attempting to pull in 0.14.2-r1 unless you have a rather outdated package tree.