Subject: pkg/18703: [PAX problem] postgresql-client installation fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jaco@scrogneugneu.org>
List: netbsd-bugs
Date: 10/19/2002 12:01:56
>Number:         18703
>Category:       pkg
>Synopsis:       make install of postgresql-client fails when tar is called
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 03:03:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6I
>Organization:
None
>Environment:
System: NetBSD titine.scrogneugneu.org 1.6I NetBSD 1.6I (TITINE-$Revision: 1.518 $) #16: Fri Oct 18 00:26:19 CEST 2002 root@titine.scrogneugneu.org:/usr/src.cvsup/sys/arch/i386/compile/TITINE i386
Architecture: i386
Machine: i386
>Description:
When updation Postgresql, installation of postgresql-client fails when
trying to untar files:

gmake[1]: Leaving directory `/usr/pkgsrc/databases/postgresql-client/work.i386/postgresql-7.2.3/src/bin/pg_encoding'
/usr/bin/sed -e "s|^#.*||" /usr/pkgsrc/databases/postgresql-client/files/exclude | /bin/tar zxCXf /usr/local/man - /usr/pkgsrc/databases/postgresql-client/work.i386/postgresql-7.2.3/doc/man.tar.gz
tar: can not open -: No such file or directory
Usage: tar [-]{crtux}[-befhmopqvwzHLOPXZ014578] [archive] [blocksize]
           [-C directory] [-T file] [-s replstr] [file ...]
*** Error code 1

>How-To-Repeat:
Cf. supra
>Fix:
As i think it's related to the recent replacement of GNU tar by pax,
i've installed gtar from pkgsrc tree, then change the postgresql-client
Makefile to replace ${GTAR} by gtar. It fixes the problem.
>Release-Note:
>Audit-Trail:
>Unformatted: