[MacPorts] #21880: sbcl-1.0.29 Patch for Portfile to correct build failure

MacPorts noreply at macports.org
Tue Oct 6 11:06:47 PDT 2009


#21880: sbcl-1.0.29 Patch for Portfile to correct build failure
--------------------------------------+-------------------------------------
 Reporter:  stephenp@…                |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.1                                
 Keywords:  sbcl build failure patch  |        Port:  sbcl                                 
--------------------------------------+-------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21880>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list