Gentoo Archives: gentoo-catalyst

From: Jeff Davidson <supermonkey@×××××.com>
To: gentoo-catalyst@××××××××××××.org
Subject: [gentoo-catalyst] python-fchksum error - looking for wrong gcc? (was: specifying global USE)
Date: Sun, 03 Apr 2005 13:34:51
Message-Id: db1f677f05040306344345d050@mail.gmail.com
In Reply to: [gentoo-catalyst] specifying global USE by Jeff Davidson
1 To answer my own question, the stage1 build seems to disable USE, but
2 it seems to work (somewhat) in the stage2 build. Nothing I do can get
3 glibc not to build every locale, but I'll assume its supposed to be
4 like that.
5
6 And now for a more annoying problem: My stage3 fails on
7 python-fchksum, which for some odd reason was trying to use
8 i386-pc-linux-gnu-gcc instead of the i686 gcc I have installed. In
9 the catalyst-generated tarball, there were two i386-pc gcc files that
10 I thought were generating this error, but when I removed them and
11 retarred the file I still got it (although it changed from gcc-config
12 complaining to a simple file not found):
13
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 unable to execute i386-pc-linux-gnu-gcc: No such file or directory
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 Why the heck is it doing this? Thanks in advance for the help.
33
34 On Apr 2, 2005 10:39 AM, Jeff Davidson <supermonkey@×××××.com> wrote:
35 > I'm working on my own set of stage tarballs since I want a few USE flags
36 > that differ from the default, namely:
37 >
38 > nptl nptlonly userlocales -ipv6 -fortran -nls
39 >
40 > However, it looks like glibc wasn't compiling with my flags, since it
41 > was working in a -linuxthreads directory instead of an -nptl
42 > directory. So, two questions:
43 >
44 > 1) Why isn't the USE setting from my envscript not going through?
45 >
46 > bash-2.05b# cat /etc/catalyst/catalyst.conf | grep envscript=
47 > envscript="/root/livecd/catalyst-env.sh"
48 >
49 > bash-2.05b# cat /root/livecd/catalyst-env.sh
50 > export GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
51 > export USE="nptl nptlonly userlocales -fortran -ipv6 -nls"
52 >
53 > 2) Just out of curiousity, does the portage_confdir setting work in the
54 > stage builds? I understand I could do this, but for things like nptl,
55 > ipv6, and nls, there are so many packages with these USE flags that to
56 > go through and add a listing for each one manually seems like overkill
57 > to me.
58 >
59 > Thanks,
60 > -Monkey
61 >
62 --
63 gentoo-catalyst@g.o mailing list

Replies