Subject: pkg/18703: [PAX problem] postgresql-client installation fails
To: None <>
From: None <>
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
>Originator:     Eric Jacoboni
>Release:        NetBSD 1.6I
System: NetBSD 1.6I NetBSD 1.6I (TITINE-$Revision: 1.518 $) #16: Fri Oct 18 00:26:19 CEST 2002 i386
Architecture: i386
Machine: i386
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

Cf. supra
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.