Subject: building 1.6 on -current: pax-as-tar problem?
To: NetBSD-current <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 01/14/2003 09:10:41
I get the following error when I try and build NetBSD 1.6_STABLE (from
cvs as of yesterday) on a 1.6L system (source from 3 days ago):

# ./build.sh -D /m5/netbsd-1.6/destdir -T /m5/netbsd-1.6/tools -R /m5/netbsd-1.6/release

[SNIP]

if [ -f gcov ];  then  rm -f /m5/netbsd-1.6/tools/bin/gcov;  /m5/netbsd-1.6/tools/bin/nbinstall -c -p -r  gcov /m5/netbsd-1.6/tools/bin/`t='s,^,i386--netbsdelf-,'; echo gcov | sed -e $t`;  fi
rm -rf /m5/netbsd-1.6/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
mkdir /m5/netbsd-1.6/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
chmod a+rx /m5/netbsd-1.6/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include
(cd `pwd`/include ;  tar -cf - .; exit 0) | (cd /m5/netbsd-1.6/tools/lib/gcc-lib/i386--netbsdelf/2.95.3/include; tar xpBf - )
cd: can't cd to /m5/netbsd-1.6/src/tools/toolchain/obj.i386/build/gcc/include
tar: Sorry, unable to determine archive format.
*** Error code 1

Stop.
nbmake: stopped in /m5/netbsd-1.6/src/tools/toolchain/obj.i386/build/gcc
*** Error code 1


Stop.
nbmake: stopped in /m5/netbsd-1.6/src/tools/toolchain/obj.i386/build
*** Error code 1


Suspecting another pax-as-tar problem, I replaced tar with tar15 (from
NetBSD 1.5) in the Makefile in src/tools/toolchain/obj.i386/build/gcc.
The 'cd: can't cd to /m5/netbsd...' message is still there but the
NetBSD 1.5 tar does not produce the 'tar: Sorry, unable to determine
archive format'.

Is this a toolchain issue? pax-as-tar issue?
-- 
    - aew