Opened 10 years ago

Closed 17 months ago

#47288 closed defect (fixed)

sbcl @1.2.9: fails to build on PPC: The value NIL is not of type SB!KERNEL:DEFSTRUCT-SLOT-DESCRIPTION.

Reported by: udbraumann Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: leopard powerpc Cc: larryv (Lawrence Velázquez)
Port: sbcl

Description

I have tried to install sbcl @1.2.9 in order to install maxima later on, however, after a long time sbcl building fails.

As I never ever have used LISP before I am not able to interpret the log file, sorry. I attach the main.log

Attachments (1)

main.log.gz (115.8 KB) - added by udbraumann 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by udbraumann

Attachment: main.log.gz added

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

Cc: easieste@… removed
Keywords: leopard powerpc added
Owner: changed from macports-tickets@… to easieste@…

comment:2 Changed 9 years ago by easye

Unfortunately, I don't have access to PowerPC hardware, so I cannot provide much support for your problem.

Looking at attached log did not reveal any obvious reason for failure.

Sorry I cannot be of more help.

comment:3 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:4 Changed 6 years ago by kencu (Ken)

Not particularly enlightening so far (10.5 PPC):

15: ((FLET SB-FASL::LOAD-STREAM)
     #<SB-SYS:FD-STREAM
       for "file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.4.9/make-host-1.lisp"
       {11E83C49}>
     NIL)
16: (LOAD
     "make-host-1.lisp"
     :VERBOSE
     NIL
     :PRINT
     NIL
     :IF-DOES-NOT-EXIST
     T
     :EXTERNAL-FORMAT
     :DEFAULT)
17: (COMMON-LISP-USER::LOAD-SBCL-FILE "make-host-1.lisp" T)
18: (COMMON-LISP-USER::LOAD-SBCL-FILE "make-host-1.lisp")[:EXTERNAL]
19: (SB-INT:SIMPLE-EVAL-IN-LEXENV
     (COMMON-LISP-USER::LOAD-SBCL-FILE "make-host-1.lisp")
     #<NULL-LEXENV>)
20: (EVAL (COMMON-LISP-USER::LOAD-SBCL-FILE "make-host-1.lisp"))
21: (SB-EXT:INTERACTIVE-EVAL
     (COMMON-LISP-USER::LOAD-SBCL-FILE "make-host-1.lisp")
     :EVAL
     NIL)
22: (SB-IMPL::REPL-FUN NIL)
23: ((LAMBDA ()))
24: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {11E8315D}>)
25: (SB-IMPL::TOPLEVEL-REPL NIL)
26: (SB-IMPL::TOPLEVEL-INIT)
27: ((LABELS SB-IMPL::RESTART-LISP))

unhandled condition in --disable-debugger mode, quitting
Command failed: ulimit -s 8192 && export SBCL_MACOSX_VERSION_MIN=10.5 && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.4.9 && export CC && CC=/usr/bin/gcc-4.2 && export CXX && CXX=/usr/bin/g++-4.2 && export CPP && CPP==/usr/bin/cpp-4.2 && sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.47-powerpc-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.47-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" 
Exit code: 1
Error: Failed to build sbcl: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port sbcl failed

comment:5 in reply to:  4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: sbcl @1.2.9 fails building on a 10.5.8 PPCsbcl @1.2.9: The value NIL is not of type SB!KERNEL:DEFSTRUCT-SLOT-DESCRIPTION.

Replying to kencu:

Not particularly enlightening so far (10.5 PPC):

15: ((FLET SB-FASL::LOAD-STREAM)

I'm assuming it's printing a backtrace of sorts, showing where the problem originates. As such, the preceding 14 numbered items would be of relevance too, as probably is the error message that precedes the first numbered item in the attached log:

:info:build beginning GENESIS, creating headers in "src/runtime/genesis"
:info:build unhandled TYPE-ERROR:
:info:build   The value NIL is not of type SB!KERNEL:DEFSTRUCT-SLOT-DESCRIPTION.

I don't know anything about sbcl or its build system but I'll bet the developers of sbcl do. If this problem remains with the current version of sbcl in MacPorts (2.1.4, and you'll need to wait until #62787 is resolved before trying again), please report it to the developers of sbcl so that they can fix it.

comment:6 in reply to:  4 Changed 2 years ago by barracuda156

Replying to kencu:

Not particularly enlightening so far (10.5 PPC): unhandled condition in --disable-debugger mode, quitting

Has this ever been fixed?

comment:7 Changed 21 months ago by kencu (Ken)

Summary: sbcl @1.2.9: The value NIL is not of type SB!KERNEL:DEFSTRUCT-SLOT-DESCRIPTION.sbcl @1.2.9: fails to build on PPC: The value NIL is not of type SB!KERNEL:DEFSTRUCT-SLOT-DESCRIPTION.

perhaps all these SBLC-fails-to-build-on-PPC tickets might be usefully amalgamated into one location?

comment:8 Changed 17 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: newclosed

In d1f240affd993dd3204f8b70c6d28195959df797/macports-ports (master):

sbcl: pin as 2.3.5 for i386 and powerpc

Closes: #29832
Closes: #47288

Note: See TracTickets for help on using tickets.