Subject: bin/21976: pax(1) handles options incorrectly
To: None <>
From: Matthias Scheler <>
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
>Release:        NetBSD 1.6U built from 2003-06-24 sources
Matthias Scheler                        
System: NetBSD 1.6U NetBSD 1.6U (LYSSA) #0: Tue Jun 24 11:56:01 CEST 2003 i386
Architecture: i386
Machine: i386

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.

cd pkgsrc/graphics/netpbm
make install

None provided.