From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oEuWD0I60mCsVAEAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 21:30:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yJxTC0I60mAvAgAAB5/wlQ (envelope-from ) for ; Tue, 22 Jun 2021 19:30:10 +0000 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 A50F024C26 for ; Tue, 22 Jun 2021 21:30:09 +0200 (CEST) Received: from localhost ([::1]:43296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvm64-0007NT-8d for larch@yhetil.org; Tue, 22 Jun 2021 15:30:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvm5l-0007NI-Dy for help-guix@gnu.org; Tue, 22 Jun 2021 15:29:49 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:47180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvm5g-0005LS-A5 for help-guix@gnu.org; Tue, 22 Jun 2021 15:29:48 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lvm5e-00072L-5B; Tue, 22 Jun 2021 15:29:42 -0400 Date: Tue, 22 Jun 2021 15:29:41 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: Ricardo Wurmus Subject: Re: Corrupt/missing store items In-Reply-To: <8735t9ybyd.fsf@elephly.net> Message-ID: References: <8735t9ybyd.fsf@elephly.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624390209; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YnW5Y7ZbhiAYSkHPGdduiyeYZ4XtSaFtEdY1gzaHTj8=; b=gs6bb2gP9FC24oUJpiyJBdimZS2R/aJLX5IbODHnZAAlzeHJOtLBTdVt7hDzjxvnLokTBM B4QQHx1Avkgoqlk3MGczdmEmzSCkx2FmHlQyLuWiDL4YFIi3/AdwmpqviyFhxDakspIsiF dbbezmAwKNOQY04qub2lbHvE9NVK+/bGy2u3U+8Wg+OhT5lqfll2lHXMKv449fUy6SmD8R bWlHFR2M5EG5p4nyqjCqegik1DXHl0o56Y4lFizfm+kiVMX5yUmnHoU33365giFeSiP6VW 8kbmlvj63bB5UkYUm5EJ/fy7x6fex0+MpM6gz62HMTQY+FhX6RFuNiLDIBSRNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624390209; a=rsa-sha256; cv=none; b=PZqkRoMukoySdRJXqCdRjswQy4lXpX3NaFkSd6UWibHopVVCkAF+9ihX0pmQChzubibEN/ jTD/Kp0XjTVMSLc7dLnqyrNspj9DPDd+npgrItCcDQeSp9X06Z8ueaet6FmVKq2YAzhr2v tOgr6MT3Kpy7MJzrSpf3gnNutG0oV8uyVjk2pLLMmVIAyZrka4+6+uQGkpdj3dFU1GdCkB x/MZ5dO3L9rIDJOC0g2j5mCENR9WSSlKk06gHwHLeuv16j9iTBac/2OkYLvv5Zop8rkOxM zAeCtEusVOeIpF6HVw/FDhbq3H/mRZKq2Ef5ZS8MYGVbZT6Na/Le2Fdd2sRIxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: A50F024C26 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: LRdgOmmzS+qA On Tue, 22 Jun 2021, Ricardo Wurmus wrote: > Jack Hill writes: > > What happens if you try “guix build --check --no-grafts > /gnu/store/zkhymfsbrv0s4y7l778g78k6y65nidxd-gnutls-3.6.16.drv” or similar? > The database probably states that > /gnu/store/jlk67v3nddhv0z963wfvahk8fc8gqcz8-gnutls-3.6.16 has already been > built, so with “--check” you might be able to make it build it again. `guix gc --verify=repair` fixed the problem, so I won't be able to test this (unless this recurs, but I hope it doesn't). >> So Guix think's it's sucessfully built gnutls, but it's still not >> present in the store. I've also tried copying the store items from >> other hosts. No luck so far… > > How did that fail? I didn't capture verbose output, but I believe nothing was sent because the problematic host reported it already had that item. > How could the directory have disappeared? Guix appears to be very surprised > that the directory is missing. Apologies for leaving out more details about this host earlier. The filesystem is btrfs and its a virtual machine running in someone else's VM cluster. I had to reset and boot into older generations a few times before I noticed the problem because of a misconfiguration I made. Some of these older generation involved downgrading the kernel from 5.12 to 5.11. I suppose that could have caused file system corruption, although I would not have expected the store to be written to at the time of the resets. Best, Jack