Gentoo Archives: gentoo-user

From: Stuart Howard <stuart.g.howard@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rebuild gcc-3.4.6-r2 error
Date: Sat, 10 Mar 2007 15:23:46
Message-Id: d5d1857a0703100718l607b5bay2705316bf15f8625@mail.gmail.com
In Reply to: Re: [gentoo-user] rebuild gcc-3.4.6-r2 error by Andrew Dean
1 On 10/03/07, Andrew Dean <linux@×××××××××××××××××.uk> wrote:
2 > Stuart Howard wrote:
3 > > On 10/03/07, Bjarke Bondo Andersen <nissemand@×××××.com> wrote:
4 > >> Hi. When I try to update the world emerge tells me to rebuild gcc due
5 > >> to the
6 > >> "-d%" flag. When I try to do so, it fails. Try to take a look at the
7 > >> output
8 > >> here:
9 > >>
10 > >> # emerge -uDNav world
11 > >>
12 > >> These are the packages that would be merged, in order:
13 > >>
14 > >> Calculating world dependencies... done!
15 > >> [ebuild R ] sys-devel/gcc-3.4.6-r2 USE="doc hardened nls (-altivec)
16 > >> -bootstrap -boundschecking -build -d% -fortran -gcj -gtk -ip28 -ip32r10k
17 > >> -multilib -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test
18 > >> -vanilla" 0 kB
19 > >>
20 > >> ...
21 > >>
22 > >> >>> Unpacking source...
23 > >> >>> Unpacking gcc-3.4.6.tar.bz2 to
24 > >> /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work
25 > >> >>> Unpacking gdc-0.23-src.tar.bz2 to /var/tmp/portage/sys-devel/gcc-
26 > >> 3.4.6-r2/work/gcc-3.4.6/gcc
27 > >>
28 > >> !!! ERROR: sys-devel/gcc-3.4.6-r2 failed.
29 > >> Call stack:
30 > >> ebuild.sh, line 1614: Called dyn_unpack
31 > >> ebuild.sh, line 751: Called qa_call 'src_unpack'
32 > >> environment, line 5309: Called src_unpack
33 > >> gcc-3.4.6-r2.ebuild, line 81: Called gcc_src_unpack
34 > >> toolchain.eclass, line 1018: Called gcc_quick_unpack
35 > >> toolchain.eclass, line 1870: Called unpack 'gdc-0.23-src.tar.bz2'
36 > >> ebuild.sh, line 404: Called die
37 > >>
38 > >> !!! gdc-0.23-src.tar.bz2 does not exist
39 > >> !!! If you need support, post the topmost build error, and the call
40 > >> stack if
41 > >> relevant.
42 > >> !!! A complete build log is located at '/var/tmp/portage/sys-devel
43 > >> /gcc-3.4.6-r2 /temp/build.log'.
44 > >> #
45 > >>
46 > >> And I can't seem to find anything called gdc in portage...
47 > >> I hope someone of you can help me out (without me having to change
48 > >> profile)
49 > >> or at least say that it doesn't matter.
50 > >>
51 > >> And btw. here's the output og emerge --info:
52 > >> Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5,
53 > >> 2.6.19-gentoo-r5 i
54 > >> 686)
55 > >> =================================================================
56 > >> System uname: 2.6.19-gentoo-r5 i686 Celeron (Coppermine)
57 > >> Gentoo Base System release 1.12.9
58 > >> Timestamp of tree: Sat, 10 Mar 2007 10:30:01 +0000
59 > >> dev-lang/python: 2.4.3-r4
60 > >> dev-python/pycrypto: 2.0.1-r5
61 > >> sys-apps/sandbox: 1.2.17
62 > >> sys-devel/autoconf: 2.13, 2.60
63 > >> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
64 > >> 1.9.6-r2, 1.10
65 > >> sys-devel/binutils: 2.16.1-r3
66 > >> sys-devel/gcc-config: 1.3.14
67 > >> sys-devel/libtool: 1.5.22
68 > >> virtual/os-headers: 2.6.17-r2
69 > >> ACCEPT_KEYWORDS="x86"
70 > >> AUTOCLEAN="yes"
71 > >> CBUILD="i386-pc-linux-gnu"
72 > >> CFLAGS="-O2 -pipe -march=pentium"
73 > >> CHOST="i386-pc-linux-gnu"
74 > >> CONFIG_PROTECT="/etc"
75 > >> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf
76 > >> /etc/php/apache1-php5/ext-active/ /et
77 > >> c/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
78 > >> /etc/php/cli-php5/e
79 > >> xt-active/ /etc/revdep-rebuild /etc/terminfo"
80 > >> CXXFLAGS="-O2 -pipe -march=pentium"
81 > >> DISTDIR="/usr/portage/distfiles"
82 > >> FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
83 > >> GENTOO_MIRRORS=" http://mirror.uni-c.dk/pub/gentoo/"
84 > >> MAKEOPTS="-j2"
85 > >> PKGDIR="/usr/portage/packages"
86 > >> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
87 > >> --compress
88 > >> --force --whole-file --delete --delete-after --stats --timeout=180
89 > >> --exclude=/di
90 > >> stfiles --exclude=/local --exclude=/packages
91 > >> --filter=H_**/files/digest-*"
92 > >> PORTAGE_TMPDIR="/var/tmp"
93 > >> PORTDIR="/usr/portage"
94 > >> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
95 > >> USE="apache2 berkdb crypt doc hardened hardenedphp imagemagick ipv6
96 > >> latin1
97 > >> midi
98 > >> mysql mysqli nls pam perl php pic readline ssl tcpd x86 xorg zlib"
99 > >> ALSA_PCM_PLUG
100 > >> INS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks
101 > >> iec958
102 > >> iop
103 > >> lug ladspa lfloat linear meter mulaw multi null plug rate route share
104 > >> shm
105 > >> softvo
106 > >> l" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux"
107 > >> LCD_DEVICES="bayr
108 > >> ad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
109 > >> USERLAND="GNU
110 > >> "
111 > >> Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
112 > >> LDFLAGS,
113 > >> LINGU
114 > >> AS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
115 > >
116 > >
117 > >
118 > >
119 > > I have the same error.
120 > >
121 > > As you said gdc does not seem to exist anywhere within the sources or
122 > > the ebuild, I would say that we have been caught with a typo but it is
123 > > strange that there have been only two reports on the list so far.
124 > Hi,
125 >
126 > I have have encountered this problem this morning on both of my
127 > computers which are using the hardened profile (I am not sure whether
128 > this this could be part of the problem?). I have managed to get around
129 > this problem by downloading the gdc-0.23-src.tar.bz2 file from my local
130 > mirror (e.g. http://gentoo.virginmedia.com/distfiles) to the
131 > /usr/portage/distfiles folder. When I then tried the update world the
132 > second time, everything worked properly! I know that this does not
133 > resolve the issue but it is the way that I managed to work around the
134 > problem.
135 >
136 > Hope this helps.
137 >
138 > Andrew
139 > --
140 > gentoo-user@g.o mailing list
141 >
142 >
143
144 It does, thank you.
145 --
146 gentoo-user@g.o mailing list