[MacPorts] #18275: shapelib gives error: invalid command name "cd"
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: shapelib | Port: --------------------------------------+------------------------------------- When tying to install shapelib, install fails with "invalid command name "cd" " error DEBUG: Executing org.macports.build (shapelib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_shapelib/work/shapelib-1.2.10" && make all shptree.o' make: Nothing to be done for `all'. make: `shptree.o' is up to date. DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" Warning: the following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/18275> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: shapelib | Port: --------------------------------------+------------------------------------- Comment(by george@…): Sorry, I thought the description would show more of what I entered. Here is the actual line that failed.
DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" cports.install following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.ma
-- Ticket URL: <http://trac.macports.org/ticket/18275#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: shadow@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: shapelib --------------------------------------+------------------------------------- Changes (by blb@…): * cc: blb@… (added) * keywords: shapelib => * owner: macports-tickets@… => shadow@… * port: => shapelib Old description:
When tying to install shapelib, install fails with "invalid command name "cd" " error
DEBUG: Executing org.macports.build (shapelib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_shapelib/work/shapelib-1.2.10" && make all shptree.o' make: Nothing to be done for `all'. make: `shptree.o' is up to date. DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" Warning: the following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
New description: When tying to install shapelib, install fails with "invalid command name "cd" " error {{{ DEBUG: Executing org.macports.build (shapelib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_shapelib/work/shapelib-1.2.10" && make all shptree.o' make: Nothing to be done for `all'. make: `shptree.o' is up to date. DEBUG: Executing proc-post-org.macports.build-build-0 Error: Target org.macports.build returned: invalid command name "cd" Warning: the following items did not execute (for shapelib): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Comment: Attached patch should fix this (and switches the system install to use xinstall, and removes a redundant second install of shapefil.h). -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: shadow@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: shapelib --------------------------------------+------------------------------------- Comment(by george@…): I applied the diff file locally, and it worked, shapelib compiled fine. However, when I delete my local portfile and do a selfupdate, I get the old nonworking portfile back. Is there another step I'm supposed to do? I'm new to this. -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: shadow@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: shapelib --------------------------------------+------------------------------------- Comment(by blb@…): Yes, a selfupdate is expected to revert changes in the normal repository on your install (you can setup a [http://guide.macports.org/#development .local-repositories local repository] if you do regular changes). The patch is just waiting maintainer approval or a timeout (3 days), then it should be committed to the repository. -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" --------------------------------------+------------------------------------- Reporter: george@… | Owner: shadow@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: shapelib --------------------------------------+------------------------------------- Comment(by shadow@…): Looks good to me. -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18275: shapelib gives error: invalid command name "cd" ---------------------------------------+------------------------------------ Reporter: george@… | Owner: shadow@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: shapelib | ---------------------------------------+------------------------------------ Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Applied in r46168. -- Ticket URL: <http://trac.macports.org/ticket/18275#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts