Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38072 - i can't compile portage
Summary: i can't compile portage
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 05:32 UTC by Pietro
Modified: 2004-01-13 15:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro 2004-01-13 05:32:24 UTC
When i try to emerge new portage (2.0.50_pre15), i get a gcc error :
cc -DNDEBUG -fPIC -I/usr/include/python2.2 -c missingos.c -o build/temp.linux-ppc-2.2/missingos.o -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec
error: command 'gcc' failed with exit status 1

Reproducible: Always
Steps to Reproduce:
1.emerge portage
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking portage-2.0.50_pre15.tar.bz2 to
/var/tmp/portage/portage-2.0.50_pre15/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c
gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so
-nostdlib -lgcc
gcc  -Wall -c sandbox.c
gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox

>>> Install portage-2.0.50_pre15 into
/var/tmp/portage/portage-2.0.50_pre15/image/ category sys-apps
running install
running build
running build_ext
building 'missingos' extension
In file included from /usr/include/python2.2/unicodeobject.h:118,
                 from /usr/include/python2.2/Python.h:71,
                 from missingos.c:3:
/usr/local/include/wchar.h:32:2: #error Attempted to include wchar.h when uClibc
built without wide char support.
creating build
creating build/temp.linux-ppc-2.2
gcc -DNDEBUG -fPIC -I/usr/include/python2.2 -c missingos.c -o
build/temp.linux-ppc-2.2/missingos.o -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec
error: command 'gcc' failed with exit status 1

!!! ERROR: sys-apps/portage-2.0.50_pre15 failed.
!!! Function src_install, Line 94, Exitcode 1
!!! Failed to install missingos module
Comment 1 Pietro 2004-01-13 06:35:00 UTC
Success
Now i can compile portage (I had installed uclibc ...... now i remove it and portage work) .
Comment 2 SpanKY gentoo-dev 2004-01-13 15:26:17 UTC
/usr/local/include/wchar.h:32:2: #error Attempted to include wchar.h when uClibc
built without wide char support.

looks like you've been screwing around with uclibc