From: Brett Gilio <brettg@posteo.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Newt and Guix pull failing
Date: Sun, 21 Apr 2019 18:17:37 -0500 [thread overview]
Message-ID: <875zr7kkxa.fsf@posteo.net> (raw)
In-Reply-To: <87lg038rd2.fsf@gnu.org>
Ludovic Courtès 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/gscale/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’.
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/current-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-guix-system.drv.bz2'.
cannot build derivation `/gnu/store/fmbl1qkfjiqarrhv4xxwbbq832372nlf-profile.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 module" (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.drv",["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.drv",["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/bin/guile",["--no-auto-compile","-L","/gnu/store/k1pj5ry1acc40hq18qd1ji9hpg350j2f-module-import","-C","/gnu/store/ism9qw00d9gdhlhiankg72cik02bpnfm-module-import-compiled","/gnu/store/nd623dxmwhavwh94m0vxwxagahh5428f-profile-builder"]
,[("GUILE_WARN_DEPRECATED","no")
,("allowSubstitutes","0")
,("out","/gnu/store/asagnba7svzsmkf2kwz2pvada9smrfqn-profile")
,("preferLocalBuild","1")])
Thank you
next prev parent reply other threads:[~2019-04-21 23:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-20 19:37 Newt and Guix pull failing brettg
2019-04-21 12:39 ` Ludovic Courtès
2019-04-21 23:17 ` Brett Gilio [this message]
2019-04-22 19:51 ` brettg
2019-04-23 21:53 ` Ludovic Courtès
2019-04-23 22:15 ` Brett Gilio
2019-04-23 5:35 ` Gábor Boskovits
2019-04-23 14:20 ` brettg
2019-04-23 16:45 ` Gábor Boskovits
2019-04-23 16:49 ` brettg
2019-04-23 18:44 ` brettg
-- strict thread matches above, loose matches on Subject: below --
2019-04-21 15:20 brettg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zr7kkxa.fsf@posteo.net \
--to=brettg@posteo.net \
--cc=help-guix@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).