Subject: NetBSD-current distribution build failed - problems in libc
To: None <current-users@NetBSD.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 03/23/2005 12:46:40
# uname -a
NetBSD NBSD1 3.99.1 NetBSD 3.99.1 (GENERIC-$Revision: 1.628 $) #0: Mon 
Mar 21 17:23:39 NOVT 2005 
toor@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386

/usr/src updated from anoncvs about one hour ago.

---cut---
===> build.sh command: /usr/src/build.sh -mi386 -O/usr/build/obj/i386 
-T/usr/build/tools/i386 -D/usr/build/dest/i386 -R/usr/build/release -x 
-u distribution sets
===> build.sh started: Wed Mar 23 12:07:29 NOVT 2005
===> No /usr/build/tools/i386/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /bin/sh
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes

[snip]

#   compile  libc/tempnam.so
/usr/build/tools/i386/bin/i386--netbsdelf-gcc -O2 -DALL_STATE 
-DUSG_COMPAT -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized 
-Wreturn-type -Wswitch -Wshadow  -Werror    -D_LIBC -DLIBC_SCCS 
-DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE 
-DI18NMODULE_MAJOR=4 -DCITRUS -I/usr/src/libexec/ld.elf_so 
-I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV -DWITH_RUNE -I/usr/src/lib/libc 
-DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP -DFLOATING_POINT   -nostdinc 
-isystem /usr/build/dest/i386/usr/include -c    -D_I18N_DYNAMIC -fPIC 
-DPIC /usr/src/lib/libc/stdio/tempnam.c -o tempnam.so.tmp
/usr/build/tools/i386/bin/i386--netbsdelf-ld -x -r tempnam.so.tmp -o 
tempnam.so
rm -f tempnam.so.tmp
#   compile  libc/tfind.ln
CC=/usr/build/tools/i386/bin/i386--netbsdelf-gcc 
/usr/build/tools/i386/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d 
/usr/build/dest/i386/usr/include  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -I/usr/src/lib/libc/include -I/usr/src/lib/libc -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV 
-DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP 
-DFLOATING_POINT    -i /usr/src/lib/libc/stdlib/tfind.c
/usr/src/lib/libc/stdlib/tfind.c(31): warning: cast discards 'const' 
from pointer target type [275]

*** Failed target:  tfind.ln
*** Failed command: CC=/usr/build/tools/i386/bin/i386--netbsdelf-gcc 
/usr/build/tools/i386/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d 
/usr/build/dest/i386/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -I/usr/src/lib/libc/include -I/usr/src/lib/libc -DHESIOD 
-DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV 
-DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DPORTMAP 
-DFLOATING_POINT -i /usr/src/lib/libc/stdlib/tfind.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc

*** Failed target:  dependall
*** Failed command: cd /usr/src/lib/libc; 
/usr/build/tools/i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc

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

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; 
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget . do-lib-libc
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
---cut---

// wbr