GNU bug report logs - #25235
Wrapped python programs get native-inputs in PYTHONPATH

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: Marius Bakke <mbakke@HIDDEN>; dated Mon, 19 Dec 2016 23:30:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 25235) by debbugs.gnu.org; 30 Mar 2017 19:08:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 15:08:18 2017
Received: from localhost ([127.0.0.1]:53205 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ctfQg-0002rn-L8
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2017 15:08:18 -0400
Received: from o116.p8.mailjet.com ([87.253.233.116]:56825)
 by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from
 <e01723b7.AEMAIlnS11YAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY3Vef@HIDDEN>)
 id 1ctfQe-0002re-Lh
 for 25235 <at> debbugs.gnu.org; Thu, 30 Mar 2017 15:08:17 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt;
 d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@HIDDEN; s=mailjet;
 h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to:
 references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding;
 bh=zYw9lCeJI0Hmm7eiau4pp9KnQds=;
 b=YHajnAA2KQzZRSl6jFcv/uju9ZcFUtjrNKdUEyJiTYIb89td5LzKPOTjf
 pLj7pa41EsJObO8XOqYmSlrdPzUPlyCeNM+yw/UB2NOEMgPq8hu4zyFlDJzS
 IAfvpqugd04/4CONUlowbjLHMaxCeN6N5f+mGisZbgEc9cMJS/s+8I=
Message-Id: <e01723b7.AEMAIlnS11YAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY3Vef@HIDDEN>
MIME-Version: 1.0
From: Arun Isaac <arunisaac@HIDDEN>
To: 25235 <at> debbugs.gnu.org
Subject: Re: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH
Date: Fri, 31 Mar 2017 00:37:53 +0530
In-reply-to: <87o9wiwzn2.fsf@HIDDEN>
References: <87eg13birp.fsf@HIDDEN>
 <87y3zahf8t.fsf@HIDDEN> <20161226182608.GA20609@jasmine>
 <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@HIDDEN>
 <87o9wiwzn2.fsf@HIDDEN>
X-CSA-Complaints: whitelist-complaints@HIDDEN
X-MJ-Mid: AEMAIlnS11YAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY3VefENX27K-NTeG0Ib8F8zoFLAAFgUc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > “Build-side” modules, which typically live in (guix
   build …), should not > depend on “host-side” modules such as (guix packages).
    That’s because > if we did that, we’d effectively end up importing all
    of Guix on the > build side, but then we’d also have to serialize data
   structures such as > packages to pass them from one side to the other. (I
   hope this makes > sense to you, but if it doesn’t maybe the intro of > <https://gnu.org/s/guix/manual/html_node/G_002dExpressions.html>
    can > shed some light.) [...] 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
                             domains are different
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [87.253.233.116 listed in list.dnswl.org]
  1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
               [Blocked - see <http://www.spamcop.net/bl.shtml?87.253.233.116>]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 RP_MATCHES_RCVD        Envelope sender domain matches handover relay domain
  0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid
X-Debbugs-Envelope-To: 25235
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.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > “Build-side” modules, which typically live in (guix
   build …), should not > depend on “host-side” modules such as (guix packages).
    That’s because > if we did that, we’d effectively end up importing all
    of Guix on the > build side, but then we’d also have to serialize data
   structures such as > packages to pass them from one side to the other. (I
   hope this makes > sense to you, but if it doesn’t maybe the intro of > <https://gnu.org/s/guix/manual/html_node/G_002dExpressions.html>
    can > shed some light.) [...] 
 
 Content analysis details:   (1.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [87.253.233.116 listed in list.dnswl.org]
  1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
               [Blocked - see <http://www.spamcop.net/bl.shtml?87.253.233.116>]
  0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
                             domains are different
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 RP_MATCHES_RCVD        Envelope sender domain matches handover relay domain
  0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid


> “Build-side” modules, which typically live in (guix build …), should not
> depend on “host-side” modules such as (guix packages).  That’s because
> if we did that, we’d effectively end up importing all of Guix on the
> build side, but then we’d also have to serialize data structures such as
> packages to pass them from one side to the other.  (I hope this makes
> sense to you, but if it doesn’t maybe the intro of
> <https://gnu.org/s/guix/manual/html_node/G_002dExpressions.html> can
> shed some light.)

It makes some sense, but I'll read up more.

> So in short, we cannot use ‘package-name’ and
> ‘package-transitive-target-inputs’ in this module.

Ok.

> (Time passes…)
>
> I wasn’t sure how to fix this bug myself so I gave it a try and ended up
> with the patch below, but I haven’t tested in detail.  (You’ll notice
> (guix build-system python) is hard to work with because it doesn’t use
> gexps yet.)
>
> How does it look?

I'm travelling now. I'll get back on Monday and study this patch.




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

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


Received: (at 25235) by debbugs.gnu.org; 30 Mar 2017 15:30:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 30 11:30:41 2017
Received: from localhost ([127.0.0.1]:53085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ctc24-0005nN-Hk
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2017 11:30:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57996)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ctc22-0005nB-UK
 for 25235 <at> debbugs.gnu.org; Thu, 30 Mar 2017 11:30:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1ctc1t-0003Id-2n
 for 25235 <at> debbugs.gnu.org; Thu, 30 Mar 2017 11:30:33 -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,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32948)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1ctc1s-0003IX-VV; Thu, 30 Mar 2017 11:30:29 -0400
Received: from [193.50.110.231] (port=40954 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1ctc1s-0003zy-C2; Thu, 30 Mar 2017 11:30:28 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH
References: <87eg13birp.fsf@HIDDEN>
 <87y3zahf8t.fsf@HIDDEN> <20161226182608.GA20609@jasmine>
 <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 10 Germinal an 225 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-unknown-linux-gnu
Date: Thu, 30 Mar 2017 17:30:25 +0200
In-Reply-To: <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@HIDDEN>
 (Arun Isaac's message of "Wed, 29 Mar 2017 16:57:12 +0530")
Message-ID: <87o9wiwzn2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
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: 25235
Cc: 25235 <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: -5.0 (-----)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,

Arun Isaac <arunisaac@HIDDEN> skribis:

> I'm working on fixing this bug. I have modified
> guix/build/python-build-system.scm for the same. In particular, I have
> added #:use-module (guix packages) because I need the functions
> `package-name' and `package-transitive-target-inputs'. But, when I try
> building any python-build-system package with something like
> "./pre-inst-env guix build scons", I get a ("no code for module" (guix
> packages)) error. What am I missing?
>
> Full backtrace follows:

[...]

> 2954: 4 [define-module* (guix build python-build-system) #:filename ...]
> 2929: 3 [resolve-imports ((# # gnu:) (#) (#) (#) ...)]
> 2870: 2 [resolve-interface (guix packages) #:select ...]
> In unknown file:
>    ?: 1 [scm-error misc-error #f "~A ~S" ("no code for module" (guix pack=
ages)) #f]

=E2=80=9CBuild-side=E2=80=9D modules, which typically live in (guix build =
=E2=80=A6), should not
depend on =E2=80=9Chost-side=E2=80=9D modules such as (guix packages).  Tha=
t=E2=80=99s because
if we did that, we=E2=80=99d effectively end up importing all of Guix on the
build side, but then we=E2=80=99d also have to serialize data structures su=
ch as
packages to pass them from one side to the other.  (I hope this makes
sense to you, but if it doesn=E2=80=99t maybe the intro of
<https://gnu.org/s/guix/manual/html_node/G_002dExpressions.html> can
shed some light.)

So in short, we cannot use =E2=80=98package-name=E2=80=99 and
=E2=80=98package-transitive-target-inputs=E2=80=99 in this module.

(Time passes=E2=80=A6)

I wasn=E2=80=99t sure how to fix this bug myself so I gave it a try and end=
ed up
with the patch below, but I haven=E2=80=99t tested in detail.  (You=E2=80=
=99ll notice
(guix build-system python) is hard to work with because it doesn=E2=80=99t =
use
gexps yet.)

How does it look?

Thanks,
Ludo=E2=80=99.


--=-=-=
Content-Type: text/x-patch; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index 17173f121..a05fd5a79 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -153,7 +153,7 @@ pre-defined variants."
                 #:rest arguments)
   "Return a bag for NAME."
   (define private-keywords
-    '(#:source #:target #:python #:inputs #:native-inputs))
+    '(#:source #:target #:python #:inputs))
=20
   (and (not target)                               ;XXX: no cross-compilati=
on
        (bag
@@ -174,6 +174,9 @@ pre-defined variants."
=20
 (define* (python-build store name inputs
                        #:key
+                       (native-inputs '())
+                       ;; TODO: Something like this:
+                       ;; (disallowed-references native-inputs)
                        (tests? #t)
                        (test-target "test")
                        (use-setuptools? #t)
@@ -189,17 +192,24 @@ pre-defined variants."
                                   (guix build utils))))
   "Build SOURCE using PYTHON, and with INPUTS.  This assumes that SOURCE
 provides a 'setup.py' file as its build system."
+  (define canonicalize-reference
+    (match-lambda
+      (((? derivation? source))
+       (derivation->output-path source))
+      (((? package? package))
+       (derivation->output-path
+        (package-derivation store package system)))
+      ((source)
+       source)
+      (source
+       source)))
+
   (define builder
     `(begin
        (use-modules ,@modules)
        (python-build #:name ,name
-                     #:source ,(match (assoc-ref inputs "source")
-                                 (((? derivation? source))
-                                  (derivation->output-path source))
-                                 ((source)
-                                  source)
-                                 (source
-                                  source))
+                     #:source ,(canonicalize-reference
+                                (assoc-ref inputs "source"))
                      #:configure-flags ,configure-flags
                      #:system ,system
                      #:test-target ,test-target
@@ -209,7 +219,17 @@ provides a 'setup.py' file as its build system."
                      #:outputs %outputs
                      #:search-paths ',(map search-path-specification->sexp
                                            search-paths)
-                     #:inputs %build-inputs)))
+                     #:inputs %build-inputs
+
+                     ;; We call them "native inputs" but there's no
+                     ;; cross-compilation here, so that really means
+                     ;; "build-time-only" inputs, things should not be
+                     ;; run-time dependencies.
+                     #:native-inputs ',(map (match-lambda
+                                              ((name . rest)
+                                               `(,name
+                                                 . ,(canonicalize-referenc=
e rest))))
+                                            native-inputs))))
=20
   (define guile-for-build
     (match guile
@@ -222,6 +242,8 @@ provides a 'setup.py' file as its build system."
=20
   (build-expression->derivation store name builder
                                 #:inputs inputs
+                                ;; TODO:
+                                ;; #:disallowed-references disallowed-refe=
rences
                                 #:system system
                                 #:modules imported-modules
                                 #:outputs outputs
diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-s=
ystem.scm
index dd07986b9..1ca26104b 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright =C2=A9 2013, 2015, 2016 Ludovic Court=C3=A8s <ludo@HIDDEN>
+;;; Copyright =C2=A9 2013, 2015, 2016, 2017 Ludovic Court=C3=A8s <ludo@gnu=
.org>
 ;;; Copyright =C2=A9 2013 Andreas Enge <andreas@HIDDEN>
 ;;; Copyright =C2=A9 2013 Nikita Karetnikov <nikita@HIDDEN>
 ;;; Copyright =C2=A9 2015 Mark H Weaver <mhw@HIDDEN>
@@ -184,7 +184,7 @@ when running checks after installing the package."
                          configure-flags)))
     (call-setuppy "install" params use-setuptools?)))
=20
-(define* (wrap #:key inputs outputs #:allow-other-keys)
+(define* (wrap #:key native-inputs inputs outputs #:allow-other-keys)
   (define (list-of-files dir)
     (map (cut string-append dir "/" <>)
          (or (scandir dir (lambda (f)
@@ -199,14 +199,27 @@ when running checks after installing the package."
                         (string-append dir "/sbin"))))
                 outputs))
=20
+  (define build-time-inputs
+    ;; Built-time-only dependencies.
+    (match native-inputs
+      (((names . directories) ...)
+       directories)))
+
+  (define (build-time-dependency? item)
+    (any (cut string-prefix? <> item)
+         build-time-inputs))
+
+  ;; Wrap binaries such that PYTHONPATH is set appropriately, but remove
+  ;; build-time-only dependencies (aka. #:native-inputs) from the search p=
ath.
   (let* ((out  (assoc-ref outputs "out"))
          (python (assoc-ref inputs "python"))
+         (path (search-path-as-string->list
+                (or (getenv "PYTHONPATH") "")))
          (var `("PYTHONPATH" prefix
                 ,(cons (string-append out "/lib/python"
                                       (get-python-version python)
                                       "/site-packages")
-                       (search-path-as-string->list
-                        (or (getenv "PYTHONPATH") ""))))))
+                       (remove build-time-dependency? path)))))
     (for-each (lambda (dir)
                 (let ((files (list-of-files dir)))
                   (for-each (cut wrap-program <> var)


--=-=-=--




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

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


Received: (at 25235) by debbugs.gnu.org; 29 Mar 2017 11:27:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 29 07:27:24 2017
Received: from localhost ([127.0.0.1]:50196 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ctBl6-00049f-9S
	for submit <at> debbugs.gnu.org; Wed, 29 Mar 2017 07:27:24 -0400
Received: from o129.p9.mailjet.com ([87.253.234.129]:57583)
 by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from
 <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@HIDDEN>)
 id 1ctBl3-00049T-TX
 for 25235 <at> debbugs.gnu.org; Wed, 29 Mar 2017 07:27:22 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt;
 d=bnc3.mailjet.com; i=arunisaac=3Dsystemreboot.net@HIDDEN; s=mailjet;
 h=message-id:mime-version:from:to:subject:date:list-unsubscribe:in-reply-to:
 references:x-csa-complaints:x-mj-mid:content-type:content-transfer-encoding;
 bh=mOP8mZgF8cxkXmCe9d94116udM4=;
 b=ZQXB/b3E08y4v0stxVsTM/6T8ZcbcVw4GH7mkgIPpHrTRGt6xUc2mZV9W
 1ET28wmL93lx6AQrUPPWMLQ0WL9BxB839IfltYemQFdEubFxe/TqBl5g7HAT
 hhNdhJjfbHq7HZiCAIQbeQ0HBx45SEvnHQTH2BdVyV4eBBO8YkQtn0=
Message-Id: <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@HIDDEN>
MIME-Version: 1.0
From: Arun Isaac <arunisaac@HIDDEN>
To: 25235 <at> debbugs.gnu.org
Subject: Re: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH
Date: Wed, 29 Mar 2017 16:57:12 +0530
In-reply-to: <20161226182608.GA20609@jasmine>
References: <87eg13birp.fsf@HIDDEN>
 <87y3zahf8t.fsf@HIDDEN> <20161226182608.GA20609@jasmine>
X-CSA-Complaints: whitelist-complaints@HIDDEN
X-MJ-Mid: AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY43C3jtBKSeWP-YxIpLgSTQAFgUc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25235
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 (/)


I'm working on fixing this bug. I have modified
guix/build/python-build-system.scm for the same. In particular, I have
added #:use-module (guix packages) because I need the functions
`package-name' and `package-transitive-target-inputs'. But, when I try
building any python-build-system package with something like
"./pre-inst-env guix build scons", I get a ("no code for module" (guix
packages)) error. What am I missing?

Full backtrace follows:

Backtrace:
In ice-9/eval.scm:
 432: 19 [eval # ()]
In system/base/compile.scm:
 152: 18 [compile-file "/gnu/store/38rxls2y8v8zjva7xq7zv99rv6c81bq3-module-=
import/guix/build/python-build-system.scm" ...]
  43: 17 [call-once #<procedure ae84c0 at system/base/compile.scm:56:5 ()>]
In ice-9/boot-9.scm:
 174: 16 [with-throw-handler #t ...]
In system/base/compile.scm:
  59: 15 [#<procedure ae8480 at system/base/compile.scm:58:9 ()>]
 155: 14 [#<procedure ae8500 at system/base/compile.scm:153:8 (port)> #<clo=
sed: file 0>]
 218: 13 [read-and-compile #<input: /gnu/store/38rxls2y8v8zjva7xq7zv99rv6c8=
1bq3-module-import/guix/build/python-build-system.scm 6> ...]
 234: 12 [lp () #f #<module (#{ g152}#) ae7a20>]
 182: 11 [lp (#<procedure compile-tree-il (x e opts)>) (define-module # # .=
..) ...]
In ice-9/boot-9.scm:
2404: 10 [save-module-excursion #<procedure c967e0 at language/scheme/compi=
le-tree-il.scm:29:3 ()>]
In language/scheme/compile-tree-il.scm:
  31: 9 [#<procedure c967e0 at language/scheme/compile-tree-il.scm:29:3 ()>=
]
In ice-9/psyntax.scm:
1106: 8 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...]
 989: 7 [scan ((define-module # # # ...)) () ((top)) ...]
 279: 6 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...]
In ice-9/eval.scm:
 411: 5 [eval # ()]
In ice-9/boot-9.scm:
2954: 4 [define-module* (guix build python-build-system) #:filename ...]
2929: 3 [resolve-imports ((# # gnu:) (#) (#) (#) ...)]
2870: 2 [resolve-interface (guix packages) #:select ...]
In unknown file:
   ?: 1 [scm-error misc-error #f "~A ~S" ("no code for module" (guix packag=
es)) #f]
In ice-9/boot-9.scm:
 109: 0 [#<procedure ae8440 at ice-9/boot-9.scm:100:6 (thrown-k . args)> mi=
sc-error ...]

ice-9/boot-9.scm:109:20: In procedure #<procedure ae8440 at ice-9/boot-9.sc=
m:100:6 (thrown-k . args)>:
ice-9/boot-9.scm:109:20: no code for module (guix packages)
builder for `/gnu/store/lsrxzd1hdsgpb9zhrdv02dsxihpmxmww-module-import-comp=
iled.drv' failed with exit code 1
@ build-failed /gnu/store/lsrxzd1hdsgpb9zhrdv02dsxihpmxmww-module-import-co=
mpiled.drv - 1 builder for `/gnu/store/lsrxzd1hdsgpb9zhrdv02dsxihpmxmww-mod=
ule-import-compiled.drv' failed with exit code 1
cannot build derivation `/gnu/store/pm2r6cbcfij8d7nzdxkzqx1dq880mhg8-scons-=
2.3.4.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/pm2r6cbcfij8d7nzdxkzq=
x1dq880mhg8-scons-2.3.4.drv' failed
=




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

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


Received: (at 25235) by debbugs.gnu.org; 26 Dec 2016 18:26:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 26 13:26:19 2016
Received: from localhost ([127.0.0.1]:55927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cLZyU-0004Iq-Sd
	for submit <at> debbugs.gnu.org; Mon, 26 Dec 2016 13:26:19 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50037)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1cLZyR-0004Ig-Ci
 for 25235 <at> debbugs.gnu.org; Mon, 26 Dec 2016 13:26:17 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 325EC20A64;
 Mon, 26 Dec 2016 13:26:10 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute4.internal (MEProxy); Mon, 26 Dec 2016 13:26:10 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=WuszWWb4jeCxJcb
 /mXr2TuDxcPI=; b=OcY32HpebZrY7IUKgQiScwJevQx2BN5ntGYNFsJNQTbCyIk
 OYOg7oHEvmhXk8UiGlr4y3q1PiMiuM5DXM+YVJBvp/tvGWNUKCG9t00KuMXdyo2Y
 AZPJiPWpxbR9BmlzpLV/5ysnV93w/e/SnJqBFiV0o5jmhusgUd1aIEGRQLVg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=
 smtpout; bh=WuszWWb4jeCxJcb/mXr2TuDxcPI=; b=esTVcpGVdlmTUt5+uV+q
 xcgktUp+/3G/S9eN42mh2PW7vBl4bIAWPyy+yOIOnf4xMHnUXBdNVWuFHoIxLN70
 uzkfZxiUFO3GnGoJ/PgtUXZIn1VQ7mtI4hLDFSl8yV0z8OaG02K5hKQGgqC9nwWL
 CdsVCRCdIZKhgom8dR4gDuI=
X-ME-Sender: <xms:wmBhWFndSAmWuxxbJUvlD2E_QgNn_zu52yWH3XqVrPPAROzzvk5thQ>
X-Sasl-enc: U1vVeIbaBCr7683Sb4p1GrBQdoomk3XTre8juMck8W6q 1482776769
Received: from localhost (c-76-110-75-179.hsd1.fl.comcast.net [76.110.75.179])
 by mail.messagingengine.com (Postfix) with ESMTPA id D7BF57E808;
 Mon, 26 Dec 2016 13:26:09 -0500 (EST)
Date: Mon, 26 Dec 2016 13:26:08 -0500
From: Leo Famulari <leo@HIDDEN>
To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH
Message-ID: <20161226182608.GA20609@jasmine>
References: <87eg13birp.fsf@HIDDEN>
 <87y3zahf8t.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87y3zahf8t.fsf@HIDDEN>
User-Agent: Mutt/1.7.2 (2016-11-26)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 25235
Cc: Marius Bakke <mbakke@HIDDEN>, 25235 <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 Tue, Dec 20, 2016 at 03:00:50PM +0100, Ludovic Courtès wrote:
> Marius Bakke <mbakke@HIDDEN> skribis:
> 
> > The 'wrap' phase of 'python-build-system' adds native-inputs to
> > PYTHONPATH of the wrapped programs. This causes unnecessary runtime
> > dependencies and may create problems when cross-compiling.
> >
> > Given that all python dependencies are now supposed to be propagated,
> > perhaps we can simply remove the wrap phase? It only touches PYTHONPATH.
> 
> We cannot simply remove it: it is meant for packages that provide
> standalone programs, such as ‘certbot’.  For these, it automatically
> wraps bin/* and we don’t even have to have propagated inputs, which is
> pretty cool.
> 
> However, you are right that native inputs shouldn’t be there.  Probably
> we need to add some filtering in the ‘wrap’ phase?

While looking at the beets package definition with fresh eyes, I realize
that it will surely break once this change is made. So it will make a
good test case for this improvement :)




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

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


Received: (at 25235) by debbugs.gnu.org; 20 Dec 2016 14:01:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 20 09:01:04 2016
Received: from localhost ([127.0.0.1]:48354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cJKyW-0001Ca-Co
	for submit <at> debbugs.gnu.org; Tue, 20 Dec 2016 09:01:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42752)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1cJKyV-0001C1-DS
 for 25235 <at> debbugs.gnu.org; Tue, 20 Dec 2016 09:01:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1cJKyL-0001oQ-8r
 for 25235 <at> debbugs.gnu.org; Tue, 20 Dec 2016 09:00:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60339)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1cJKyL-0001oM-5c; Tue, 20 Dec 2016 09:00:53 -0500
Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:45204 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1cJKyK-000519-HI; Tue, 20 Dec 2016 09:00:52 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH
References: <87eg13birp.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 30 Frimaire an 225 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-unknown-linux-gnu
Date: Tue, 20 Dec 2016 15:00:50 +0100
In-Reply-To: <87eg13birp.fsf@HIDDEN>
 (Marius Bakke's message of "Tue, 20 Dec 2016 00:28:58 +0100")
Message-ID: <87y3zahf8t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (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: -8.1 (--------)
X-Debbugs-Envelope-To: 25235
Cc: 25235 <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: -8.1 (--------)

Marius Bakke <mbakke@HIDDEN> skribis:

> The 'wrap' phase of 'python-build-system' adds native-inputs to
> PYTHONPATH of the wrapped programs. This causes unnecessary runtime
> dependencies and may create problems when cross-compiling.
>
> Given that all python dependencies are now supposed to be propagated,
> perhaps we can simply remove the wrap phase? It only touches PYTHONPATH.

We cannot simply remove it: it is meant for packages that provide
standalone programs, such as =E2=80=98certbot=E2=80=99.  For these, it auto=
matically
wraps bin/* and we don=E2=80=99t even have to have propagated inputs, which=
 is
pretty cool.

However, you are right that native inputs shouldn=E2=80=99t be there.  Prob=
ably
we need to add some filtering in the =E2=80=98wrap=E2=80=99 phase?

Ludo=E2=80=99.




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

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


Received: (at submit) by debbugs.gnu.org; 19 Dec 2016 23:29:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 19 18:29:13 2016
Received: from localhost ([127.0.0.1]:48070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cJ7Mn-0004MJ-9v
	for submit <at> debbugs.gnu.org; Mon, 19 Dec 2016 18:29:13 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1cJ7Mm-0004M2-2X
 for submit <at> debbugs.gnu.org; Mon, 19 Dec 2016 18:29:12 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1cJ7Mf-0007VR-NF
 for submit <at> debbugs.gnu.org; Mon, 19 Dec 2016 18:29:06 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:32872)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mbakke@HIDDEN>) id 1cJ7Mf-0007VG-Ji
 for submit <at> debbugs.gnu.org; Mon, 19 Dec 2016 18:29:05 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35739)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1cJ7Me-0006D3-Ko
 for bug-guix@HIDDEN; Mon, 19 Dec 2016 18:29:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mbakke@HIDDEN>) id 1cJ7Mb-0007Rw-FJ
 for bug-guix@HIDDEN; Mon, 19 Dec 2016 18:29:04 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40546)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mbakke@HIDDEN>) id 1cJ7Mb-0007RF-9w
 for bug-guix@HIDDEN; Mon, 19 Dec 2016 18:29:01 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id BB0EB2085A
 for <bug-guix@HIDDEN>; Mon, 19 Dec 2016 18:29:00 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute5.internal (MEProxy); Mon, 19 Dec 2016 18:29:00 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:message-id:mime-version:subject:to
 :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=eIh
 ERZveswgFBtcv9k0qH5Y63Hg=; b=sTaGRlZMi6nSc30XefjYXJIpSN1rWROEUFf
 c5PXXR2uEl2bExh3x4MJSEpU6rBMRain5WLXqVL6F9ROLbqQpQ/PmIIZQOW9UhPP
 1FUWvh+bWX39tVWHEplRDJKRPWz8A2qF3vhtEajgteczUdt2iwJr13Maav5afeaS
 ZI4PfgFw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=eIhERZveswgFBtcv9k0qH5Y63Hg=; b=lmUDy
 45vrlkE7yV2me2T53+8VJSt9GqbudhykNZvTCC25odCCfIFz3RbGzOUqO+BYsEW8
 4QkfszqauzQ7jfppc4ALwajeX/tSV/tmCSprdJcozmvjSJ6O2B567y53WSvIRGK+
 eRJQ+lrCyI8LAUWcbS6Cpx6RSzaotZ3WwiItz8=
X-ME-Sender: <xms:PG1YWEWSSkFFFfIO-MJ4CktFQjiM36ne0beikSmTi6O01TQ0fmVhjQ>
X-Sasl-enc: ZU5Hum8tIJSHKl7Ti3N7qRqTmSjq9rZqb7DWJwcvCBI/ 1482190140
Received: from localhost (128.92-221-147.customer.lyse.net [92.221.147.128])
 by mail.messagingengine.com (Postfix) with ESMTPA id 53A1C7E7C5
 for <bug-guix@HIDDEN>; Mon, 19 Dec 2016 18:29:00 -0500 (EST)
From: Marius Bakke <mbakke@HIDDEN>
To: bug-guix@HIDDEN
Subject: Wrapped python programs get native-inputs in PYTHONPATH
User-Agent: Notmuch/0.23.3 (https://notmuchmail.org) Emacs/25.1.1
 (x86_64-unknown-linux-gnu)
Date: Tue, 20 Dec 2016 00:28:58 +0100
Message-ID: <87eg13birp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
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.4 (----)
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.4 (----)

--=-=-=
Content-Type: text/plain


The 'wrap' phase of 'python-build-system' adds native-inputs to
PYTHONPATH of the wrapped programs. This causes unnecessary runtime
dependencies and may create problems when cross-compiling.

Given that all python dependencies are now supposed to be propagated,
perhaps we can simply remove the wrap phase? It only touches PYTHONPATH.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhYbToACgkQoqBt8qM6
VPrqCgf9ET1NPk/I7q7M1zPHlbqOOrYWkk2fS7RAH3Un/X33Vve1DzKWsj7OQ7LO
YdU8ME0f8wJZ+tILUMawNRt/lKs/CmHug+9aOcqSfN7O8jawFVXxEPIE4U5wCM72
pMwhbu5TwRUZACD7G1168U257uyHpir26rf3wypbzWeAJFr50LEfxbPeBXjsR81v
YPYUUeJ1tCR1DedtU0Ih4TK8eW1ipveYMyw1iT9W+OMFO+y8qZwy1NyRNSrHgOcM
Ur/rmMqjJc+Yhvf37effW6Jg8OODBsqZzocVVqtvetk6Uo7S3jKKFu+Ov+SKyvSJ
FKNV5SC+DFxHSbdG2i35yMit8bGMcA==
=Ed8O
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Marius Bakke <mbakke@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#25235; 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: Thu, 30 Mar 2017 19:15:02 UTC

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