Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#1568 closed defect (fixed)

linuxdoc installation fails during destroot phase

Reported by: idar@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: linuxdoc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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}

Change History (3)

comment:1 Changed 21 years ago by toby@…

Owner: changed from darwinports-bugs@… to mij@…

comment:2 Changed 21 years ago by toby@…

Resolution: fixed
Status: newclosed

Committed.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: linuxdoc added
Note: See TracTickets for help on using tickets.