From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CBNlJcYH3V7nCwAA0tVLHw (envelope-from ) for ; Sun, 07 Jun 2020 15:29:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MMI8IcYH3V7jXAAA1q6Kng (envelope-from ) for ; Sun, 07 Jun 2020 15:29: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 0675B94053B for ; Sun, 7 Jun 2020 15:29:10 +0000 (UTC) Received: from localhost ([::1]:52982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhxET-00031J-1W for larch@yhetil.org; Sun, 07 Jun 2020 11:29:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhxEM-00030v-RA for bug-guix@gnu.org; Sun, 07 Jun 2020 11:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhxEM-0007v3-IA for bug-guix@gnu.org; Sun, 07 Jun 2020 11:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhxEM-00076l-Ez for bug-guix@gnu.org; Sun, 07 Jun 2020 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41668: Failing test: gui-installed-desktop-os-encrypted Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 07 Jun 2020 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41668 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brice Waegeneire Received: via spool by 41668-submit@debbugs.gnu.org id=B41668.159154371227285 (code B ref 41668); Sun, 07 Jun 2020 15:29:02 +0000 Received: (at 41668) by debbugs.gnu.org; 7 Jun 2020 15:28:32 +0000 Received: from localhost ([127.0.0.1]:54640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxDs-000760-Cv for submit@debbugs.gnu.org; Sun, 07 Jun 2020 11:28:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhxDp-00075n-G7 for 41668@debbugs.gnu.org; Sun, 07 Jun 2020 11:28:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53437) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhxDj-0007qx-6U; Sun, 07 Jun 2020 11:28:23 -0400 Received: from [2a01:e0a:fa:a50:d939:1174:2a3f:75c2] (port=55272 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhxDi-0000Hf-0L; Sun, 07 Jun 2020 11:28:22 -0400 From: Mathieu Othacehe References: <3f66774219bb18c47b305b8760f58abe@waegenei.re> <87mu5glcse.fsf@gnu.org> Date: Sun, 07 Jun 2020 17:28:19 +0200 In-Reply-To: <87mu5glcse.fsf@gnu.org> (Mathieu Othacehe's message of "Sat, 06 Jun 2020 12:16:33 +0200") Message-ID: <877dwidhf0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41668@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -1.01 X-TUID: 7jiwTztkbUfK --=-=-= Content-Type: text/plain Hey, > * A new issue I discovered, whereby 'guix system init' try to > build/download stuff, when it shouldn't: > > Jun 6 11:50:06 localhost shepherd[1]: Service cow-store has been started. > Jun 6 11:50:06 localhost installer[233]: running command ("guix" "system" "init" "--fallback" "--no-grafts" "--no-substitutes" "/mnt/etc/config.scm" "/mnt") > Jun 6 11:50:20 localhost installer[233]: 'guix system init --fallback --no-grafts --no-substitutes /mnt/etc/config.scm /mnt' exited with status 1; output follows: The following derivations will be bu) > > Jun 6 11:50:20 localhost 7-gzip-mesboot-1.2.4.drv /gnu/store/zrqjn3p0x5gkdnj6qb4b9xxl2dld4fvl-gzip-1.2.4.tar.drv /gnu/store/98g8d622pqhzl0z92y4bjcqi9yl0327x-linux-libre-headers-bootstrap-0.drv2 > Jun 6 11:50:20 localhost g76sla-bash-mesboot-4.4.drv /gnu/store/8yad2zhh91pnf27xkwh0kyx4ggnsn5li-bash-4.4.tar.gz.drv /gnu/store/5vp07s0gdvrybbhcz43i58y5p03rrdsk-coreutils-mesboot-8.32.drv k > Jun 6 11:50:20 localhost h6mfp7hisj118ndcp8d0wy3ca63-gmp-6.0.0a.tar.xz.drv /gnu/store/iy7vn17sqbrgp2142px897ij0njsr5f2-gmp-6.0.0a.tar.xz.drv /gnu/store/rxr1wc67y74bsfasln4jw8viawpa79g4-mpfr-4.0 > Jun 6 11:50:20 localhost ilding /gnu/store/3pz8g76l2kkv36w1n7k25zlswgdyj554-Python-3.5.9.tar.xz.drv... builder for `/gnu/store/3pz8g76l2kkv36w1n7k25zlswgdyj554-Python-3.5.9.tar.xz.drv' failed to produg > Jun 6 11:50:20 localhost Ok, I think I found what's going on here. As we are now using multiple glibc to build locales, we need to make sure that they are all available in the installation closure. The attached patch fixes the issue. I will also propose a patch, probably on core-update, patching "invoke/quiet" so that we can have the output of "guix system init" in the syslog. Debugging (gnu tests install) module always takes me a lot of effort, because of all the code layers involved. I don't have much to propose to improve it, maybe when the CI will be more robust, we will be able to detect those test failures as soon as they happen. Now, the cow-store issue! Thanks, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-system-install-Add-default-libcs-to-gc-roots.patch >From 25950adfa4988c31beaeb334367337ee409868c4 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sun, 7 Jun 2020 15:39:39 +0200 Subject: [PATCH] system: install: Add default libcs to gc-roots. During the installation, it may be needed to build locales that are not covered by glibc-utf8-locales. Make sure that the libraries required to build locales are available. This is a follow-up of 0eed77127592323d89f56c215a15374a1aaae110. * gnu/system/install.scm (installation-os)[services]: Add %default-locale-libcs to gc-root-service-type. --- gnu/system/install.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index fe49ffdb94..d0ff2e7c52 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -32,6 +32,7 @@ #:use-module ((guix packages) #:select (package-version)) #:use-module ((guix store) #:select (%store-prefix)) #:use-module (gnu installer) + #:use-module (gnu system locale) #:use-module (gnu services dbus) #:use-module (gnu services networking) #:use-module (gnu services shepherd) @@ -439,10 +440,12 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m ;; things needed by 'profile-derivation' to minimize the amount of ;; download. (service gc-root-service-type - (list bare-bones-os - glibc-utf8-locales - texinfo - guile-3.0)) + (append + (list bare-bones-os + glibc-utf8-locales + texinfo + guile-3.0) + %default-locale-libcs)) ;; Machines without Kernel Mode Setting (those with many old and ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the GUI -- 2.26.2 --=-=-=--