Re: Coreboot,T440P & GUIX installer

2023-02-26 Thread Wil deBeest


22 Feb 2023 18:35:03 jerome moliere :

> Hi all,
> I just bought a refurbished machine (T440P) with Coreboot to run a fully
> open source experience...
> Experience is not so good for the moment, because I am stuck in the third
> or fourth screen of the GUIX installer during network detection.
> My laptop has an atheros wifi  chipset  supported for a long time by the
> Linux kernel (no proprietary firmware)... This wifi chipset is recognized
> but activating it fails during ESSID pairing (bad password)...
> T440P has an ethernet connector, ethernet card is recognized too , the card
> works on console during installation (ip a shows correct information, ping
> works nicely inside my LAN or for public domains)  but network step finish
> with RED screen saying my network is unable to provide access to
> substitutes  (git repos for GUIX ?) while github is resolved in console...
> 
> I have tried to restart the network services, to play with conmanctl to
> restart services, rescan... But it always fails!!!
> 
> I wondered if someone runs Coreboot with GUIX ? The machine is quite old so
> all hardware is recognized, wifi chipset is compliant with free software,
> so it should work nicely ..And I can't think that installer has a so big
> bug (it should prevent many people from installing Guix)..
> 
> I have tried the 1.4 iso & the system crafter latest build but same
> result...
> 
> Have you any idea...
> thanks for sharing
> 
> 
> -- 
> J.MOLIERE - Mentor/J
Hi Jérôme,

I am running Guix on a Lenovo X220 tablet with osboot (osboot.org).  I don't 
know how to help you, but if you have an idea or if you need me to check 
something, I can try and do that.


Cheers
Wil



Re: Guix Halts After "updating substitutes from …"

2022-05-25 Thread Wil deBeest
Thank you! 

I've been having the same problem and had no idea what caused it.

Wouldn't adding a timeout make sense? Either with a sensible default time and 
options to change or disable it or just configuration options that would be 
documented in the "channels" section?

If timeouts aren't an option, a message like "could not reach substitute server 
[server-name] ([time/unit])"* would already be much more be helpful than the 
current state for those of us who are not (yet) that familiar with guix.   

I regularly feel like guix errors could give more useful information. Is this 
due to design decisions or something that just hasn't been considered or worked 
on?


* Optionally with additional information like "Press 'Control C' to abort" and 
"You can temporarily disable this substitute server by adding  
'--substitute-urls=[server-name] to the command that got you here.'"

> On 25. May 2022, at 01:21, Tobias Geerinckx-Rice  wrote:
> 
> Wamm K. D. 写道:
>>> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
>> 
>> I haven't let it run for longer than an hour but it just sits there and
>> doesn't progress any further. When I run ~guix upgrade~, it halts,
>> similarly, after listing which programs it's going to upgrade.
>> 
>> Anyone, possibly, know what this is (or, at least, how I might get
>> around it)?
> 
> Sure: 
> 
> Use ‘--substitute-urls=https://ci.guix.gnu.org’ (i.e., remove bordeaux from 
> the default list) until it's resolved.
> 
> Kind regards,
> 
> T G-R


signature.asc
Description: Binary data


How do you debug a channel?

2022-05-09 Thread Wil deBeest
Hi!
Something in my `local' channel causes this error when I execute `guix pull':

building /gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv...
-builder for `/gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv' failed to 
produce output path `/gnu/store/2klsbdwip925viqv5q8qla4zvnjqqr1i-local'
build of /gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv failed
Could not find build log for 
'/gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv'.
cannot build derivation 
`/gnu/store/7q1pb80q9jf2rpx40zpz2lklk6v5yvy7-profile.drv': 1 dependencies 
couldn't be built
guix pull: error: build of 
`/gnu/store/7q1pb80q9jf2rpx40zpz2lklk6v5yvy7-profile.drv' failed


