Opened 15 years ago

Last modified 15 years ago

#18275 closed defect

shapelib gives error: invalid command name "cd" — at Version 2

Reported by: george@… Owned by: shadow@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: blb@…
Port: shapelib

Description (last modified by blb@…)

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.

Change History (3)

comment:1 Changed 15 years ago 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

comment:2 Changed 15 years ago by blb@…

Cc: blb@… added
Description: modified (diff)
Keywords: shapelib removed
Owner: changed from macports-tickets@… to shadow@…
Port: shapelib added

Attached patch should fix this (and switches the system install to use xinstall, and removes a redundant second install of shapefil.h).

Changed 15 years ago by blb@…

Attachment: shapelib.diff added

diff to Portfile

Note: See TracTickets for help on using tickets.