unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 23881-done@debbugs.gnu.org, Kooda <kooda@upyum.com>
Subject: bug#23881: System building failure
Date: Sat, 20 Aug 2016 05:07:23 -0400	[thread overview]
Message-ID: <87eg5j4xmc.fsf@netris.org> (raw)
In-Reply-To: <878tx2zwz1.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 15 Jul 2016 18:29:06 +0200")

ludo@gnu.org (Ludovic Courtès) writes:

> Kooda <kooda@upyum.com> skribis:
>
>> Running `guix system build /etc/config.scm` fails with the following error:
>>
>> Backtrace:
[...]
>> In guix/scripts/system.scm:
>>  404: 1 [#<procedure 7a37d50 at guix/scripts/system.scm:390:4 ()>]
>> In unknown file:
>>    ?: 0 [string-append "--root=" ...]
>>
>> ERROR: In procedure string-append:
>> ERROR: In procedure string-append: Wrong type (expecting string): #vu8(160 142 87 186 98 117 78 34 144 229 29 155 52 174 54 61)

Fixed by commit c52bf877e9352cd9f29afb13fd4f7d39ed38f1a0.  I'm closing
this bug, but please re-open it if you believe there's still a problem.

> I cannot reproduce it with current master.

It only happens when one of the *previous* system generations specified
the root fs by UUID.  I guess this was not the case in your tests.

> Unless I’m mistaken, the problem you report was fixed in
> f453f637d5410f4d1e0b3787caa8d34b9b72d7d8 in January.

It turns out there was another place that needed fixing:
'previous-grub-entries' in (guix scripts system).  When the root device
of an older generation is specified by UUID, the root device stored in
${system}/parameters is a bytevector, and 'boot-parameters-root-device'
returns a bytevector.  'system->grub-entry' passes this bytevector to
'string-append' and that's what's happening in the backtrace above.

      Mark

  reply	other threads:[~2016-08-20  9:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01  9:20 bug#23881: System building failure Kooda
2016-07-15 16:29 ` Ludovic Courtès
2016-08-20  9:07   ` Mark H Weaver [this message]
2016-08-21 15:27     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg5j4xmc.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=23881-done@debbugs.gnu.org \
    --cc=kooda@upyum.com \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).