[MacPorts] #1568: linuxdoc installation fails during destroot phase
MacPorts
noreply at macports.org
Thu Mar 24 06:48:01 PDT 2016
#1568: linuxdoc installation fails during destroot phase
-----------------------+--------------------
Reporter: idar@… | Owner: mij@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: linuxdoc |
-----------------------+--------------------
Changes (by ryandesign@…):
* port: => linuxdoc
Old description:
> dports/textproc/linuxdoc fails in the destroot phase with the following
> message:
>
> ---> Staging linuxdoc into destroot
> Error: Target com.apple.destroot returned: shell command "install -o root
> -m 644
> work/catalog
> /opt/local/darwinports/dports/textproc/linuxdoc/work/destroot/opt/local/share/sgml/linuxdoc"
> returned error 71
> Command output: install: work/catalog: No such file or directory
>
> This is because the Portfile uses ${workdir} instead of ${workpath}. I
> suppose
> ${workdir} at one point had the value now hold by ${workpath}.
>
> Here's a patch for the Portfile that fixed the problem
> (dports/textproc/linuxport/Portfile):
>
> --- Portfile.orig Tue Aug 5 11:29:38 2003
> +++ Portfile Sat Feb 28 18:26:31 2004
> @@ -25,9 +25,9 @@
>
> destroot { system "install -o root -m 755 -d \
> ${destroot}${prefix}/${instdir}"
> - system "install -o root -m 644 ${workdir}/catalog \
> + system "install -o root -m 644 ${workpath}/catalog \
> ${destroot}${prefix}/${instdir}"
> - system "install -o root -m 644 ${workdir}/*.* \
> + system "install -o root -m 644 ${workpath}/*.* \
> ${destroot}${prefix}/${instdir}" }
>
> destroot.args prefix=${destroot}${prefix}
New description:
dports/textproc/linuxdoc fails in the destroot phase with the following
message:
{{{
---> Staging linuxdoc into destroot
Error: Target com.apple.destroot returned: shell command "install -o root
-m 644 work/catalog
/opt/local/darwinports/dports/textproc/linuxdoc/work/destroot/opt/local/share/sgml/linuxdoc"
returned error 71
Command output: install: work/catalog: No such file or directory
}}}
This is because the Portfile uses ${workdir} instead of ${workpath}. I
suppose
${workdir} at one point had the value now hold by ${workpath}.
Here's a patch for the Portfile that fixed the problem
(dports/textproc/linuxport/Portfile):
{{{
--- Portfile.orig Tue Aug 5 11:29:38 2003
+++ Portfile Sat Feb 28 18:26:31 2004
@@ -25,9 +25,9 @@
destroot { system "install -o root -m 755 -d \
${destroot}${prefix}/${instdir}"
- system "install -o root -m 644 ${workdir}/catalog \
+ system "install -o root -m 644 ${workpath}/catalog \
${destroot}${prefix}/${instdir}"
- system "install -o root -m 644 ${workdir}/*.* \
+ system "install -o root -m 644 ${workpath}/*.* \
${destroot}${prefix}/${instdir}" }
destroot.args prefix=${destroot}${prefix}
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/1568#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list