Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Tobias Geerinckx-Rice

Good morning!

sirgazil wrote:

[I wrote]:

sirgazil wrote:
As far as I can see, Jorge is not trying to decompress the ISO 
but the ".iso.xz" file, which you have to decompress before 
copying it to the installation media.


No… 


I say so because the first step in the manual for "Copying to a 
USB
Stick" and "Burning on a DVD" says, "Decompress the image using 
the

xz command: xz -d guix-system-install-1.0.1.system.iso.xz".


Exactly: ‘decompress the image’, not ‘decompress the image and 
extract all its files’, as was being done in the screenshot. 
That's a pretty big difference!


Hence why it's best to follow the commands given in the manual: 
even if one doesn't know the difference between ‘decompressing’ 
and ‘extracting’ above, the command will do the right thing for 
you.


Kind regards,

T G-R


signature.asc
Description: PGP signature


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread sirgazil
Buenas, Jorge:


 On Mon, 10 Jun 2019 10:39:31 -0500 Jorge Terán  wrote 


 > Favor prestar ayuda para resolver la descarga. 

Como dice Laura, hay un problema de permisos al intentar descomprimir el 
archivo usando Nautilus (conocido ahora como GNOME Files). A mí me ocurre igual 
(no sé si esto es un error). Sin embargo, si se descomprime siguiendo las 
instrucciones del manual, la descompresión ocurre sin problemas. Es decir, 
podés ejecutar las siguientes órdenes en un terminal para descomprimir el 
archivo ".xz":

$ cd ~/Descargas
$ xz -d guix-system-install-1.0.1.i686-linux.iso.xz

Estas instrucciones, junto con las demás instrucciones recomendadas para 
instalar y configurar el sistema, están en el manual:

https://www.gnu.org/software/guix/manual/en/html_node/System-Installation.html

Yo recomendaría seguir el manual al pie de la letra, como dice Tobias, para 
evitar resultados raros. Así también, si en cualquier momento se te presenta 
otro problema, nos podés escribir especificando el paso concreto que estás 
siguiendo en el manual, de manera que todos podamos estar en la misma página.

Suerte con la instalación :)








List available versions of package.

2019-06-10 Thread Philippe Veber
Hi all,

I'm getting started with guix, and so far it's been just fine. I would like
to see all available versions for a given package. Is there a command that
would help me with that?

Cheers,
  Philippe.


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread sirgazil
 On Mon, 10 Jun 2019 15:56:51 -0500 Tobias Geerinckx-Rice  
wrote 

 > Sirgazil, 
 >  
 > sirgazil wrote: 
 > > As far as I can see, Jorge is not trying to decompress the ISO 
 > > but the ".iso.xz" file, which you have to decompress before 
 > > copying it to the installation media. 
 >  
 > No… 


I say so because the first step in the manual for "Copying to a USB Stick" and 
"Burning on a DVD" says, "Decompress the image using the xz command: xz -d 
guix-system-install-1.0.1.system.iso.xz". I don't understand...





Re: List available versions of package.

2019-06-10 Thread Tobias Geerinckx-Rice

Philippe,

Philippe Veber wrote:

I'm getting started with guix, and so far it's been just fine.


Welcome!


I would like to see all available versions for a given package.
Is there a command that would help me with that?


There is:

 $ guix package --list-available=^glibc$
 glibc	2.25	out,debug,static 
 gnu/packages/base.scm:921:2
 glibc	2.22	out,debug,static 
 gnu/packages/base.scm:980:2

 …

For easier interactive use, you can use the short option ‘-A’.

Note that this option takes a regular expression as argument. 
That makes it powerful, but means you'll have to enclose the name 
in ‘^…$’ if you want to match one specific package.


Kind regards,

T G-R


signature.asc
Description: PGP signature


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Tobias Geerinckx-Rice

Sirgazil,

sirgazil wrote:
As far as I can see, Jorge is not trying to decompress the ISO 
but the ".iso.xz" file, which you have to decompress before 
copying it to the installation media.


No…

Anyway, I think ‘follow the manual’ is the correct general 
solution to the problem (and many like it), and that message seems 
to have come across loud and clear.


Good luck, Jorge!

T G-R


signature.asc
Description: PGP signature


Problem with building service from my channel

2019-06-10 Thread Jack Hill

Hi Guix,

I have defined the planisphere-report-service-type in my channel 



This has been working well for me, and I have most recently been able to 
build my channel with `guix pull` with the following version of guix:


```
$ guix describe
Generation 5Jun 10 2019 13:44:44(current)
  guix 31775e4
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: 31775e400e05fb05fff0de4d3ffbf9549fe20994
  guix-at-duke 363d627
repository URL: https://gitlab.oit.duke.edu/jackhill/guix-at-duke.git
branch: master
commit: 363d6270d5e3505c34aa0dbfa221f64421497587
```

However, when I try to pull the most recent guix, 
aec9bb8793ca75a5bbc1731460ed4eb388764202, the build of my channel fails:


```
building /gnu/store/hycfgn8iiy9z205zi1174sgcgs0vnm5r-guix-at-duke.drv...
|builder for `/gnu/store/hycfgn8iiy9z205zi1174sgcgs0vnm5r-guix-at-duke.drv' 
failed to produce output path 
`/gnu/store/kd88fi3fsbghnscxp0ccjrzh0si055mg-guix-at-duke'
build of /gnu/store/hycfgn8iiy9z205zi1174sgcgs0vnm5r-guix-at-duke.drv failed
View build log at 
'/var/log/guix/drvs/hy/cfgn8iiy9z205zi1174sgcgs0vnm5r-guix-at-duke.drv.bz2'.
```

The build log is;

```
(repl-version 0 0)
(exception misc-error (value #f) (value "Unbound variable: ~s") (value 
(mcron-service-type)) (value #f))
```

Presumably there was some change to the mcron-service-type recently that 
requires changes in my channel, but I don't see what they could be or how 
to fix my channel.


What's going on here? What is the Guile exception trying to tell me?

Best,
Jack



Re: Why are these derivations different?

2019-06-10 Thread Marius Bakke
Jack Hill  writes:

> On Sat, 8 Jun 2019, Marius Bakke wrote:
>
>> Jack Hill  writes:
>>
>>> Hi Guix,
>>>
>>> I'm trying to copy the store items for ungoogled-chromium from one of my
>>> hosts that has many computational resources to another one that does not,
>>> so that I do not have to build ungoogled-chromium on the less powerful
>>> host.
>>>
>>> However, even after copying the store items using guix archive --export |
>>> guix archive --import, the less powerful host wants to build
>>> ungoogled-chromium because the derivations differ (see attachments).
>>
>> I suspect this has to do with grafts.  Guix is missing a substitute for
>> the 'ungrafted' package and fails to realize the grafted derivation.
>>
>> Exporting with --no-grafts should do the trick.
>
> Marius,
>
> Thanks! That was it.
>
> If you don't mind, I have a few follow up question to help me understand 
> how everything works:
>
> How is guix archive --no-grafts different from guix build --no-grafts? Oh, 
> or after reading the manual for --no-grafts again, maybe I used the wrong 
> incantation (guix build --no-grafts package-name instead of guix build 
> package-name --no-grafts)?
>
> What's really going on with --no-grafts. Is it that guix on my less 
> powerful host has never seen the the ungoogled-chromium version build 
> against the older dependencies, so doesn't accept the older version that 
> could be grafted? I guess, I'm not sure exactly what you mean by "fails to 
> realize the grafted derivation". Is that a bug?

Sorry, just a lazy and poor attempt at explaining what's going on...  :-)

> Sorry, I don't think that question was very clear. It probably means that 
> while I think I know what grafts are, I don't know enough about what's 
> going on to ask the question properly. I think this all could be summarized 
> as, "please explain more."

Grafts are are ignored in some parts of Guix.  In this case, if you
inspect the profile derivation when doing 'guix install -n
ungoogled-chromium', you can see that the computed profile.drv needs to
produce the ungrafted ungoogled-chromium-x.y.z.drv, because the
profile-builder references the _ungrafted_ package. 

I'm not sure of the exact mechanics that follow, but I guess grafts are
only computed afterwards, recursively, for the generated profile.

HTH,
Marius


signature.asc
Description: PGP signature


Re: libGL error: No matching fbConfigs or visuals found

