[MacPorts] #16553: slime: don't use cd command
#16553: slime: don't use cd command -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: easieste@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: slime -------------------------------------+-------------------------------------- The slime port uses the cd command in the build and destroot phases, which won't work in MacPorts 1.7.0 and later, and doesn't work in MacPorts trunk today: {{{ $ port install slime ---> Fetching slime ---> Verifying checksum(s) for slime ---> Extracting slime ---> Configuring slime ---> Building slime with target all Error: Target org.macports.build returned: invalid command name "cd" Error: Status 1 encountered during processing. $ }}} You should remove the cd command from the portfile. See also #12914. -- Ticket URL: <http://trac.macports.org/ticket/16553> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16553: slime: don't use cd command --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: easieste@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: slime | --------------------------------------+------------------------------------- Changes (by easieste@macports.org): * status: new => assigned Comment: Hmm. What is one supposed to use instead? -- Ticket URL: <http://trac.macports.org/ticket/16553#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16553: slime: don't use cd command --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: easieste@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: slime | --------------------------------------+------------------------------------- Changes (by easieste@macports.org): * status: assigned => closed * resolution: => fixed Comment: Fix applied in http://trac.macports.org/changeset/39997 Did not use Ryan's suggested patch as basis of my patch (I didn't see the notification before I revisited this). To answer my question as to what to use: 1. Use inside of system invocation with conditional pipeline execution ("&&") ex: system "cd ${worksrcpath} && DO_SOMETHING ... " 2. For xinstall usage, use either the '-W' argument or use absolute paths: ex: xinstall -W ${worksrcpath} -d ${prefix}/share/local -- Ticket URL: <http://trac.macports.org/ticket/16553#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts