pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46666: package print/teTeX3-texmf fails to install under Apple Mac OS X (Darwin)

>Number:         46666
>Category:       pkg
>Synopsis:       package print/teTeX3-texmf fails to install under Apple Mac OS 
>X (Darwin)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 06 15:15:01 +0000 2012
>Originator:     Christopher M. Fuhrman
>Release:        N/A
Darwin dn0a2071df.sunet 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 
19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
The package print/teTeX3-texmf will fail to install as pax(1) cannot access the 
destination directory 

Note this problem is specific to the version of pax(1) as provided by Apple.  
This does not appear to be an issue with NetBSD pax(1) as provided by pkgsrc in 

# Remember: pkgsrc under Darwin uses bmake(1)!
$ cd /usr/pkgsrc/print/teTeX3-texmf
$ bmake

# Wait until a ginormous number of dependencies are compiled and installed

$ bmake install
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
===> Installing for teTeX-texmf-3.0nb36
cd /usr/pkgsrc/print/teTeX3-texmf/work/tetex && pax -wr -s
',.*\.orig$,,' *
pax: Cannot access destination directory
<No such file or directory>
*** Error code 1

bmake: stopped in /usr/pkgsrc/print/teTeX3-texmf
*** Error code 1

bmake: stopped in /usr/pkgsrc/print/teTeX3-texmf

Taking a cue from other texmf-related packages, the directory 
${DESTDIR}${PREFIX}/share/texmf-dist needs to be created beforehand before 
pax(1) can run:

Index: Makefile
RCS file: /cvsroot/pkgsrc/print/teTeX3-texmf/Makefile,v
retrieving revision 1.56
diff -u -r1.56 Makefile
--- Makefile    8 May 2012 18:43:46 -0000       1.56
+++ Makefile    6 Jul 2012 14:51:20 -0000
@@ -552,6 +552,6 @@
        rm -rf ${WRKSRC}/tex/platex
-       cd ${WRKSRC} && pax -wr -s ',.*\.orig$$,,' * 
+       cd ${WRKSRC} && mkdir -p ${DESTDIR}${PREFIX}/share/texmf-dist && pax 
-wr -s ',.*\.orig$$,,' * ${DESTDIR}${PREFIX}/share/texmf-dist
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index