ludo@HIDDEN (Ludovic Courtès)
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 15 May 2018 09:21:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 15 05:21:10 2018 Received: from localhost ([127.0.0.1]:34986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fIW8s-0000Kf-I1 for submit <at> debbugs.gnu.org; Tue, 15 May 2018 05:21:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1fIW8q-0000KT-VV for 30879 <at> debbugs.gnu.org; Tue, 15 May 2018 05:21:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1fIW8h-0002hY-MT for 30879 <at> debbugs.gnu.org; Tue, 15 May 2018 05:21:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1fIW8h-0002h9-JN; Tue, 15 May 2018 05:20:59 -0400 Received: from [193.50.110.240] (port=60362 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1fIW8g-0000cz-SV; Tue, 15 May 2018 05:20:59 -0400 From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eric Bavier <bavier@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> <20180321211403.GO105827@HIDDEN> <87r2oddo9l.fsf@HIDDEN> <20180322144538.GP105827@HIDDEN> Date: Tue, 15 May 2018 11:20:56 +0200 In-Reply-To: <20180322144538.GP105827@HIDDEN> (Eric Bavier's message of "Thu, 22 Mar 2018 09:45:38 -0500") Message-ID: <87wow5i8av.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) Hello Eric, Sorry for the late reply. Eric Bavier <bavier@HIDDEN> skribis: > On Thu, Mar 22, 2018 at 12:04:06AM +0100, Ludovic Court=C3=A8s wrote: >> Eric Bavier <bavier@HIDDEN> skribis: >>=20 >> [...] >>=20 >> > 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 argu= ment in position 1 (expecting struct): (#<<service> type: #<service-type lo= gin ... [...] > Oh, so it loks like .go files from the system-installed guix are being > picked up: > > 53692 openat(AT_FDCWD, "/usr/local/lib/guile/2.0/site-ccache/gnu/system.g= o", O_RDONLY|O_CLOEXEC) =3D 10 > > I hadn't expected that, but I suppose it makes sense. Running make > under ./pre-inst-env does not help. > > We should probably find a way to prevent this in general, right? It seems that the problem here is that both Guile and Guix were installed with --prefix=3D/usr/local. Guile contains by default $prefix/lib/guile/2.0/site-ccache in its %load-compiled-path. Thus, it will always find the .go files of that Guix that=E2=80=99s installed in the same prefix. > We shouldn't be loading guix modules from outside the source tree > during build. In general we can (and do: see the =E2=80=98make-go=E2=80=99 target and see =E2=80=98pre-inst-env=E2=80=99), but in this case we can=E2=80=99t really p= revent it because $prefix/lib/=E2=80=A6 is in the default search path of Guile, which is admittedly problematic. Maybe we should just forbid install Guix in the same prefix as Guile, and detect that at configure time. WDYT? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.ludo@HIDDEN (Ludovic Courtès)
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 11 Apr 2018 18:42:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 11 14:42:24 2018 Received: from localhost ([127.0.0.1]:46485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f6KhM-0003T0-J3 for submit <at> debbugs.gnu.org; Wed, 11 Apr 2018 14:42:24 -0400 Received: from esa1.cray.iphmx.com ([68.232.142.33]:51126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=63262af5e=bavier@HIDDEN>) id 1f6KhK-0003Sn-TB for 30879 <at> debbugs.gnu.org; Wed, 11 Apr 2018 14:42:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1523472915; x=1555008915; h=date:from:to:subject:message-id:mime-version; bh=Yhq37v04N0//nVLx/D2FOZVhZJmOXPjT4xEIWAvL8d8=; b=TAJY0SOtsBEISlHTuC6uvAfh+F0P/2wfovs+IZiX0d1Q3vk9eRBY7C72 t/YxJ0P0ZXgkVYGt0r7Qnwy2eEdPbTxRou6JbbPMKy+6H4syEOUIRZLp8 Cxb8r9seGXCWwJfaPf57CnWxoj0KPXXCsTVbyTvOvXID4ZMQQJiSxgbuY Q=; X-IronPort-AV: E=Sophos;i="5.48,437,1517875200"; d="scan'208";a="19232774" X-Cray-OBMMKR: 1433258124 19232774 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa1.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Apr 2018 19:55:05 +0100 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w3BIgFuV020804 for <30879 <at> debbugs.gnu.org>; Wed, 11 Apr 2018 11:42:16 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id 77D39ABF68; Wed, 11 Apr 2018 13:42:15 -0500 (CDT) Date: Wed, 11 Apr 2018 13:42:15 -0500 From: Eric Bavier <bavier@HIDDEN> To: 30879 <at> debbugs.gnu.org Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180411184215.GE105827@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30879 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) As a workaround, I temporarily uninstalled Guix from the system. This allowed compilation from my git checkout to succeed. -- Eric Bavier, Scientific Libraries, Cray Inc.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 29 Mar 2018 17:06:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 29 13:06:57 2018 Received: from localhost ([127.0.0.1]:58930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f1b0r-0007S3-It for submit <at> debbugs.gnu.org; Thu, 29 Mar 2018 13:06:57 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:43326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=6191fd5cc=bavier@HIDDEN>) id 1f1b0m-0007Ri-NQ for 30879 <at> debbugs.gnu.org; Thu, 29 Mar 2018 13:06:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1522343212; x=1553879212; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=a/64w/kWwC0misuvxNHVYqYyPtqBMOmtIL0dXZJ2Hek=; b=kSsZ0lYGnSPfnqo2YUqg5qfYDDngT3oOjUMwLRhkvfClsuZmB4pKv+1l JHF5eQuU7/TWYlySA20XaIy4l1T1RnbtnQYEO8g8hEX4Ddg0HKo+zqemV 7eHlcwQT9AiJAcdIt82vDrfhbzxk+Y5+bgXySVfBo6ewTRvuJIBYuitIi o=; X-IronPort-AV: E=Sophos;i="5.48,376,1517875200"; d="scan'208";a="18734155" X-Cray-OBMMKR: 1433258124 18734155 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2018 18:06:46 +0100 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2TH6jwO030733; Thu, 29 Mar 2018 10:06:45 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id 41558ABF6B; Thu, 29 Mar 2018 12:06:45 -0500 (CDT) Date: Thu, 29 Mar 2018 12:06:45 -0500 From: Eric Bavier <bavier@HIDDEN> To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180329170645.GQ105827@HIDDEN> References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> <20180321211403.GO105827@HIDDEN> <87r2oddo9l.fsf@HIDDEN> <20180322144538.GP105827@HIDDEN> <878takgk1z.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878takgk1z.fsf@HIDDEN> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Thu, Mar 22, 2018 at 05:19:04PM +0100, Ludovic Courtès wrote: > Hello, > > Eric Bavier <bavier@HIDDEN> skribis: > > > Oh, so it loks like .go files from the system-installed guix are being > > picked up: > > > > 53692 openat(AT_FDCWD, "/usr/local/lib/guile/2.0/site-ccache/gnu/system.go", O_RDONLY|O_CLOEXEC) = 10 > > > > I hadn't expected that, but I suppose it makes sense. Running make > > under ./pre-inst-env does not help. > > From my Guix build and source tree, I see this: > > --8<---------------cut here---------------start------------->8--- > $ rm gnu/system.go > $ ./pre-inst-env strace -o log guile --no-auto-compile -c '(use-modules (gnu system))' > ;;; note: source file /home/ludo/src/guix/gnu/system.scm > ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/system.go > ;;; note: source file /home/ludo/src/guix/gnu/system.scm > ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/system.go > ;;; note: source file /home/ludo/src/guix/gnu/system.scm > ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/site-ccache/gnu/system.go > $ grep open.*gnu/system.go log > $ echo $? > 1 > --8<---------------cut here---------------end--------------->8--- > > Don’t you get a similar message? No, I get --8<---------------cut here---------------start------------->8--- $ grep open.*gnu/system.go log openat(AT_FDCWD, "/usr/local/lib/guile/2.0/site-ccache/gnu/system.go", O_RDONLY|O_CLOEXEC) = 5 $ echo $? 0 --8<---------------cut here---------------start------------->8--- -- Eric Bavier, Scientific Libraries, Cray Inc.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 22 Mar 2018 16:19:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 22 12:19:09 2018 Received: from localhost ([127.0.0.1]:48066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ez2vl-0007aa-2W for submit <at> debbugs.gnu.org; Thu, 22 Mar 2018 12:19:09 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:34452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1ez2vj-0007aT-R9 for 30879 <at> debbugs.gnu.org; Thu, 22 Mar 2018 12:19:08 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AA92612B29; Thu, 22 Mar 2018 17:19:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v6Fo8eZyQZ9u; Thu, 22 Mar 2018 17:19:05 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 052F412B24; Thu, 22 Mar 2018 17:19:04 +0100 (CET) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eric Bavier <bavier@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> <20180321211403.GO105827@HIDDEN> <87r2oddo9l.fsf@HIDDEN> <20180322144538.GP105827@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Germinal an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 22 Mar 2018 17:19:04 +0100 In-Reply-To: <20180322144538.GP105827@HIDDEN> (Eric Bavier's message of "Thu, 22 Mar 2018 09:45:38 -0500") Message-ID: <878takgk1z.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Hello, Eric Bavier <bavier@HIDDEN> skribis: > Oh, so it loks like .go files from the system-installed guix are being > picked up: > > 53692 openat(AT_FDCWD, "/usr/local/lib/guile/2.0/site-ccache/gnu/system.g= o", O_RDONLY|O_CLOEXEC) =3D 10 > > I hadn't expected that, but I suppose it makes sense. Running make > under ./pre-inst-env does not help. From my Guix build and source tree, I see this: --8<---------------cut here---------------start------------->8--- $ rm gnu/system.go $ ./pre-inst-env strace -o log guile --no-auto-compile -c '(use-modules (g= nu system))' ;;; note: source file /home/ludo/src/guix/gnu/system.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/system.go ;;; note: source file /home/ludo/src/guix/gnu/system.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/system.go ;;; note: source file /home/ludo/src/guix/gnu/system.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/system.go $ grep open.*gnu/system.go log $ echo $? 1 --8<---------------cut here---------------end--------------->8--- Don=E2=80=99t you get a similar message? Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 22 Mar 2018 14:45:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 22 10:45:47 2018 Received: from localhost ([127.0.0.1]:47988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ez1TO-0003Sd-Rk for submit <at> debbugs.gnu.org; Thu, 22 Mar 2018 10:45:47 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:14593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=612308406=bavier@HIDDEN>) id 1ez1TN-0003SO-Uo for 30879 <at> debbugs.gnu.org; Thu, 22 Mar 2018 10:45:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1521729945; x=1553265945; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=vudAmfNQiJ1BGl0WxL4JvGsxJTAaHCweG+A8QzGdeag=; b=j06hI0YkTwy4+ttKXWfpcwz75Hrg+Al/w7R0/SmcRKh+KukPtHWYfOrp 0GAfd/e8NcPv3pz66eIZdZOlNUMcvVslOnC5jMta1P4FfIcUtSj1zs9d+ rAn0qlFUWfzfCiY5hpO+i86idjMhRgUecfhxr9Y09w/g/tLKR4mkAVaTU Y=; X-IronPort-AV: E=Sophos;i="5.48,345,1517875200"; d="scan'208";a="18606716" X-Cray-OBMMKR: 1433258124 18606716 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Mar 2018 14:45:39 +0000 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2MEjcA4001552; Thu, 22 Mar 2018 07:45:39 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id 7CE1AABF3B; Thu, 22 Mar 2018 09:45:38 -0500 (CDT) Date: Thu, 22 Mar 2018 09:45:38 -0500 From: Eric Bavier <bavier@HIDDEN> To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180322144538.GP105827@HIDDEN> References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> <20180321211403.GO105827@HIDDEN> <87r2oddo9l.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r2oddo9l.fsf@HIDDEN> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Thu, Mar 22, 2018 at 12:04:06AM +0100, Ludovic Courts wrote: > Eric Bavier <bavier@HIDDEN> skribis: > > [...] > > > 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): (#<<service> type: #<service-type login ... > > This looks like another record issue: the code is accessing the > `services' field instead of the `name-service-switch' field, which is > right next to it. > > So it looks like there are still stale .go files somewhere being picked > up. This time it would mean that nss.go is up-to-date and system.go is > stale, since nss.go assumes an offset for `name-service-switch' that is > +1 compared to that of system.go. > > Could you maybe try: > > rm -rf ~/.cache/guile > make clean-go > strace -f -o log make > > and check in `log' whether .go files outside of the build tree are being > used? Oh, so it loks like .go files from the system-installed guix are being picked up: 53692 openat(AT_FDCWD, "/usr/local/lib/guile/2.0/site-ccache/gnu/system.go", O_RDONLY|O_CLOEXEC) = 10 I hadn't expected that, but I suppose it makes sense. Running make under ./pre-inst-env does not help. We should probably find a way to prevent this in general, right? We shouldn't be loading guix modules from outside the source tree during build. -- Eric Bavier, Scientific Libraries, Cray Inc.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 21 Mar 2018 23:04:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 21 19:04:12 2018 Received: from localhost ([127.0.0.1]:46392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eymmC-0006Q6-2q for submit <at> debbugs.gnu.org; Wed, 21 Mar 2018 19:04:12 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:55444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1eymm9-0006Px-D7 for 30879 <at> debbugs.gnu.org; Wed, 21 Mar 2018 19:04:10 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3BE9D1298C; Thu, 22 Mar 2018 00:04:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lkMMAPRC52YT; Thu, 22 Mar 2018 00:04:07 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 36F3412993; Thu, 22 Mar 2018 00:04:07 +0100 (CET) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eric Bavier <bavier@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> <20180321211403.GO105827@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Germinal an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 22 Mar 2018 00:04:06 +0100 Message-ID: <87r2oddo9l.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Eric Bavier <bavier@HIDDEN> skribis: [...] > 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): (#<<service> type: #<service-type login ... This looks like another record issue: the code is accessing the `services' field instead of the `name-service-switch' field, which is right next to it. So it looks like there are still stale .go files somewhere being picked up. This time it would mean that nss.go is up-to-date and system.go is stale, since nss.go assumes an offset for `name-service-switch' that is +1 compared to that of system.go. Could you maybe try: rm -rf ~/.cache/guile make clean-go strace -f -o log make and check in `log' whether .go files outside of the build tree are being used? Thanks, Ludo'.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 21 Mar 2018 21:14:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 21 17:14:12 2018 Received: from localhost ([127.0.0.1]:46335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eyl3k-0003tv-BA for submit <at> debbugs.gnu.org; Wed, 21 Mar 2018 17:14:12 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:10840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=611b4d127=bavier@HIDDEN>) id 1eyl3j-0003ti-18 for 30879 <at> debbugs.gnu.org; Wed, 21 Mar 2018 17:14:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1521666851; x=1553202851; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=zbIync2v+RZsyBpZFdOcgIYQVduao3mr3ZUJV+YPj7w=; b=Yu2KxPL11mCDDZeSq+PZWM1U+gzMQWkw16X1DClX6NGs5qrS6oDuX/ce QJVjqsk1OI29/Tsh/camgBsFMzDYZ1bhYT9yHZ/xNzAyrXlUOBzIPJF+M yEaSquT7rhqfnDjGSt1fZj9oD2dmfQP9TAJMqalrw7E8B/1O2IYGAw3ix o=; X-IronPort-AV: E=Sophos;i="5.48,341,1517875200"; d="scan'208";a="18593202" X-Cray-OBMMKR: 1433258124 18593202 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Mar 2018 21:14:04 +0000 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2LLE3td007964; Wed, 21 Mar 2018 14:14:04 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id 9F569ABF3D; Wed, 21 Mar 2018 16:14:03 -0500 (CDT) Date: Wed, 21 Mar 2018 16:14:03 -0500 From: Eric Bavier <bavier@HIDDEN> To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180321211403.GO105827@HIDDEN> References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> <87y3ildttr.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87y3ildttr.fsf@HIDDEN> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Wed, Mar 21, 2018 at 10:04:00PM +0100, Ludovic Courtès wrote: > Eric Bavier <bavier@HIDDEN> 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 <operating-system> > >> 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 #<procedure 2998d7c0 at ice-9/boot-9.scm:4084:3 ()>] 4091: 17 [#<procedure 2998d7c0 at ice-9/boot-9.scm:4084:3 ()>] 1734: 16 [%start-stack load-stack ...] 1739: 15 [#<procedure 299b26c0 ()>] 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 [#<procedure 298f2200 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...] 3101: 9 [try-module-autoload (gnu tests base) #f] 2412: 8 [save-module-excursion #<procedure 30cd0ed0 at ice-9/boot-9.scm:3102:17 ()>] 3121: 7 [#<procedure 30cd0ed0 at ice-9/boot-9.scm:3102:17 ()>] In unknown file: ?: 6 [primitive-load-path "gnu/tests/base" ...] In gnu/tests/base.scm: 390: 5 [#<procedure 30cdae40 ()>] 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): (#<<service> type: #<service-type login ... ``` -- Eric Bavier, Scientific Libraries, Cray Inc.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 21 Mar 2018 21:04:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 21 17:04:05 2018 Received: from localhost ([127.0.0.1]:46326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eyktw-0003fx-W2 for submit <at> debbugs.gnu.org; Wed, 21 Mar 2018 17:04:05 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:54882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1eyktv-0003fp-Lw for 30879 <at> debbugs.gnu.org; Wed, 21 Mar 2018 17:04:04 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2F03F12966; Wed, 21 Mar 2018 22:04:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZzOF-4mAd4Xs; Wed, 21 Mar 2018 22:04:01 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 02C6912962; Wed, 21 Mar 2018 22:04:00 +0100 (CET) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eric Bavier <bavier@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> <20180321151642.GN105827@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 Germinal an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 21 Mar 2018 22:04:00 +0100 In-Reply-To: <20180321151642.GN105827@HIDDEN> (Eric Bavier's message of "Wed, 21 Mar 2018 10:16:42 -0500") Message-ID: <87y3ildttr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Eric Bavier <bavier@HIDDEN> skribis: > On Wed, Mar 21, 2018 at 12:12:02AM +0100, Ludovic Court=C3=A8s wrote: > >> That sounds a lot like regular ABI breakage: a new <operating-system> >> field was added but gnu/tests/base.go wasn=E2=80=99t rebuilt, and thus w= as >> expecting the previous struct layout. >>=20 >> Does =E2=80=9Crm gnu/tests/base.go && make=E2=80=9D 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 =E2=80=9Crm -rf ~/.cache/guile=E2=80=9D? One thing that could be an issue is that (gnu system install) loads =E2=80=98examples/bare-bones.tmpl=E2=80=99. Thus =E2=80=98bare-bones.tmpl.= go=E2=80=99 ends up in ~/.cache/guile and could be out of sync. Thanks, Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 21 Mar 2018 15:16:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 21 11:16:55 2018 Received: from localhost ([127.0.0.1]:46062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eyfTz-0008Sj-07 for submit <at> debbugs.gnu.org; Wed, 21 Mar 2018 11:16:55 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:23903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=611b4d127=bavier@HIDDEN>) id 1eyfTw-0008SU-PT for 30879 <at> debbugs.gnu.org; Wed, 21 Mar 2018 11:16:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1521645412; x=1553181412; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=S51/M3avlcWd4Tg3mdNDfCPwaknmkJQjSgOhBr4fSsQ=; b=rJojW1Jgx3bm9aK4FKBKi0a7TaDRWL3yPDC/c3t4m1N9tZ1r+5gIeLan Td+kDDyM2ezjNTusEoJhJJg4XND+S0+qXfNXpFKhBbxrcAozQfvuZ3kza PVvI0/hRR6okUOKoh9zVlMBREbmbZTCDFMM+XIsHgyneNepKqSAW7SB4x M=; X-IronPort-AV: E=Sophos;i="5.48,340,1517875200"; d="scan'208";a="18584619" X-Cray-OBMMKR: 1433258124 18584619 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Mar 2018 15:16:44 +0000 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2LFGhGA029065; Wed, 21 Mar 2018 08:16:43 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id F2215ABF3B; Wed, 21 Mar 2018 10:16:42 -0500 (CDT) Date: Wed, 21 Mar 2018 10:16:42 -0500 From: Eric Bavier <bavier@HIDDEN> To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180321151642.GN105827@HIDDEN> References: <20180320154302.GL105827@HIDDEN> <877eq6ibp9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877eq6ibp9.fsf@HIDDEN> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) On Wed, Mar 21, 2018 at 12:12:02AM +0100, Ludovic Courtès wrote: > That sounds a lot like regular ABI breakage: a new <operating-system> > 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. -- Eric Bavier, Scientific Libraries, Cray Inc.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at 30879) by debbugs.gnu.org; 20 Mar 2018 23:12:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 20 19:12:06 2018 Received: from localhost ([127.0.0.1]:44388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eyQQH-0004oA-Tb for submit <at> debbugs.gnu.org; Tue, 20 Mar 2018 19:12:06 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1eyQQG-0004o3-Tr for 30879 <at> debbugs.gnu.org; Tue, 20 Mar 2018 19:12:05 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7023412723; Wed, 21 Mar 2018 00:12:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9M14pVTUBU4K; Wed, 21 Mar 2018 00:12:03 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5AE4212721; Wed, 21 Mar 2018 00:12:03 +0100 (CET) From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eric Bavier <bavier@HIDDEN> Subject: Re: bug#30879: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization References: <20180320154302.GL105827@HIDDEN> Date: Wed, 21 Mar 2018 00:12:02 +0100 In-Reply-To: <20180320154302.GL105827@HIDDEN> (Eric Bavier's message of "Tue, 20 Mar 2018 10:43:02 -0500") Message-ID: <877eq6ibp9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30879 Cc: 30879 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Hello Eric, Eric Bavier <bavier@HIDDEN> skribis: > scheme@(guile-user)> (@@ (gnu tests base) %simple-os) > $1 =3D #<<operating-system> > kernel: #<package linux-libre@HIDDEN ...> > kernel-arguments: () > bootloader: #<<bootloader-configuration> bootloader: ...> > initrd: #<procedure base-initrd ...> > initrd-modules: () > firmware: "komputilo" > host-name: #f > hosts-file: () > mapped-devices: (#<<file-system> device: "my-root" ...> #<<file-sy= stem> ...> ...) > file-systems: () > swap-devices: (#<<user-account> 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 <operating-system> 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.
bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 20 Mar 2018 15:43:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 20 11:43:22 2018 Received: from localhost ([127.0.0.1]:44005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eyJQ1-000523-SK for submit <at> debbugs.gnu.org; Tue, 20 Mar 2018 11:43:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJQ0-00051r-6y for submit <at> debbugs.gnu.org; Tue, 20 Mar 2018 11:43:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJPs-00063B-TI for submit <at> debbugs.gnu.org; Tue, 20 Mar 2018 11:43:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJPs-00062W-M4 for submit <at> debbugs.gnu.org; Tue, 20 Mar 2018 11:43:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJPq-000895-Bk for bug-guix@HIDDEN; Tue, 20 Mar 2018 11:43:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJPm-0005q5-VH for bug-guix@HIDDEN; Tue, 20 Mar 2018 11:43:10 -0400 Received: from esa2.cray.iphmx.com ([68.232.143.164]:27190) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from <prvs=610f656a9=bavier@HIDDEN>) id 1eyJPm-0005ld-DV for bug-guix@HIDDEN; Tue, 20 Mar 2018 11:43:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cray.com; i=@cray.com; q=dns/txt; s=cray1024; t=1521560586; x=1553096586; h=date:from:to:subject:message-id:mime-version; bh=P9Gr/9YUH188qk9WyYdXMT8IodAyLf8vInGDSYmY7yM=; b=Mgx96iTKnQUqdWXnsPTv+Ww+niA8zua1gHLP5OklsWJgR+copcX3ZWQe vp2CGkYLZ/qTHV8cCXrl7TTJizoo10vEnfP0BITcoU4sB3/YwuKeJeJqf kw+eJOvx79Gzy1rTdldS+HWQwGDmkjhZkMX88XGzU1ktNk9jhW016g80i A=; X-IronPort-AV: E=Sophos;i="5.48,336,1517875200"; d="scan'208";a="18561313" X-Cray-OBMMKR: 1433258124 18561313 Received: from cray-smtp-7.cray.com (HELO sealmr01.us.cray.com) ([136.162.66.2]) by esa2.cray.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Mar 2018 15:43:04 +0000 Received: from pe06.us.cray.com (pe06.us.cray.com [172.30.79.74]) by sealmr01.us.cray.com (8.14.3/8.13.8/hubv3-LastChangedRevision: 16250) with ESMTP id w2KFh2UY022897 for <bug-guix@HIDDEN>; Tue, 20 Mar 2018 08:43:03 -0700 Received: by pe06.us.cray.com (Postfix, from userid 30272) id B8DBEABF21; Tue, 20 Mar 2018 10:43:02 -0500 (CDT) Date: Tue, 20 Mar 2018 10:43:02 -0500 From: Eric Bavier <bavier@HIDDEN> To: bug-guix@HIDDEN Subject: Commit bc499b113 broke guix on guile@HIDDEN, improper <operating-system> field initialization Message-ID: <20180320154302.GL105827@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) Hello Guix, On the master branch (5d818b3557cc3b546d5bd0639359c14c7c0ab685), when configured with guile@HIDDEN, I get the following backtrace when running `make`. Backtrace: In ice-9/boot-9.scm: 1739: 19 [#<procedure 34ebc6c0 ()>] In unknown file: ?: 18 [primitive-load "/home/users/bavier/src/guix/./build-aux/compile-all.scm"] In guix/build/compile.scm: 158: 17 [compile-files "." "/home/users/bavier/src/guix" ...] 107: 16 [load-files "." # # ...] In ice-9/boot-9.scm: 2900: 15 [resolve-interface (gnu tests base) #:select ...] 2825: 14 [#<procedure 34dfc200 at ice-9/boot-9.scm:2813:4 (name #:optional autoload version #:key ensure)> # ...] 3101: 13 [try-module-autoload (gnu tests base) #f] 2412: 12 [save-module-excursion #<procedure 35c46750 at ice-9/boot-9.scm:3102:17 ()>] 3121: 11 [#<procedure 35c46750 at ice-9/boot-9.scm:3102:17 ()>] In unknown file: ?: 10 [primitive-load-path "gnu/tests/base" ...] In gnu/tests/base.scm: 390: 9 [#<procedure 38c523a0 ()>] 63: 8 [run-basic-test # # "basic" ...] In ice-9/eval.scm: 387: 7 [eval # #] 387: 6 [eval # #] 411: 5 [eval # #] 387: 4 [eval # #] In unknown file: ?: 3 [filter #<procedure 35c461e0 at ice-9/eval.scm:416:20 (a)> (# # # #)] In ice-9/eval.scm: 411: 2 [eval # #] 411: 1 [eval # #] 387: 0 [eval # #] ice-9/eval.scm:387:11: In procedure eval: ice-9/eval.scm:387:11: In procedure mapped-device-target: Wrong type argument: #<<file-system> device: "my-root" title: label mount-point: "/" type: "ext4" flags: () options: #f mount?: #t needed-for-boot?: #f check?: #t create-mount-point?: #f dependencies: () location: ((line . 209) (column . 24) (filename . "gnu/tests.scm"))> (as an aside: maybe would could postpone compilation of test modules until `make check`). I git bisect'd this failure to commit bc499b113a598c0e7863da9887a4133472985713, which added the 'initrd-modules' field to the (@ (gnu system) <operating-system>) record. The %simple-os from (gnu tests base) seems improperly initialized. In particular, the fields seem to be shifted: scheme@(guile-user)> (@@ (gnu tests base) %simple-os) $1 = #<<operating-system> kernel: #<package linux-libre@HIDDEN ...> kernel-arguments: () bootloader: #<<bootloader-configuration> bootloader: ...> initrd: #<procedure base-initrd ...> initrd-modules: () firmware: "komputilo" host-name: #f hosts-file: () mapped-devices: (#<<file-system> device: "my-root" ...> #<<file-system> ...> ...) file-systems: () swap-devices: (#<<user-account> 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. -- Eric Bavier, Scientific Libraries, Cray Inc.
Eric Bavier <bavier@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#30879
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.