Subject: bin/21976: pax(1) handles options incorrectly
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 06/24/2003 15:37:48
>Number: 21976
>Category: bin
>Synopsis: pax(1) handles options incorrectly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 24 13:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6U built from 2003-06-24 sources
>Organization:
Matthias Scheler http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6U NetBSD 1.6U (LYSSA) #0: Tue Jun 24 11:56:01 CEST 2003 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
During installation the "netpbm" package invokes "tar" like this:
/bin/tar cf - * | /bin/tar xpCf /usr/pkg -
This fails unfortunately with a pax(1) built from latest NetBSD-current
sources because it ignores the "f" parameter:
tar: Failed open on tron@colwyn:/dev/nrst0 (Operation not supported by device)
tron@colwyn:/dev/nrst0 ready for archive tape volume: 1
Load the NEXT TAPE on the tape drive
Type "y" to continue, "." to quit tar, or "s" to switch to new device.
If you cannot change storage media, type "s"
Is the device ready and online? > ^C
tar: Signal caught, cleaning up.
tar: Signal caught, cleaning up.
Building pax(1) from 2003-06-22 sources fixes the problem.
>How-To-Repeat:
cd pkgsrc/graphics/netpbm
make install
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: