Gentoo Archives: gentoo-user

From: Jonathan Callen <jcallen@g.o>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: A Glitch in the Matrix or just another burb of emerge... ;)
Date: Wed, 11 May 2016 03:14:42
Message-Id: 5a3ec438-be53-7fc6-98ce-fe724bf3b6c5@gentoo.org
In Reply to: [gentoo-user] Re: A Glitch in the Matrix or just another burb of emerge... ;) by Hartmut Figge
1 On 05/10/2016 10:59 PM, Hartmut Figge wrote:
2 > Jonathan Callen:
3 >
4 >> I haven't looked into why gcc 4.9 blocks older versions now, although
5 >> I know it didn't always do so.
6 >
7 > I was bitten by that problem today. First I masked gcc-4.9 so I was able
8 > to do an emerge @world. Then I commented out the masking of gcc-4.9 and
9 > tried to emerge it, I got
10 >
11 > i5-64 hafi # emerge -pv gcc
12 >
13 > These are the packages that would be merged, in order:
14 >
15 > Calculating dependencies... done!
16 > [ebuild R ] sys-devel/gcc-4.9.3:4.9.3::gentoo USE="cxx fortran
17 > (multilib) nls nptl openmp sanitize vtv%* (-altivec) (-awt) -cilk -debug
18 > -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -multislot
19 > -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 39 KiB
20 > [blocks B ] <sys-devel/gcc-4.9 ("<sys-devel/gcc-4.9" is blocking
21 > sys-devel/gcc-4.9.3)
22 >
23 > Total: 1 package (1 reinstall), Size of downloads: 39 KiB
24 > Conflict: 1 block (1 unsatisfied)
25 >
26 > * Error: The above package list contains packages which cannot be
27 > * installed at the same time on the same system.
28 >
29 > (sys-devel/gcc-4.9.3:4.9.3/4.9.3::gentoo, ebuild scheduled for merge)
30 > pulled in by
31 > gcc
32 > sys-devel/gcc required by @system
33 > >=sys-devel/gcc-4.9.3 required by
34 > (dev-java/icedtea-bin-7.2.6.6-r1:7/7::gentoo, installed)
35 >
36 > (sys-devel/gcc-4.7.4:4.7.4/4.7.4::gentoo, installed) pulled in by
37 > sys-devel/gcc:4.7.4 required by @selected
38 >
39 > It seems judicious to stay with the masked gcc until the problem is
40 > fixed or someone offers a solution.
41 >
42 > Hartmut
43 >
44 >
45 >
46
47
48 Looking further at the ebuilds in question, it appears that if you wish
49 to have older versions of GCC installed with >=gcc-4.9, you need to have
50 USE=multislot on the *newer* versions of gcc (this USE=multislot doesn't
51 appear to be completely broken like the old USE=multislot was; now the
52 SLOTs are constant with respect to USE).
53
54 --
55 Jonathan Callen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies