From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: bug#25235: Wrapped python programs get native-inputs in PYTHONPATH Date: Wed, 29 Mar 2017 16:57:12 +0530 Message-ID: <716a63e7.AEQAIoR8aXkAAAAAAAAAAAOwyEEAAAACwQwAAAAAAAW9WABY25oY@mailjet.com> References: <87eg13birp.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <87y3zahf8t.fsf@gnu.org> <20161226182608.GA20609@jasmine> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ctBln-0004iS-AV for bug-guix@gnu.org; Wed, 29 Mar 2017 07:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ctBli-0001Eu-E3 for bug-guix@gnu.org; Wed, 29 Mar 2017 07:28:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51997) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ctBli-0001EU-7I for bug-guix@gnu.org; Wed, 29 Mar 2017 07:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ctBlh-0004Aa-Rg for bug-guix@gnu.org; Wed, 29 Mar 2017 07:28:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20161226182608.GA20609@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 25235@debbugs.gnu.org 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 #] In ice-9/boot-9.scm: 174: 16 [with-throw-handler #t ...] In system/base/compile.scm: 59: 15 [#] 155: 14 [# #] 218: 13 [read-and-compile # ...] 234: 12 [lp () #f #] 182: 11 [lp (#) (define-module # # .= ..) ...] In ice-9/boot-9.scm: 2404: 10 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 9 [#= ] 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 [# mi= sc-error ...] ice-9/boot-9.scm:109:20: In procedure #: 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 =