Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrapping failure on intel mac in python and gcc
Date: Thu, 15 Jan 2009 18:51:44
Message-Id: 20090115185136.GA16962@gentoo.org
In Reply to: [gentoo-alt] Bootstrapping failure on intel mac in python and gcc by Matthew Welborn
1 Sorry for the delay.
2
3 On 04-01-2009 21:16:50 -0600, Matthew Welborn wrote:
4 > I apologize if this is a double post; this is my first time doing this.
5 >
6 > I've been trying to bootstrap Gentoo Prefix on OS X using this guide:
7 > http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml.
8 > I've hit two roadblocks.
9 >
10 > The first happens when I try to run "emerge --oneshot sed" (Code Listing
11 > 1.6). I get an error from python saying:
12
13 Thanks for reporting this issue. We found out how to fix it, but need
14 to make it go life still. You can track bug 255073:
15 http://bugs.gentoo.org/show_bug.cgi?id=255073
16
17 > I was unable to find any info about fixing it, so I symlinked
18 > Gentoo/tmp/usr/bin/python to /usr/bin/python and everything worked fine
19 > until I reached "emerge --oneshot --nodeps gcc-apple" (Code Listing
20 > 1.8). Then I got this error:
21 >
22 > /Users/matt/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/gcc_42-5564/gcc/system.h:418:
23 > error: conflicting types for ‘strsignal’
24 > /usr/include/string.h:136: error: previous declaration of ‘strsignal’
25 > was here
26 > In file included from ./tm.h:4,
27 > from
28 > /Users/matt/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5564/work/gcc_42-5564/gcc/c-lang.c:26:
29 > ./options.h:473: error: ‘CHAR_BIT’ undeclared here (not in a function)
30 > ./options.h:473: error: bit-field ‘padding’ width not an integer constant
31
32 Hmmmm, those are really weird.
33
34 > I'm running OS X 10.5.6 on an Intel Macbook Pro. I'm using XCode 3.1.2
35 >
36 > Any help would be greatly appreciated.
37
38 I think this should work. My own MacBook Pro is running that as well
39 if I'm not mistaken. It's worth fixing the python problem, since it
40 influences much more things than one would say from the looks of it.
41 Portage (and the environment) rely heavily on it.
42
43
44
45 --
46 Fabian Groffen
47 Gentoo on a different level