Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166877 - can't emerge gcc-apple
Summary: can't emerge gcc-apple
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High critical
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 18:36 UTC by scope
Modified: 2007-02-28 20:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,26.60 KB, text/plain)
2007-02-14 18:37 UTC, scope
Details
malloc.h (malloc.h,2.62 KB, text/plain)
2007-02-28 18:31 UTC, scope
Details
stdlib.h (stdlib.h,9.57 KB, text/plain)
2007-02-28 18:32 UTC, scope
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scope 2007-02-14 18:36:52 UTC
i was just emerging system and it stopped while compiling gcc-apple

Reproducible: Always

Steps to Reproduce:
1. emerge gcc-apple
2.
3.




Portage 2.1.20.5839 (default-darwin/macos/10.4/ppc, gcc-4.0.1, unavailable, 8.6.0 Power Macintosh)
=================================================================
System uname: 8.6.0 Power Macintosh powerpc
Gentoo Prefix Base System version 1.12.5
Timestamp of tree: Unknown
distcc 2.16 powerpc-apple-darwin7.2.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/Users/junk/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/junk/Gentoo"
FEATURES="autoconfig collision-protect distlocks metadata-transfer nostrip sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-search_paths_first -L/Users/junk/Gentoo/usr/lib -L/Users/junk/Gentoo/lib"
MAKEOPTS="-j2"
PKGDIR="/Users/junk/Gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/junk/Gentoo/var/tmp"
PORTDIR="/Users/junk/Gentoo/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="berkdb bzip2 emboss objc objc++ ppc ppc-macos python zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="Darwin"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 scope 2007-02-14 18:37:21 UTC
Created attachment 110189 [details]
build.log
Comment 2 Fabian Groffen gentoo-dev 2007-02-14 19:35:19 UTC
It looks to me as if your OSX is outdated, also what XCode are you running?
Comment 3 scope 2007-02-15 05:57:01 UTC
i run xcode 2.2.1 and mac os x 10.4.6. shall i update to 10.4.9 and try again ?
Comment 4 Fabian Groffen gentoo-dev 2007-02-15 09:02:07 UTC
I run 10.4.8 myself (no 10.4.9 here :( )  but yes please upgrade, it might very well solve the issue.
Comment 5 scope 2007-02-17 04:41:11 UTC
hi

sorry i meant 10.4.8 not .9. so i updated to it and i'm getting the same error still .. ?
Comment 6 Fabian Groffen gentoo-dev 2007-02-17 08:56:39 UTC
what bothers me in your setup is that distcc looks like to be the panther version, and not the tiger version.  Are you sure you have Xcode for Tiger installed?
Comment 7 scope 2007-02-19 23:11:36 UTC
do you want me to install the latest version of xcode?
Comment 8 Fabian Groffen gentoo-dev 2007-02-20 08:28:00 UTC
yep, please try
Comment 9 scope 2007-02-28 06:09:35 UTC
just updated to xcode version 2.4.1... still getting the same error 0
Comment 10 Fabian Groffen gentoo-dev 2007-02-28 08:30:52 UTC
with
/usr/include/malloc.h:105: error: conflicting types for 'malloc'
/usr/include/malloc.h:105: error: conflicting types for 'realloc'
/usr/include/stdlib.h:175: error: previous declaration of 'realloc' was here
being your error?

attach your /usr/include/{malloc,stdlib}.h
Comment 11 scope 2007-02-28 18:31:58 UTC
Created attachment 111608 [details]
malloc.h
Comment 12 scope 2007-02-28 18:32:30 UTC
Created attachment 111609 [details]
stdlib.h
Comment 13 Fabian Groffen gentoo-dev 2007-02-28 18:47:27 UTC
you have an at least totally hosed malloc.h

I think you once installed something which messed with your system headers.  I guess you need to reinstall your OS in order to get your system headers fixed and untouched again.
Comment 14 scope 2007-02-28 19:36:22 UTC
well, that's stupid. can i get around without emerging gcc-apple and using apple's gcc? but with all the headers from the gentoo install..?

Comment 15 Fabian Groffen gentoo-dev 2007-02-28 19:39:19 UTC
There are no headers in the gentoo prefix install.  Your system's headers are horked, unless you manage to fix them, you don't get any guarantees here.  Maybe you can copy over the headers from another system.
Comment 16 scope 2007-02-28 20:16:06 UTC
yeah maybe, i've never had any problems like this before. thanks anyway