From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Gilio Subject: Re: Newt and Guix pull failing Date: Sun, 21 Apr 2019 18:17:37 -0500 Message-ID: <875zr7kkxa.fsf@posteo.net> References: <120dd76cc594248a2f2db945c8ea9753@posteo.net> <87lg038rd2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hILoc-0003mk-Us for help-guix@gnu.org; Sun, 21 Apr 2019 19:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hILiS-000766-9H for help-guix@gnu.org; Sun, 21 Apr 2019 19:17:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34771) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hILiR-000734-OF for help-guix@gnu.org; Sun, 21 Apr 2019 19:17:44 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 56D1B16005D for ; Mon, 22 Apr 2019 01:17:40 +0200 (CEST) In-reply-to: <87lg038rd2.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix Ludovic Court=C3=A8s writes: > Hello, > > brettg@posteo.net skribis: > >> I reference the newt module in this file of my channel >> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gsca= le/screen.scm >> >> However, when I `guix pull` it fails to build citing that there is no >> code available for that module. I have guile-newt installed system >> wide, and to my local profile manifest, but neither of those fix the >> issue. > > When Guile and Guile-Newt are in the same profile, the GUILE_LOAD_PATH > and GUILE_LOAD_COMPILED_PATH are automatically set appropriately: > > guix environment -C --ad-hoc guile guile-newt -- guile -c '(use-modules= (newt))' > # success > > So it looks like GUILE_LOAD_PATH may be unset or wrong in your case. > > Ludo=E2=80=99. Hi Ludo, I had some time to look at this. Here is what echoing $GUILE_LOAD_PATH returns for me brettg@guixsd ~/Repos/guix-system/dotfiles [env]$ echo $GUILE_LOAD_PATH /home/brettg/Repos/guix-system:/home/brettg/Repos/guix-system:/home/brettg/= Repos/guix-system:/home/brettg/.guix-profile/share/guile/site/2.2:/run/curr= ent-system/profile/share/guile/site/2.2 Newt is indeed available in /run/current-system/profile/share/guile/site/2.2 and it is also in my local /.guix-profile when I add it. But neither case resolves the issue. Here is the full info for the build failing. building /gnu/store/frc4lyhrijq5ss3n2zmz6bgkdfqr44k1-guix-system.drv... |builder for `/gnu/store/frc4lyhrijq5ss3n2zmz6bgkdfqr44k1-guix-system.drv' = failed to produce output path `/gnu/store/mhkf633xnly60av67gvxnpmqcykjxxjx-= guix-system' build of /gnu/store/frc4lyhrijq5ss3n2zmz6bgkdfqr44k1-guix-system.drv failed View build log at '/var/log/guix/drvs/fr/c4lyhrijq5ss3n2zmz6bgkdfqr44k1-gui= x-system.drv.bz2'. cannot build derivation `/gnu/store/fmbl1qkfjiqarrhv4xxwbbq832372nlf-profil= e.drv': 1 dependencies couldn't be built guix pull: error: build of `/gnu/store/fmbl1qkfjiqarrhv4xxwbbq832372nlf-profile.drv' failed The first build log shows (repl-version 0 0) (exception misc-error (value #f) (value "~A ~S") (value ("no code for modul= e" (newt))) (value #f)) The second build log shows Derive ([("out","/gnu/store/asagnba7svzsmkf2kwz2pvada9smrfqn-profile","","")] ,[("/gnu/store/0dzzrfjnykzjnb86280g1fvm7wvr219i-manual-database.drv",["out= "]) ,("/gnu/store/16c8c8hm1qdn6xz8014939mirc7c4d4j-guile-2.2.4.drv",["out"]) ,("/gnu/store/7jcrsq0rm46fj3zql19y5w94vf2av18h-guix-package-cache.drv",[= "out"]) ,("/gnu/store/97wvcdim7xa3s1dd3f3y59zkw26w37yk-module-import-compiled.dr= v",["out"]) ,("/gnu/store/cfln5hzm0p1cgb477cg5928yzs49i3x5-ca-certificate-bundle.drv= ",["out"]) ,("/gnu/store/frc4lyhrijq5ss3n2zmz6bgkdfqr44k1-guix-system.drv",["out"]) ,("/gnu/store/gzmrcb55fm7vdb16gzjhh3y66i9l2wmn-fonts-dir.drv",["out"]) ,("/gnu/store/kzhvcnzrbf9g5j488f9ynf0ys76mf3kb-guix-56a485821.drv",["out= "]) ,("/gnu/store/sg42z9rkibdcm6x7fisar7p5h4j8w2bz-glibc-utf8-locales-2.28.d= rv",["out"]) ,("/gnu/store/x9pznv2pyawyh2y9sab90dxlqi9ml4pr-info-dir.drv",["out"])] ,["/gnu/store/k1pj5ry1acc40hq18qd1ji9hpg350j2f-module-import","/gnu/store/= nd623dxmwhavwh94m0vxwxagahh5428f-profile-builder"] ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/b= in/guile",["--no-auto-compile","-L","/gnu/store/k1pj5ry1acc40hq18qd1ji9hpg3= 50j2f-module-import","-C","/gnu/store/ism9qw00d9gdhlhiankg72cik02bpnfm-modu= le-import-compiled","/gnu/store/nd623dxmwhavwh94m0vxwxagahh5428f-profile-bu= ilder"] ,[("GUILE_WARN_DEPRECATED","no") ,("allowSubstitutes","0") ,("out","/gnu/store/asagnba7svzsmkf2kwz2pvada9smrfqn-profile") ,("preferLocalBuild","1")]) Thank you