From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#23881: System building failure Date: Sat, 20 Aug 2016 05:07:23 -0400 Message-ID: <87eg5j4xmc.fsf@netris.org> References: <87r3bdbtq6.wl-kooda@upyum.com> <878tx2zwz1.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]:43302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb2H4-0006QS-Po for bug-guix@gnu.org; Sat, 20 Aug 2016 05:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb2H0-0000yK-J9 for bug-guix@gnu.org; Sat, 20 Aug 2016 05:09:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb2H0-0000yE-Fi for bug-guix@gnu.org; Sat, 20 Aug 2016 05:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bb2H0-0004Vr-15 for bug-guix@gnu.org; Sat, 20 Aug 2016 05:09:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: 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") 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" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23881-done@debbugs.gnu.org, Kooda ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Kooda skribis: > >> Running `guix system build /etc/config.scm` fails with the following err= or: >> >> Backtrace: [...] >> In guix/scripts/system.scm: >> 404: 1 [#] >> In unknown file: >> ?: 0 [string-append "--root=3D" ...] >> >> ERROR: In procedure string-append: >> ERROR: In procedure string-append: Wrong type (expecting string): #vu8(1= 60 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=E2=80=99m 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