Opened 13 years ago

Closed 13 years ago

#27421 closed defect (fixed)

sbcl @1.0.44 - build failure

Reported by: jlanglopez@… Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: tiger Cc: gwright@…, waqar@…, ryandesign (Ryan Carsten Schmidt)
Port: sbcl

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sbcl fails to build using latest version, although also attempted to install using version 1.0.22 alone with same problem

  • Mac os x 10.4.11
  • xcode 2.5 debug output:
    DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/sbcl 
    DEBUG: OS darwin/8.11.0 (Mac OS X 10.4) arch powerpc 
    DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided 
    DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
    DEBUG: universal_variant is false, so not adding the default universal variant
    DEBUG: Starting logging for sbcl
    DEBUG: Executing org.macports.main (sbcl)
    DEBUG: Skipping completed org.macports.fetch (sbcl)
    DEBUG: Skipping completed org.macports.checksum (sbcl)
    DEBUG: setting option extract.cmd to /usr/bin/bzip2
    DEBUG: Skipping completed org.macports.extract (sbcl)
    DEBUG: Skipping completed org.macports.patch (sbcl)
    DEBUG: Skipping completed org.macports.configure (sbcl)
    ---> Building sbcl
    DEBUG: build phase started at Mon Nov 22 03:24:04 GMT 2010
    DEBUG: Executing org.macports.build (sbcl)
    //Starting build: Mon Nov 22 03:24:05 GMT 2010
    //Options: --prefix='/opt/local' --xc-host='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.22-powerpc-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.22-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null'
    //entering make-config.sh
    //ensuring the existence of output/ directory
    //initializing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.44/local-target-features.lisp-expr
    //guessing default target CPU architecture from host architecture
    second level name optional in hw.optional.x86_64 is invalid
    //setting up CPU-architecture-dependent information
    sbcl_arch="ppc"
    //setting up OS-dependent information
    //finishing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.44/local-target-features.lisp-expr
    /in canonicalize-whitespace-1
    /$*=./local-target-features.lisp-expr ./src/runtime/target-arch-os.h ./src/runtime/target-arch.h ./src/runtime/target-lispregs.h ./src/runtime/target-os.h
    /$scratchfilename=/tmp/canonicalize-whitespace-1.19850.tmp
    //entering make-host-1.sh
    //building cross-compiler, and doing first genesis
    make-host-1.sh: line 31: 19858 Bus error               $SBCL_XC_HOST <make-host-1.lisp
    shell command "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.44 && sh make.sh "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-1.0.22-powerpc-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.22-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" --prefix=/opt/local" returned error 1
    Error: Target org.macports.build returned: shell command failed (see log for details)
    DEBUG: Backtrace: shell command failed (see log for details) while executing "$procedure $targetname"
    Warning: the following items did not execute (for sbcl): org.macports.activate org.macports.build org.macports.destroot org.macports.install
    Log for sbcl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/main.log
    Error: Status 1 encountered during processing.
    To report a bug, see <http://guide.macports.org/#project.tickets>
    

*needed to run maxima, if no obvious solution is there any alternative way of getting maxima running. Thanks for any help

Change History (12)

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

Cc: gwright@… waqar@… added
Owner: changed from macports-tickets@… to easieste@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:3 in reply to:  description Changed 13 years ago by easye

Description: modified (diff)

comment:4 Changed 13 years ago by easye

Description: modified (diff)

comment:5 Changed 13 years ago by easye

Description: modified (diff)

ABCL runs maxima well. 'lang/abcl' contains ABCL.

comment:6 Changed 13 years ago by easye

Lack of access to Tiger/PPC machines essentially prevents any help in this regard. I could probably beg a new SBCL binary off the development group with enough whining, but then I wouldn't really be able to test it.

See http://permalink.gmane.org/gmane.lisp.steel-bank.devel/14793.

comment:7 Changed 13 years ago by jlanglopez@…

Thanks for the help, two questions:

  • If I install ABCL will macports then also install maxima even though sbcl is a dependent? If not is there a way of bypassing this?
  • I have the binary for sbcl 2.0.22 which compiles okay outside of macports, can I use this then place the files in the appropriate locations in my macports effectively manually installing sbcl.

comment:8 in reply to:  7 Changed 13 years ago by easye

Replying to jlanglopez@…:

Thanks for the help, two questions:

*If I install ABCL will macports then also install maxima even though sbcl is a dependent? If not is there a way of bypassing this?

It looks like one could edit the maxima Portfile to include a variant for ABCL, but I haven't investigated it fully. I know that over the last year, the Maxima developers have worked with the ABCL developers to make ABCL a first-class platform for hosting Maxmima. When I get some time, I will look into adding an 'abcl' variant for the MacPorts Portfile.

*I have the binary for sbcl 2.0.22 which compiles okay outside of macports, can I use this then place the files in the appropriate locations in my macports effectively manually installing sbcl.

You probably mean the binary for sbcl-1.0.22. I think you could 'reset' the sbcl Portfile to build and install this version by setting the version to '1.0.22', and updating the checksums.

comment:9 Changed 13 years ago by jlanglopez@…

Yeah sorry did mean 1.0.22.

I have tried installing the 1.0.22 binary (am I right in thinking this is what the ppc uses, and the latest version of sbcl just installs this when it detects ppc architecture?) using the subversion command and also by downloading the relevant pre update portfile but neither worked.

If I install the 1.0.22 binary using the terminal alone i.e not through macports it builds properly. Can I specify a folder in mcaports to build to so that it will detect sbcl? Could I this by manually placing the relevant files?

comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:11 Changed 13 years ago by easye

r78540 updates the PPC binary to 1.0.47, which may fix.

Will someone with Tiger/PPC please test?

comment:12 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Resolution: fixed
Status: newclosed

I can confirm that fixed it.

Note: See TracTickets for help on using tickets.