From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30879: Commit bc499b113 broke guix on guile@2.0.14, improper field initialization Date: Wed, 21 Mar 2018 00:12:02 +0100 Message-ID: <877eq6ibp9.fsf@gnu.org> References: <20180320154302.GL105827@pe06.us.cray.com> 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]:48784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyQRG-0003g1-0W for bug-guix@gnu.org; Tue, 20 Mar 2018 19:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyQRB-0007NN-WF for bug-guix@gnu.org; Tue, 20 Mar 2018 19:13:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyQRB-0007N6-T1 for bug-guix@gnu.org; Tue, 20 Mar 2018 19:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyQRB-0004pK-KG for bug-guix@gnu.org; Tue, 20 Mar 2018 19:13:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180320154302.GL105827@pe06.us.cray.com> (Eric Bavier's message of "Tue, 20 Mar 2018 10:43:02 -0500") 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: Eric Bavier Cc: 30879@debbugs.gnu.org Hello Eric, Eric Bavier skribis: > scheme@(guile-user)> (@@ (gnu tests base) %simple-os) > $1 =3D #< > kernel: # > kernel-arguments: () > bootloader: #< bootloader: ...> > initrd: # > initrd-modules: () > firmware: "komputilo" > host-name: #f > hosts-file: () > mapped-devices: (#< device: "my-root" ...> #< ...> ...) > file-systems: () > swap-devices: (#< name: "alice" ...> ...) > ... > > Notice e.g. the "firmware" field has that value that should be in > "host-name", which has the value "hosts-file" should have, and > "mapped-devices" has the value "file-systems" should have, etc. > > If you explicitely specify the new "initrd-modules" field this commit > added in (@ (gnu tests) %simple-os), then compilation proceeds as > expected. That sounds a lot like regular ABI breakage: a new field was added but gnu/tests/base.go wasn=E2=80=99t rebuilt, and thus was expecting the previous struct layout. Does =E2=80=9Crm gnu/tests/base.go && make=E2=80=9D suffice to fix this iss= ue? Thanks, Ludo=E2=80=99.