2019-06-10 Thread Myles English


on [2019-06-07] at 10:46 Myles English writes:

> Running glxgears installed by guix on an up-to-date Arch Linux gives the 
> following error:
>
> $ LIBGL_DEBUG=verbose /home/myles/.guix-profile/bin/glxgears
> libGL: screen 0 does not appear to be DRI2 capable  
> libGL: OpenDriver: trying 
> /gnu/store/r4vm5vdfr08p560phwjbx27vl095v58r-mesa-18.3.5/lib/dri/tls/swrast_dri.so
> libGL: OpenDriver: trying 
> /gnu/store/r4vm5vdfr08p560phwjbx27vl095v58r-mesa-18.3.5/lib/dri/swrast_dri.so
> libGL: Can't open configuration file 
> /gnu/store/r4vm5vdfr08p560phwjbx27vl095v58r-mesa-18.3.5/etc/drirc: No such 
> file or directory.
> libGL: Can't open configuration file /home/myles/.drirc: No such file or 
> directory.
> libGL: Can't open configuration file 
> /gnu/store/r4vm5vdfr08p560phwjbx27vl095v58r-mesa-18.3.5/etc/drirc: No such 
> file or directory.
> libGL: Can't open configuration file /home/myles/.drirc: No such file or 
> directory.
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> X Error of failed request:  BadValue (integer parameter out of range for 
> operation)
>   Major opcode of failed request:  151 (GLX)
>   Minor opcode of failed request:  3 (X_GLXCreateContext)
>   Value in failed request:  0x0
>   Serial number of failed request:  36
>   Current serial number in output stream:  38
>
> The glxgears installed by pacman runs fine.  What do I need to do to get it 
> working?

I replaced the nvidia driver with nouveau on the host and now it works fine.

Myles



Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Laura Lazzati
Hola Jorge!

Cómo estás?

Por lo que puedo ver tenés un inconveniente de permisos, lo descargaste
como root tal vez?
Intentá correr `sudo chown  ` desde una
terminal y decime la salida de eso.

Un saludo!
Laura

-For Guix folks, sorry for  my Spanish, I am trying to help :)-


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Tobias Geerinckx-Rice

Jorge,

