From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: Build-side code with non-ASCII failing to build on Hydra
Date: Fri, 21 Apr 2017 22:55:41 +0200 [thread overview]
Message-ID: <87y3uta3aq.fsf@gnu.org> (raw)
In-Reply-To: <877f2e1chp.fsf@netris.org> (Mark H. Weaver's message of "Fri, 21 Apr 2017 02:49:38 -0400")
Hi Mark,
Mark H Weaver <mhw@netris.org> skribis:
> On the security-updates jobset on Hydra, I'm seeing several new build
> failures due to non-ASCII characters within build-side code being
> misread:
>
> https://hydra.gnu.org/build/2003897
> https://hydra.gnu.org/build/2001256
> https://hydra.gnu.org/build/2013954
> https://hydra.gnu.org/build/2006487
> https://hydra.gnu.org/eval/109617?compare=109613#tabs-now-fail
>
> Has something changed recently that might explain this?
That’s surprising. On current master, on my laptop, utf8proc fails
exactly as shown in <https://hydra.gnu.org/build/2003897>:
--8<---------------cut here---------------start------------->8---
starting phase `check-data'
[...]
In /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/utils.scm:
612: 1 [#<procedure c303a0 at /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/utils.scm:608:23 (expr)> #]
In unknown file:
?: 0 [make-regexp "?" 1]
ERROR: In procedure make-regexp:
ERROR: In procedure make-regexp: Invalid preceding regular expression
--8<---------------cut here---------------end--------------->8---
Yet Hydra says it succeeded on ‘master’:
https://hydra.gnu.org/job/gnu/master/utf8proc-2.1.0.x86_64-linux
Indeed, the latest one that succeeded on x86_64 also works for me:
$ guix build /gnu/store/cxwa18q2sa69i08982rb0dd73lph2spz-utf8proc-2.1.0.drv
/gnu/store/mf2bby0nzzsq2x5m654g89yxd3l9h6v8-utf8proc-2.1.0
The one in current master is different:
$ ./pre-inst-env guix build utf8proc -d --no-grafts
/gnu/store/133cl1mzwa3dzy5s3ihr90qspp7l6g96-utf8proc-2.1.0.drv
ludo@ribbon ~/src/guix$ git describe
v0.12.0-3158-g285f63e80
The difference is that one of the builders is UTF-8-encoded whereas the
other is Latin-1:
$ diffoscope "/gnu/store/msbh42cr1f48z6hc24h5v9vpl18l5hhz-utf8proc-2.1.0-guile-builder" "/gnu/store/r9y6fma06w4ghz00nws372iqxcszpv25-utf8proc-2.1.0-guile-builder"
--- /gnu/store/msbh42cr1f48z6hc24h5v9vpl18l5hhz-utf8proc-2.1.0-guile-builder
+++ /gnu/store/r9y6fma06w4ghz00nws372iqxcszpv25-utf8proc-2.1.0-guile-builder
├── encoding
│ @@ -1 +1 @@
│ -iso-8859-1
│ +utf-8
This is fixed by commit 9231ef12f2a595b8f1e677dbe50cc499555302b6 in
‘master’.
Thanks for the heads-up, and sorry for the breakage!
Ludo’.
prev parent reply other threads:[~2017-04-21 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 6:49 Build-side code with non-ASCII failing to build on Hydra Mark H Weaver
2017-04-21 20:55 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3uta3aq.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.