all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Newt and Guix pull failing
@ 2019-04-20 19:37 brettg
  2019-04-21 12:39 ` Ludovic Courtès
  2019-04-23  5:35 ` Gábor Boskovits
  0 siblings, 2 replies; 12+ messages in thread
From: brettg @ 2019-04-20 19:37 UTC (permalink / raw)
  To: help-guix

Hey all,

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  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
  2019-04-23  5:35 ` Gábor Boskovits
  1 sibling, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2019-04-21 12:39 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

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’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
@ 2019-04-21 15:20 brettg
  0 siblings, 0 replies; 12+ messages in thread
From: brettg @ 2019-04-21 15:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

Hey Ludo, thank you for taking a moment to look at this. I have guile_load_path set in both a .guile and .bashrc for a few custom path references. https://git.sr.ht/~brettgilio/guix-system/tree/master/dotfiles/.bashrcI will check and see what guile_load_path is returning when I get a chance. Sent from my Sprint Phone.------ Original message------From: Ludovic CourtèsDate: Sun, Apr 21, 2019 7:39 AMTo: brettg@posteo.net;Cc: help-guix;Subject:Re: Newt and Guix pull failingHello,

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’.

[-- Attachment #2: Type: text/html, Size: 2250 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-21 12:39 ` Ludovic Courtès
@ 2019-04-21 23:17   ` Brett Gilio
  2019-04-22 19:51     ` brettg
  2019-04-23 21:53     ` Ludovic Courtès
  0 siblings, 2 replies; 12+ messages in thread
From: Brett Gilio @ 2019-04-21 23:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-21 23:17   ` Brett Gilio
@ 2019-04-22 19:51     ` brettg
  2019-04-23 21:53     ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: brettg @ 2019-04-22 19:51 UTC (permalink / raw)
  To: Brett Gilio; +Cc: help-guix, Help-Guix

Bumping this since it is coming up on 24 hours. If anybody has any ideas 
i'd appreciate it

On 22.04.2019 01:17, Brett Gilio wrote:
> 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-20 19:37 Newt and Guix pull failing brettg
  2019-04-21 12:39 ` Ludovic Courtès
@ 2019-04-23  5:35 ` Gábor Boskovits
  2019-04-23 14:20   ` brettg
  1 sibling, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2019-04-23  5:35 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 576 bytes --]

Hello,

<brettg@posteo.net> ezt írta (időpont: 2019. ápr. 20., Szo, 21:53):

> Hey all,
>
> 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
>
>
This link 404s for me. Can you fix it, so that I can have a look?


> 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.
>
>
Best regards,
g_bor

[-- Attachment #2: Type: text/html, Size: 1227 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-23  5:35 ` Gábor Boskovits
@ 2019-04-23 14:20   ` brettg
  2019-04-23 16:45     ` Gábor Boskovits
  0 siblings, 1 reply; 12+ messages in thread
From: brettg @ 2019-04-23 14:20 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

Yes, sorry. I renamed the file so I could update guix without the build 
failing. Here is the file:

https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak

On 23.04.2019 07:35, Gábor Boskovits wrote:
> Hello,
> 
> <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 20., Szo, 21:53):
> 
>> Hey all,
>> 
>> 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
>> [1]
> 
> This link 404s for me. Can you fix it, so that I can have a look?
> 
>> 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.
> 
> Best regards,
> g_bor
> 
> 
> Links:
> ------
> [1]
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-23 14:20   ` brettg
@ 2019-04-23 16:45     ` Gábor Boskovits
  2019-04-23 16:49       ` brettg
  0 siblings, 1 reply; 12+ messages in thread
From: Gábor Boskovits @ 2019-04-23 16:45 UTC (permalink / raw)
  To: brettg; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]

Hello Brett,

<brettg@posteo.net> ezt írta (időpont: 2019. ápr. 23., K, 16:20):

> Yes, sorry. I renamed the file so I could update guix without the build
> failing. Here is the file:
>
>
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak
>
>
Thank you!

It seems that guile says that no code for module newt, but you are
referring to 'newt bindings'.
Something similar happened to me recently, when I had my modules under a
wrong directory
structure. Is it possible that the same thing is happening here?

See this for further information:
https://www.gnu.org/software/guile/manual/html_node/Modules-and-the-File-System.html#Modules-and-the-File-System

Wdyt?

On 23.04.2019 07:35, Gábor Boskovits wrote:
> > Hello,
> >
> > <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 20., Szo, 21:53):
> >
> >> Hey all,
> >>
> >> 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
> >> [1]
> >
> > This link 404s for me. Can you fix it, so that I can have a look?
> >
> >> 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.
> >
> > Best regards,
> > g_bor
> >
> >
> > Links:
> > ------
> > [1]
> >
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm
>

Best regards,
g_bor

[-- Attachment #2: Type: text/html, Size: 2990 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-23 16:45     ` Gábor Boskovits
@ 2019-04-23 16:49       ` brettg
  2019-04-23 18:44         ` brettg
  0 siblings, 1 reply; 12+ messages in thread
