guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Gracefully handle incompatible locale data


From: Mark H Weaver
Subject: Re: [PATCH] Gracefully handle incompatible locale data
Date: Wed, 23 Sep 2015 22:15:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

[Removed libc-alpha from the CC list]

address@hidden (Ludovic Courtès) writes:

> With libc 2.22 people are starting to realize that libc does not
> guarantee that it can load locale data built with another libc version,
> but they learn it the hard way:
>
>   loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof 
> (_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.

FYI, this is the cause of the test suite failures of our 'guix' packages
on the core-updates branch.  It occurs during the "wrap-program, one
input, multiple calls" test in tests/build-utils.  See below for the
relevant excerpt from test-suite.log.

      Mark


FAIL: tests/build-utils
=======================

accepted connection from pid 12214, user nixbld
random seed for tests: 1443069305
waiting for locks or build slots...
@ build-started 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/s7hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv
 - x86_64-linux 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/var/log/guix/drvs/s7//hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv.bz2
@ build-succeeded 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/s7hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv
 -
bash: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof 
(_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))' failed.
%%%% Starting test build-utils  (Writing full log to "build-utils.log")

;;; (drv #<derivation 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/s7hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv
 => 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/q0pbny9hy06jr3fzpkwkvx7ajkvrv90q-test-wrap-program-0
 145d6e0> (#<derivation 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/s7hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv
 => 
/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/q0pbny9hy06jr3fzpkwkvx7ajkvrv90q-test-wrap-program-0
 145d6e0>))
tests/build-utils.scm:98: FAIL wrap-program, one input, multiple calls
# of expected passes      9
# of unexpected failures  1
./test-env: line 1: 12213 Terminated              
"/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/pre-inst-env" 
"/tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/guix-daemon" --disable-chroot 
--substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"
FAIL tests/build-utils.scm (exit status: 1)



reply via email to

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