bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)

2018-11-09 Thread Ludovic Courtès
Hello Rutger and all,

Our Xpra package seems to not be usable directly without installing
additional items:

--8<---cut here---start->8---
$ guix environment --ad-hoc xpra --pure -- xpra start :100
Warning: Xorg binary not found, assuming the wrapper is needed!
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/:100.log
$ cat /run/user/1000/xpra/:100.log
2018-11-09 14:37:42,986 Error: cannot enable SSH socket upgrades:
2018-11-09 14:37:42,986  No module named paramiko
2018-11-09 14:37:42,987 cannot access python uinput module:
2018-11-09 14:37:42,987  No module named uinput
2018-11-09 14:37:42,995 Error adding xauth entry for :100
2018-11-09 14:37:42,995  using command "xauth -f /home/ludo/.Xauthority add 
:100 MIT-MAGIC-COOKIE-1 7c2c66d9295545cfb1c27b1109b4b54e":
[mi] Extension "Composite" is not recognized
2018-11-09 14:37:42,995  [Errno 2] No such file or directory
[mi] Only the following extensions can be run-time enabled:
[mi]Generic Event Extension
[mi]MIT-SHM
[mi]XTEST
[mi]XINERAMA
[mi]XFIXES
[mi]RENDER
[mi]RANDR
[mi]COMPOSITE
[mi]DAMAGE
[mi]MIT-SCREEN-SAVER
[mi]DOUBLE-BUFFER
[mi]RECORD
[mi]DPMS
[mi]X-Resource
[mi]XVideo
[mi]XVideo-MotionCompensation
[mi]GLX
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
No protocol specified
--8<---cut here---end--->8---

On a foreign distro I see we’re also lacking a reference to
‘dbus-launch’:

--8<---cut here---start->8---
[courtes@devel13 ~]$ guix environment --ad-hoc xpra --pure -- xpra start :100
Warning: Xorg binary not found, assuming the wrapper is needed!
Entering daemon mode; any further errors will be reported to:
  /run/user/10218/xpra/:100.log
[courtes@devel13 ~]$ cat /run/user/10218/xpra/:100.log
2018-11-09 15:10:06,064 Error: cannot enable SSH socket upgrades:
2018-11-09 15:10:06,064  No module named paramiko
2018-11-09 15:10:06,066 cannot access python uinput module:
2018-11-09 15:10:06,066  No module named uinput
2018-11-09 15:10:06,079 Error adding xauth entry for :100
2018-11-09 15:10:06,080  using command "xauth -f /home/courtes/.Xauthority add 
:100 MIT-MAGIC-COOKIE-1 9519cb23f6a348eda7f068d9317a664c":
2018-11-09 15:10:06,080  [Errno 2] No such file or directory
[mi] Extension "Composite" is not recognized
[mi] Only the following extensions can be run-time enabled:
[mi]Generic Event Extension
[mi]MIT-SHM
[mi]XTEST
[mi]XINERAMA
[mi]XFIXES
[mi]RENDER
[mi]RANDR
[mi]COMPOSITE
[mi]DAMAGE
[mi]MIT-SCREEN-SAVER
[mi]DOUBLE-BUFFER
[mi]RECORD
[mi]DPMS
[mi]X-Resource
[mi]XVideo
[mi]XVideo-MotionCompensation
[mi]GLX
2018-11-09 15:10:06,472 Warning: some of the sockets are in an unknown state:
2018-11-09 15:10:06,473  /home/courtes/.xpra/devel13-100
2018-11-09 15:10:06,473  please wait as we allow the socket probing to timeout
2018-11-09 15:10:12,502 created unix domain socket: 
/home/courtes/.xpra/devel13-100
/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh: 
dbus-launch: command not found
dbus-launch failed to start using command 'dbus-launch --close-stderr':

 exit code is 127

--8<---cut here---end--->8---

Thoughts?

Thanks in advance,
Ludo’.





bug#33325: xpra doesn't work out-of-the-box (implicit dependencies)

2018-11-09 Thread Rutger Helling
Hello Ludo,

Does the :100 server show up when you do 'xpra list' after the command?

If so, can you try the following commands to see if it works:
$ guix environment --ad-hoc xpra --pure -- xpra attach :100
And then on a different terminal:
$ DISPLAY=:100 gui-program

On Fri, 09 Nov 2018 15:12:25 +0100
ludovic.cour...@inria.fr (Ludovic Courtès) wrote:

> Hello Rutger and all,
> 
> Our Xpra package seems to not be usable directly without installing
> additional items:
> 
> --8<---cut here---start->8---
> $ guix environment --ad-hoc xpra --pure -- xpra start :100
> Warning: Xorg binary not found, assuming the wrapper is needed!
> Entering daemon mode; any further errors will be reported to:
>   /run/user/1000/xpra/:100.log
> $ cat /run/user/1000/xpra/:100.log
> 2018-11-09 14:37:42,986 Error: cannot enable SSH socket upgrades:
> 2018-11-09 14:37:42,986  No module named paramiko
> 2018-11-09 14:37:42,987 cannot access python uinput module:
> 2018-11-09 14:37:42,987  No module named uinput
> 2018-11-09 14:37:42,995 Error adding xauth entry for :100
> 2018-11-09 14:37:42,995  using command "xauth
> -f /home/ludo/.Xauthority add :100 MIT-MAGIC-COOKIE-1
> 7c2c66d9295545cfb1c27b1109b4b54e": [mi] Extension "Composite" is not
> recognized 2018-11-09 14:37:42,995  [Errno 2] No such file or
> directory [mi] Only the following extensions can be run-time enabled:
> [mi]Generic Event Extension [mi]MIT-SHM
> [mi]XTEST
> [mi]XINERAMA
> [mi]XFIXES
> [mi]RENDER
> [mi]RANDR
> [mi]COMPOSITE
> [mi]DAMAGE
> [mi]MIT-SCREEN-SAVER
> [mi]DOUBLE-BUFFER
> [mi]RECORD
> [mi]DPMS
> [mi]X-Resource
> [mi]XVideo
> [mi]XVideo-MotionCompensation
> [mi]GLX
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> No protocol specified
> --8<---cut here---end--->8---
> 
> On a foreign distro I see we’re also lacking a reference to
> ‘dbus-launch’:
> 
> --8<---cut here---start->8---
> [courtes@devel13 ~]$ guix environment --ad-hoc xpra --pure -- xpra
> start :100 Warning: Xorg binary not found, assuming the wrapper is
> needed! Entering daemon mode; any further errors will be reported to:
>   /run/user/10218/xpra/:100.log
> [courtes@devel13 ~]$ cat /run/user/10218/xpra/:100.log
> 2018-11-09 15:10:06,064 Error: cannot enable SSH socket upgrades:
> 2018-11-09 15:10:06,064  No module named paramiko
> 2018-11-09 15:10:06,066 cannot access python uinput module:
> 2018-11-09 15:10:06,066  No module named uinput
> 2018-11-09 15:10:06,079 Error adding xauth entry for :100
> 2018-11-09 15:10:06,080  using command "xauth
> -f /home/courtes/.Xauthority add :100 MIT-MAGIC-COOKIE-1
> 9519cb23f6a348eda7f068d9317a664c": 2018-11-09 15:10:06,080  [Errno 2]
> No such file or directory [mi] Extension "Composite" is not
> recognized [mi] Only the following extensions can be run-time
> enabled: [mi]Generic Event Extension [mi]MIT-SHM
> [mi]XTEST
> [mi]XINERAMA
> [mi]XFIXES
> [mi]RENDER
> [mi]RANDR
> [mi]COMPOSITE
> [mi]DAMAGE
> [mi]MIT-SCREEN-SAVER
> [mi]DOUBLE-BUFFER
> [mi]RECORD
> [mi]DPMS
> [mi]X-Resource
> [mi]XVideo
> [mi]XVideo-MotionCompensation
> [mi]GLX
> 2018-11-09 15:10:06,472 Warning: some of the sockets are in an
> unknown state: 2018-11-09
> 15:10:06,473  /home/courtes/.xpra/devel13-100 2018-11-09
> 15:10:06,473  please wait as we allow the socket probing to timeout
> 2018-11-09 15:10:12,502 created unix domain
> socket: /home/courtes/.xpra/devel13-100 
> /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/sh:
> dbus-launch: command not found dbus-launch failed to start using
> command 'dbus-launch --close-stderr':
> 
>  exit code is 127
> 
> --8<---cut here---end--->8---
> 
> Thoughts?
> 
> Thanks in advance,
> Ludo’.



pgpgzKkPfSU89.pgp
Description: OpenPGP digital signature


bug#33326: gnupg: error: .config/guix/upstream/trustedkeys.kbx': No such file or directory

2018-11-09 Thread swedebugia

This happened in a GuixSD 0.15 VM inside this env:

$ guix environment guix --ad-hoc help2man git strace   pkg-config less 
binutils coreutils grep guile guile-git guile-json gcc gnupg --no-grafts 
-l ~/my-packages/guile-gcrypt.scm


--
Starting download of /tmp/guix-file.HZZqZi
From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz...
following redirection to 
`https://mirror.us-midwest-1.nexcess.net/gnu/artanis/artanis-0.2.5.tar.gz'...
 …2.5.tar.gz  506KiB  307KiB/s 00:02 
[##] 100.0%


Starting download of /tmp/guix-file.7s85Nf

From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz.sig...
following redirection to 
`https://mirrors.tripadvisor.com/gnu/artanis/artanis-0.2.5.tar.gz.sig'...
 …5.tar.gz.sig  833B  395KiB/s 00:00 
