From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6PqcL2z6NWEzHwAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 13:24:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8Le4K2z6NWFsBAAA1q6Kng (envelope-from ) for ; Mon, 06 Sep 2021 11:24:28 +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 0E4D4BED4 for ; Mon, 6 Sep 2021 13:24:28 +0200 (CEST) Received: from localhost ([::1]:50974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNCji-00073c-3e for larch@yhetil.org; Mon, 06 Sep 2021 07:24:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNCjK-000715-DH for bug-guix@gnu.org; Mon, 06 Sep 2021 07:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNCjK-0007W2-5F for bug-guix@gnu.org; Mon, 06 Sep 2021 07:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNCjK-000224-0z for bug-guix@gnu.org; Mon, 06 Sep 2021 07:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50264: ca-certificate-bundle fails to build Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Sep 2021 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50264 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 50264-submit@debbugs.gnu.org id=B50264.16309273887725 (code B ref 50264); Mon, 06 Sep 2021 11:24:01 +0000 Received: (at 50264) by debbugs.gnu.org; 6 Sep 2021 11:23:08 +0000 Received: from localhost ([127.0.0.1]:52174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNCiS-00020X-50 for submit@debbugs.gnu.org; Mon, 06 Sep 2021 07:23:08 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:15142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNCiQ-0001zf-Ni for 50264@debbugs.gnu.org; Mon, 06 Sep 2021 07:23:07 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4H35c50TvxzQkBb; Mon, 6 Sep 2021 13:23:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1630927379; h=from:from: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; bh=DpOOiJDNuHxU3/NkAHvDCocBn3D/zoW67p3LDzuo+8A=; b=OQGwzKo1iTQfkrRSF7F8Lu63jfvEMWOn6MmbidUBlmqYJIOVABLO6uQOpxJj4RMRNw3JFo +zEmAwzRomDhS6YI0WLkpxq6/xZfreaGCRMM3Qe/ae/UZFUS/Wb6eIW+NHQFuCXbZ9NPiL 7x5gv5m17jduFo4e+tM+A3yD6TV/NRwGfXe/KIemNTAKRGUPkFfSxNUvw9TJmWXwjDYkUZ 1LmMvfDVwAO52K3tfc5NmLxgVTN9T0qZ6MPcgyC+07uU8/Wl1CBhgANwU3/DHxb5JUcKY+ 9mg6dN3eOnkpmyf87vyS7shL40QhBTcHpPrCh/uH1/gEMa05GWb5aL0FtHT5Zw== Date: Mon, 6 Sep 2021 13:22:53 +0200 From: Lars-Dominik Braun Message-ID: References: <87bl58z4pa.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87bl58z4pa.fsf@gnu.org> X-Rspamd-Queue-Id: 1805618B0 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: , Cc: 50264@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630927468; 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=DpOOiJDNuHxU3/NkAHvDCocBn3D/zoW67p3LDzuo+8A=; b=di7WWssPKYCaGd0hhPT5vpu+UQQ8g64V3DjEjYK5cA4FWxEjvWofpF0bTen/RtwgF8pwy7 MO2ePZzZgTdgQkWAuWlhLa+XC7CUG4/+I0j3EwAoIcy/2apcqhefgBtSXCWNhqNhwoEGBL b3J94eTGCWcFqCCsLRaxt8Bx8TYX8DqZJQGZDSf5TE2i0sqp4FT9xkhokx6rc+8pfTHZgw /RtlU9RHODxy6t18MZf/WkfIlGrkY1oy3FQJv1AyXJosLj9y4U8908T45G0hETnPvn8A5C fvUD8x60kR83yG2vs+OqzH1p17zfCkyqKCx2QhXDcobNJ/ezvivQLtFW9XzSTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630927468; a=rsa-sha256; cv=none; b=qti7+YabVqUcNSonbatgCcJcsMZs4IOGNlmcKnQFJESXabkOtNAcPOsMglpMYG3Y907gnx k4I7INwSH48QVXLt7DuoYxv+bJuGcEsywB13JN18kPqoiwQVb8eS4PSrg+vDcbOQz+By3C u7MJO8aEw7Ob2nwzoqdnE06r7ZDoyjMYD5k1SQiqmkPwCTW0kRyfPV4hPt93z5ELGC0pzI MRi8KrS/r9niT33n+Wet4jksz+EzGscnLMTE7WMXWhTF5CBSkJOkVVXgkCZV8Eb0ul9JQ9 EMA7Rgd9ssDZsAFOk0GeK5bOg1PKlYIGxkGaqAQV+68cXrHOBCKnzNinvS17WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=OQGwzKo1; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=OQGwzKo1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0E4D4BED4 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: yVUAFexfhzul Hi Ludo, thanks for looking into this! > Is this the backtrace found in the build log (under /var/log/guix/drvs)? Yes, it is printed on stdout, as well as part of the build log. > I tried and failed to reproduce it like this: > > --8<---------------cut here---------------start------------->8--- > $ guix environment --ad-hoc nss-certs -n > La jena derivo estus konstruata: > /gnu/store/i5s8jqzl52j38qmwqghjyp0v8p7dnlgd-profile.drv > > $ guix gc -R /gnu/store/i5s8jqzl52j38qmwqghjyp0v8p7dnlgd-profile.drv |grep certificate > /gnu/store/n63a6h3dfhwnaas9pg35zk78qjhxbas9-cmake-curl-certificates.patch > /gnu/store/c8czsp9prfd73wvnyh595h0riqcllfqp-ca-certificate-bundle-builder > /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv > $ guix build --rounds=10 /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv > … > --8<---------------cut here---------------end--------------->8--- > > Could you find a way to reproduce the issue? Alright, let’s see. The command I have been using is guix pack -L . -C 'zstd' -f docker -S /bin=bin python-jupyterlab bash coreutils findutils with . being a checkout of guix-science (same applies to `guix time-machine` though). The first time it’ll fail, but the second time it succeeds. Running `guix gc` makes it fail again the first time. The docker-pack.tar.zst.drv used for the first build is different from the second one (different hash prefix). For me it’s /gnu/store/r096cm3np7hbdn853ih35h1a5l39in4s-python-jupyterlab-bash-coreutils-docker-pack.tar.zst.drv the first time and /gnu/store/dywspxjshfjhc07i17hkcyrlq8kn7m07-python-jupyterlab-bash-coreutils-docker-pack.tar.zst.drv the second time. YMMV. Looking at ca-certificate-bundle.drv, the first one lacks any form of glibc-utf8-locales as an input (neither in the .drv, nor via `guix gc --references <.drv> | grep glibc-`), so it’s clear it must fail. I’m not quite sure why though, since the actual builder still has a reference to the locales and sets LOCPATH. So I’m a little puzzled. > --8<---------------cut here---------------start------------->8--- > $ guix build glibc-utf8-locales > /gnu/store/rgydar9dfvflqqz2irgh7njj34amaxc6-glibc-utf8-locales-2.31 > $ guix hash -r $(guix build glibc-utf8-locales) > 012a1vcvmhbrqr5kjbmf7qlgpbw2zv36rgj7rxh400dh8wlj97pi > $ wget -qO - https://ci.guix.gnu.org/rgydar9dfvflqqz2irgh7njj34amaxc6.narinfo |grep NarHash > NarHash: sha256:012a1vcvmhbrqr5kjbmf7qlgpbw2zv36rgj7rxh400dh8wlj97pi > --8<---------------cut here---------------end--------------->8--- Exactly the same for me, so we have the same data at least. `guix gc` with the repair,contents options also does not show any corrupted items. I’m thus assuming my store is intact. Any ideas? Thanks, Lars