On Mon, Apr 11, 2022, at 22:34, David Arroyo wrote: > error: in phase 'patch-source-shebangs': uncaught exception: > encoding-error "scm_to_stringn" "cannot convert narrow string to > output locale" 84 #f #f
Looking further into this error, errno 84 is EILSEQ, "illegal byte sequence". The error is raised during the 'patch-source-shebangs' phase, while patching ./gcc/testsuite/gdc.test/compilable/test13512.d This file has the shebang #!/opt/dmd/ÐÒÏÂÙ/rdmd This in turn seems to be tripping up this line in guix/build/utils.scm:1094 : (and=> (and line (regexp-exec shebang-rx line)) I'm not sure why I don't hit this error when building gcc-toolchain. Perhaps there is different locale information in the build environment without glibc. David