Subject: Re: Crossbuilding NetBSD on FreeBSD machine
To: Wojciech A. Koszek <wkoszek@FreeBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 03/31/2007 19:37:26
On Sat, 31 Mar 2007, Wojciech A. Koszek wrote:
> > > $ file gnu/dist/texinfo/configure
> > > gnu/dist/texinfo/configure: data
> > 
> > If that configure script is corrupt, then quite possibly other files
> > are also corrupt, and perhaps that explains your difficulties.
> 
> I think it's a reason of files present in NetBSD FTP server. Try to
> check this one and see that it actually contains binary configure
> script. I fetched mine from:
> 
> 	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-4-0/tar_files/src/gnu.tar.gz
> 
> (other files also came from this directory)

Wow, that directory seems to contain files from the old netbsd-4 branch
from some time in 2006.  The checksums match what you posted in your
previous message.

The branch that will become NetBSD-4.0 is called "netbsd-4", and you can
check it out from CVS by passing the "-r netbsd-4" option.  You can also
fetch tar files from <ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/>.

> /os/netbsd$ tar xzfv gnu.tar.gz src/gnu/dist/texinfo/configure
> x src/gnu/dist/texinfo/configure
> /os/netbsd$ file src/gnu/dist/texinfo/configure
> src/gnu/dist/texinfo/configure: data

Yes, if I fetch the gnu.tar.gz that you mentioned and extract that file,
the file contains binary junk.

> I'll try once again, with src tree taken directly from CVS. BTW, I
> checked out src/gnu/dist/texinfo/configure and it's size is the same
> as the one in the Tar archive present on the FTP server.

I can only assume that the tar.gz was made on a server that was
suffering from disk or memory problems.

--apb (Alan Barrett)