1 |
Hi all, |
2 |
|
3 |
I am on OS X 10.6 on an Intel i5. I'm running Xcode 4.1 with gcc --version: |
4 |
|
5 |
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. |
6 |
build 5658) (LLVM build 2335.15.00) |
7 |
|
8 |
I emerge 'binutils-apple' following the directions and then when I |
9 |
attempt to emerge 'gcc-apple' the ebuild fails with the message at the |
10 |
end of the email. |
11 |
|
12 |
Any help would be greatly appreciated. |
13 |
|
14 |
|
15 |
Thanks! |
16 |
Harold |
17 |
|
18 |
--------------------- |
19 |
|
20 |
|
21 |
make[3]: Entering directory |
22 |
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp' |
23 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/xgcc |
24 |
-B/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/ |
25 |
-B/Users/pimentel/Gentoo/usr/i686-apple-darwin10/bin/ |
26 |
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp |
27 |
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include |
28 |
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include |
29 |
-I/Users/pimentel/Gentoo/usr/include -g -O2 -mdynamic-no-pic -W -Wall |
30 |
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes |
31 |
-Wold-style-definition -Wmissing-format-attribute -pedantic |
32 |
-Wno-long-long |
33 |
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp |
34 |
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include |
35 |
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include |
36 |
-I/Users/pimentel/Gentoo/usr/include -c -o charset.o -MT charset.o |
37 |
-MMD -MP -MF .deps/charset.Po |
38 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c |
39 |
In file included from |
40 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23: |
41 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:918:20: |
42 |
warning: stdint.h: No such file or directory |
43 |
In file included from |
44 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23: |
45 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:927: |
46 |
error: expected specifier-qualifier-list before 'uint32_t' |
47 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:932: |
48 |
warning: struct has no members |
49 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:936: |
50 |
error: expected specifier-qualifier-list before 'uint32_t' |
51 |
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:945: |
52 |
warning: struct has no members |
53 |
make[3]: *** [charset.o] Error 1 |
54 |
make[3]: Leaving directory |
55 |
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp' |
56 |
make[2]: *** [all-stage2-libcpp] Error 2 |
57 |
make[2]: Leaving directory |
58 |
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build' |
59 |
make[1]: *** [stage2-bubble] Error 2 |
60 |
make[1]: Leaving directory |
61 |
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build' |
62 |
make: *** [bootstrap] Error 2 |
63 |
emake failed |
64 |
* ERROR: sys-devel/gcc-apple-4.2.1_p5666 failed (compile phase): |
65 |
* emake failed |
66 |
* |
67 |
* Call stack: |
68 |
* ebuild.sh, line 98: Called src_compile |
69 |
* environment, line 5139: Called die |
70 |
* The specific snippet of code: |
71 |
* emake bootstrap || die "emake failed" |
72 |
* |
73 |
* If you need support, post the output of 'emerge --info |
74 |
=sys-devel/gcc-apple-4.2.1_p5666', |
75 |
* the complete build log and the output of 'emerge -pqv |
76 |
=sys-devel/gcc-apple-4.2.1_p5666'. |
77 |
* The complete build log is located at |
78 |
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/build.log'. |
79 |
* The ebuild environment file is located at |
80 |
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/environment'. |
81 |
* S: '/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3' |
82 |
|
83 |
>>> Failed to emerge sys-devel/gcc-apple-4.2.1_p5666, Log file: |
84 |
|
85 |
|
86 |
|
87 |
My "emerge --info =sys-devel/gcc-apple-4.2.1_p5666": |
88 |
|
89 |
|
90 |
Portage 2.2.01.19295-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, |
91 |
unavailable, 10.8.0 i386) |
92 |
================================================================= |
93 |
System Settings |
94 |
================================================================= |
95 |
System uname: Darwin-10.8.0-i386-64bit |
96 |
Timestamp of tree: Tue, 20 Sep 2011 21:40:12 +0000 |
97 |
distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] |
98 |
app-shells/bash: 4.2_p10 |
99 |
sys-devel/gcc-config: 1.4.1-r00.2 |
100 |
Repositories: gentoo_prefix |
101 |
Installed sets: |
102 |
ACCEPT_KEYWORDS="~x86-macos" |
103 |
ACCEPT_LICENSE="* -@EULA" |
104 |
CBUILD="i686-apple-darwin10" |
105 |
CFLAGS="-march=prescott" |
106 |
CHOST="i686-apple-darwin10" |
107 |
CONFIG_PROTECT="/etc" |
108 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" |
109 |
CPPFLAGS="-I/Users/pimentel/Gentoo/usr/include" |
110 |
CXXFLAGS="" |
111 |
DISTDIR="/Users/pimentel/Gentoo/usr/portage/distfiles" |
112 |
FEATURES="assume-digests binpkg-logs collision-protect distlocks |
113 |
ebuild-locks fixlafiles fixpackages nostrip parallel-fetch |
114 |
preserve-libs protect-owned sfperms strict unknown-features-warn |
115 |
unmerge-logs unmerge-orphans userfetch" |
116 |
FFLAGS="" |
117 |
GENTOO_MIRRORS="http://distfiles.gentoo.org" |
118 |
LANG="en_US.UTF-8" |
119 |
LDFLAGS="-Wl,-search_paths_first -L/Users/pimentel/Gentoo/usr/lib |
120 |
-L/Users/pimentel/Gentoo/lib" |
121 |
PKGDIR="/Users/pimentel/Gentoo/usr/portage/packages" |
122 |
PORTAGE_CONFIGROOT="/Users/pimentel/Gentoo/" |
123 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
124 |
--compress --force --whole-file --delete --stats --timeout=180 |
125 |
--exclude=/distfiles --exclude=/local --exclude=/packages" |
126 |
PORTAGE_TMPDIR="/Users/pimentel/Gentoo/var/tmp" |
127 |
PORTDIR="/Users/pimentel/Gentoo/usr/portage" |
128 |
PORTDIR_OVERLAY="" |
129 |
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" |
130 |
USE="aqua bootstrap coreaudio cracklib cxx modules ncurses objc objc++ |
131 |
prefix readline x86-macos zlib" APACHE2_MODULES="actions alias |
132 |
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file |
133 |
authz_dbm authz_default authz_groupfile authz_host authz_owner |
134 |
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir |
135 |
disk_cache env expires ext_filter file_cache filter headers include |
136 |
info log_config logio mem_cache mime mime_magic negotiation rewrite |
137 |
setenvif speling status unique_id userdir usertrack vhost_alias" |
138 |
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon |
139 |
braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load |
140 |
memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech |
141 |
aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 |
142 |
nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf |
143 |
superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard |
144 |
mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk |
145 |
hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" |
146 |
RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock |
147 |
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee |
148 |
tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
149 |
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, |
150 |
MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, |
151 |
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |