From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gDE5JEVc+WE7hgAAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 17:13:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +BfnHEVc+WGzVwAAG6o9tA (envelope-from ) for ; Tue, 01 Feb 2022 17:13:57 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F08F249A49 for ; Tue, 1 Feb 2022 17:13:56 +0100 (CET) Received: from localhost ([::1]:45008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEvn2-0008EV-3I for larch@yhetil.org; Tue, 01 Feb 2022 11:13:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuSu-0003So-2i for bug-guix@gnu.org; Tue, 01 Feb 2022 09:49:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEuSs-0004TD-3n for bug-guix@gnu.org; Tue, 01 Feb 2022 09:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEuSs-0004dZ-8s for bug-guix@gnu.org; Tue, 01 Feb 2022 09:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53696: Integer overflow on Guix GC size calculation Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Feb 2022 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53696 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53696@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.164372689317755 (code B ref -1); Tue, 01 Feb 2022 14:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Feb 2022 14:48:13 +0000 Received: from localhost ([127.0.0.1]:42096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuS5-0004cI-9W for submit@debbugs.gnu.org; Tue, 01 Feb 2022 09:48:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:39740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEuS3-0004cA-OV for submit@debbugs.gnu.org; Tue, 01 Feb 2022 09:48:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuRr-0002tE-3F for bug-guix@gnu.org; Tue, 01 Feb 2022 09:48:06 -0500 Received: from mail-41103.protonmail.ch ([185.70.41.103]:27528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEuRK-00037A-MN for bug-guix@gnu.org; Tue, 01 Feb 2022 09:47:47 -0500 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4Jp6Cx2S3bz4xVqm for ; Tue, 1 Feb 2022 14:06:05 +0000 (UTC) Date: Tue, 01 Feb 2022 14:06:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1643724362; bh=xbPy4fZmQD+HbFdPbGImcO6dNUast0FyO9MUGXvAY1I=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=tZQHGfML3WqQaoRHlvPOMOGbtI7YesE10y9awXHMnQycZLiYJ6lwzGgbaanXd0Y1m VW42siIcvQw5t3dLlTgYhOZ97ZemdICVa/3VK4CCkQVSGrZiX4yn+TDLw/Lt5ioKpe OKS5l8WI9XoCY1uSBdvp3cVcwuO4agWGrhGEPBOdmvlGmKCeOIW6sY9IR7cJQbzNRI A5Lp7ai/8D00eaWGvbZZ/IkUcCa4IFSPfTetJB9G4TD5814fQcVyrWkJc4pFYkrM6X zdiJHxCkDQN9lBzXSVkw4nT+KLQryan4gn2IcEWfvei2Tm4PeW0zXGVenxhMo8+g1s TeHWYWEVnOaNg== From: Ekaitz Zarraga Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.41.103; envelope-from=ekaitz@elenq.tech; helo=mail-41103.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643732037; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xbPy4fZmQD+HbFdPbGImcO6dNUast0FyO9MUGXvAY1I=; b=P5cCK8OWVsSpzUZFqtBywvj4AGZ3B5F/BXl9m2bAlnU567XTOfWHRDh/pNSPJjGKKEn1rS 1tEvCXGJYMsBnsftfpn+0O4hgLVqhyfB43sylZizEEVVIzE3rc4wAzqBYDGOpZzhuLjxsr Y6oMsMfAF3drQNgkiObo/eg8qGdL+hufbXv9PTHJIWj2wvyApnmkARPJS5lnZh3oPa/ox9 RAweUEqcScSoIop+IWzTqeTkIDMjiCmCH3BCMZm7gXqI4mNOT6jrjL24kHwpmUd70LexA1 TZl/km9OaZQQbQBxSamQb9+NWscDD3wJRb8xbrYrXoweRl6STTJhawz0EnsKww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643732037; a=rsa-sha256; cv=none; b=kyESi4ktP/tBWMa9lPq4nauMCnpOwCKUo2qxHG2tYFKxxcXwt2YtpMHqq3kgfhdx/qlwAZ HBZoXQZUxRhYZeuC09su3fdhqeY3fanHhR2FPhDk5UR3YI0a4j1hlOeCZkl7ViCZvG6gJB jzFn9KGzGC0hiavKh6htRF6eyK28dW0t8CopoartfyliNlRjApz3QvRfmoRVe6/BbJ368y B9NEs1k9Z3gFV7ZWMU7aA0IlvqWOwrO4y5W0xl4zbOACT1SJKTu1Nagyfn81NHVfCOvvph pmSIG/Fy4ocXk9kgvId7tQRb1O0u42P0cVdIg/drS9B9PG+X+POMQGnTc4UNHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=tZQHGfML; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail2 header.b=tZQHGfML; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F08F249A49 X-Spam-Score: -4.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: bHvllvdwMUqd Hi, I noticed there's some kind of a wierd integer overflow on the size calcula= tion on `guix gc`: [17592186042896 MiB] deleting '/gnu/store/j2s6kva8l20m6rjj10bnknq99jc9rg6w-= ghc-random-1.2.0-builder' [17592186042896 MiB] deleting '/gnu/store/8nx7zzj629qvv1533c48bl19wrkwcjh2-= curl-7.79.1-doc' [17592186042897 MiB] deleting '/gnu/store/dcsi13588yyjws76s1wjc7h5spnjd2vn-= ghc-kan-extensions-5.2.3-builder' [17592186042897 MiB] deleting '/gnu/store/5zrhw6kvb8wd3n6lazpblqzsg92y320b-= ghc-sop-core-0.5.0.1-builder' [17592186042897 MiB] deleting '/gnu/store/l2ya1z3la9qfdj9139f09q3djs36lw3l-= ghc-aeson-pretty-0.8.9-builder' [17592186042897 MiB] deleting '/gnu/store/8a8nbfxq508r7qywkhaw8jj8hicpfjh8-= ghc-prelude-extras-0.4.0.3-builder' [17592186042897 MiB] deleting '/gnu/store/wbz6vkiz7cq8c531xvb31lxm28nz332i-= ghc-8.10.7' [19 MiB] deleting '/gnu/store/i5np7ifiabg333g2l8ycmvbhimnrrx8k-ghc-8.10.7-d= oc' [170 MiB] deleting '/gnu/store/yx9zjw9118gzfcx33adfwy6kghrzxkys-ghc-pem-0.2= .4-builder' [170 MiB] deleting '/gnu/store/pinvkg1x5rpsgm95zhn50l6xq7rly43f-perl-test-o= utput-1.033.drv' [170 MiB] deleting '/gnu/store/k1bdc950d62g1pw4yw1khgmfr32m3rpm-perl-sub-ex= porter-0.988.drv'