GNU bug report logs - #72038
ki18n test failure of KCatalogTest (locales problem?)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Wed, 10 Jul 2024 15:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'ki18n test failure of KCatalogTest (locales problem?)' from '[core-updates] libetonyek test failure of KCatalogTest (locales problem?)' Request was from Leo Famulari <leo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jul 2024 15:10:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 10 11:10:56 2024
Received: from localhost ([127.0.0.1]:56930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sRYy8-0005aJ-7f
	for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 11:10:56 -0400
Received: from lists.gnu.org ([209.51.188.17]:34574)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1sRYy5-0005aB-Bf
 for submit <at> debbugs.gnu.org; Wed, 10 Jul 2024 11:10:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1sRYxy-0006jl-Q6
 for bug-guix@HIDDEN; Wed, 10 Jul 2024 11:10:46 -0400
Received: from fout8-smtp.messagingengine.com ([103.168.172.151])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1sRYxw-0006Ez-6B
 for bug-guix@HIDDEN; Wed, 10 Jul 2024 11:10:46 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailfout.nyi.internal (Postfix) with ESMTP id AFD6213815F6;
 Wed, 10 Jul 2024 11:10:41 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Wed, 10 Jul 2024 11:10:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=cc:content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:subject:subject:to:to; s=
 mesmtp; t=1720624241; x=1720710641; bh=Jl5nVmJHYbqwc6kCbZ5T/DAWH
 XjmDim+SjfTosII3k4=; b=qXGPS/Wu0NJ2KR9ZUpiHsIBR+uwS+erXof34SUUyy
 N3vnpz0Exr4L0o0igkOqJru0DNMBfFa2LdT4GpuSSN0sOJCAJtgQvrc/DCNHjatQ
 vBiCo7E7Uy1pMw/6bTw8DBizZuC1sdDM5Tlutd8q33HqUJRG8nHQYqMqDzrbUgsI
 1Y=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1720624241; x=1720710641; bh=Jl5nVmJHYbqwc6kCbZ5T/DAWHXjmDim+Sjf
 TosII3k4=; b=vL93AMfxfB1yKJ44wpGzbTgThcWBhWm5//MismnC3HoxEWb0Upe
 UO8KQ/857Dq0JyUdiK/udzed720sUQPY9dfmL4USZfx479xZyyxnYMP0koJCJ2I0
 32zjrAEuBkbxz0o/d0k7LDDfTGWQmO79iXFZ8fq9PiLP7RkBEjDRNx2uMAWwJf+x
 tM2Kk+Ssj3FYNQvSHKRHRSlbKyUJqdQ7Lc2UnppNjRVxE3a4v9dhl78nR5GrnX3V
 oVT60eujh1dbth1e65+LQcepVD+P8WuPxXup85U5EQHju3B46YXVt5wRfE2knHzU
 McIbxqAf5iskdAyWzPqEtsMWcStgpFC7cpQ==
X-ME-Sender: <xms:cKSOZucJTqFhqn37rBE_DSdNz5V7XTDdWoGUA5-o13k439OthW26Ew>
 <xme:cKSOZoPdCYbd9Ykf5-G4GG25kZ4UVv1RjEkEHBiBP1qJBvPUD65l4NHvAL7q0p9nb
 Pyiq5Q34YvCVV9siw>
X-ME-Received: <xmr:cKSOZvhaW7WRwOGUvV3Fs42ggeIFg77394uAHx1RRG8oyX7fYQa2fhGroCAEE2_5-SLjRoWgv9oJpmCxWtcCUlsI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrfedvgddvhecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderredttd
 dunecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdr
 nhgrmhgvqeenucggtffrrghtthgvrhhnpeefhffgfefffeffueffjeffteeuffeugfekud
 dvieffudehhfeigfegffdthedtteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr
 mhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:cKSOZr_3I336gKTRtHhvKPc4mPIHJ2VaRVj2Z4M0jLC_rhuiPupUuQ>
 <xmx:cKSOZqvaPdt8tDfyrABe7SXNSXJaTWy1ogre6o8OvqcrO8wEvbMTrQ>
 <xmx:cKSOZiFZVkwQI6jkjax_cGrVEzwkYFd4bLA8pTY1uh2H-jrNBkoEFA>
 <xmx:cKSOZpMq4U_EqPi0_95UnMCXdiEujGuERHg7yu_qzvrSpEDb3Ip9_A>
 <xmx:caSOZvWbdAMNQZdyy6vWdKSKw5HWQPdjUTwOoJQm5TPs27_sEFpULXh->
Feedback-ID: i819c4023:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-guix@HIDDEN>; Wed, 10 Jul 2024 11:10:40 -0400 (EDT)
Date: Wed, 10 Jul 2024 11:10:38 -0400
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: [core-updates] libetonyek test failure of KCatalogTest (locales
 problem?)
Message-ID: <Zo6kbl4oCk8uBKyA@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="AVVszhS+NUZyd4wL"
Content-Disposition: inline
Received-SPF: pass client-ip=103.168.172.151; envelope-from=leo@HIDDEN;
 helo=fout8-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)


