all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 52789@debbugs.gnu.org
Subject: [bug#52789] [PATCH 1/3] gnu: Add libunibreak.
Date: Mon, 27 Dec 2021 14:48:22 +0000	[thread overview]
Message-ID: <547b73fb-1f60-d482-02b2-4734e2670e55@posteo.net> (raw)
In-Reply-To: <87a6gnaxz2.fsf@nicolasgoaziou.fr>

Hello Nicolas,

On 12/26/21 9:54 PM, Nicolas Goaziou wrote:
> Felix Gruber <felgru@posteo.net> 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




  reply	other threads:[~2021-12-27 14:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-25 13:34 [bug#52789] [PATCH 0/3] Update naev to 0.9.0 Felix Gruber
2021-12-25 13:37 ` [bug#52789] [PATCH 1/3] gnu: Add libunibreak Felix Gruber
2021-12-25 13:37   ` [bug#52789] [PATCH 2/3] gnu: Add naev-artwork Felix Gruber
2021-12-25 13:37   ` [bug#52789] [PATCH 3/3] gnu: naev: Update to 0.9.0 Felix Gruber
2021-12-26 20:54   ` [bug#52789] [PATCH 1/3] gnu: Add libunibreak Nicolas Goaziou
2021-12-27 14:48     ` Felix Gruber [this message]
2021-12-27 16:18       ` Nicolas Goaziou
2021-12-27 23:19         ` [bug#52789] [PATCH v2 0/4] Update naev to 0.9.0 Felix Gruber
2021-12-27 23:25           ` [bug#52789] [PATCH staging] gnu: ucd: Update to 14.0.0 Felix Gruber
2021-12-28 15:06           ` bug#52789: [PATCH v2 0/4] Update naev to 0.9.0 Nicolas Goaziou
2021-12-27 23:19         ` [bug#52789] [PATCH v2 1/4] gnu: Add ucd-next Felix Gruber
2021-12-27 23:19         ` [bug#52789] [PATCH v2 2/4] gnu: Add libunibreak Felix Gruber
2021-12-27 23:19         ` [bug#52789] [PATCH v2 3/4] gnu: Add naev-artwork Felix Gruber
2021-12-27 23:19         ` [bug#52789] [PATCH v2 4/4] gnu: naev: Update to 0.9.0 Felix Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=547b73fb-1f60-d482-02b2-4734e2670e55@posteo.net \
    --to=felgru@posteo.net \
    --cc=52789@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.