Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A Glitch in the Matrix or just another burb of emerge... ;)
Date: Tue, 10 May 2016 20:03:35
Message-Id: 88f09daf-dabf-6a29-b474-49c0bbf3eca7@gmail.com
In Reply to: [gentoo-user] A Glitch in the Matrix or just another burb of emerge... ;) by Meino.Cramer@gmx.de
1 On 10/05/2016 18:14, Meino.Cramer@×××.de wrote:
2 >
3 > Hi,
4 >
5 > This evening - after daily updates without any problem - suddenly
6 > the Matrix had a glitch and its architect sitting in front of the
7 > dozens of vintage Cathode Ray Tubes scratches his head and silence
8 > was his answer to all this:
9 >
10 > Diffing databases (18977 -> 18977 packages)
11 > [U] == sys-apps/man-pages (4.04@03/15/16; 4.04^b -> 4.05^b): A somewhat comprehensive collection of Linux man pages
12 > * Time statistics:
13 > 237 seconds for syncing
14 > 89 seconds for eix-update
15 > 2 seconds for eix-diff
16 > 330 seconds total
17 >
18 > These are the packages that would be merged, in reverse order:
19 >
20 > Calculating dependencies... done!
21 > [ebuild R ] cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3:4.9.3::crossdev USE="cxx fortran multilib nls nptl openmp sanitize vtv%* (-altivec) -awt -cilk -debug -doc (-fixed-point) -gcj -go -graphite -hardened -libssp -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 39 KiB
22 > [ebuild R ~] cross-avr/gcc-5.3.0:5.3.0::crossdev USE="cxx multilib nls nptl openmp sanitize vtv%* (-altivec) -awt -cilk -debug -doc (-fixed-point) -fortran -gcj -go -graphite -hardened -jit -libssp -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 KiB
23 > [ebuild R ] sys-devel/gcc-4.9.3:4.9.3::gentoo USE="cxx fortran (multilib) nls nptl objc openmp sanitize vtv%* (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -multislot -nopie -nossp -objc++ -objc-gc -regression-test -vanilla" 0 KiB
24 > [ebuild U ] sys-apps/man-pages-4.05::gentoo [4.04::gentoo] USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1419 KiB
25 > [ebuild U ] sys-libs/timezone-data-2016c::gentoo [2016a::gentoo] USE="nls -leaps_timezone" 490 KiB
26 > [blocks B ] <cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9 ("<cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9" is blocking cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3)
27 > [blocks B ] <sys-devel/gcc-4.9 ("<sys-devel/gcc-4.9" is blocking sys-devel/gcc-4.9.3)
28
29 This last one is the real problem. gcc-4.9 and higher cannot co-exist
30 with lower versions, per the below it's gcc:4.4
31
32 unmerge all <gcc-4.9
33
34 more info below:
35
36 >
37 > Total: 5 packages (2 upgrades, 3 reinstalls), Size of downloads: 1948 KiB
38 > Conflict: 2 blocks (2 unsatisfied)
39 >
40 > * Error: The above package list contains packages which cannot be
41 > * installed at the same time on the same system.
42
43 This is info. It tells you portage can't complete the dep resolution
44
45 >
46 > (sys-devel/gcc-4.4.7:4.4/4.4::gentoo, installed) pulled in by
47 > sys-devel/gcc:4.4 required by @selected
48
49 and now the reasons why the blockers are triggered.
50 gcc-4.4.7 can't be co-installed with gcc-4.9.*
51
52 >
53 > (cross-armv7a-hardfloat-linux-gnueabi/gcc-4.5.4:4.5/4.5::x-portage, installed) pulled in by
54 > cross-armv7a-hardfloat-linux-gnueabi/gcc:4.5 required by @selected
55 > cross-armv7a-hardfloat-linux-gnueabi/gcc required by @selected
56
57 Same issue, this time for one of your crossdev compilers
58 >
59 > (sys-devel/gcc-4.9.3:4.9.3/4.9.3::gentoo, ebuild scheduled for merge) pulled in by
60 > sys-devel/gcc required by @selected
61 > >=sys-devel/gcc-3.4.4 required by (cross-armv7a-sfloat-linux-gnueabi/glibc-2.15-r3:2.2/2.2::x-portage, installed)
62 > sys-devel/gcc required by @system
63 > >=sys-devel/gcc-3.4.4 required by (cross-armv7a-softfloat-linux-gnueabi/glibc-2.15-r3:2.2/2.2::x-portage, installed)
64 > >=sys-devel/gcc-4.3 required by (cross-armv7a-softfloat-linux-gnueabi/glibc-2.15-r3:2.2/2.2::x-portage, installed)
65 > >=sys-devel/gcc-3.0 required by (sys-devel/llvm-3.5.0:0/3.5::gentoo, installed)
66 > >=sys-devel/gcc-4.1.0 required by (cross-armv7a-sfloat-linux-gnueabi/glibc-2.15-r3:2.2/2.2::x-portage, installed)
67 > sys-devel/gcc[openmp] required by (app-arch/pxz-5.0_pre20110811:0/0::gentoo, installed)
68 > >=sys-devel/gcc-4.7[cxx] required by (dev-util/nvidia-cuda-toolkit-7.5.18-r2:0/7.5.18::gentoo, installed)
69 > >=sys-devel/gcc-4.6 required by (sys-libs/glibc-2.22-r4:2.2/2.2::gentoo, installed)
70 > sys-devel/gcc[fortran,openmp?] (sys-devel/gcc[fortran,openmp]) required by (virtual/fortran-0:0/0::gentoo, installed)
71 > >=sys-devel/gcc-4.9 required by (net-libs/webkit-gtk-2.10.9:4/37::gentoo, installed)
72 > >=sys-devel/gcc-4.9.3 required by (dev-java/icedtea-bin-7.2.6.6-r1:7/7::gentoo, installed)
73 > <sys-devel/gcc-5[cxx] required by (dev-util/nvidia-cuda-toolkit-7.5.18-r2:0/7.5.18::gentoo, installed)
74 > >=sys-devel/gcc-3.4.6 required by (dev-db/mysql-5.6.28:0/18::gentoo, installed)
75
76 this is the full dep graph list of why gcc-4.9 is being pulled in
77
78 > (cross-armv7a-hardfloat-linux-gnueabi/gcc-4.9.3:4.9.3/4.9.3::crossdev, ebuild scheduled for merge) pulled in by
79 > >=cross-armv7a-hardfloat-linux-gnueabi/gcc-4.6 required by (cross-armv7a-hardfloat-linux-gnueabi/glibc-2.22-r4:2.2/2.2::crossdev, installed)
80 > cross-armv7a-hardfloat-linux-gnueabi/gcc required by @selected
81
82 same for the crossdev compiler
83
84 >
85 >
86 > For more information about Blocked Packages, please refer to the following
87 > section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
88 >
89 > https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
90 >
91 > Since the problem is caused by those tools in part, which are needed to solve
92 > the problem itself, the architect has no problem to feed his question
93 > to the grand masters architects, the center of all the knowledge, the
94 > singularity of all recursive dependencies: What the f??k is this? How
95 > can I get out of this deja vu?
96 >
97 > ;)
98 >
99 > (all this written with a big ;) in mind and face and by no means meant
100 > as critsm. But please: Make emerge a little more ... understandable ...
101
102 It's a hard problem to solve, and portage doesn't really know the
103 solution. It likely knows how to make itself shut up (remove the low
104 version compilers) but that's unlikely to *solve* it. Maybe you really
105 want to have 4.4 and 4.9, portage doesn't know how it can give that to
106 you so it brain dumps everything it's got and tells you to figure it out.
107
108
109 I think we're all going to have to live with this, it's a problem unique
110 to Gentoo and the amount of complexity we support. Price of flexibility
111 I guess
112
113 --
114 Alan McKinnon
115 alan.mckinnon@×××××.com

Replies