--AVVszhS+NUZyd4wL
Content-Type: multipart/mixed; boundary="Az9tYgsJ9ibqWqy5"
Content-Disposition: inline


--Az9tYgsJ9ibqWqy5
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On core-updates commit 736939037346, libetonyek fails its test suite
like this:

------
********* Start testing of KCatalogTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64=
 shared (dynamic) release build; by GCC 11.4.0), unknown unknown
PASS   : KCatalogTest::initTestCase()
QWARN  : KCatalogTest::testLookup() kf.i18n: The value of the LANGUAGE envi=
ronment variable: "fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr=
_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH" ( size: 95 ),
 was longer than (and consequently truncated to) the max. length of: 54
FAIL!  : KCatalogTest::testLookup() Compared values are not the same
   Actual   (c.name())                          : "New Zealand"
   Expected (QStringLiteral("Nouvelle-Z=E9lande")): "Nouvelle-Z\u00E9lande"
   Loc: [/tmp/guix-build-ki18n-5.114.0.drv-0/ki18n-5.114.0/autotests/kcatal=
ogtest.cpp(40)]
PASS   : KCatalogTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 8ms=20
********* Finished testing of KCatalogTest *********
<end of output>
Test time =3D   0.02 sec=20
----------------------------------------------------------
Test Failed.
"kcatalogtest" end time: Jul 10 14:55 UTC=20
"kcatalogtest" time elapsed: 00:00:00
------

It expects the value "New Zealand", but instead receives
"Nouvelle-Z\u00E9lande".

And there is a warning about the LANGUAGE environment variable.

I tried updating to the latest Git revision, with the attached diff, but
the build fails when libtoolize can't be found in the bootstrap phase,
although it is available in the build environment:

