From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJ15MmrSyWHG3gAAgWs5BA (envelope-from ) for ; Mon, 27 Dec 2021 15:49:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gVdoLGrSyWGxcAEAG6o9tA (envelope-from ) for ; Mon, 27 Dec 2021 15:49:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A3F193344C for ; Mon, 27 Dec 2021 15:49:12 +0100 (CET) Received: from localhost ([::1]:42060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1rJH-000715-QW for larch@yhetil.org; Mon, 27 Dec 2021 09:49:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1rJ8-0006xn-Ru for guix-patches@gnu.org; Mon, 27 Dec 2021 09:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1rJ8-0006Kk-Ii for guix-patches@gnu.org; Mon, 27 Dec 2021 09:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1rJ8-0002qs-I4 for guix-patches@gnu.org; Mon, 27 Dec 2021 09:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52789] [PATCH 1/3] gnu: Add libunibreak. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 52789@debbugs.gnu.org Received: via spool by 52789-submit@debbugs.gnu.org id=B52789.164061653210945 (code B ref 52789); Mon, 27 Dec 2021 14:49:02 +0000 Received: (at 52789) by debbugs.gnu.org; 27 Dec 2021 14:48:52 +0000 Received: from localhost ([127.0.0.1]:42432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1rIl-0002qC-CX for submit@debbugs.gnu.org; Mon, 27 Dec 2021 09:48:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]:34649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1rIj-0002pt-0n for 52789@debbugs.gnu.org; Mon, 27 Dec 2021 09:48:37 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id BA27B240101 for <52789@debbugs.gnu.org>; Mon, 27 Dec 2021 15:48:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640616510; bh=mChdzXO8LP/yMupZHus2am/ISuK8sR4BlGZuGmjXTOQ=; h=Subject:To:Cc:From:Date:From; b=lVf/Spy4gfR4bxjkzkX4XTqO9VY0pf1rbvOHx5qPF1RGe8XO33V7lbjNb5t31clwE 479HVYOSrrOeFAaLYsMaXwp1FzpGjwXJwzMr0Ya2wktFhqmS828aM1tqygWQNKQ66j OALlrSByXg7A4Yt5nLC4WcgE8AbhVu3K3RHTHpIU4SbT/M7GkCGXuf89ck225e6Rty eLVF1o6OIKGd0ZU+WaNUppOpnf3sT6vIOoS4zw+nb3X8PX3cKTwCGA1pwXE6+epThT nVXt+HkLtJvTpXiD/Ccn4PoincZuNOtTF05uH8twKGH8WRQ299ok8qvbRjm9g1L00/ HCPbiJfeXNIcA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JN0sV0Sgyz6tmR; Mon, 27 Dec 2021 15:48:29 +0100 (CET) References: <20211225133420.2456-1-felgru@posteo.net> <20211225133706.2964-1-felgru@posteo.net> <87a6gnaxz2.fsf@nicolasgoaziou.fr> From: Felix Gruber Message-ID: <547b73fb-1f60-d482-02b2-4734e2670e55@posteo.net> Date: Mon, 27 Dec 2021 14:48:22 +0000 MIME-Version: 1.0 In-Reply-To: <87a6gnaxz2.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640616552; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=P2X+E3FFba8zQTgaCFNsMxzDdPslxIBYITUvl8NlQaw=; b=j7sM99n5chnRNhAfLRJ/L0uhLwWIUFH5BR4PZ3eIyz3lqFSfD+tGySKXCuZDLnLMXc1+yc fJhMhdWYEURggktKSx3D8t1zM2Wz8NH9c54lY1Pi1cTdSNcMiApVxtlodLVxsjAOaNa2Mo jbxMGeMCJwnXVqeEwZ4dFJpDCrrI9Gck6q99NNrTT1OLuttQJDmP1OpF8MGKCyT6BTt4XR v9pChsy0V07t5X+E88NriA5FusdJwV/ZbyYdgZ/aN6pd6kAzp5ivuflqHvMu3e4+G9fJun IHkbOxqeMSSNupc+6jCjBwdeAJZzE9CA111Ov8vQ8iCSRCNyHdnO8TWqfQsoAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640616552; a=rsa-sha256; cv=none; b=s3dCxHR0pWRxwAwALLMRG4BDTzIEsPfBPL98gzr3MdsQZKovH9e1pZymURjpQawTvEWGmo z/GIADeIvmOfBsj3lshqaGkpDtd8ZvwukQTKklsrG+aLmkkj8wXmL85fEE5/3zDLt+aU4D GEAU9Py3Gzf3YYYLy5HYx/lvElEm7o3Q8LG+JtreJ4R7lPyUIN9YC+Pf6hHaX2ERMIpdwK xHSi2D5zIM4D3lsUibedSLkdrfv8CaalS83y12b4kzjkDFSK6oVVG8oZB7h7dMJzTXXhGx hur/aEu0RFZ0Hc2mwZFix5G3bUqWxlCQZjqCzkN5OtEQ1fNHXLqt/tPgkbGGtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="lVf/Spy4"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="lVf/Spy4"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A3F193344C X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: HyWMqMbwmXwR Hello Nicolas, On 12/26/21 9:54 PM, Nicolas Goaziou wrote: > Felix Gruber writes: > >> * gnu/packages/unicode.scm (libunibreak): New variable. > > Thanks. > > However, the check phase fails for me with the following backtrace: > > --8<---------------cut here---------------start------------->8--- > starting phase `check' > Making check in src > make[1]: Entering directory '/tmp/guix-build-libunibreak-4.2-1.drv-0/source/src' > gcc -DHAVE_CONFIG_H -I. -I.. -I. -g -O2 -MT tests-tests.o -MD -MP -MF .deps/tests-tests.Tpo -c -o tests-tests.o `test -f 'tests.c' || echo './'`tests.c > make tests > make[2]: Entering directory '/tmp/guix-build-libunibreak-4.2-1.drv-0/source/src' > gcc -DHAVE_CONFIG_H -I. -I.. -I. -g -O2 -MT tests-tests.o -MD -MP -MF .deps/tests-tests.Tpo -c -o tests-tests.o `test -f 'tests.c' || echo './'`tests.c > mv -f .deps/tests-tests.Tpo .deps/tests-tests.Po > /gnu/store/vx6vfbmmazvfi7vp8xyjn2mcyylvw9gn-bash-minimal-5.1.8/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o tests tests-tests.o libunibreak.la > mv -f .deps/tests-tests.Tpo .deps/tests-tests.Po > mv: cannot stat '.deps/tests-tests.Tpo': No such file or directory > make[2]: *** [Makefile:577: tests-tests.o] Error 1 > make[2]: Leaving directory '/tmp/guix-build-libunibreak-4.2-1.drv-0/source/src' > make[1]: *** [Makefile:702: check-am] Error 2 > make[1]: *** Waiting for unfinished jobs.... > libtool: link: gcc -g -O2 -o .libs/tests tests-tests.o ./.libs/libunibreak.so -Wl,-rpath -Wl,/gnu/store/s8vii50z9pw3q48dmmgfcbv613dhwfmc-libunibreak-4.2-1/lib > make[1]: Leaving directory '/tmp/guix-build-libunibreak-4.2-1.drv-0/source/src' > make: *** [Makefile:458: check-recursive] Error 1 > --8<---------------cut here---------------end--------------->8--- Hmm, it seems that libunibreak's tests can cause non-deterministic test failures, probably because multiple make targets contain the line ``` mv -f .deps/tests-tests.Tpo .deps/tests-tests.Po ``` which causes race conditions between those targets. After adding the #:parallel-tests #f argument, I was able to built libunibreak five times in a row without observing any further build failures. > Also, libunibreak 5.0 is out. Would it make sense to update it? libunibreak 5.0 is based on Unicode 14, which unfortunately gives us test failures when we build it against our ucd package which only contains data for Unicode 12. libunibreak 4.2-1 was the last version based on Unicode 12. ucd has 505 (transitively) dependent packages, which is probably too much to update it on master. Do you think it would be viable to add a ucd-14 package next to our ucd package, so that I could update libunibreak to 5.0 using this new ucd-14 package as input? Best, Felix