From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: bug#30879: Commit bc499b113 broke guix on guile@2.0.14, improper field initialization Date: Wed, 21 Mar 2018 16:14:03 -0500 Message-ID: <20180321211403.GO105827@pe06.us.cray.com> References: <20180320154302.GL105827@pe06.us.cray.com> <877eq6ibp9.fsf@gnu.org> <20180321151642.GN105827@pe06.us.cray.com> <87y3ildttr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyl4c-0000qv-LL for bug-guix@gnu.org; Wed, 21 Mar 2018 17:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyl4Y-0005dk-IG for bug-guix@gnu.org; Wed, 21 Mar 2018 17:15:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyl4Y-0005dX-DU for bug-guix@gnu.org; Wed, 21 Mar 2018 17:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyl4Y-0003vF-49 for bug-guix@gnu.org; Wed, 21 Mar 2018 17:15:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87y3ildttr.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" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30879@debbugs.gnu.org On Wed, Mar 21, 2018 at 10:04:00PM +0100, Ludovic Courtès wrote: > Eric Bavier skribis: > > > On Wed, Mar 21, 2018 at 12:12:02AM +0100, Ludovic Courtès wrote: > > > >> That sounds a lot like regular ABI breakage: a new > >> field was added but gnu/tests/base.go wasn’t rebuilt, and thus was > >> expecting the previous struct layout. > >> > >> Does “rm gnu/tests/base.go && make” suffice to fix this issue? > > > > No, it doesn't help. Previously I had been running "make clean-go" > > before each "make. > > > > The error/backtrace is issued when build-aux/compile-all.scm tries to > > load gnu/tests/base.scm, before it even gets to compilation. > > Oh, can you “rm -rf ~/.cache/guile”? "rm -rf ~/.cache/guile && make clean-go && make" resulted in an error, but a slightly different backtrace: ``` LOAD gnu/tests/base.scm Backtrace: In ice-9/eval.scm: 432: 19 [eval # #] In ice-9/boot-9.scm: 2412: 18 [save-module-excursion #] 4091: 17 [#] 1734: 16 [%start-stack load-stack ...] 1739: 15 [#] In unknown file: ?: 14 [primitive-load "/home/users/bavier/src/guix/./build-aux/compile-all.scm"] In guix/build/compile.scm: 158: 13 [compile-files "." "/home/users/bavier/src/guix" ...] 107: 12 [load-files "." # # ...] In ice-9/boot-9.scm: 2900: 11 [resolve-interface (gnu tests base) #:select ...] 2825: 10 [# # ...] 3101: 9 [try-module-autoload (gnu tests base) #f] 2412: 8 [save-module-excursion #] 3121: 7 [#] In unknown file: ?: 6 [primitive-load-path "gnu/tests/base" ...] In gnu/tests/base.scm: 390: 5 [#] 63: 4 [run-basic-test # # "basic" ...] In gnu/system.scm: 501: 3 [operating-system-services # # #f] 476: 2 [essential-services # # #f] 576: 1 [operating-system-etc-service #] In gnu/system/nss.scm: 217: 0 [name-service-switch->string (# # # # ...)] gnu/system/nss.scm:217:19: In procedure name-service-switch->string: gnu/system/nss.scm:217:19: In procedure struct_vtable: Wrong type argument in position 1 (expecting struct): (#< type: #