Subject: pkg/26702: cannot extract/install 'print/teTeX-share' on Solaris 9/sparc
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jdbaker@mylinuxisp.com>
List: pkgsrc-bugs
Date: 08/18/2004 00:51:49
>Number:         26702
>Category:       pkg
>Synopsis:       cannot extract/install 'print/teTeX-share' on Solaris 9/sparc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 18 03:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John D. Baker
>Release:        N/A
>Organization:
>Environment:
SunOS ss20a 5.9 Generic_117171-02 sun4m sparc SUNW,SPARCstation-20
2x ROSS HyperSPARC 150MHz
>Description:
I was attempting to install print/teTeX on my Solaris 9/sparc system,
but tar|pax|cpio misbehaved:

[...]
===> Installing for teTeX-share-2.0.2
===> Becoming root@ss20a to install teTeX-share.
/usr/bin/su Password:
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
.:      gid (3, 0, modified)
sbin:   gid (3, 0, modified)
man/man1:
        gid (3, 0, modified)
man/cat1:
        gid (3, 0, modified)
man/man8:
        gid (3, 0, modified)
man/cat8:
        gid (3, 0, modified)
share/mk:
        gid (3, 0, modified)
lib:    gid (3, 0, modified)
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/share/texmf
cd /usr/pkg/share/texmf; /usr/bin/gzip -cd
/usr/pkgsrc/distfiles/teTeX/tetex-texmf-2.0.2.tar.gz | /usr/pkg/bin/tar -X
/usr/pkgsrc/print/teTeX-share/files/exclude -xpf -
tar: Invalid replacement string option
/.*\/.*\/web2c\/mktex\.cnf^?^?x20/lib/libc_psr.so.1$//
usage: tar [-]{crtux}[-befhjlmopqvwzHLOPXZ014578] [archive] [blocksize]
           [-C directory] [-T file] [-s replstr] [file ...]
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/print/teTeX-share
*** Error code 1

Stop.
[...]


Rebuilding the bootstrap kit (and thus tar|pax|cpio) did not
alleviate the problem.  So far, the problem has only been seen
on my Solaris 9/sparc main workstation.  On MacOS X (10.2.8) and
NetBSD2.0G/i386 there is no problem.

I last built print/teTeX a few months ago and there were no problems
on Solaris 9/sparc.  Perhaps recent changes to pkgsrc have introduced
problems?
>How-To-Repeat:
cd /usr/pkgsrc/print/teTeX-share
bmake install

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: