GNU bug report logs - #34679
--load-path does not work with guix environment

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; Reported by: Hartmut Goebel <h.goebel@HIDDEN>; Keywords: unreproducible; dated Wed, 27 Feb 2019 20:53:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) unreproducible. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 34679) by debbugs.gnu.org; 13 Mar 2019 08:35:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 13 04:35:51 2019
Received: from localhost ([127.0.0.1]:41006 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h3zMd-0007Sl-Ax
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2019 04:35:51 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:55026)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1h3zMb-0007SZ-CF
 for 34679 <at> debbugs.gnu.org; Wed, 13 Mar 2019 04:35:49 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 44K4tD0tP3z1r93G;
 Wed, 13 Mar 2019 09:35:47 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 44K4tC605xz1r2HB;
 Wed, 13 Mar 2019 09:35:47 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id LHZHFtH-3471; Wed, 13 Mar 2019 09:35:47 +0100 (CET)
Received: from hermia.goebel-consult.de
 (ppp-83-171-164-238.dynamic.mnet-online.de [83.171.164.238])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS;
 Wed, 13 Mar 2019 09:35:47 +0100 (CET)
Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2])
 by hermia.goebel-consult.de (Postfix) with ESMTP id D0B66600D1;
 Wed, 13 Mar 2019 09:37:53 +0100 (CET)
Subject: Re: bug#34679: --load-path does not work with guix environment
To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= <ludo@HIDDEN>
References: <63426bc6-57ef-0468-fa6d-5776deb92389@HIDDEN>
 <87wolcgkso.fsf@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Openpgp: preference=signencrypt
Organization: crazy-compilers.com
Message-ID: <d99e2e9f-a134-4060-21fd-5750e71239f8@HIDDEN>
Date: Wed, 13 Mar 2019 09:35:46 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.1
MIME-Version: 1.0
In-Reply-To: <87wolcgkso.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: de-DE
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34679
Cc: 34679 <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 (-)

Am 06.03.19 um 15:05 schrieb Ludovic Courtès:
> Could you try to reduce this to a simpler test case and/or post the
> files to test it?

I will do thus, but in two or three weeks time only.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Information forwarded to bug-guix@HIDDEN:
bug#34679; Package guix. Full text available.

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


Received: (at 34679) by debbugs.gnu.org; 6 Mar 2019 14:05:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 06 09:05:49 2019
Received: from localhost ([127.0.0.1]:33853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h1XB6-0005nx-Mw
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2019 09:05:48 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:59062)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1h1XB4-0005nk-NH
 for 34679 <at> debbugs.gnu.org; Wed, 06 Mar 2019 09:05:47 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id C693FA9B5;
 Wed,  6 Mar 2019 15:05:44 +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 3jfIdEShY88F; Wed,  6 Mar 2019 15:05:44 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id E31B8A939;
 Wed,  6 Mar 2019 15:05:43 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Hartmut Goebel <h.goebel@HIDDEN>
