From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 04 12:27:38 2021 Received: (at 50264) by debbugs.gnu.org; 4 Sep 2021 16:27:38 +0000 Received: from localhost ([127.0.0.1]:48470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMYW2-0000v8-EI for submit@debbugs.gnu.org; Sat, 04 Sep 2021 12:27:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMYW0-0000uw-UE for 50264@debbugs.gnu.org; Sat, 04 Sep 2021 12:27:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37282) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMYVv-0001Av-9X; Sat, 04 Sep 2021 12:27:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48864 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMYVv-00070S-19; Sat, 04 Sep 2021 12:27:31 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: bug#50264: ca-certificate-bundle fails to build References: Date: Sat, 04 Sep 2021 18:27:29 +0200 In-Reply-To: (Lars-Dominik Braun's message of "Mon, 30 Aug 2021 10:12:29 +0200") Message-ID: <87bl58z4pa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50264 Cc: 50264@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Lars-Dominik Braun skribis: > Hi, > > I=E2=80=99ve seen this multiple times now, most recently with commit > 8ef38cd1bf7ec17b8d1bc1c0bcb42ac30ac30406 on a foreign system: Some > operation, here a `guix pack` tries to build ca-certificate-bundle and > it fails the first time, but rerunning the same operation succeeds: > > ---snip--- > -builder for `/gnu/store/iqm2zwq8jrr9gaw5jp4vs42j887aglmk-ca-certificate-= bundle.drv' failed with exit code 1 > Erstellung von /gnu/store/iqm2zwq8jrr9gaw5jp4vs42j887aglmk-ca-certificate= -bundle.drv fehlgeschlagen > Das Erstellungsprotokoll kann unter =E2=80=9E/var/log/guix/drvs/iq/m2zwq8= jrr9gaw5jp4vs42j887aglmk-ca-certificate-bundle.drv.bz2=E2=80=9C eingesehen = werden. > cannot build derivation `/gnu/store/riw7sfkl8a5rapyvf6vvh07cwv3nrwil-prof= ile.drv': 1 dependencies couldn't be built > cannot build derivation `/gnu/store/l8zdf69zk0pg599gifcyxbd80h676yp1-pyth= on-jupyterlab-bash-coreutils-docker-pack.tar.zst.drv': 1 dependencies could= n't be built > guix pack: Fehler: build of `/gnu/store/l8zdf69zk0pg599gifcyxbd80h676yp1-= python-jupyterlab-bash-coreutils-docker-pack.tar.zst.drv' failed > ---snap--- > > The backtrace looks like this: > > ---snip--- > Backtrace: > 2 (primitive-load "/gnu/store/74i539y9b0bvslk3bk0kc27q76p?") > In ice-9/eval.scm: > 619:8 1 (_ #f) > In unknown file: > 0 (setlocale 6 "en_US.utf8") > > ERROR: In procedure setlocale: > In procedure setlocale: Invalid argument > ---snap--- Is this the backtrace found in the build log (under /var/log/guix/drvs)? 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=3D10 /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-c= ertificate-bundle.drv The following profile hook will be built: /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... building CA certificate bundle... successfully built /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certifica= te-bundle.drv The following builds are still in progress: /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/wdnm4j88pxxkg0m72b58db24fghjizmz-ca-certificate-bundle.drv /gnu/store/gwgja3hnmlajwxy6rqayf8yd937d8yi5-ca-certificate-bundle --8<---------------cut here---------------end--------------->8--- Could you find a way to reproduce the issue? Also, could you run =E2=80=98guix build glibc-utf8-locales --check=E2=80=99= , so make sure that store item is not corrupt? I have: --8<---------------cut here---------------start------------->8--- $ guix build glibc-utf8-locales=20 /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.narin= fo |grep NarHash NarHash: sha256:012a1vcvmhbrqr5kjbmf7qlgpbw2zv36rgj7rxh400dh8wlj97pi --8<---------------cut here---------------end--------------->8--- TIA, Ludo=E2=80=99.