guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Need help with error while updating sbcl to 1.3.1


From: Ricardo Wurmus
Subject: Re: [PATCH] Need help with error while updating sbcl to 1.3.1
Date: Sun, 07 Feb 2016 10:57:10 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

Hi Christopher,

the error happens during the phase “patch-unix-tool-paths”.  Looking at
the package definition I see that all files ending on “.lisp” or “.sh”
are to be patched.

The backtrace shows us that the null characters are encountered in the
file “./tests/data/compile-file-pos-utf16be.lisp”.

I met a similar problem in another package (but I don’t remember which
it was).  It seems that Guile’s regular expression matching fails when
it encounters ASCII 0.  (I’m not sure why this is and I don’t know if
there’s a good workaround for this behaviour.  Maybe we could ask #guile
on IRC.)

To get past this issue for now you could ...erm, ...delete the file
(when nobody is looking).  If this fixes your problem a better approach
might be to explicitly exclude this file from the list of files to be
patched.  This would require modification of this expression:

    (find-files "." "\\.(lisp|sh)$")

Hope this helps!

~~ Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]