From: brettg @ 2019-04-23 16:49 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix

Hey Gabor,

I changed that to see if it would find newt bindings, but it failed that 
way too saying there is no code for module "newt bindings". As I said to 
Ludo, this is regardless of if I install guile-newt to a local profile 
or system-wide. For whatever reason, it doesn't seem to find it. I can 
check the paths manually and verify they are indeed there and alive 
which is where my confusion is coming from. GUILE_LOAD_PATH is also 
finding referencing those paths as well.

On 23.04.2019 18:45, Gábor Boskovits wrote:
> Hello Brett,
> 
> <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 23., K, 16:20):
> 
>> Yes, sorry. I renamed the file so I could update guix without the
>> build
>> failing. Here is the file:
>> 
>> 
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak
>> [1]
> 
> Thank you!
> 
> It seems that guile says that no code for module newt, but you are
> referring to 'newt bindings'.
> Something similar happened to me recently, when I had my modules under
> a wrong directory
> structure. Is it possible that the same thing is happening here?
> 
> See this for further information:
> 
> https://www.gnu.org/software/guile/manual/html_node/Modules-and-the-File-System.html#Modules-and-the-File-System
> [3]
> 
> Wdyt?
> 
>> On 23.04.2019 07:35, Gábor Boskovits wrote:
>>> Hello,
>>> 
>>> <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 20., Szo,
>> 21:53):
>>> 
>>>> Hey all,
>>>> 
>>>> 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
>> [2]
>>>> [1]
>>> 
>>> This link 404s for me. Can you fix it, so that I can have a look?
>>> 
>>>> 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.
>>> 
>>> Best regards,
>>> g_bor
>>> 
>>> 
>>> Links:
>>> ------
>>> [1]
>>> 
>> 
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm
>> [2]
> 
> Best regards,
> g_bor
> 
> 
> Links:
> ------
> [1]
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak
> [2]
> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm
> [3]
> https://www.gnu.org/software/guile/manual/html_node/Modules-and-the-File-System.html#Modules-and-the-File-System

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-23 16:49       ` brettg
@ 2019-04-23 18:44         ` brettg
  0 siblings, 0 replies; 12+ messages in thread
From: brettg @ 2019-04-23 18:44 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix, Help-Guix

To additionally qualify the issue. I can manually load newt from the 
guile interpreter just fine. It is only when my channel is getting built 
from guix.

