compilation error: CLX-SOURCE-FILE "clx" "depdefs"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compilation error: CLX-SOURCE-FILE "clx" "depdefs"

David Cohen-13
I'm no lisp expert, but a user and fan of stumpwm and emacs.  I say I'm no lisp expert because I hope the error below is easily fixed, but I'm not sure how to go about it.

I'm using an Arch Linux package to build stumpwm from the git repo.  It should build and install the very latest stumpwm.  It has worked in the past, but is currently failing with the error I've pasted below.  Looks like it can't find "depdefs", right after building a file called ASDF-TMP-depdefs.fasl.

Here's the Arch Linux package: http://aur.archlinux.org/packages.php?ID=12996

And below is all the output when building it. Thanks in advance for any help,

-Dave


==> Connecting to git://git.savannah.nongnu.org/stumpwm.git...
From git://git.savannah.nongnu.org/stumpwm
 * branch            master     -> FETCH_HEAD
Current branch master is up to date.
==> GIT checkout done or server timeout
==> Starting make...
configure: WARNING: unrecognized options: --with-ppcre
checking for sbcl... /usr/bin/sbcl
checking for clisp... no
checking for ccl... no
checking for ecl... no
configure: Using sbcl at /usr/bin/sbcl
checking for makeinfo... yes
checking for xdpyinfo... yes
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --with-ppcre
configure: creating ./config.status
config.status: creating Makefile
config.status: creating make-image.lisp
configure: WARNING: unrecognized options: --with-ppcre
/usr/bin/sbcl --eval "(require :asdf)"                 --eval "(pushnew #p\"/usr/share/common-lisp/systems/\" asdf:*central-registry* :test #'equal)"                 --eval "(asdf:operate 'asdf:load-op 'clx)"                 --load ./make-image.lisp
This is SBCL 1.0.55, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
STYLE-WARNING: Couldn't grovel for EAI_ADDRFAMILY (unknown to the C compiler).

; compiling file "/usr/share/common-lisp/source/clx/depdefs.lisp" (written 25 NOV 2011 10:16:36 PM):
; compiling (IN-PACKAGE :XLIB)
; compiling (DECLAIM (DECLARATION CLX-VALUES))
; compiling (DECLAIM (DECLARATION ARGLIST))
; compiling (DECLAIM (DECLARATION INDENTATION))
; compiling (DEFMACRO WITH-VECTOR ...)
; compiling (DEFMACRO WITHIN-DEFINITION ...)
; compiling (DEFCONSTANT +CLX-CACHED-TYPES+ ...)
; compiling (DEFMACRO RESOURCE-ID-MAP-TEST ...)
; compiling (DEFMACRO ATOM-CACHE-MAP-TEST ...)
; compiling (DEFMACRO KEYSYM->CHARACTER-MAP-TEST ...)
; file: /usr/share/common-lisp/source/clx/depdefs.lisp
; in: EVAL-WHEN (EVAL COMPILE LOAD)
;     (EVAL-WHEN (EVAL COMPILE LOAD) (PUSHNEW :CLX-LITTLE-ENDIAN *FEATURES*))
;
; caught STYLE-WARNING:
;   using deprecated EVAL-WHEN situation names LOAD COMPILE EVAL