Subject: Re: bug#34679: --load-path does not work with guix environment
References: <63426bc6-57ef-0468-fa6d-5776deb92389@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 =?utf-8?Q?Vent=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=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, 06 Mar 2019 15:05:43 +0100
In-Reply-To: <63426bc6-57ef-0468-fa6d-5776deb92389@HIDDEN>
 (Hartmut Goebel's message of "Wed, 27 Feb 2019 21:52:14 +0100")
Message-ID: <87wolcgkso.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (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: 34679
Cc: 34679 <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.0 (/)

Hi,

Hartmut Goebel <h.goebel@HIDDEN> skribis:

> guix environment still installs gnunet 0.10.1 (which is defined in guix
> 0.16):
>
> $ guix environment --load-path=3D$PWD/contrib/guix --ad-hoc gnunet
> [guix]$ realpath $(which gnunet-arm)
> /gnu/store/...-gnunet-0.10.1/bin/gnunet-arm
>
>
> Using GUIX_PACKAGE_PATH the correct version of gnunet is installed into
> the environment:
>
> $ export GUIX_PACKAGE_PATH=3D$PWD/contrib/guix
> $ guix environment --ad-hoc gnunet
> [guix]$ realpath $(which gnunet-arm)
> /gnu/store/...-gnunet-v0.11.0pre66-1108-g8bb29d2fb/bin/gnunet-arm

I tried to simulate the issue but I can=E2=80=99t seem to reproduce it; tha=
t is,
with -L, I do get the =E2=80=9Cv0.11.0pre66-1108-g8bb29d2fb=E2=80=9D versio=
n.

Could you try to reduce this to a simpler test case and/or post the
files to test it?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#34679; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 27 Feb 2019 20:52:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 27 15:52:43 2019
Received: from localhost ([127.0.0.1]:54416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gz6C3-0004c9-LZ
	for submit <at> debbugs.gnu.org; Wed, 27 Feb 2019 15:52:43 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56458)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1gz6C2-0004bx-2x
 for submit <at> debbugs.gnu.org; Wed, 27 Feb 2019 15:52:42 -0500
Received: from lists.gnu.org ([209.51.188.17]:52047)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <h.goebel@HIDDEN>)
 id 1gz6Bo-0007EM-G5
 for submit <at> debbugs.gnu.org; Wed, 27 Feb 2019 15:52:31 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42587)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1gz6Bn-0008WL-Ht
 for bug-guix@HIDDEN; Wed, 27 Feb 2019 15:52:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <h.goebel@HIDDEN>) id 1gz6Bl-0007Br-0X
 for bug-guix@HIDDEN; Wed, 27 Feb 2019 15:52:26 -0500
Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:37418)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <h.goebel@HIDDEN>)
 id 1gz6Bj-0006tZ-4I
 for bug-guix@HIDDEN; Wed, 27 Feb 2019 15:52:24 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 448ntS0YCnz1qwfP
 for <bug-guix@HIDDEN>; Wed, 27 Feb 2019 21:52:15 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 448ntR6tltz1qsww
 for <bug-guix@HIDDEN>; Wed, 27 Feb 2019 21:52:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024) with ESMTP id ePwo3Nuo9E6g for <bug-guix@HIDDEN>;
 Wed, 27 Feb 2019 21:52:15 +0100 (CET)
Received: from hermia.goebel-consult.de
 (ppp-83-171-170-220.dynamic.mnet-online.de [83.171.170.220])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS
 for <bug-guix@HIDDEN>; Wed, 27 Feb 2019 21:52:14 +0100 (CET)
Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de
 [192.168.110.7])
 by hermia.goebel-consult.de (Postfix) with ESMTP id 1D81C600DE
 for <bug-guix@HIDDEN>; Wed, 27 Feb 2019 21:54:10 +0100 (CET)
To: bug-guix <bug-guix@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Subject: --load-path does not work with guix environment
Openpgp: preference=signencrypt
Organization: crazy-compilers.com
Message-ID: <63426bc6-57ef-0468-fa6d-5776deb92389@HIDDEN>
Date: Wed, 27 Feb 2019 21:52:14 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.5.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
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:a60:0:28:0:1:25:1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.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: -1.0 (-)

According to the manual:

|--load-path=3Ddirectory|

    Add directory *to the front* of the package module search path.

This does not work for guix environment (guix 0.16.0-3.6ddc63e):

Prepare to reproduce

$ git clone https://gnunet.org/git/gnunet.git
$ cd gnunet


guix package honors --load-path:

$ guix package --load-path=3D$PWD/contrib/guix -A gnunet

[...]
gnunet=C2=A0 v0.11.0pre66-1108-g8bb29d2fb=C2=A0=C2=A0=C2=A0 out=C2=A0=C2=A0=
=C2=A0=C2=A0
.../contrib/guix/gnu/packages/gnunet.scm:274:2
[...]


guix environment still installs gnunet 0.10.1 (which is defined in guix
0.16):

$ guix environment --load-path=3D$PWD/contrib/guix --ad-hoc gnunet
[guix]$ realpath $(which gnunet-arm)
/gnu/store/...-gnunet-0.10.1/bin/gnunet-arm


Using GUIX_PACKAGE_PATH the correct version of gnunet is installed into
the environment:

$ export GUIX_PACKAGE_PATH=3D$PWD/contrib/guix
$ guix environment --ad-hoc gnunet
[guix]$ realpath $(which gnunet-arm)
/gnu/store/...-gnunet-v0.11.0pre66-1108-g8bb29d2fb/bin/gnunet-arm


--=20
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Acknowledgement sent to Hartmut Goebel <h.goebel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#34679; 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: Mon, 18 Mar 2019 10:00:01 UTC

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