Subject: Cannot build current for hpcsh
To: None <port-hpcsh@netbsd.org>
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
List: port-hpcsh
Date: 02/27/2005 18:37:21
Dear all,

trying to cross-compile the world (cvs updated two days ago and today) I 
run into this:

#   compile  libc/res_comp.ln
CC=/usr/hpcshtools/bin/shle--netbsdelf-gcc 
/usr/hpcshtools/bin/shle--netbsdelf-lint -chapbxzF -X 272 -d 
/usr/hpcshbuild/usr/include  -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -I/usr/currentsrc/lib/libc/include -I/usr/currentsrc/lib/libc 
-DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOAT 
-I/usr/currentsrc/lib/libc/arch/sh3/softfloat 
-I/usr/currentsrc/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/usr/currentsrc/libexec/ld.elf_so -I/usr/currentsrc/lib/libc/dlfcn 
-DCITRUS_ICONV -DWITH_RUNE -I/usr/currentsrc/lib/libc -DPOSIX_MISTAKE 
-DCOMPAT__RES -DPORTMAP -DFLOATING_POINT    -i 
/usr/currentsrc/lib/libc/net/res_comp.c
/usr/currentsrc/lib/libc/net/res_comp.c(82): warning: previously declared 
extern, becomes static: __ns_name_ntop [29]
/usr/currentsrc/lib/libc/net/res_comp.c(83): warning: previously declared 
extern, becomes static: __ns_name_pton [29]
/usr/currentsrc/lib/libc/net/res_comp.c(84): warning: previously declared 
extern, becomes static: __ns_name_unpack [29]
/usr/currentsrc/lib/libc/net/res_comp.c(86): redeclaration of 
__ns_name_pack [27]
/usr/currentsrc/lib/libc/net/res_comp.c(88): warning: previously declared 
extern, becomes static: __ns_name_uncompress [29]
/usr/currentsrc/lib/libc/net/res_comp.c(90): warning: previously declared 
extern, becomes static: __ns_name_compress [29]
/usr/currentsrc/lib/libc/net/res_comp.c(92): warning: previously declared 
extern, becomes static: __ns_name_skip [29]

*** Failed target:  res_comp.ln
*** Failed command: CC=/usr/hpcshtools/bin/shle--netbsdelf-gcc 
/usr/hpcshtools/bin/shle--netbsdelf-lint -chapbxzF -X 272 -d 
/usr/hpcshbuild/usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -I/usr/currentsrc/lib/libc/include -I/usr/currentsrc/lib/libc 
-DHESIOD -DINET6 -DNLS -DYP -DSOFTFLOAT 
-I/usr/currentsrc/lib/libc/arch/sh3/softfloat 
-I/usr/currentsrc/lib/libc/softfloat -DSOFTFLOAT_FOR_GCC 
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
-I/usr/currentsrc/libexec/ld.elf_so -I/usr/currentsrc/lib/libc/dlfcn 
-DCITRUS_ICONV -DWITH_RUNE -I/usr/currentsrc/lib/libc -DPOSIX_MISTAKE 
-DCOMPAT__RES -DPORTMAP -DFLOATING_POINT -i 
/usr/currentsrc/lib/libc/net/res_comp.c
*** Error code 1

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

*** Failed target:  dependall
*** Failed command: cd /usr/currentsrc/lib/libc; 
/usr/hpcshtools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/currentsrc/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/currentsrc" ;; *) this="${dir}/"; real="/usr/currentsrc/${dir}" 
;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && /usr/hpcshtools/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget lib/libc dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/currentsrc

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

Stop.
nbmake: stopped in /usr/currentsrc

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

Stop.
nbmake: stopped in /usr/currentsrc

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

Build command was:

[18:36] root@agrino:/usr/currentsrc $  ./build.sh -m hpcsh -T 
/usr/hpcshtools -D /usr/hpcshbuild -O /usr/hcshbuild -U distribution

Anybody else seeing that? Or is my source tree somehow buggy?

Best regards,

    Torsten


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>