Subject: bin/8573: 'ar' falls over on debian packages.
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 10/06/1999 17:35:48
>Synopsis: 'ar' falls over on debian packages.
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Wed Oct 6 17:35:00 1999
>Originator: Chris Demetriou
Things that make you go "HMM!"
>Release: 1.4.x (head of 1.4-branch as of about a month ago)
NetBSD/i386 running 1.4.x, that's all you really need to know.
Our 'ar' seems to be Unhappy with debian packages. It seg-faults.
RedHat Linux's ar works, as does Solaris 2.6 (sparc) /usr/ccs/bin/ar.
FTP a debian package archive, and then run 'ar tv' on it.
Known to cause the problem is the x2x_1.27-5.deb package which
can be found via http://www.debian.org/Packages/stable/x11/x2x.html
on one of various mirrors. I downloaded my copy of the package
Then run 'file' on it, and note that file claims it's an 'ar' archive.
run 'ar tv' on it, and watch the seg-fault.
Run 'ar tv' (or 'ar xv') on it on RedHat Linux 6.0 (i386) or
Solaris 2.6 (sparc) and note that the right thing (not a seg fault 8-)
happens. As reported by solaris, the contents of the file look like:
rw-r--r-- 0/ 0 4 Oct 4 14:05 1998 debian-binary
rw-r--r-- 0/ 0 833 Oct 4 14:05 1998 control.tar.gz
rw-r--r-- 0/ 0 16225 Oct 4 14:05 1998 data.tar.gz
RedHat 6.0 on i386 seems to agree, modulo white space.