Gentoo Archives: gentoo-alt

From: Harold Pimentel <haroldpimentel@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Problem with emerge gcc-apple
Date: Wed, 02 Nov 2011 22:49:47
Message-Id: CAGvHCLm3+oDEusXUimoZNrxtbkxyfam=cw6gcEX8=kJNaA2p-Q@mail.gmail.com
Hi all,

I am on OS X 10.6 on an Intel i5. I'm running Xcode 4.1 with gcc --version:

i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2335.15.00)

I emerge 'binutils-apple' following the directions and then when I
attempt to emerge 'gcc-apple' the ebuild fails with the message at the
end of the email.

Any help would be greatly appreciated.


Thanks!
Harold

---------------------


make[3]: Entering directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/xgcc
-B/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/
-B/Users/pimentel/Gentoo/usr/i686-apple-darwin10/bin/
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include
-I/Users/pimentel/Gentoo/usr/include -g -O2 -mdynamic-no-pic -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic
-Wno-long-long
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include
-I/Users/pimentel/Gentoo/usr/include -c -o charset.o -MT charset.o
-MMD -MP -MF .deps/charset.Po
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c
In file included from
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23:
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:918:20:
warning: stdint.h: No such file or directory
In file included from
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23:
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:927:
error: expected specifier-qualifier-list before 'uint32_t'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:932:
warning: struct has no members
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:936:
error: expected specifier-qualifier-list before 'uint32_t'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:945:
warning: struct has no members
make[3]: *** [charset.o] Error 1
make[3]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp'
make[2]: *** [all-stage2-libcpp] Error 2
make[2]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build'
make: *** [bootstrap] Error 2
emake failed
 * ERROR: sys-devel/gcc-apple-4.2.1_p5666 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  98:  Called src_compile
 *   environment, line 5139:  Called die
 * The specific snippet of code:
 *       emake bootstrap || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info
=sys-devel/gcc-apple-4.2.1_p5666',
 * the complete build log and the output of 'emerge -pqv
=sys-devel/gcc-apple-4.2.1_p5666'.
 * The complete build log is located at
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/build.log'.
 * The ebuild environment file is located at
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/environment'.
 * S: '/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3'

>>> Failed to emerge sys-devel/gcc-apple-4.2.1_p5666, Log file:
My "emerge --info =sys-devel/gcc-apple-4.2.1_p5666": Portage 2.2.01.19295-prefix (prefix/darwin/macos/10.6/x86, gcc-4.2.1, unavailable, 10.8.0 i386) ================================================================= System Settings ================================================================= System uname: Darwin-10.8.0-i386-64bit Timestamp of tree: Tue, 20 Sep 2011 21:40:12 +0000 distcc 3.1-toolwhip.1 i386-apple-darwin10.0 [disabled] app-shells/bash: 4.2_p10 sys-devel/gcc-config: 1.4.1-r00.2 Repositories: gentoo_prefix Installed sets: ACCEPT_KEYWORDS="~x86-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-apple-darwin10" CFLAGS="-march=prescott" CHOST="i686-apple-darwin10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CPPFLAGS="-I/Users/pimentel/Gentoo/usr/include" CXXFLAGS="" DISTDIR="/Users/pimentel/Gentoo/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-search_paths_first -L/Users/pimentel/Gentoo/usr/lib -L/Users/pimentel/Gentoo/lib" PKGDIR="/Users/pimentel/Gentoo/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/pimentel/Gentoo/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/Users/pimentel/Gentoo/var/tmp" PORTDIR="/Users/pimentel/Gentoo/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="aqua bootstrap coreaudio cracklib cxx modules ncurses objc objc++ prefix readline x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Replies

Subject Author
Re: [gentoo-alt] Problem with emerge gcc-apple Fabian Groffen <grobian@g.o>