GNU bug report logs - #39301
Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: strypsteen@HIDDEN; dated Sun, 26 Jan 2020 21:44:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 39301 <at> debbugs.gnu.org:


Received: (at 39301) by debbugs.gnu.org; 2 Feb 2020 21:14:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 02 16:14:40 2020
Received: from localhost ([127.0.0.1]:40642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iyMZk-0002vh-J3
	for submit <at> debbugs.gnu.org; Sun, 02 Feb 2020 16:14:40 -0500
Received: from eggs.gnu.org ([209.51.188.92]:41722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iyMZi-0002vU-9X
 for 39301 <at> debbugs.gnu.org; Sun, 02 Feb 2020 16:14:38 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56238)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iyMZd-0001Gr-6j; Sun, 02 Feb 2020 16:14:33 -0500
Received: from [109.190.253.16] (port=33970 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iyMZX-0002wb-BE; Sun, 02 Feb 2020 16:14:33 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: strypsteen@HIDDEN
Subject: Re: bug#39301: imported module (guix build utils) overrides core
 binding `delete'
References: <59c88886464839a973a5d727cdf699b8@HIDDEN>
Date: Sun, 02 Feb 2020 22:14:20 +0100
In-Reply-To: <59c88886464839a973a5d727cdf699b8@HIDDEN>
 (strypsteen@HIDDEN's message of "Sun, 26 Jan 2020 21:35:11 +0100")
Message-ID: <87blqg66ab.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.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-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 39301
Cc: 39301 <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.7 (-)

Hello!

strypsteen@HIDDEN skribis:

> Whenever running "sudo guix system reconfigure /path/to/config.scm I
> get the following warnings:
>
> building
> /gnu/store/vpazjd711byj3jszh7jrk5d8lq51077g-switch-to-system.scm.drv...
> ;;; WARNING: loading compiled file
> /gnu/store/5bd6ywmfcxxa4gvpzg0pdbjwmf24cxkl-module-import-compiled/gnu/bu=
ild/activation.go
> failed:
> ;;; In procedure load-thunk-from-memory: incompatible bytecode kind
> ;;; compiling

[...]

> building
> /gnu/store/alamdi63ns0ahis93jz1x4cndy4w09gf-install-bootloader.scm.drv...
> WARNING: (guile-user): imported module (guix build utils) overrides
> core binding `delete'
> ;;; WARNING: loading compiled file
> /gnu/store/62gvwndkddaq6203mrisshgiv13kkgcd-module-import-compiled/gnu/bu=
ild/bootloader.go
> failed:
> ;;; In procedure load-thunk-from-memory: incompatible bytecode kind
> ;;; compiling
> /gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootl=
oader.scm
> ;;; compiled
> /root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/wamhgn5mhgzf9mgp9gxx3w6j=
n64hw4yc-module-import/gnu/build/bootloader.scm.go
> guix system: bootloader successfully installed on '/boot/efi'
> WARNING: (guile-user): imported module (guix build utils) overrides
> core binding `delete'

All these warnings are harmless and stem from the Guile 2.2/3.0
transition.  Specifically, it comes from the fact that =E2=80=98guix system
reconfigure=E2=80=99 evaluates this code with the host Guile (in this case =
3.0),
whereas the modules are built for 2.2, which is what the Shepherd
depends on.

The culprit is =E2=80=98local-eval=E2=80=99 in (guix scripts system), which=
 simply uses
=E2=80=98primitive-eval=E2=80=99 to evaluate the code, thus disregarding th=
e Guile
version that should be used.

One possibility would be to instead evaluate the expression in a
separate Guile process for the intended Guile version.

I=E2=80=99m not sure it=E2=80=99s worth it though.  The warnings will hopef=
ully
disappear soon when we upgrade everything to 3.0.

Thoughts?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#39301; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to 'Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch' from 'imported module (guix build utils) overrides core binding `delete'' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jan 2020 21:43:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 26 16:43:27 2020
Received: from localhost ([127.0.0.1]:57595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ivpgk-0007Te-Rx
	for submit <at> debbugs.gnu.org; Sun, 26 Jan 2020 16:43:27 -0500
Received: from lists.gnu.org ([209.51.188.17]:41751)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <strypsteen@HIDDEN>) id 1ivocs-0005oj-VT
 for submit <at> debbugs.gnu.org; Sun, 26 Jan 2020 15:35:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:42241)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <strypsteen@HIDDEN>) id 1ivocr-0006Kq-9D
 for bug-guix@HIDDEN; Sun, 26 Jan 2020 15:35:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <strypsteen@HIDDEN>) id 1ivocp-0005bF-K1
 for bug-guix@HIDDEN; Sun, 26 Jan 2020 15:35:20 -0500
