Opened 15 years ago

Closed 15 years ago

#21880 closed defect (fixed)

sbcl-1.0.29 Patch for Portfile to correct build failure

Reported by: stephenp@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: haspatch Cc: waqar@…
Port: sbcl

Description

My system has: Mac OS X 10.5.8, Intel Core 2 Duo, Xcode 3.1.4

Building sbcl consistently failed with:

Error: Target org.macports.build returned: shell command "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.12-x86-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.12-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned error 127
Command output: sh: make.sh: No such file or directory

My patch changes the Portfile to execute:

... cd ${worksrcpath} && sh make.sh ...

which allows sh to find make.sh

Note: make.sh calls to other scripts in its own directory, so while a change like the following fixes the original problem, it remains inadequate for a complete build:

... sh ${worksrcpath}/make.sh ...

My patch is a diff file that works with the patch program:

patch path/to/sbcl/Portfile sbcl_Portfile_patch.diff

Attachments (1)

sbcl_Portfile_patch.diff (211 bytes) - added by stephenp@… 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by stephenp@…

Attachment: sbcl_Portfile_patch.diff added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: waqar@… added
Keywords: haspatch added; sbcl build failure patch removed
Owner: changed from macports-tickets@… to gwright@…

comment:2 Changed 15 years ago by gwright@…

Resolution: fixed
Status: newclosed

r59294 should fix this.

Note: See TracTickets for help on using tickets.