NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/38512: build.sh tools/gcc build failure -current



>Number:         38512
>Category:       toolchain
>Synopsis:       build.sh tools/gcc build failure -current
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 06:55:00 +0000 2008
>Originator:     rtr
>Release:        NetBSD 4.0
>Organization:
        none
>Environment:
System: NetBSD calculon.omicron-persei-8.net 4.0 NetBSD 4.0 (GENERIC) #0: Sun 
Dec 16 00:20:10 PST 2007 
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386
>Description:
        buils.sh tools fails trying to build gcc because it
        cannot find gengtype-lex.c

cc -c -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict- prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic- macros 
-Wold-style-definition -Wmissing-format-attribute -Wno-error - DHAVE_CONFIG_H 
-DGENERATOR_FILE -I. -Ibuild -I/usr/src/tools/gcc/../../ gnu/dist/gcc4/gcc 
-I/usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/build - 
I/usr/src/tools/gcc/../../gnu/dist/gcc4/gcc/../include -I/usr/src/tools/ 
gcc/../../gnu/dist/gcc4/gcc/../libcpp/include -DNETBSD_TOOLS -o 
build/gengtype-lex.o gengtype-lex.c 
cc: gengtype-lex.c: No such file or directory
cc: no input files
nbgmake[1]: *** [build/gengtype-lex.o] Error 1
nbgmake[1]: Leaving directory `/var/obj/i386/usr/src/tools/gcc/build/ 
gcc'nbgmake: *** [all-gcc] Error 2*** Failed target: .build_done *** Failed 
command: (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes CC=cc 
CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/var/obj/i 
386/usr/src/tooldir.NetBSD-4.0-i386/bin/i386--netbsdelf-install\ -c\ -p \ -r 
LDFLAGS= AR=ar RANLIB=ranlib LEX=/var/obj/i386/usr/src/tooldir.Net 
BSD-4.0-i386/bin/nblex MAKE=/var/obj/i386/usr/src/tooldir.NetBSD-4.0- 
i386/bin/nbgmake PATH="/var/obj/i386/usr/src/tooldir.NetBSD-4.0-i386/ bin: 
$PATH" YACC=/var/obj/i386/usr/src/tooldir.NetBSD-4.0-i386/bin/nbyacc MACHINE= 
MAKEINFO=/var/obj/i386/usr/src/tooldir.NetBSD-4.0-i386/bin/ nbmak einfo LIBGCC= 
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= 
CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR= INS 
TALL=/var/obj/i386/usr/src/tooldir.NetBSD-4.0-i386/bin/i386--netbsdelf- 
install\ -c\ -p\ -r /var/obj/i386/usr/src/tooldir.NetBSD-4.0-i38
 6/bin/n bgmake -e MACHINE= MAKEINFO=/var/obj/i386/usr/src/tooldir.NetBSD-4.0- 
i386/bin/nbmakeinfo LIBGCC= LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGC C= 
EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/var/obj/i386/usr/src/tooldir.NetBSD-4.0-i386/bin/ 
i386--netbsdelf-install\ -c\ -p\ -r all-gcc) 
*** Error code 2

Stop.
nbmake: stopped in /usr/src/tools/gcc

*** Failed target:  dependall
*** Failed command: cd /usr/src/tools/gcc; /var/obj/i386/usr/src/ 
tooldir.NetBSD-4.0-i386/bin/nbmake realall 
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src/tools" ;; *) this="${dir}/"; real="/usr/src/ tools/${dir}" ;; 
esac; show=${this:-.}; echo "${target} ===> ${show%/}$ {1:+ (with: $@)}"; cd 
"${real}" && /var/obj/i386/usr/src/ tooldir.NetBSD-4.0-i386/bin/nbmake 
_THISDIR_="${this}" "$@" $ {target}; }; _makedirtarget gcc dependall 
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make dependall tools
*** BUILD ABORTED ***


>How-To-Repeat:
        build.sh tools
>Fix:
        can be worked around by touching gengtype-lex.c



Home | Main Index | Thread Index | Old Index