pkgsrc-Bugs archive

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

pkg/57413: textproc/docbook-xsl fails to install on macOS

>Number:         57413
>Category:       pkg
>Synopsis:       textproc/docbook-xsl fails to install on macOS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 17 14:45:00 +0000 2023
>Originator:     jonathan buschmann
>Release:        pkgsrc trunk / HEAD
ProductName:    macOS
ProductVersion: 12.6.5
BuildVersion:   21G531

Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Applications/

XCode 14.2
Installation fails with a message from `pax` that `File exists` and it's related to the creation of `.` so the directory itself.

I'm not sure the real reason but see the fix below

Instead of copying the installation directory that is already created only copy the files inside the directory and not the original root directory.

diff --git i/textproc/docbook-xsl/Makefile w/textproc/docbook-xsl/Makefile
index ce59d9a7793..fcb53083b15 100644
--- i/textproc/docbook-xsl/Makefile
+++ w/textproc/docbook-xsl/Makefile
@@ -62,7 +62,7 @@ post-extract:
        ${RM} -f ${${FIND} ${WRKSRC} -type d:L:sh:=/.gitignore}

-       cd ${WRKSRC}/template && ${PAX} -rw -pp -pm . ${DESTDIR}${EGDIR}
+       cd ${WRKSRC}/template && ${PAX} -rw -pp -pm -s /\.//p . ${DESTDIR}${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/catalog.xml ${DESTDIR}${XSLDIR}/catalog.xml

Home | Main Index | Thread Index | Old Index