Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22989 - When attempting to compile from stage3-athlon-xp experimental 06052003 - stray errors in /usr/include/ wchar.h features.h stdlib.h locale.h and possibly more
Summary: When attempting to compile from stage3-athlon-xp experimental 06052003 - stra...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 05:15 UTC by James Hamelin
Modified: 2003-11-19 11:12 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 James Hamelin 2003-06-17 05:15:55 UTC
All of the stray errors were along the lines of :  
/usr/include/wchar.h:###: stray '\###' in program  ( ### = numbers )  
A small log of these errors when trying to emerge nano can be found at  
http://mandrake.kicks-ass.net/downloads/stray-error.tgz  
( log file is config.log, aprox 5MB in size, tgz'd to 300k )  
 

Reproducible: Always
Steps to Reproduce:
 
Actual Results:  
/usr/include/wchar.h:76: stray '\365' in program 
/usr/include/wchar.h:76: stray '\33' in program 
/usr/include/wchar.h:76: stray '\343' in program 
/usr/include/wchar.h:76: invalid suffix on integer constant 
/usr/include/wchar.h:76: stray '\300' in program 
/usr/include/wchar.h:76: stray '\243' in program 
( This is only a small sample of what is available in the actual logfile )
Comment 1 James Hamelin 2003-06-17 06:11:03 UTC
mkfs.reiserfs /dev/hda1 
mkfs.reiserfs /dev/hda4 
mkswap /dev/hda2 
 
swapon /dev/hda2 
mount /dev/hda4 /mnt/gentoo 
mkdir /mnt/gentoo/boot 
mount /dev/hda1 /mnt/gentoo/boot 
cp stage3*.bz2 /mnt/gentoo/ 
 
cd /mnt/gentoo 
tar xvfjp stage3*.bz2 
 
mount -t proc proc /mnt/gentoo/proc 
chroot /mnt/gentoo /bin/bash 
 
echo nameserver IP.GOES.IN.HERE > /etc/resolv.conf 
echo myhostname > /etc/hostname 
echo IP.GOES.IN.HERE myserver > /etc/hosts 
 
env-update 
 
emerge sync 
emerge -up world 
 
 
papatux portage # emerge -up world 
 
These are the packages that I would merge, in order: 
 
Calculating world dependencies ...done! 
[ebuild    UD] sys-apps/portage-2.0.48-r1 [2.0.48-r2] 
*** Portage will stop merging at this point and reload itself, 
    recalculate dependencies, and complete the merge. 
 
[ebuild    U ] sys-libs/cracklib-2.7-r7 [2.7-r6] 
[ebuild    UD] sys-apps/gawk-3.1.1-r2 [3.1.2-r3] 
[ebuild    U ] sys-apps/gzip-1.3.3-r2 [1.3.3-r1] 
[ebuild    U ] sys-apps/man-1.5l-r5 [1.5l-r3] 
 
emerge -u world 
 
ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime 
 
emerge gentoo-sources 
 
apatux portage # emerge gentoo-sources 
Calculating dependencies ...done! 
>>> emerge (1 of 13) media-libs/freetype-2.1.4 to / 
>>> Downloading ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo//distfi 
les/ftdocs-2.1.4.tar.bz2 
--02:59:20--  ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/distfiles 
/ftdocs-2.1.4.tar.bz2 
           => `/usr/portage/distfiles/ftdocs-2.1.4.tar.bz2' 
Resolving sunsite.ualberta.ca... done. 
Connecting to sunsite.ualberta.ca[129.128.5.190]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/unix/Linux/gentoo/distfiles ... done 
. 
==> PASV ... done.    ==> RETR ftdocs-2.1.4.tar.bz2 ... done. 
Length: 213,683 (unauthoritative) 
 
100%[===========================>] 213,683       99.56K/s    ETA 00:00 
 
02:59:24 (99.56 KB/s) - `/usr/portage/distfiles/ftdocs-2.1.4.tar.bz2' s 
aved [213683] 
 
>>> Downloading ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo//distfi 
les/freetype-2.1.4.tar.bz2 
--02:59:24--  ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/distfiles 
/freetype-2.1.4.tar.bz2 
           => `/usr/portage/distfiles/freetype-2.1.4.tar.bz2' 
Resolving sunsite.ualberta.ca... done. 
Connecting to sunsite.ualberta.ca[129.128.5.190]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/unix/Linux/gentoo/distfiles ... done 
. 
==> PASV ... done.    ==> RETR freetype-2.1.4.tar.bz2 ... done. 
Length: 806,647 (unauthoritative) 
 
100%[===========================>] 806,647      144.43K/s    ETA 00:00 
 
02:59:32 (144.43 KB/s) - `/usr/portage/distfiles/freetype-2.1.4.tar.bz2 
' saved [806647] 
 
>>> md5 src_uri ;-) freetype-2.1.4.tar.bz2 
>>> md5 src_uri ;-) ftdocs-2.1.4.tar.bz2 
>>> Unpacking source... 
>>> Unpacking freetype-2.1.4.tar.bz2 to /var/tmp/portage/freetype-2.1.4 
/work 
>>> Unpacking ftdocs-2.1.4.tar.bz2 to /var/tmp/portage/freetype-2.1.4/w 
ork 
 * Applying freetype-2.1.3-slighthint.patch...                   [ ok ] 
>>> Source unpacked. 
zlib 
 
FreeType build system -- automatic system detection 
 
The following settings are used: 
 
  platform                    ansi 
  compiler                    gcc 
  configuration directory     ./builds/ansi 
  configuration rules         ./builds/ansi/ansi.mk 
 
If this does not correspond to your system or settings please remove th 
e file 
`config.mk' from this directory then read the INSTALL file for help. 
 
Otherwise, simply type `make' again to build the library. 
 
cc  -I./objs -I./builds/ansi -I./include -O3 -mcpu=athlon-xp -march=ath 
lon-xp -pipe -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -DTT_CONFIG_OPT 
ION_BYTECODE_INTERPRETER -o objs/ftsystem.o src/base/ftsystem.c 
cc  -I./objs -I./builds/ansi -I./include -O3 -mcpu=athlon-xp -march=ath                                       lon-xp 
-pipe -O3 -mcpu=athlon-xp -march=athlon-xp -pipe -DTT_CONFIG_OPT                                       
ION_BYTECODE_INTERPRETER -o objs/ftdebug.o src/base/ftdebug.c 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../crt1.o(.text+0x18): I                                       n 
function `_start': 
: undefined reference to `main' 
collect2: ld returned 1 exit status 
make: *** [objs/ftdebug.o] Error 1 
make: *** Waiting for unfinished jobs.... 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../crt1.o(.text+0x18): I                                       n 
function `_start': 
: undefined reference to `main' 
collect2: ld returned 1 exit status 
make: *** [objs/ftsystem.o] Error 1 
 
!!! ERROR: media-libs/freetype-2.1.4 failed. 
!!! Function src_compile, Line 43, Exitcode 2 
!!! (no error message) 
 
Comment 2 SpanKY gentoo-dev 2003-11-19 11:12:08 UTC
please try newer release