From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#18082: 'guix system reconfigure' fails to install grub from standalone guix Date: Tue, 22 Jul 2014 15:08:08 -0400 Message-ID: <878unl5i07.fsf@yeeloong.lan> References: <87oawh5nvh.fsf@yeeloong.lan> <878unlthg7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9fQz-0003wJ-9C for bug-guix@gnu.org; Tue, 22 Jul 2014 15:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9fQs-0003Nq-Nh for bug-guix@gnu.org; Tue, 22 Jul 2014 15:09:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:39619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9fQs-0003Nk-Jy for bug-guix@gnu.org; Tue, 22 Jul 2014 15:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X9fQs-0003sQ-1g for bug-guix@gnu.org; Tue, 22 Jul 2014 15:09:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878unlthg7.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 22 Jul 2014 19:46:16 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 18082@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > In guix/scripts/system.scm, could you remove =E2=80=98false-if-exception= =E2=80=99 around > =E2=80=98install-grub=E2=80=99, and report the backtrace? Here it is: --8<---------------cut here---------------start------------->8--- root@jojen# ~mhw/guix/pre-inst-env guix system reconfigure ~mhw/os-install.= scm=20 The following derivation will be built: /gnu/store/ynkp0ijahvg4x1q6bfdw34d28hhqmgb4-grub.cfg.drv killing process 1117 /gnu/store/ay6f47hv2gy4hny4ycnbyn0jnyd60n4v-system /gnu/store/2yrylvn5c9apgfpppc5kfb24fi7mrnpl-grub-2.00 /gnu/store/6qwr8shknwlb1f1l0a7j6n3h8sg36bv7-grub.cfg activating system... populating /etc from /gnu/store/p4gvgs07g7gmsygjb3767r5k32v3l1y5-etc... setting up setuid programs in '/run/setuid-programs'... making '/gnu/store/ay6f47hv2gy4hny4ycnbyn0jnyd60n4v-system' the current sys= tem... Backtrace: In ice-9/boot-9.scm: 157: 15 [catch #t # ...] In unknown file: ?: 14 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 13 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 12 [eval # #] In ice-9/boot-9.scm: 2401: 11 [save-module-excursion #] 4050: 10 [#] 1724: 9 [%start-stack load-stack ...] 1729: 8 [#] In unknown file: ?: 7 [primitive-load "/home/mhw/guix/scripts/guix"] In guix/ui.scm: 656: 6 [run-guix-command system "reconfigure" "/home/mhw/os-install.scm"] In ice-9/boot-9.scm: 157: 5 [catch srfi-34 # ...] 157: 4 [catch system-error ...] In guix/monads.scm: 430: 3 [run-with-store # ...] In guix/scripts/system.scm: 301: 2 [# #] In guix/build/install.scm: 47: 1 [install-grub # "/dev/sda" "/"] In unknown file: ?: 0 [copy-file # "//boot/grub/grub.cfg.new"] ERROR: In procedure copy-file: ERROR: Wrong type (expecting string): # /gnu/store/6qwr8shknwlb1f1l0a7j6n3h8s= g36bv7-grub.cfg b7ecf78> root@jojen#=20 --8<---------------cut here---------------end--------------->8--- and here's my os-install.scm: --8<---------------cut here---------------start------------->8--- (use-modules (gnu) (gnu packages emacs) (gnu packages admin) (gnu packages linux) (gnu services base) (gnu services networking) (guix monads) (srfi srfi-26)) (operating-system (host-name "jojen") (timezone "US/Eastern") (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (list (file-system (device "librintel-guix") (mount-point "/") (type "ext4")))) (users (list (user-account (name "mhw") (group "mhw") (password "") (uid 1000) (home-directory "/home/mhw")))) (groups (cons (user-group (name "mhw") (id 1000)) %base-groups)) (packages (cons* emacs wpa-supplicant wireless-tools module-init-tools isc-dhcp %base-packages)) (services (let ((motd (text-file "motd" " This is the GNU operating system, welcome!\n\n"))) (list (console-font-service "tty1") (console-font-service "tty2") (console-font-service "tty3") (console-font-service "tty4") (console-font-service "tty5") (console-font-service "tty6") (mingetty-service "tty1" #:motd motd) (mingetty-service "tty2" #:motd motd) (mingetty-service "tty3" #:motd motd) (mingetty-service "tty4" #:motd motd) (mingetty-service "tty5" #:motd motd) (mingetty-service "tty6" #:motd motd) (static-networking-service "lo" "127.0.0.1" #:provision '(loopback)) (syslog-service) (guix-service #:authorize-hydra-key? #t) (nscd-service) (udev-service))))) --8<---------------cut here---------------end--------------->8--- Thanks! Mark