NetBSD-Bugs archive

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

misc/45657: build.sh fails on t_ppath



>Number:         45657
>Category:       misc
>Synopsis:       build.sh fails on t_ppath
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 27 02:25:00 +0000 2011
>Originator:     David Ross
>Release:        6
>Organization:
n/a
>Environment:
NetBSD nbvm6x3.beefdom.local 5.99.56 NetBSD 5.99.56 (GENERIC) #0: Thu Nov 24 
01:46:50 UTC 2011  
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201111231930Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
I just started messing around with HEAD so I'm not sure how long this has been 
an issue.  I'm used to cross-compiling port-atari with build.sh on NetBSD 5.1 
i386 and that always goes smoothly for me.  On NetBSD 6 though it's hitting an 
issue linking t_ppath, per below.

dependall ===> tests/lib/libppath
#      link  libppath/t_ppath
/usr/src/obj/tooldir.NetBSD-5.99.56-i386/bin/m68k--netbsdelf-gcc    
--sysroot=/usr/src/obj/destdir.atari     -o t_ppath  t_ppath.o personnel.o 
-lppath -lprop -latf-c       -Wl,-rpath-link,/usr/src/obj/destdir.atari/lib  
-L=/lib
t_ppath.o: In function `atfu_get_string_success_body':
t_ppath.c:(.text+0x928): undefined reference to `personnel'
t_ppath.o: In function `atfu_get_string_enoent_body':
t_ppath.c:(.text+0xa3c): undefined reference to `personnel'
t_ppath.o: In function `atfu_get_string_eftype_body':
t_ppath.c:(.text+0xbc4): undefined reference to `personnel'
t_ppath.o: In function `atfu_get_bool_success_body':
t_ppath.c:(.text+0x10a2): undefined reference to `personnel'
t_ppath.o: In function `atfu_get_bool_enoent_body':
t_ppath.c:(.text+0x119c): undefined reference to `personnel'
t_ppath.o:t_ppath.c:(.text+0x1308): more undefined references to `personnel' 
follow
collect2: ld returned 1 exit status

*** Failed target:  t_ppath
*** Failed command: 
/usr/src/obj/tooldir.NetBSD-5.99.56-i386/bin/m68k--netbsdelf-gcc 
--sysroot=/usr/src/obj/destdir.atari -o t_ppath t_ppath.o personnel.o -lppath 
-lprop -latf-c -Wl,-rpath-link,/usr/src/obj/destdir.atari/lib -L=/lib
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tests/lib/libppath

*** Failed target:  dependall
*** Failed command: cd "/usr/src/tests/lib/libppath"; 
/usr/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tests/lib/libppath

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

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

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

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

*** Failed target:  dependall-tests
*** 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/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget tests dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  do-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/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** 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/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget . do-build
*** 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/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  release
*** 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/src/obj/tooldir.NetBSD-5.99.56-i386/bin/nbmake _THISDIR_="${this}" "$@" 
${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /usr/src

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

>How-To-Repeat:
./build.sh -U -x -m atari release
>Fix:



Home | Main Index | Thread Index | Old Index