From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#32161: seek out of range Date: Sun, 15 Jul 2018 09:30:07 +0200 Message-ID: <87a7qtq7ls.fsf@elephly.net> References: <87bmb9qea0.fsf@elephly.net> 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]:46145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1febUo-0004yN-1l for bug-guix@gnu.org; Sun, 15 Jul 2018 03:31:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1febUk-00035d-U0 for bug-guix@gnu.org; Sun, 15 Jul 2018 03:31:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1febUk-00035Q-NS for bug-guix@gnu.org; Sun, 15 Jul 2018 03:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1febUk-0007tW-B8 for bug-guix@gnu.org; Sun, 15 Jul 2018 03:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87bmb9qea0.fsf@elephly.net> 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: 32161@debbugs.gnu.org Ricardo Wurmus writes: > I=E2=80=99m getting this bug on berlin.guixsd.org. The store is several = hundred > GB in size. I cannot reproduce this on a machine with a smaller store. This is not correct. I cannot reproduce this on a machine where deduplication has been disabled. > --8<---------------cut here---------------start------------->8--- > In guix/store/deduplication.scm: > 62:18 1 (nar-sha256 _) > In unknown file: > 0 (seek # 0 1) > > ERROR: In procedure seek: > Value out of range -2147483648 to 2147483647: 4770726968 > @ hook-failed /gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texlive-texmf-2= 017.drv - 256 builder for `/gnu/store/qjxwff3fajh350chpswbb6x9q2m4c3sd-texl= ive-texmf-2017.drv' failed with exit code 1 > --8<---------------cut here---------------end--------------->8--- Line 62 is (port-position wrapper). =E2=80=9Cseek=E2=80=9D takes an intege= r as the offset and the range it reports is that of the minimum and maximum values of a 32 bit integer. So=E2=80=A6 does this mean that we need some other way of counting written = bytes to get rid of =E2=80=9Ccounting-wrapper-port=E2=80=9D? On berlin.guixsd.org I may have to temporarily disable deduplication. -- Ricardo