On 23.04.2019 18:49, brettg@posteo.net wrote:
> Hey Gabor,
> 
> I changed that to see if it would find newt bindings, but it failed
> that way too saying there is no code for module "newt bindings". As I
> said to Ludo, this is regardless of if I install guile-newt to a local
> profile or system-wide. For whatever reason, it doesn't seem to find
> it. I can check the paths manually and verify they are indeed there
> and alive which is where my confusion is coming from. GUILE_LOAD_PATH
> is also finding referencing those paths as well.
> 
> On 23.04.2019 18:45, Gábor Boskovits wrote:
>> Hello Brett,
>> 
>> <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 23., K, 16:20):
>> 
>>> Yes, sorry. I renamed the file so I could update guix without the
>>> build
>>> failing. Here is the file:
>>> 
>>> 
>> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak
>>> [1]
>> 
>> Thank you!
>> 
>> It seems that guile says that no code for module newt, but you are
>> referring to 'newt bindings'.
>> Something similar happened to me recently, when I had my modules under
>> a wrong directory
>> structure. Is it possible that the same thing is happening here?
>> 
>> See this for further information:
>> 
>> https://www.gnu.org/software/guile/manual/html_node/Modules-and-the-File-System.html#Modules-and-the-File-System
>> [3]
>> 
>> Wdyt?
>> 
>>> On 23.04.2019 07:35, Gábor Boskovits wrote:
>>>> Hello,
>>>> 
>>>> <brettg@posteo.net> ezt írta (időpont: 2019. ápr. 20., Szo,
>>> 21:53):
>>>> 
>>>>> Hey all,
>>>>> 
>>>>> 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
>>> [2]
>>>>> [1]
>>>> 
>>>> This link 404s for me. Can you fix it, so that I can have a look?
>>>> 
>>>>> 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.
>>>> 
>>>> Best regards,
>>>> g_bor
>>>> 
>>>> 
>>>> Links:
>>>> ------
>>>> [1]
>>>> 
>>> 
>> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm
>>> [2]
>> 
>> Best regards,
>> g_bor
>> 
>> 
>> Links:
>> ------
>> [1]
>> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scmbak
>> [2]
>> https://git.sr.ht/~brettgilio/guix-system/tree/master/guile-modules/gscale/screen.scm
>> [3]
>> https://www.gnu.org/software/guile/manual/html_node/Modules-and-the-File-System.html#Modules-and-the-File-System

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-21 23:17   ` Brett Gilio
  2019-04-22 19:51     ` brettg
@ 2019-04-23 21:53     ` Ludovic Courtès
  2019-04-23 22:15       ` Brett Gilio
  1 sibling, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2019-04-23 21:53 UTC (permalink / raw)
  To: Brett Gilio; +Cc: help-guix

Hi Brett,

Brett Gilio <brettg@posteo.net> skribis:

> 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))

This is happening because modules of your channel depends on Guile-Newt,
and Guile-Newt is missing, so ‘guix pull’ fails to build your channel
modules.

How would ‘guix pull’ know that your channel depends on Guile-Newt?  It
cannot guess it, and currently there’s no way to express such a
dependency.

Does that make sense?

Also note that a channel is meant to provide packages or services, so it
is surprising to have a channel depend on Guile-Newt.

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Newt and Guix pull failing
  2019-04-23 21:53     ` Ludovic Courtès
@ 2019-04-23 22:15       ` Brett Gilio
  0 siblings, 0 replies; 12+ messages in thread
From: Brett Gilio @ 2019-04-23 22:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix


Ludovic Courtès writes:

> Hi Brett,
>
> Brett Gilio <brettg@posteo.net> skribis:
>
>> 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))
>
> This is happening because modules of your channel depends on Guile-Newt,
> and Guile-Newt is missing, so ‘guix pull’ fails to build your channel
> modules.
>
> How would ‘guix pull’ know that your channel depends on Guile-Newt?  It
> cannot guess it, and currently there’s no way to express such a
> dependency.
>
> Does that make sense?
>
> Also note that a channel is meant to provide packages or services, so it
> is surprising to have a channel depend on Guile-Newt.
>
> Ludo’.

Hi Ludo,

Thank you. That makes sense. I know that a channel is not really
"intended" for this, but I was stretching it to see what I could make it
do as far as a "whole system configuration" that I could pull and
install using just a single repository without submodules.

I believe you are right, this isn't in the realm of possibility for a
channel to be used like this. I wonder there is a way to
get guix to ignore specific files with the .scm extension.

Anyways,

Thank you for your help.

Brett

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-04-23 22:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.