From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26253: Coreutils 8.26 test failure on arm-linux-gnueabihf Date: Sat, 25 Mar 2017 16:45:33 +0100 Message-ID: <87a889weaq.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]:44500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crntG-0002dY-3u for bug-guix@gnu.org; Sat, 25 Mar 2017 11:46:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crntC-0001q4-V1 for bug-guix@gnu.org; Sat, 25 Mar 2017 11:46:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crntC-0001px-Ql for bug-guix@gnu.org; Sat, 25 Mar 2017 11:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crntC-0004F5-KZ for bug-guix@gnu.org; Sat, 25 Mar 2017 11:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crnsr-0002dF-M3 for bug-guix@gnu.org; Sat, 25 Mar 2017 11:45:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crnso-0001dU-Hd for bug-guix@gnu.org; Sat, 25 Mar 2017 11:45:41 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crnso-0001dQ-EM for bug-guix@gnu.org; Sat, 25 Mar 2017 11:45:38 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:33510 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1crnsl-0005BT-Vp for bug-guix@gnu.org; Sat, 25 Mar 2017 11:45:38 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26253@debbugs.gnu.org In current =E2=80=98core-updates=E2=80=99 (7fdca77e007f0838ecd32b044827678f= 2b345ff0), tests/misc/cut-huge-range.sh in Coreutils 8.26 fails reproducibly in the chroot build environment; it succeeds outside of it. When it fails, cut-huge-range.log shows this: --8<---------------cut here---------------start------------->8--- + CUT_MAX=3D4294967294 + ulimit -v 3004 + cut -b4294967294- /dev/null + ulimit -v 3004 + cut -b1-4294967294 /dev/null + ulimit -v 3004 + returns_ 1 cut -b4294967295 /dev/null + fail=3D1 + ulimit -v 3004 + returns_ 1 cut -b4294967296 /dev/null + fail=3D1 + compare /dev/null err + compare_dev_null_ /dev/null err + test 2 =3D 2 + test x/dev/null =3D x/dev/null + test -s err + return 0 + return 0 + Exit 1 --8<---------------cut here---------------end--------------->8--- So the two lines that fail are these: --8<---------------cut here---------------start------------->8--- # Explicitly disallow values above CUT_MAX (ulimit -v $vm && returns_ 1 cut -b$SIZE_MAX /dev/null 2>/dev/null) || fail= =3D1 (ulimit -v $vm && returns_ 1 cut -b$SIZE_OFLOW /dev/null 2>/dev/null) || fa= il=3D1 --8<---------------cut here---------------end--------------->8--- I don=E2=80=99t understand why at this point, but I found that removing =E2=80=9C2>/dev/null=E2=80=9D from these two lines lets the test pass (and = AIUI, this redirection is not necessary for the test; it just hides the cut: byte/character offset '4294967296' is too large =20=20 error message.) I=E2=80=99ve tried to reduce the test case to facilitate debugging, to no avail. To be continued! Ludo=E2=80=99.