Gentoo Archives: gentoo-user

From: Gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed
Date: Wed, 29 Oct 2014 19:11:14
Message-Id: 54513bc9.a802980a.427d.2201@mx.google.com
In Reply to: Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed by Alexander Kapshuk
1 On Wed, 29 Oct 2014 19:25:20 +0200 Alexander Kapshuk <alexander.kapshuk@×××××.com> wrote:
2
3 > On Wed, Oct 29, 2014 at 6:05 PM, Gevisz <gevisz@×××××.com> wrote:
4 > > After today's # emerge-webrsyc
5 > > # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
6 > > failed with the following message:
7 > >
8 > > These are the packages that would be merged, in order:
9 > >
10 > > Calculating dependencies... done!
11 > > [ebuild U ] media-libs/lcms-2.6-r1 [2.5] USE="threads%*" ABI_X86="(64%*) (-32) (-x32)"
12 > > [ebuild U ] net-misc/wget-1.16 [1.14]
13 > > [ebuild U ] media-gfx/imagemagick-6.8.9.9 [6.8.8.10-r1]
14 > >
15 <skipped>
16 > >
17 > > I think that something may be wrong with sys-devel/gcc-4.8.3 as my problems begun when
18 > > I have updated it from sys-devel/gcc-4.7.3-r1 this Monday. Namely, just after this only
19 > > update, # emerge @preserved-rebuild
20 > > failed to rebuild app-text/pdftk-1.44 that was not updated that time and built well with
21 > > sys-devel/gcc-4.7.3-r1. Then I recalled that to build app-text/pdftk I had to add gcj use
22 > > flag to sys-devel/gcc. So, as I am not fond of Java, I just unmerged app-text/pdftk.
23 > > Bu now it seems that I had to unmerge media-libs/lcms and all packages that depend on it.
24 > >
25 > > May be it would be easier to unmerge sys-devel/gcc-4.8.3 and return back to
26 > > sys-devel/gcc-4.7.3-r1 but I do not know how to do it properly.
27 > >
28 >
29 > Did you remember to run 'gcc-config -f 1' after updating gcc as root?
30
31 No, I did not remember to run 'gcc-config -f 1' because I never knew that it should be done
32 and no portage message advised me to do so. `man gcc' or `man gcc-config' also report that
33 there is no manual on these packets. Gentoo's Upgrading GCC wiki also says nothing about
34 this command...
35
36 > What's the output of 'gcc-config -l'?
37
38 # gcc-config -l
39 * gcc-config: Active gcc profile is invalid!
40
41 [1] x86_64-pc-linux-gnu-4.8.3
42
43 Nice!
44
45 Ok, trying # gcc-config -f 1
46 * Switching native-compiler to x86_64-pc-linux-gnu-4.8.3 ...
47 >>> Regenerating /etc/ld.so.cache... [ ok ]
48
49 * If you intend to use the gcc from the new profile in an already
50 * running shell, please remember to do:
51
52 * . /etc/profile
53
54
55 What exactly shall I remember to do?
56
57 Ok, # gcc-config -l
58 [1] x86_64-pc-linux-gnu-4.8.3 *
59
60 Now # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
61 emerges all three above packages.
62
63 Trying to emerge pdftk. Done.
64
65 Ok. Thank you. But why there was no hint about it after updating gcc?
66
67 Well, there was a reference to Gentoo's Upgrading GCC wiki
68 but nothing more...

Replies

Subject Author
Re: [gentoo-user] Building media-libs/lcms-2.6-r1 failed "Canek Peláez Valdés" <caneko@×××××.com>