Received: from mout01.posteo.de ([185.67.36.65]:43219)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <strypsteen@HIDDEN>)
 id 1ivoco-0005Wr-37
 for bug-guix@HIDDEN; Sun, 26 Jan 2020 15:35:19 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 560FA160060
 for <bug-guix@HIDDEN>; Sun, 26 Jan 2020 21:35:12 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1580070912; bh=NWzhh4shZ+r2KKmDSPqj2Xj0eixsVH7QXgUWcofHccI=;
 h=Date:From:To:Subject:From;
 b=iGSRKswSuacZhwiujtu061mKvaZ9S1eE5RX/AWBTZYB+wO81qtJ7RguKAer0dB9Oe
 YuttzoZh+oR9DkTABcm/393gGDYeqfg5QBPqWgNovnzvkXBMIUNPwyT4j9hFWY6+EX
 8pQiS+oNduz4sEOFGsKADYbmC1SR1qUYpXmiSYsXVwt59JN2cBnQcv1RZwq8E1nzbP
 hWCThHxq1sqNSOgVuDAQnkCxLudXrSx3QhdAZYH8Url0ntNsiIFG/Yu34PmzLdF1B+
 2maD5EzxXiQtMsmmIiarluqfI8Td5nyzOj37Kkm/f+kpiuqr/hTbgt+gT4zNDCSV/z
 kDhHcKXvWyBBA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 485Pl36Rnyz6tm8
 for <bug-guix@HIDDEN>; Sun, 26 Jan 2020 21:35:11 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Sun, 26 Jan 2020 21:35:11 +0100
From: strypsteen@HIDDEN
To: bug-guix@HIDDEN
Subject: imported module (guix build utils) overrides core binding `delete'
Message-ID: <59c88886464839a973a5d727cdf699b8@HIDDEN>
X-Sender: strypsteen@HIDDEN
User-Agent: Posteo Webmail
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 185.67.36.65
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 26 Jan 2020 16:43:26 -0500
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 (/)

Whenever running "sudo guix system reconfigure /path/to/config.scm I get 
the following warnings:

building 
/gnu/store/vpazjd711byj3jszh7jrk5d8lq51077g-switch-to-system.scm.drv...
;;; WARNING: loading compiled file 
/gnu/store/5bd6ywmfcxxa4gvpzg0pdbjwmf24cxkl-module-import-compiled/gnu/build/activation.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/activation.scm
;;; WARNING: loading compiled file 
/gnu/store/5bd6ywmfcxxa4gvpzg0pdbjwmf24cxkl-module-import-compiled/gnu/build/accounts.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/accounts.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/accounts.scm.go
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/activation.scm.go
making '/gnu/store/iym6z6hkmdc1x0l1vh4bm08vmsiics2p-system' the current 
system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/8g5f1kbidns7jrqaxqjldkdldl78zv0n-etc...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 
100.0%
building 
/gnu/store/pxmi01rf7rpcbgx2j041k01xsr9grm1c-module-import-compiled.drv...
building 
/gnu/store/alamdi63ns0ahis93jz1x4cndy4w09gf-install-bootloader.scm.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
;;; WARNING: loading compiled file 
/gnu/store/62gvwndkddaq6203mrisshgiv13kkgcd-module-import-compiled/gnu/build/bootloader.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm.go
guix system: bootloader successfully installed on '/boot/efi'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'




Acknowledgement sent to strypsteen@HIDDEN:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#39301; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 2 Feb 2020 21:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.