[I hope English is all right; I don't speak Spanish good.]

Jorge Terán wrote:

Favor prestar ayuda para resolver la descarga.


This isn't a problem with the download.

The Guix System installer that you've downloaded is designed to be 
decompressed and written directly to a DVD or USB drive using dd. 
This process is described in detail in the manual[0], including 
the ‘xz’ command to decompress the image.


You'll have more fun if you follow it step by step: don't skip the 
boring ones, and don't add any of your own (like this one ;-)


Good luck!

T G-R

[0]: 
https://www.gnu.org/software/guix/manual/es/html_node/Instalacion-del-sistema.html#Instalaci_00f3n-del-sistema


signature.asc
Description: PGP signature


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Tobias Geerinckx-Rice

Laura, Jorge,

Laura Lazzati wrote:
Por lo que puedo ver tenés un inconveniente de permisos, lo 
descargaste

como root tal vez?
Intentá correr `sudo chown  ` 
desde una

terminal y decime la salida de eso.


From the ‘/boot’ in the screenshot, I gathered that they were 
trying to extract the *contents* of the ISO, not the ISO itself 
(or rather, that their ‘helpful’ GUI tool is doing so :-/).


I don't use Gnome, though; is that assumption correct?

Kind regards,

T G-R


signature.asc
Description: PGP signature


Re: Why are these derivations different?

2019-06-10 Thread Jack Hill

On Mon, 10 Jun 2019, Marius Bakke wrote:


What's really going on with --no-grafts. Is it that guix on my less
powerful host has never seen the the ungoogled-chromium version build
against the older dependencies, so doesn't accept the older version that
could be grafted? I guess, I'm not sure exactly what you mean by "fails to
realize the grafted derivation". Is that a bug?


Sorry, just a lazy and poor attempt at explaining what's going on...  :-)


No worries, I appreciate you taking the time to help me understand.


Sorry, I don't think that question was very clear. It probably means that
while I think I know what grafts are, I don't know enough about what's
going on to ask the question properly. I think this all could be summarized
as, "please explain more."


Grafts are are ignored in some parts of Guix.  In this case, if you
inspect the profile derivation when doing 'guix install -n
ungoogled-chromium', you can see that the computed profile.drv needs to
produce the ungrafted ungoogled-chromium-x.y.z.drv, because the
profile-builder references the _ungrafted_ package.

I'm not sure of the exact mechanics that follow, but I guess grafts are
only computed afterwards, recursively, for the generated profile.


Ok, thank help. Thank you.

Jack



Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Laura Lazzati
Hi Tobias, Hola Jorge

Por lo que entiendo, Jorge está intentando extraer el archivo, por eso le
pregunté cómo lo descargó y si puede ponerse como owner del mismo para ver
qué sucede // As far as I can see, Jorge is trying to extract the tar file,
that's why I asked him how he downloaded it and if he can be the owner of
the file to see what happens.

Yo uso Gnome // I use Gnome.


Saludos! // Regards :)
Laura


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Tobias Geerinckx-Rice

Laura,

Thanks for helping out in Spanish!

Laura Lazzati wrote:
Por lo que entiendo, Jorge está intentando extraer el archivo, 
por eso le
pregunté cómo lo descargó y si puede ponerse como owner del 
mismo para ver
qué sucede // As far as I can see, Jorge is trying to extract 
the tar file,
that's why I asked him how he downloaded it and if he can be the 
owner of

the file to see what happens.


Aha, but this is the .iso, not the .tar file.  There's little to 
no point in extracting the ISO.



Yo uso Gnome // I use Gnome.


Nobody's perfect,

T G-R


signature.asc
Description: PGP signature


Re: Error al extraer iso guix GNU con linux

2019-06-10 Thread Laura Lazzati
Hola de nuevo // Hi again!

On Mon, Jun 10, 2019 at 2:40 PM Tobias Geerinckx-Rice  wrote:

> Laura,
>
> Thanks for helping out in Spanish!
>
De nada// You are welcome :)


> Aha, but this is the .iso, not the .tar file.  There's little to
> no point in extracting the ISO.
>
Sí, me confundí de extensión de archivo por la costumbre, perdón.Tiene que
descomprimir el .iso, acabo de descargarlo para probar y me funcionó en
línea de comandos con `xz -d  guix-system-install-1.0.1.x86_64-linux.iso.xz
(en tu caso Jorge usá el nombre del archivo que descargaste). // Yes, I
made a mistake because of being used to the other file extension, sorry. He
has to decompress the .iso. I have just downloaded to try it and it worked
on the CLI with that command (in his case he has to change the filename to
the one he downloaded).


> > Yo uso Gnome // I use Gnome.
>
> Nobody's perfect,
>
jajaj dejanos usar la GUI que nos guste  y no alejes a nuevos usuarios //
haha let us use the GUI that we like and don't discourage new users ;)

Saludos // Regards :)
Laura


Re: arm image ; daemon-socket error

2019-06-10 Thread Giovanni Biscuolo
Hello rhombus,

rhom...@transversals.org writes:

> after manually installing guixsd via the current guix-install.sh script 

[...]

> # guix system disk-image --system=armhf-linux -e "(@ (gnu system 
> install) beaglebone-black-installation-os)"
>
> it ended with the following:
>
> Guix System: Error: fails to connect to '/var/guix/daemon-socket/socket' 
> no such file or directory

Please can you check the guix-daemon is up and runnig and give some
feedback with details about it?

Usually `/var/guix/daemon-socket/socket` is created by guix-daemon on
startup

[...]

HTH, Gio'


-- 
Giovanni Biscuolo

Xelera IT Infrastructures


signature.asc
Description: PGP signature


emacs play-sound-file: No usable sound device driver found

2019-06-10 Thread Jeff Bauer
I've installed emacs 26.2 from the guix package
onto a foreign debian distro.  Mostly everything
appears to work fine, but play-sound-file causes:

"No usable sound device driver found"

I've installed alsa-lib and aplay -l produces:

card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]

The debian version has no problem playing sound.  Is
there a library install I'm missing?  Thanks.

-Jeff



Error al extraer iso guix GNU con linux

2019-06-10 Thread Jorge Terán
Favor prestar ayuda para resolver la descarga.

Saludos