Subject: toolchain/28075: cross-building of hp700 from Darwin fails when using "join"
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 11/07/2004 17:17:27
>Number:         28075
>Category:       toolchain
>Synopsis:       cross-building of hp700 from Darwin fails when using "join"
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 07 17:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        MacOS X 10.3.5
>Organization:
>Environment:
Darwin Gizmobook 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug  5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  Power Macintosh powerpc
>Description:
Trying to cross-build an hp700 release:
./build.sh -O /usr/src/obj/hp700/ -T /usr/src/cross/hp700/ -m hp700 -u release

It fails consistently when trying to run the "join" command.

#     build  libc/libc_p.a
rm -f libc_p.a
/usr/src/cross/hp700/bin/hppa--netbsd-ar cq libc_p.a `NM=/usr/src/cross/hp700/bi
n/hppa--netbsd-nm NM=/usr/src/cross/hp700/bin/hppa--netbsd-nm MKTEMP=/usr/src/cross/hp700/bin/nbmktemp /usr/src/cross/hp700/bin/nblorder __sigaction14_sigtramp.
po __sigtramp1.po __sigtramp2.po bcopy.po bt_close.po bt_conv.po bt_debug.po bt_
[...]
id_from_string.po uuid_hash.po uuid_is_nil.po uuid_stream.po uuid_to_string.po x
dryp.po yp_all.po yp_first.po yp_maplist.po yp_master.po yp_match.po yp_order.po
 yplib.po yperr_string.po ypprot_err.po | /usr/src/cross/hp700/bin/nbtsort -q`
/usr/src/cross/hp700/bin/nblorder: line 109: 16371 Bus error               join 
-j 2 -o 1.1 2.1 $R $S
/usr/src/cross/hp700/bin/hppa--netbsd-ar: getpw: No such file or directory

*** Failed target:  libc_p.a
*** Failed command: /usr/src/cross/hp700/bin/hppa--netbsd-ar cq libc_p.a `NM=/us
r/src/cross/hp700/bin/hppa--netbsd-nm NM=/usr/src/cross/hp700/bin/hppa--netbsd-n
m MKTEMP=/usr/src/cross/hp700/bin/nbmktemp /usr/src/cross/hp700/bin/nblorder __s
igaction14_sigtramp.po __sigtramp1.po __sigtramp2.po bcopy.po bt_close.po bt_con
v.po bt_debug.po bt_delete.po bt_get.po bt_open.po bt_overflow.po bt_page.po bt_
put.po bt_search.po bt_seq.po bt_split.po bt_utils.po db.po hash.po hash_bigkey.
[...]
.po uuid_equal.po uuid_from_string.po uuid_hash.po uuid_is_nil.po uuid_stream.po
 uuid_to_string.po xdryp.po yp_all.po yp_first.po yp_maplist.po yp_master.po yp_
match.po yp_order.po yplib.po yperr_string.po ypprot_err.po | /usr/src/cross/hp7
00/bin/nbtsort -q`
*** Error code 1

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

*** Failed target:  dependall
*** Failed command: cd /Volumes/NetBSD/usr/src/lib/libc; /usr/src/cross/hp700/bi
n/nbmake realall
*** Error code 1

Stop.

>How-To-Repeat:

>Fix:
Idunno, maybe provide a NetBSD version of join for Darwin?
>Release-Note:
>Audit-Trail:
>Unformatted: