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
Success Now i can compile portage (I had installed uclibc ...... now i remove it and portage work) .
/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