Bug #1605
closed'make buildworld' failure
0%
Description
Trying to build world from git fails here:
....
gcc-4.1/include
-I/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/libcpp/include
-DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/ctools_i386_i386/usr\"
-DPREFIX1=\"/usr/obj/usr/src/ctools_i386_i386/usr\"
-DPREFIX2=\"/usr/obj/usr/src/world_i386/usr\"
-I/usr/obj/usr/src/ctools_i386_i386/usr/src/gnu/usr.bin/cc41/libbackend//../cc_tools/gen
-I/usr/src/gnu/usr.bin/cc41/libbackend/../config -I.
-DTARGET_NAME=\"i386-pc-dragonflybsd\" -c
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c
-o tree-data-ref.o
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:21:
warning: null character(s) ignored
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:
In function 'build_classic_dir_vector':
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:
error: 'lca_' undeclared (first use in this function)
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:
error: (Each undeclared identifier is reported only once
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:
error: for each function it appears in.)
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:
error: expected ')' before 'pth'
- Error code 1
Stop in /usr/src/gnu/usr.bin/cc41/libbackend.
- Error code 1
Stop in /usr/src/gnu/usr.bin/cc41.
- Error code 1
Stop in /usr/src.
- Error code 1
Stop in /usr/src.
- Error code 1
Stop in /usr/src.
4376.33 real 2813.10 user 768.27 sys
Script done on Sat Nov 14 15:32:01 2009
Updated by qhwt+dfly about 15 years ago
:
/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:21:
warning: null character(s) ignored/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:
In function 'build_classic_dir_vector':/usr/src/gnu/usr.bin/cc41/libbackend//../../../../contrib/gcc-4.1/gcc/tree-data-ref.c:3476:
error: 'lca_' undeclared (first use in this function)
Apparently the checked out file is corrupt.
$ cd /usr/src; git status
should report such files.
$ git reset --hard
should restore them from the local repository (this will `reset' any other
important local modifications, so be sure to make a back up if you have any).
By the way, you've reported ext2fs panic as issue1601, do you by any chance
keep the source tree on an ext2fs filesystem?
Cheers.