NetBSD Problem Report #45657
From www@NetBSD.org Sun Nov 27 02:23:59 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 021C763D970
for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Nov 2011 02:23:59 +0000 (UTC)
Message-Id: <20111127022357.DAACD63D6CC@www.NetBSD.org>
Date: Sun, 27 Nov 2011 02:23:57 +0000 (UTC)
From: dross@pobox.com
Reply-To: dross@pobox.com
To: gnats-bugs@NetBSD.org
Subject: build.sh fails on t_ppath
X-Send-Pr-Version: www-1.0
>Number: 45657
>Category: misc
>Synopsis: build.sh fails on t_ppath
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: misc-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 27 02:25:00 +0000 2011
>Closed-Date: Thu Feb 09 06:30:47 +0000 2012
>Last-Modified: Thu Feb 09 06:30:47 +0000 2012
>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:/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:
>Release-Note:
>Audit-Trail:
From: matthew sporleder <msporleder@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: misc/45657
Date: Sun, 29 Jan 2012 09:53:53 -0500
Is this still an issue? atari is building on releng.
http://releng.netbsd.org/cgi-bin/builds.cgi
From: David Ross <dross@pobox.com>
To: <gnats-bugs@netbsd.org>, <misc-bug-people@netbsd.org>,
<gnats-admin@netbsd.org>, <netbsd-bugs@netbsd.org>
Cc:
Subject: RE: misc/45657
Date: Sun, 29 Jan 2012 10:22:21 -0800
Although it's not mentioned in this PR=2C I'm fairly certain I was actually=
also including the -u flag=2C per:
http://netbsd-ataritt.wikia.com/wiki/Cross-building_a_Customized_Install#bu=
ild=20
Christos Zoulas helped me diagnose and successfully resolve the build issue=
. My takeaway was that if I would have avoided -u then there wouldn't have=
been any issues to start with. I haven't had a chance to confirm that wit=
h a fresh build yet though.
> From: msporleder@gmail.com
> To: misc-bug-people@netbsd.org=3B gnats-admin@netbsd.org=3B netbsd-bugs@n=
etbsd.org=3B dross@pobox.com
> Subject: Re: misc/45657
> CC:=20
> Date: Sun=2C 29 Jan 2012 14:55:01 +0000
>=20
> The following reply was made to PR misc/45657=3B it has been noted by GNA=
TS.
>=20
> From: matthew sporleder <msporleder@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:=20
> Subject: Re: misc/45657
> Date: Sun=2C 29 Jan 2012 09:53:53 -0500
>=20
> Is this still an issue? atari is building on releng.
>=20
> http://releng.netbsd.org/cgi-bin/builds.cgi
> =
From: matthew sporleder <msporleder@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: misc/45657
Date: Sun, 29 Jan 2012 17:39:11 -0500
Give it a try and let us know if this can be closed.
From: David Ross <dross@pobox.com>
To: <gnats-bugs@netbsd.org>, <misc-bug-people@netbsd.org>,
<gnats-admin@netbsd.org>, <netbsd-bugs@netbsd.org>
Cc:
Subject: RE: misc/45657
Date: Sun, 29 Jan 2012 22:01:57 -0800
I'll give it a shot and reply back on this PR. (Both with and without -u=
=2C using rollback in a VM to ensure no conflict between tests.)
> From: msporleder@gmail.com
> To: misc-bug-people@netbsd.org=3B gnats-admin@netbsd.org=3B netbsd-bugs@n=
etbsd.org=3B dross@pobox.com
> Subject: Re: misc/45657
> CC:=20
> Date: Sun=2C 29 Jan 2012 22:40:03 +0000
>=20
> The following reply was made to PR misc/45657=3B it has been noted by GNA=
TS.
>=20
> From: matthew sporleder <msporleder@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:=20
> Subject: Re: misc/45657
> Date: Sun=2C 29 Jan 2012 17:39:11 -0500
>=20
> Give it a try and let us know if this can be closed.
> =
From: David Ross <dross@pobox.com>
To: <gnats-bugs@netbsd.org>, <misc-bug-people@netbsd.org>,
<gnats-admin@netbsd.org>, <netbsd-bugs@netbsd.org>, <msporleder@gmail.com>
Cc:
Subject: RE: misc/45657
Date: Wed, 8 Feb 2012 22:09:20 -0800
For some reason gnats didn't pick up my previous reply on this issue:
=20
---
I tried on HEAD build 201202050020Z and I was able to compile both with and=
without -u. So please close this PR=2C thanks!
---
Matthew=2C if it doesn't pick up this mail you may want to just close the P=
R manually. Thank you!
=20
David Ross
dross@pobox.com
> From: msporleder@gmail.com
> To: misc-bug-people@netbsd.org=3B gnats-admin@netbsd.org=3B netbsd-bugs@n=
etbsd.org=3B dross@pobox.com
> Subject: Re: misc/45657
> CC:=20
> Date: Sun=2C 29 Jan 2012 22:40:03 +0000
>=20
> The following reply was made to PR misc/45657=3B it has been noted by GNA=
TS.
>=20
> From: matthew sporleder <msporleder@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc:=20
> Subject: Re: misc/45657
> Date: Sun=2C 29 Jan 2012 17:39:11 -0500
>=20
> Give it a try and let us know if this can be closed.
> =
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Thu, 09 Feb 2012 06:30:47 +0000
State-Changed-Why:
confirmed fixed, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.