Gentoo Archives: gentoo-catalyst

From: Jeff Davidson <supermonkey@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] python-fchksum error - looking for wrong gcc?
Date: Mon, 11 Apr 2005 00:48:50
Message-Id: db1f677f05041017481d640cf@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] python-fchksum error - looking for wrong gcc? by Jeff Davidson
1 I'm still getting this problem. I even did a fresh gentoo install on
2 vmware and tried there with spec files copied exactly from
3 livecd-specs-2005.0, the only changes being a newer snapshot and the
4 use of the 2005.0 stage to build instead of 2004.3-r1 (which I can't
5 find anywhere).
6
7 The build is for i686 - why is python-fchksum trying to use i386?
8
9 >>> emerge (10 of 88) dev-python/python-fchksum-1.7.1 to /
10 >>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz
11 >>> Unpacking source...
12 >>> Unpacking python-fchksum-1.7.1.tar.gz to
13 /var/tmp/portage/python-fchksum-1.7.1/work
14 >>> Source unpacked.
15 ['setup.py', 'build']
16 running build
17 running build_ext
18 building 'fchksum' extension
19 creating build
20 creating build/temp.linux-i686-2.3
21 i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
22 -march=i686 -fomit-frame-pointer -fPIC -I/usr/include/python2.3 -c
23 md5.c -o build/temp.linux-i686-2.3/md5.o
24 gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
25 error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1
26
27 !!! ERROR: dev-python/python-fchksum-1.7.1 failed.
28 !!! Function src_compile, Line 22, Exitcode 1
29 !!! (no error message)
30 !!! If you need support, post the topmost build error, NOT this status message.
31
32 Might be slight typos, had to type that from scratch, but you get the
33 idea. I can't imagine that I'm the only one coming across this bug -
34 I'm using generic spec files, and a completely fresh install w/
35 catalyst 1.1.8 in vmware.
36
37 -Jeff
38
39 On Apr 3, 2005 9:02 PM, Jeff Davidson <supermonkey@×××××.com> wrote:
40 > Hey Bob, It's monkey89 from the forum post. :)
41 >
42 > Yeah, I noticed you had an error with python-fchksum, and I was hoping
43 > that this was it, but it's a different error - I'm sticking with gcc
44 > 3.3.4 and there's no mtune used - this is all default catalyst stuff.
45 >
46 > I guess it might be possible to work around this by chrooting into the
47 > stage tarball and messing with it there, but I'd like to use pure
48 > catalyst without having to do anything extra, and it has definitely
49 > worked in the past.
50 >
51 > -Monkey
52 >
53 > bob p wrote:
54 >
55 > >On Apr 3, 2005 6:34 AM, Jeff Davidson <supermonkey@×××××.com> wrote:
56 > >
57 > >
58 > >
59 > >>And now for a more annoying problem: My stage3 fails on
60 > >>python-fchksum, which for some odd reason was trying to use
61 > >>i386-pc-linux-gnu-gcc instead of the i686 gcc I have installed. In
62 > >>the catalyst-generated tarball, there were two i386-pc gcc files that
63 > >>I thought were generating this error, but when I removed them and
64 > >>retarred the file I still got it (although it changed from gcc-config
65 > >>complaining to a simple file not found):
66 > >>
67 > >>
68 > >
69 > >Hi. I'm new to the list.
70 > >
71 > >Jeff, I've seen this problem before. Ryan (Sith) had commented that
72 > >he had also seen the problem with python-fchksum occurring when he was
73 > >rebuilding a GCC 343 toolkit on a 2005.0 installation. He said that,
74 > >"the ebuild compiles using python, and if python has been compiled
75 > >using an older gcc compiler, then it uses that compiler to build
76 > >python-fchsum, which causes cflag problems (with -mtune)."
77 > >Interestingly, he only noticed this problem occurring with the x86
78 > >stageball and not any of the stageballs based on i686.
79 > >
80 > >I'm thinking that this problem could be caused by the retention of
81 > >static libraries from the previous version of GCC. I would try
82 > >"emerge -e system && emerge -e system" and see if that makes the
83 > >problem go away.
84 > >
85 > >Just an idea. I hope it works.
86 > >
87 > >bob
88 > >--
89 > >gentoo-catalyst@g.o mailing list
90 > >
91 > >
92 > >
93 > >
94 >
95 >
96 --
97 gentoo-catalyst@g.o mailing list