I tried another pull with the `keep-failed' and `keep-going' flags added & 
`verbose' and `debug' set to 7*, piping the output through `tee' in the hope of 
having a complete log, but the file ended up empty.  The part I could copy from 
the terminal was rejected as spam by paste.debian.net, so I appended it to this 
mail.

Removing more and more packages from the channel until there wasn't any file 
left didn't help.  `guix pull' worked again only after removing the channel 
itself.

Any ideas what might be wrong or how to find out more?


Cheers!
Bo


* What levels are there?  I couldn't find the answer in 
`guix.git/guix/scripts/pull.scm'



|   |   building of 
`/gnu/store/yfig30krw0mnh6kwn1z7z6jkjnph3yr4-module-import-compiled.drv': init
|   |   building of 
`/gnu/store/yfig30krw0mnh6kwn1z7z6jkjnph3yr4-module-import-compiled.drv': 
loading derivation
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   substitution of 
`/gnu/store/ckf3mxanybfv6rbqysahpsa3p46f6g1m-module-import-compiled': created
|   |   substitution of 
`/gnu/store/ckf3mxanybfv6rbqysahpsa3p46f6g1m-module-import-compiled': woken up
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': init
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': loading 
derivation
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': all outputs 
substituted (maybe)
|   |   building of `/gnu/store/35np5f5gdsl6qayp45d7368bac08hyq3-git.scm.drv': 
created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of `/gnu/store/35np5f5gdsl6qayp45d7368bac08hyq3-git.scm.drv': 
woken up
|   |   building of 
`/gnu/store/7vnql8i8z3b7q9xkp28wdxd632sxjbbb-guile-3.0.7.drv': created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/7vnql8i8z3b7q9xkp28wdxd632sxjbbb-guile-3.0.7.drv': woken up
|   |   building of 
`/gnu/store/j9jhim8y26kvzhll5dnpxdd0fjspls2a-config.scm.drv': created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/j9jhim8y26kvzhll5dnpxdd0fjspls2a-config.scm.drv': woken up
|   |   building of `/gnu/store/sywnigcng0jqc1lwcvy7g9aakcdxawy1-hash.scm.drv': 
created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of `/gnu/store/sywnigcng0jqc1lwcvy7g9aakcdxawy1-hash.scm.drv': 
woken up
|   |   substitution of 
`/gnu/store/17fi3vg87j1lw9ygy3pcjf3pmpi79vkg-records.scm': created
|   |   substitution of 
`/gnu/store/17fi3vg87j1lw9ygy3pcjf3pmpi79vkg-records.scm': woken up
|   |   substitution of `/gnu/store/1f2frr4fcdb8gib7x3akr6vz3562g73v-i18n.scm': 
created
|   |   substitution of `/gnu/store/1f2frr4fcdb8gib7x3akr6vz3562g73v-i18n.scm': 
woken up
|   |   substitution of 
`/gnu/store/1n4yp3f1gfzixq6rzhn07glr5kxcfrpk-diagnostics.scm': created
|   |   substitution of 
`/gnu/store/1n4yp3f1gfzixq6rzhn07glr5kxcfrpk-diagnostics.scm': woken up
|   |   substitution of 
`/gnu/store/1qgssicbsibn03a5bhdx591jmpraxhnw-grafts.scm': created
|   |   substitution of 
`/gnu/store/1qgssicbsibn03a5bhdx591jmpraxhnw-grafts.scm': woken up
|   |   substitution of 
`/gnu/store/2kw5wrnpisgwf30cxgav3xdjcwgd81nk-trivial.scm': created
|   |   substitution of 
`/gnu/store/2kw5wrnpisgwf30cxgav3xdjcwgd81nk-trivial.scm': woken up
|   |   substitution of 
`/gnu/store/315axnaqf07pzkd1iqvmhc64xi2wjy1a-utils.scm': created
|   |   substitution of 
`/gnu/store/315axnaqf07pzkd1iqvmhc64xi2wjy1a-utils.scm': woken up
|   |   substitution of 
`/gnu/store/35h3vchibsm1gh1rmq8q24c6akm2sw4x-module-import-builder': created
|   |   substitution of 

How do you debug a channel?

2022-05-06 Thread Wil deBeest
Hi!
Something in my `local' channel causes an error when I execute `guix pull':

building /gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv...
-builder for `/gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv' failed to 
produce output path `/gnu/store/2klsbdwip925viqv5q8qla4zvnjqqr1i-local'
build of /gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv failed
Could not find build log for 
'/gnu/store/blb4jxbhdckbpcqf46yk74jrml1ds7wy-local.drv'.
cannot build derivation 
`/gnu/store/7q1pb80q9jf2rpx40zpz2lklk6v5yvy7-profile.drv': 1 dependencies 
couldn't be built
guix pull: error: build of 
`/gnu/store/7q1pb80q9jf2rpx40zpz2lklk6v5yvy7-profile.drv' failed


I tried another pull with the `keep-failed' and `keep-going' flags added & 
`verbosity' and `debug' set to 7*, piping the output through `tee' in the hope 
of getting a complete log, but the file ended up empty.  The part I could copy 
from the terminal was rejected as spam by paste.debian.net, so I appended it to 
this mail.

Removing more and more packages from the channel until there wasn't any file 
left didn't help.  `guix pull' worked again only after removing the channel 
itself.

Any ideas what might be wrong or how to find out more?


Cheers!
Bo

* What levels are there?  I couldn't find the answer in 
`guix.git/guix/scripts/pull.scm'


|   |   building of 
`/gnu/store/yfig30krw0mnh6kwn1z7z6jkjnph3yr4-module-import-compiled.drv': init
|   |   building of 
`/gnu/store/yfig30krw0mnh6kwn1z7z6jkjnph3yr4-module-import-compiled.drv': 
loading derivation
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   substitution of 
`/gnu/store/ckf3mxanybfv6rbqysahpsa3p46f6g1m-module-import-compiled': created
|   |   substitution of 
`/gnu/store/ckf3mxanybfv6rbqysahpsa3p46f6g1m-module-import-compiled': woken up
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': init
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': loading 
derivation
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/5sjh4grn2g5sypzllcyxcp3qwv8awg0h-module-import.drv': all outputs 
substituted (maybe)
|   |   building of `/gnu/store/35np5f5gdsl6qayp45d7368bac08hyq3-git.scm.drv': 
created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of `/gnu/store/35np5f5gdsl6qayp45d7368bac08hyq3-git.scm.drv': 
woken up
|   |   building of 
`/gnu/store/7vnql8i8z3b7q9xkp28wdxd632sxjbbb-guile-3.0.7.drv': created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/7vnql8i8z3b7q9xkp28wdxd632sxjbbb-guile-3.0.7.drv': woken up
|   |   building of 
`/gnu/store/j9jhim8y26kvzhll5dnpxdd0fjspls2a-config.scm.drv': created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of 
`/gnu/store/j9jhim8y26kvzhll5dnpxdd0fjspls2a-config.scm.drv': woken up
|   |   building of `/gnu/store/sywnigcng0jqc1lwcvy7g9aakcdxawy1-hash.scm.drv': 
created
|   |   acquiring write lock on `/var/guix/temproots/6626'
|   |   downgrading to read lock on `/var/guix/temproots/6626'
|   |   building of `/gnu/store/sywnigcng0jqc1lwcvy7g9aakcdxawy1-hash.scm.drv': 
woken up
|   |   substitution of 
`/gnu/store/17fi3vg87j1lw9ygy3pcjf3pmpi79vkg-records.scm': created
|   |   substitution of 
`/gnu/store/17fi3vg87j1lw9ygy3pcjf3pmpi79vkg-records.scm': woken up
|   |   substitution of `/gnu/store/1f2frr4fcdb8gib7x3akr6vz3562g73v-i18n.scm': 
created
|   |   substitution of `/gnu/store/1f2frr4fcdb8gib7x3akr6vz3562g73v-i18n.scm': 
woken up
|   |   substitution of 
`/gnu/store/1n4yp3f1gfzixq6rzhn07glr5kxcfrpk-diagnostics.scm': created
|   |   substitution of 
`/gnu/store/1n4yp3f1gfzixq6rzhn07glr5kxcfrpk-diagnostics.scm': woken up
|   |   substitution of 
`/gnu/store/1qgssicbsibn03a5bhdx591jmpraxhnw-grafts.scm': created
|   |   substitution of 
`/gnu/store/1qgssicbsibn03a5bhdx591jmpraxhnw-grafts.scm': woken up
|   |   substitution of 
`/gnu/store/2kw5wrnpisgwf30cxgav3xdjcwgd81nk-trivial.scm': created
|   |   substitution of 
`/gnu/store/2kw5wrnpisgwf30cxgav3xdjcwgd81nk-trivial.scm': woken up
|   |   substitution of 
`/gnu/store/315axnaqf07pzkd1iqvmhc64xi2wjy1a-utils.scm': created
|   |   substitution of 
`/gnu/store/315axnaqf07pzkd1iqvmhc64xi2wjy1a-utils.scm': woken up
|   |   substitution of 
`/gnu/store/35h3vchibsm1gh1rmq8q24c6akm2sw4x-module-import-builder': created
|   |   substitution of 

Re: stumpwm on guix - "sb-cltl2" issues

2022-05-03 Thread Wil deBeest

Benjamin Slade  writes:

> I'm trying to run my long-standing stumpwm init.lisp on a recent Guix
> install, using the packaged stumpwm, however when it launches, it
> fails to process the init.lisp and gives me an "Don't know how to
> REQUIRE sb-cltl2." error.
> 
> I've set the SBCL_HOME variable both in .xprofile and in the init.lisp
> itself [via `(sb-posix:putenv
> "SBCL_HOME=/run/current-system/profile/lib/sbcl/")' ], but this
> doesn't seem to help.
> 
> Is there a good way around this? (On my other system I just compile
> stumpwm from source and install; I don't know if that makes a
> difference here.)
> 
>  —Ben