[##] 100.0%
gpgv: keyblock resource 
'/home/sdb/.config/guix/upstream/trustedkeys.kbx': No such file or directory

gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST
gpgv:    using RSA key F53B4C5695B5E4D56093432484696772846A0058
gpgv: Can't check signature: No public key
Would you like to add this key to keyring 
'/home/sdb/.config/guix/upstream/trustedkeys.kbx'?

y
gpg: failed to create temporary file 
'/home/sdb/.gnupg/.#lk0x00f6bb70.komputilo.1978': No such file 
or directory
gpg: connecting dirmngr at '/home/sdb/.gnupg/S.dirmngr' failed: No such 
file or directory

gpg: keyserver receive failed: No dirmngr
gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST
gpgv:    using RSA key F53B4C5695B5E4D56093432484696772846A0058
gpgv: Can't check signature: No public key
guix refresh: warning: signature verification failed for 
`mirror://gnu/artanis/artanis-0.2.5.tar.gz'
guix refresh: warning: (could be because the public key is not in your 
keyring)
guix refresh: warning: artanis: version 0.2.5 could not be downloaded 
and authenticated; not updating


$ gpg --version
gpg (GnuPG) 2.2.8
libgcrypt 1.8.2

--

"gpg" had just been installed for the env and had never been run (thus 
directories obviously needed was not present)


Running gpg and guix again fixed the problem:

--

sdb@komputilo ~/guix-tree [env]$ gpg
gpg: directory '/home/sdb/.gnupg' created
gpg: keybox '/home/sdb/.gnupg/pubring.kbx' created
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
gpg: Go ahead and type your message ...
^C
gpg: signal Interrupt caught ... exiting

sdb@komputilo ~/guix-tree [env]$ ./pre-inst-env guix refresh artanis -u
;;; note: source file /home/sdb/guix-tree/gnu/packages/guile.scm
;;;   newer than compiled /home/sdb/guix-tree/gnu/packages/guile.go
;;; note: source file /home/sdb/guix-tree/gnu/packages/guile.scm
;;;   newer than compiled 
/run/current-system/profile/lib/guile/2.2/site-ccache/gnu/packages/guile.go

Starting download of /tmp/guix-file.Egm4qn
From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz...
following redirection to 
`https://mirrors.ocf.berkeley.edu/gnu/artanis/artanis-0.2.5.tar.gz'...
 …2.5.tar.gz  506KiB  357KiB/s 00:01 
[##] 100.0%


Starting download of /tmp/guix-file.YwaD7f

From https://ftpmirror.gnu.org/gnu/artanis/artanis-0.2.5.tar.gz.sig...
following redirection to 
`https://ftp.wayne.edu/gnu/artanis/artanis-0.2.5.tar.gz.sig'...
 …5.tar.gz.sig  833B  577KiB/s 00:00 
[##] 100.0%

gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST
gpgv:    using RSA key F53B4C5695B5E4D56093432484696772846A0058
gpgv: Can't check signature: No public key
Would you like to add this key to keyring 
'/home/sdb/.config/guix/upstream/trustedkeys.kbx'?

y
gpg: /home/sdb/.gnupg/trustdb.gpg: trustdb created
gpg: key 84696772846A0058: public key "Mu Lei (Mu Lei known as 
NalaGinrut holds this key) " imported

gpg: Total number processed: 1
gpg:   imported: 1
gpgv: Signature made Mon 07 May 2018 08:20:36 PM CEST
gpgv:    using RSA key F53B4C5695B5E4D56093432484696772846A0058
gpgv: Good signature from "Mu Lei (Mu Lei known as NalaGinrut holds this 
key) "

gpgv: aka "Mu Lei (Alternative) "
gnu/packages/guile.scm:556:15: artanis: updating from version 0.2.1-3 to 
version 0.2.5...

--

Success!

I think this is a bug in gpg.

What do you think?

--
Cheers Swedebugia





bug#33330: Hurd failing to build

2018-11-09 Thread Brett Gilio


Hi all,

I know that the hurd is not supported on Guix at the moment. I was
trying to give it a try in spite of that, and it is failing to build.

I am sure that this is a known issue, but I could not find any
referencing issues of recent on debbugs.

building /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv...
builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed 
with exit code 1
build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
View build log at 
'/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
guix system: error: build failed: build of 
`/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed


  guix 03a4153
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 03a415365a1cfcc263f56d309f33a1a581790ca7

Best,
Brett Gilio





bug#33330: Hurd failing to build

2018-11-09 Thread Manolis Ragkousis
Hello Brett,

I imagine you run `guix build hurd`?

Can you share the build log?

Thank you,
Manolis
On 11/10/18 1:47 AM, Brett Gilio wrote:
> 
> Hi all,
> 
> I know that the hurd is not supported on Guix at the moment. I was
> trying to give it a try in spite of that, and it is failing to build.
> 
> I am sure that this is a known issue, but I could not find any
> referencing issues of recent on debbugs.
> 
> building /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv...
> builder for `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed 
> with exit code 1
> build of /gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv failed
> View build log at 
> '/var/log/guix/drvs/83/vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv.bz2'.
> guix system: error: build failed: build of 
> `/gnu/store/83vrxqm3xcwj9sn0kkbgaar4g7ac21ck-hurd-0.9.drv' failed
> 
> 
>   guix 03a4153
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 03a415365a1cfcc263f56d309f33a1a581790ca7
> 
> Best,
> Brett Gilio
> 
> 
>