From mboxrd@z Thu Jan 1 00:00:00 1970 From: Germano Gabbianelli Subject: bug#21068: guix system: error: build failed: path `/gnu/store/..-grub.cfg' is not valid Date: Sun, 26 Jul 2015 15:25:33 +0200 Message-ID: <55B4DFCD.1040500@gmail.com> References: <55A69EEB.3050400@gmail.com> <87y4igw7eq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJLwN-0003wG-CL for bug-guix@gnu.org; Sun, 26 Jul 2015 09:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJLwI-0006U9-9S for bug-guix@gnu.org; Sun, 26 Jul 2015 09:26:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:57482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJLwI-0006U0-6u for bug-guix@gnu.org; Sun, 26 Jul 2015 09:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJLwH-0006OF-T6 for bug-guix@gnu.org; Sun, 26 Jul 2015 09:26:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y4igw7eq.fsf@gnu.org> 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: 21068@debbugs.gnu.org On 16/07/15 15:37, Ludovic Courtès wrote: > This could be due to how you fiddled manually with /gnu/store and > /var/guix. In general, one should never manually touch these > directories; instead, one should use ‘guix gc’ and similar commands. I did not fiddle with those directory. I only removed them to reinstall guix. >> I also trying reinstalling guix by deleting /gnu, /var/guix, and >> /var/log/guix (and also wiping the partition with rm) > To be safe, could you start anew again, and report back? > > sudo rm -rf /gnu /var/guix > # reinstall from binary tarball I did it, for the third time. I always get the same error: guix system: error: build failed: path `/gnu/store/kv217jzyir2wx0lwwxl7ljpwc4fzafpi-grub.cfg' is not valid This time I used guix 0.8.3. >> (bootloader (grub-configuration (device "/dev/sda9"))) > There’s a mistake here: it should be “/dev/sda” (say), not “/dev/sda9” > (the latter designates a partition, whereas the former designates a > disk.) It doesn’t matter here since you passed --no-grub, but it would > otherwise lead to a ‘grub-install’ failure. I tried removing that line, but if I do I get an error saying "missing field initializers (bootloader)". So I also tried to specify a non existent disk (i.e. /dev/sdb), so it does not complain about the bootloader options, but I still get the "path 'grub.cfg' is not valid" error.