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