Hi,

i just started a new stage1 on my U5.
i swicthed the make.profile on the dev profile
i did the bootstrap with gcc-3.3.5
switched to gcc-3.4.3
and trying to do emerge -eav system after bootstrap i have an error with bash
when i tried manually, the same error happened :

emerge --oneshot bash
Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r9 to /
...
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -mcpu=ultrasparc -mtune=v9 -O2 mbutil.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b -I../.. -I../../lib -mcpu=ultrasparc -mtune=v9 -O2 xmalloc.c
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o

ar: histexpand.o: No such file or directory

make[1]: *** [libhistory.a] Error 1
make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline'
make: *** [lib/readline/libhistory.a] Error 1
make: *** Waiting for unfinished jobs....
rm -f histfile.o
...

but if I do a ls :

ls /var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline/histecp*
/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline/histexpand.c
/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline/histexpand.o

so the file is there.

BUT the more crazy thing is that if I cd in the var/tmp dir and do a make :
cd /var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/
make

make
make: Circular version.h <- syntax.c dependency dropped.
make: Circular version.h <- config.h dependency dropped.
make: Circular version.h <- config.h dependency dropped.
rm -f syntax.c
./mksyntax -o syntax.c

         ***********************************************************
         *                                                         *
         * GNU bash, version 2.05b.0(1)-release (sparc-unknown-linux-gnu)
         *                                                         *
         ***********************************************************

rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"sparc"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"sparc-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -mcpu=ultrasparc -mtune=v9 -O2 -c syntax.c
making lib/readline/libhistory.a in ./lib/readline
make[1]: Entering directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o test -n "sparc-unknown-linux-gnu-ranlib" && sparc-unknown-linux-gnu-ranlib libhistory.a make[1]: Leaving directory `/var/tmp/portage/bash-2.05b-r9/work/bash-2.05b/lib/readline'

it compiles ok.

so what am I doing wrong ?


--
[email protected] mailing list

Reply via email to