; compiling (PUSHNEW :CLX-LITTLE-ENDIAN ...)
; compiling (ECASE SB-C:*BACKEND-BYTE-ORDER* ...)
; compiling (DEFTYPE BUFFER-BYTES ...)
; compiling (DEFTYPE ARRAY-INDEX ...)
; compiling (DEFUN MAKE-INDEX-TYPED ...)
; compiling (DEFUN MAKE-INDEX-OP ...)
; compiling (DEFMACRO INDEX+ ...)
; compiling (DEFMACRO INDEX-LOGAND ...)
; compiling (DEFMACRO INDEX-LOGIOR ...)
; compiling (DEFMACRO INDEX- ...)
; compiling (DEFMACRO INDEX* ...)
; compiling (DEFMACRO INDEX1+ ...)
; compiling (DEFMACRO INDEX1- ...)
; compiling (DEFMACRO INDEX-INCF ...)
; compiling (DEFMACRO INDEX-DECF ...)
; compiling (DEFMACRO INDEX-MIN ...)
; compiling (DEFMACRO INDEX-MAX ...)
; compiling (DEFMACRO INDEX-FLOOR ...)
; compiling (DEFMACRO INDEX-CEILING ...)
; compiling (DEFMACRO INDEX-TRUNCATE ...)
; compiling (DEFMACRO INDEX-MOD ...)
; compiling (DEFMACRO INDEX-ASH ...)
; compiling (DEFMACRO INDEX-PLUSP ...)
; compiling (DEFMACRO INDEX-ZEROP ...)
; compiling (DEFMACRO INDEX-EVENP ...)
; compiling (DEFMACRO INDEX-ODDP ...)
; compiling (DEFMACRO INDEX> ...)
; compiling (DEFMACRO INDEX= ...)
; compiling (DEFMACRO INDEX< ...)
; compiling (DEFMACRO INDEX>= ...)
; compiling (DEFMACRO INDEX<= ...)
; compiling (DEFCONSTANT +REPLYSIZE+ ...)
; compiling (DEFVAR *EMPTY-BYTES* ...)
; compiling (DECLAIM (TYPE BUFFER-BYTES ...))
; compiling (DEFSTRUCT (REPLY-BUFFER # ...) ...)
; compiling (DEFCONSTANT +BUFFER-TEXT16-SIZE+ ...)
; compiling (DEFTYPE BUFFER-TEXT16 ...)
; compiling (DEFPARAMETER *XLIB-PACKAGE* ...)
; compiling (DEFUN XINTERN ...)
; compiling (DEFPARAMETER *KEYWORD-PACKAGE* ...)
; compiling (DEFUN KINTERN ...)
; compiling (DEFVAR *DEF-CLX-CLASS-USE-DEFCLASS* ...)
; compiling (DEFMACRO DEF-CLX-CLASS ...)
; compiling (DEF-CLX-CLASS (BUFFER # ...) ...)
; compiling (DEFCONSTANT +IMAGE-BIT-LSB-FIRST-P+ ...)
; compiling (DEFCONSTANT +IMAGE-BYTE-LSB-FIRST-P+ ...)
; compiling (DEFCONSTANT +IMAGE-UNIT+ ...)
; compiling (DEFCONSTANT +IMAGE-PAD+ ...)
; compiling (DEFCONSTANT +X-UNIX-SOCKET-PATH+ ...)
; compiling (DEFUN UNIX-SOCKET-PATH-FROM-HOST ...)

; /home/dave/.cache/common-lisp/sbcl-1.0.55-linux-x64/usr/share/common-lisp/source/clx/ASDF-TMP-depdefs.fasl written
; compilation finished in 0:00:00.422

debugger invoked on a ASDF:COMPILE-ERROR in thread
#<THREAD "initial thread" RUNNING {10029919A3}>:
  Error while invoking #<COMPILE-OP NIL {1005D8E013}> on
  #<CLX-SOURCE-FILE "clx" "depdefs">

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY   ] Retry compiling #<CLX-SOURCE-FILE "clx" "depdefs">.
  1: [ACCEPT  ] Continue, treating compiling #<CLX-SOURCE-FILE "clx" "depdefs">
                as having been successful.
  2: [CONTINUE] Ignore runtime option --eval "(asdf:operate 'asdf:load-op 'clx)".
  3: [ABORT   ] Skip rest of --eval and --load options.
  4:            Skip to toplevel READ/EVAL/PRINT loop.
  5: [QUIT    ] Quit SBCL (calling #'QUIT, killing the process).

((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE))
 #<unavailable argument>
 #<unavailable argument>
 #<ASDF:COMPILE-OP NIL {1005D8E013}>
 #<CLX-SYSTEM::CLX-SOURCE-FILE "clx" "depdefs">)

_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
Reply | Threaded
Open this post in threaded view
|

Re: compilation error: CLX-SOURCE-FILE "clx" "depdefs"

tycho garen
On Mon, Mar 12, 2012 at 06:36:46PM -0700, David Cohen wrote:
> I'm no lisp expert, but a user and fan of stumpwm and emacs.  I say
> I'm no lisp expert because I hope the error below is easily fixed, but
> I'm not sure how to go about it.
>
> I'm using an Arch Linux package to build stumpwm from the git repo.
> It should build and install the very latest stumpwm.  It has worked in
> the past, but is currently failing with the error I've pasted below.
> Looks like it can't find "depdefs", right after building a file called
> ASDF-TMP-depdefs.fasl.

I believe there's a problem with SBCL 1.0.55 that causes this and or
related errors. I've pinned my system to SBCL 1.0.54 and the compile
works great. Given the monthly or nearly monthly release cycle of SBCL,
bugs tend to disappear pretty quickly, so I didn't give it much thought
and will try again when 1.0.56 comes out, though we can attempt to chase
the bug upstream if you're interested...

Cheers,
sam

--
tycho(ish) @
[hidden email]
http://tychoish.com/
"don't get it right, get it written" -- james thurber

_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

attachment0 (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compilation error: CLX-SOURCE-FILE "clx" "depdefs"

David Cohen-13
Nice tip.  I downgraded sbcl and now stumpwm builds without errors.  Thanks!

On Tue, Mar 13, 2012, at 02:31 PM, tychoish wrote:

> On Mon, Mar 12, 2012 at 06:36:46PM -0700, David Cohen wrote:
> > I'm no lisp expert, but a user and fan of stumpwm and emacs.  I say
> > I'm no lisp expert because I hope the error below is easily fixed, but
> > I'm not sure how to go about it.
> >
> > I'm using an Arch Linux package to build stumpwm from the git repo.
> > It should build and install the very latest stumpwm.  It has worked in
> > the past, but is currently failing with the error I've pasted below.
> > Looks like it can't find "depdefs", right after building a file called
> > ASDF-TMP-depdefs.fasl.
>
> I believe there's a problem with SBCL 1.0.55 that causes this and or
> related errors. I've pinned my system to SBCL 1.0.54 and the compile
> works great. Given the monthly or nearly monthly release cycle of SBCL,
> bugs tend to disappear pretty quickly, so I didn't give it much thought
> and will try again when 1.0.56 comes out, though we can attempt to chase
> the bug upstream if you're interested...
>
> Cheers,
> sam
>
> --
> tycho(ish) @
> [hidden email]
> http://tychoish.com/
> "don't get it right, get it written" -- james thurber
>
> Email had 1 attachment:
> + Attachment2
>   1k (application/pgp-signature)

_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
Reply | Threaded
Open this post in threaded view
|

Re: compilation error: CLX-SOURCE-FILE "clx" "depdefs"

Bugzilla from pdm@zamazal.org
IIRC this is caused by a new feature (not a bug) of SBCL 1.0.55:

  * enhancement: SBCL now provides either an explicit :BIG-ENDIAN or
    :LITTLE-ENDIAN in *FEATURES*, instead of :BIG-ENDIAN being implied by lack
    of the :LITTLE-ENDIAN feature. (Thanks to Luís Oliveira, lp#901661)

clx doesn't handle new SBCL *FEATURES* correctly, the following patch
against clx should fix the problem:


_______________________________________________
Stumpwm-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

depdefs (1004 bytes) Download Attachment