From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Test failure when building libarchive-3.1.2 Date: Fri, 20 Nov 2015 14:51:06 +0100 Message-ID: <87twogixth.fsf@gnu.org> References: <87h9koyfkr.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]:43907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzm5p-0001Lb-8u for guix-devel@gnu.org; Fri, 20 Nov 2015 08:51:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzm5l-0006vV-UW for guix-devel@gnu.org; Fri, 20 Nov 2015 08:51:13 -0500 In-Reply-To: ("Jan \=\?utf-8\?B\?U3luw6HEjWVrIidz\?\= message of "Sat, 14 Nov 2015 13:47:17 +0100") 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: Jan =?utf-8?B?U3luw6HEjWVr?= Cc: guix-devel Jan Syn=C3=A1=C4=8Dek skribis: > On Sat, Nov 14, 2015 at 12:40 PM, Ludovic Court=C3=A8s wro= te: >> Jan Syn=C3=A1=C4=8Dek 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 =E2=80=98guix gc -d=E2=80=99), 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=E2=80=99. > > In my case the build fails always. I'm running guix on Fedora 23, x86_64. What file system is this on? I=E2=80=99ve run several builds on my x86_64 GuixSD, ext4, but I=E2=80=99ve= failed to reproduce the test failure. I noticed that libarchive uses =E2=80=98readdir=E2=80=99 calls as-is, witho= ut sorting directory entries afterwards. Thus, the order of directory entries is effectively non-deterministic and may change depending on the phase of the moon. This has been reported at: https://github.com/libarchive/libarchive/issues/602 Could you add the patch that=E2=80=99s given at that URL to the =E2=80=98pa= tches=E2=80=99 field or libarchive=E2=80=99s =E2=80=98origin=E2=80=99 form and see if the proble= m shows up again, preferably building several times in a row? At any rate we=E2=80=99ll probably apply the patch. Thanks, Ludo=E2=80=99.