[Top][All Lists]

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

Re: Build-side code with non-ASCII failing to build on Hydra

From: Ludovic Courtès
Subject: Re: Build-side code with non-ASCII failing to build on Hydra
Date: Fri, 21 Apr 2017 22:55:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi Mark,

Mark H Weaver <address@hidden> 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:
> Has something changed recently that might explain this?

That’s surprising.  On current master, on my laptop, utf8proc fails
exactly as shown in <>:

--8<---------------cut here---------------start------------->8---
starting phase `check-data'


 612: 1 [#<procedure c303a0 at 
 (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’:

Indeed, the latest one that succeeded on x86_64 also works for me:

  $ guix build /gnu/store/cxwa18q2sa69i08982rb0dd73lph2spz-utf8proc-2.1.0.drv

The one in current master is different:

  $ ./pre-inst-env guix build utf8proc -d --no-grafts
  address@hidden ~/src/guix$ git describe

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
  ├── encoding
  │ @@ -1 +1 @@
  │ -iso-8859-1
  │ +utf-8

This is fixed by commit 9231ef12f2a595b8f1e677dbe50cc499555302b6 in

Thanks for the heads-up, and sorry for the breakage!


reply via email to

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