From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yD6LJ1EZvmXa7gAAqHPOHw:P1 (envelope-from ) for ; Sat, 03 Feb 2024 11:45:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yD6LJ1EZvmXa7gAAqHPOHw (envelope-from ) for ; Sat, 03 Feb 2024 11:45:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CQLUeOH+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706957137; a=rsa-sha256; cv=none; b=C45QZSq04h4obn0y5e4DoAcsdJ+dg55HmTc9DRrNH4Fm8UNM8Ezj9EoXWaS7CKubut03uL OtQFEdWEcln+iDzFOP/ffdS98vb447ufuCRwynd/KODgm+iIJq2wIAwIlVpxtsnHG1ls2Y Gy2W1ujDxrwdv6Gcs61AMlrwlzpUPvAU7WOSOfRwumdGz+AIV2p3Pgdv5bXlQz6DC2OTa6 eke0eTorcfMXfTCTdEMiKaK+lXyW/9EL4wQUdSce6FydnBTcCTFcmJ6a4xVtrHKZZrhRfn BolrnhBATNSfkv+loQDXch1KMnjTBlPQoMHumliGkzmUHHt99NavaU3wzAjHtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=CQLUeOH+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706957137; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n0h249NMayJIZQckNZMNsUaeM88IfED017lc1fOQH4o=; b=ioc+iFGo6bYbpmjcv953A3zvQ+H649TSoeWf/6IA0YM4aT2OJXb81JX0Ocelp3kZZWp4zm mvgoUDWqRl/jaurxnCF/V03ZYexgSK2Efg7JasfuVUncJwAdmi9EJG2vhRoLHGyerQ+/Y6 CNhrmJruI9RQ6vrScOihD/fc8fo/4/1zOhh2wfDQky+N6IIpGuV5JZkVIUTkHGOat29NAL yAq/hvAA7HeO3J2eE5GUXqtgVXbyOYrhdG3EYVCRc7iiL6Oiop2vrlL+BM3ya4ZJDv9a2g wqsyu3nEg8ZgErJ1XRJcmj1rVC7pxRYyBSs5kdsvA2ix+HQEMRlDeqwaiUdRMQ== 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 5C2BC6E881 for ; Sat, 3 Feb 2024 11:45:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWDW0-0007xm-Ma; Sat, 03 Feb 2024 05:44:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rWDVy-0007wj-Lv for bug-guix@gnu.org; Sat, 03 Feb 2024 05:44:50 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rWDVy-0006jq-Di for bug-guix@gnu.org; Sat, 03 Feb 2024 05:44:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWDW9-00046O-Kv for bug-guix@gnu.org; Sat, 03 Feb 2024 05:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68874: executing `/gnu/store/...-guile-3.0.9/bin/guile': Exec format error Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Feb 2024 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68874 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 68874@debbugs.gnu.org Received: via spool by 68874-submit@debbugs.gnu.org id=B68874.170695709415721 (code B ref 68874); Sat, 03 Feb 2024 10:45:01 +0000 Received: (at 68874) by debbugs.gnu.org; 3 Feb 2024 10:44:54 +0000 Received: from localhost ([127.0.0.1]:45909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWDW2-00045U-9H for submit@debbugs.gnu.org; Sat, 03 Feb 2024 05:44:54 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:41418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWDW0-00045G-8a for 68874@debbugs.gnu.org; Sat, 03 Feb 2024 05:44:52 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40fd3b294beso222945e9.1 for <68874@debbugs.gnu.org>; Sat, 03 Feb 2024 02:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706957075; x=1707561875; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n0h249NMayJIZQckNZMNsUaeM88IfED017lc1fOQH4o=; b=CQLUeOH+ZoHQe9Wa+xQ8n8NSTXLQE1IOGldGA17WSBjwQFIx0On2ymWddvBW637z/O gNhGOqOC/7qJ91UsUVHg/9sC+VxPoGayw8npDXdTnLGBXXVnLcyKfWCcgHUetn+tHFdm TSAIoRFLwI3n4Fv6ipwo6VaFWZyS+bAHTnsgGCvB/NECy/0DI0Sp6WuGWedUjN3U8c06 mPaw4uJEEDnYNPvVyDgzxQ7jWgK8DHh7+AwOO/q6bJijXKPckxoGAq1yhxUXX8H6be3C +t8f11Gr+VFoPe3ZO0H0ecQjqkTAcOJn2LFuR9rjvodsgnemhczPrM/zpi7jZ0qbFA6u oUZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706957075; x=1707561875; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=n0h249NMayJIZQckNZMNsUaeM88IfED017lc1fOQH4o=; b=asH/Mxccu4CDTcUFsnao+VyKfAl36KgkbI7mJqtvrpfZD0bFTKYuO6AuIH99sWJhcU c4m4VgsUqQVXWD205Gun9L+ld8AzKDRtR+y9H0MwJsoNATl3aiId0v0SPqXcIck2kFst XXfocx0iK4+qSy7n7VfY9nee3krMmViC18+nj+/M+NTDpf5C/++0tomhOTjeoNgWSeyA KyJzOwmQ18TKQbsgrhXdtIRKc+n2bE0Y1E6G3uWvqe4IMKG9Mq4JtBGCSA76UhfKAyJb XfBxBHQ1ZSz9lCjuKsmSwnEDYBiXBo/zOcSOYTg1ufLt3Jpsmf2VK3f69/R/48+8kG9n BUuw== X-Gm-Message-State: AOJu0Yw6ycbrZIHFqTUaqsmRyStNsi9vSYvnAXBLnYl3wRp+8oPE8105 GrCm4HSxePddsV2JqbFDyKx7lp5sqFIwCf0F1k7CiZz9aMRtRb4sAzzRFQjoH/s= X-Google-Smtp-Source: AGHT+IHKg51sVXlY/tQgSjF3UHBEqvI2rhNyZ0bSbewba3b+y3q/B6xPP20afNfMy5mnyMQLZbNDaQ== X-Received: by 2002:a05:600c:4f4b:b0:40f:c996:307f with SMTP id m11-20020a05600c4f4b00b0040fc996307fmr2983257wmq.3.1706957074736; Sat, 03 Feb 2024 02:44:34 -0800 (PST) Received: from lili ([85.28.89.231]) by smtp.gmail.com with ESMTPSA id s7-20020adff807000000b0033af3a43e91sm3787198wrp.46.2024.02.03.02.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 02:44:34 -0800 (PST) From: Simon Tournier In-Reply-To: <87plxfsx4s.fsf@jpoiret.xyz> (Josselin Poiret's message of "Thu, 01 Feb 2024 22:16:51 +0100") References: <87zfwknoby.fsf@gmail.com> <8734ucm904.fsf@gmail.com> <87plxfsx4s.fsf@jpoiret.xyz> Date: Fri, 02 Feb 2024 01:37:38 +0100 Message-ID: <877cjnem5p.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.57 X-Migadu-Queue-Id: 5C2BC6E881 X-Migadu-Spam-Score: -4.57 X-TUID: HrDqP8Hu5vYV Hi, On Thu, 01 Feb 2024 at 22:16, Josselin Poiret wrote: >> --8<---------------cut here---------------start------------->8--- >> $ /tmp/new/bin/guix describe >> /gnu/store/vqkjfl6ds3vdvig2x5pkvvzkc3wivrp0-guile-wrapper/bin/guile: err= or while loading shared libraries: /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7yw= iai-guile-3.0.9/lib/libguile-3.0.so.1: file too short >> --8<---------------cut here---------------end--------------->8--- > > File too short sounds like store corruption, can you check whether that > file is empty? Maybe try gc'ing it and retrying? Indeed, empty: --8<---------------cut here---------------start------------->8--- $ file $(readlink -f /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.= 9/lib/libguile-3.0.so.1) /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9/lib/libguile-3.0.so= .1.6.0: empty --8<---------------cut here---------------end--------------->8--- However, I am not able to remove the item. I mean: I have tried many operations as =E2=80=9Cguix gc=E2=80=9D, =E2=80=9Cguix gc --verify=E2=80=9D= with =E2=80=99repair=E2=80=99 and =E2=80=99contents=E2=80=99, remove some part of ~/.cache/guix and then =E2= =80=9Cguix gc=E2=80=9D, remove the complete ~/.cache/guix and then =E2=80=9Cguix gc=E2=80=9D, rebuild the = derivation with --check, etc. And the file is still empty. Arf, I spent some time to find which was retained it. Well, I did nothing special for that corruption. And once I had it, the process for recovering is not straightforward. Somehow, it misses helpers that maps item to profile. For instance, in order to find the culprit retaining the item, I did --8<---------------cut here---------------start------------->8--- $ guix gc --referrers /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0= .9 /gnu/store/1gd9nsy4cps8fnrd1avkc9l01l7ywiai-guile-3.0.9 /gnu/store/50vkm2fkk3aij8jc92phb3ahapn776m8-guix-command /gnu/store/fd744pmbhzq1avpjjsmfiasp7yqdmiwy-guix-daemon /gnu/store/vqkjfl6ds3vdvig2x5pkvvzkc3wivrp0-guile-wrapper $ guix gc --referrers /gnu/store/50vkm2fkk3aij8jc92phb3ahapn776m8-guix-comm= and /gnu/store/fd744pmbhzq1avpjjsmfiasp7yqdmiwy-guix-daemon /gnu/store/icp4z3cxp0fibsm4j887nz8k56jc1jgi-guix-7bf8b7c33 --8<---------------cut here---------------end--------------->8--- then =E2=80=99grep=E2=80=99 the term =E2=80=997bf8b7c33=E2=80=99 inside /va= r/guix/profiles/per-user. Well, it was retained because I did switch-generation. Anyway. Hum, it could be nice if instead: guix gc: error: cannot delete path `/gnu/store/=E2=80=A6' since it is s= till alive it would also point the =E2=80=9Cprofile=E2=80=9C (or profiles) that makes = it alive. Cheers, simon