I used to have the same problem, but I don't remember what fixed it.

SBCL_HOME isn't set at all, I only have `exec 
/home/bovid-19/.guix-profile/bin/stumpwm' in my
`~/.xinitrc', and my stumpwm init file starts like this:

(in-package :stumpwm)
(require 'sb-cltl2)


I'm not sure what else I can look for.



Re: stumpwm on guix - "sb-cltl2" issues

2022-05-03 Thread Wil deBeest

Wil deBeest  writes:

> 
> Benjamin Slade  writes:
> 
>> I'm trying to run my long-standing stumpwm init.lisp on a recent Guix
>> install, using the packaged stumpwm, however when it launches, it
>> fails to process the init.lisp and gives me an "Don't know how to
>> REQUIRE sb-cltl2." error.
>> I've set the SBCL_HOME variable both in .xprofile and in the init.lisp
>> itself [via `(sb-posix:putenv
>> "SBCL_HOME=/run/current-system/profile/lib/sbcl/")' ], but this
>> doesn't seem to help.
>> Is there a good way around this? (On my other system I just compile
>> stumpwm from source and install; I don't know if that makes a
>> difference here.)
>> —Ben
> 
> I used to have the same problem, but I don't remember what fixed it.
> 
> SBCL_HOME isn't set at all, I only have `exec 
> /home/bovid-19/.guix-profile/bin/stumpwm' in my
> `~/.xinitrc', and my stumpwm init file starts like this:
> 
> (in-package :stumpwm)
> (require 'sb-cltl2)
> 
> 
> I'm not sure what else I can look for.

I have probably found the solution: in addition to stumpwm, I also have
`cl-trivial-cltl2' and `cl-asdf' (and sbcl) in my system configuration.
If you can confirm that those two packages are what was missing, we
should add them to the stumpwm package as inputs.