------
starting phase `bootstrap'
running './autogen.sh'
patch-shebang: ./autogen.sh: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5m=
s10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh'
error: libtoolize not found
error: in phase 'bootstrap': uncaught exception:
%exception #<&invoke-error program: "./autogen.sh" arguments: () exit-statu=
s: 1 term-signal: #f stop-signal: #f>=20
phase `bootstrap' failed after 0.2 seconds
command "./autogen.sh" failed with status 1
build process 6 exited with status 256
note: keeping build directory `/tmp/guix-build-libetonyek-0.1.10-0.9c3a8cb.=
drv-3'
------

Any ideas?

--Az9tYgsJ9ibqWqy5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libetonyek.diff"
Content-Transfer-Encoding: quoted-printable

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index a6d84007e8..fdcf194447 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages libreoffice)
   #:use-module (ice-9 match)
   #:use-module (gnu packages)
   #:use-module (gnu packages aidc)
+  #:use-module (gnu packages autogen)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bison)
@@ -444,16 +445,20 @@ (define-public libcdr
     (license license:mpl2.0)))
=20
 (define-public libetonyek
+               (let ((version "0.1.10")
+                     (revision "0")
+                     (commit "9c3a8cb8858199fe017d27035bb4d6809492116f"))
   (package
     (name "libetonyek")
-    (version "0.1.10")
+    (version (git-version version revision commit))
     (source
      (origin
-      (method url-fetch)
-      (uri (string-append "http://dev-www.libreoffice.org/src/" name "/"
-                          name "-" version ".tar.xz"))
+      (method git-fetch)
+      (uri (git-reference
+             (url "https://git.libreoffice.org/libetonyek")
+             (commit commit)))
       (sha256 (base32
-               "16hy60ws29pb4pz3z5l4920yn9hnk2vlij0xfs5qi1w4drd46c5l"))))
+               "0k5vji9vymn4v43nfj4jxaqkninf38x6418z0cbj2l95bwbb2xsc"))))
     (build-system gnu-build-system)
     (arguments
      (list #:configure-flags
@@ -462,7 +467,7 @@ (define-public libetonyek
                                      (package-version
                                       (this-package-input "mdds")))))))
     (native-inputs
-     (list cppunit doxygen gperf pkg-config))
+     (list autoconf automake libtool autogen cppunit doxygen gperf pkg-con=
fig))
     (propagated-inputs ; in Requires or Requires.private field of .pkg
      (list liblangtag librevenge libxml2 zlib))
     (inputs
@@ -471,7 +476,7 @@ (define-public libetonyek
     (synopsis "Library for parsing the Apple Keynote format")
     (description "Libetonyek is a library that parses the file format of
 Apple Keynote documents.  It currently supports Keynote versions 2 to 5.")
-    (license license:mpl2.0)))
+    (license license:mpl2.0))))
=20
 (define-public liblangtag
   (package

--Az9tYgsJ9ibqWqy5--

--AVVszhS+NUZyd4wL
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEaEByLu7k06ZO5T6saqwZY3V/R/8FAmaOpGgACgkQaqwZY3V/
R/9RsxAAgcazK4SgsvY+y1wiMWq7bxRwi6VmqVXd65TpoCFfKO/4sN8bRXnh63gk
tfibeFYUXPtbBEe+QYjk+Vt8LBHQXoOK57ZEnuhjhqVuZfTm501abOz58R2LzGx6
y3+dweL+iS/QxnhtC0OFe275OWR4C+ZmWiGgDAUihU7DCE1FzhDlMHJS/pTSzxCX
SIDWVevbTiUuyE3muIYTEMJtQt52dU8rFJOd+kApbAMYeyXgpGUlv4BhGxDYhjDy
7n48Nod3xBzAELX8NmI6UxcxtWzotBLHNxDD8/HskKC1OwOPirOPKnYocryDo1Nw
K4GrY+DEujwSlLHK5xVhUctzNVuATryef4IAMNkbnaL383k3pIQS/RGlz/aPdQQb
7eq2VEyL7TuujXzSkARZSK76crCNbp3aVg58eNL6cWSUCF/dUrq8LRXQ178YxvFm
u6dmzN2VX27VcPyeJL7V1Ahr3mKIUGKCk8MtSvdsEOZDbjJxCy/SM2wrnYj5UqX+
zM9lwwSabIR4BbWSGMoUraamAszq40gBLLXI0MHn9Zay6bylZQE3mW+dYsoG7aJN
JSZn/iJpiQ/MS2t1ZrRa/jnQHrY7gomR/SPdUuhACpY7qHzcht8OTz4qz9L5m40u
Oj4XuaVTErNQnCzMiCZ1vFfq1CskHAmcG/zbqkoW8mUBmZi4RDw=
=HXom
-----END PGP SIGNATURE-----

--AVVszhS+NUZyd4wL--




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#72038; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 10 Jul 2024 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.