On Sat, Nov 14, 2015 at 12:40 PM, Ludovic Courtès <l...@gnu.org> wrote: > Jan Synáček <jan.syna...@gmail.com> skribis: > >> Reference files will be read from: >> /tmp/nix-build-libarchive-3.1.2.drv-0/libarchive-3.1.2/tar/test >> Running tests on: >> "/tmp/nix-build-libarchive-3.1.2.drv-0/libarchive-3.1.2/./bsdtar" >> Exercising: bsdtar 3.1.2 - libarchive 3.1.2 > > [...] > >> 17: test_option_b FAIL > > Ricardo reported the same issue a while back: > > https://lists.gnu.org/archive/html/guix-devel/2015-03/msg00182.html > > What platform is this on, i686? > > It would be nice to see if this systematically fails. If it is > non-deterministic, we should build it with --keep-failed until it fails > (removing successful builds with ‘guix gc -d’), collect useful info from > the build tree, and debug. > > (You can also work around it by enabling substitutes since Hydra had no > problems building it.) > > Ludo’.
I debugged this and the upstream patch https://github.com/libarchive/libarchive/commit/b539b2e597b566fe3c4b49cb61c9eef83e5e052d fixes the problem. You will probably want to add it to the build process. Cheers, -- Jan Synáček