From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] Gracefully handle incompatible locale data Date: Wed, 23 Sep 2015 22:15:30 -0400 Message-ID: <87eghotvel.fsf@netris.org> References: <876132lbic.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zew5h-0007Os-R7 for guix-devel@gnu.org; Wed, 23 Sep 2015 22:16:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zew5e-0008HM-KN for guix-devel@gnu.org; Wed, 23 Sep 2015 22:16:57 -0400 In-Reply-To: <876132lbic.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 22 Sep 2015 17:27:55 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org [Removed libc-alpha from the CC list] ludo@gnu.org (Ludovic Court=C3=A8s) 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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/sto= re/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/s= 7//hc6d01dkdnf3khw4lwnfablmh9pax9-test-wrap-program-0.drv.bz2 @ build-succeeded /tmp/nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/s= tore/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 # /tmp= /nix-build-guix-0.8.3.5d09263.drv-0/source/test-tmp/store/q0pbny9hy06jr3fzp= kwkvx7ajkvrv90q-test-wrap-program-0 145d6e0> (# /tmp/nix-build-guix-0.8.3.5d09263.drv-0/so= urce/test-tmp/store/q0pbny9hy06jr3fzpkwkvx7ajkvrv90q-test-wrap-program-0 14= 5d6e0>)) 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=3D"$GUIX_BINARY_S= UBSTITUTE_URL" FAIL tests/build-utils.scm (exit status: 1)