bug#34063: dscrypt-proxy dependencies could not be built

2019-01-13 Thread znavko
Bug on `guix pull && guix package -u`:
using ci.guix.info dnscrypt-proxy-1.9.5 derivation could not be built because 
of dependencies.

$ guix pull && guix package -u
Updating channel 'guix' from Git repository at 
'https://git.savannah.gnu.org/git/guix.git' 
...
Building from this channel:
  guix  https://git.savannah.gnu.org/git/guix.git 
    14bba46
Computing Guix derivation for 'x86_64-linux'... /
nothing to be done

building 
/gnu/store/dlwsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv...
downloading from 
https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.9.5.tar.bz2 
...
sha256 hash mismatch for 
/gnu/store/0g2nfhrkzhgm9mr8hw1qy49j1xd2diij-dnscrypt-proxy-1.9.5.tar.bz2:
  expected hash: 1dhvklr4dg2vlw108n11xbamacaryyg3dbrg629b76lp7685p7z8
  actual hash:   0yll7p8h3k6ix7a7jfl6xsd4yzb65bw50qms2bp8d6yplyllipzc
hash mismatch for store item 
'/gnu/store/0g2nfhrkzhgm9mr8hw1qy49j1xd2diij-dnscrypt-proxy-1.9.5.tar.bz2'
build of 
/gnu/store/dlwsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv 
failed
View build log at 
'/var/log/guix/drvs/dl/wsmxp9djh28vzccagq83jffpx4d8il-dnscrypt-proxy-1.9.5.tar.bz2.drv.bz2'.
cannot build derivation 
`/gnu/store/wgrgfj5ki7cs7f2bp0skq11z87w88pp7-dnscrypt-proxy-1.9.5.tar.xz.drv': 
1 dependencies couldn't be built
cannot build derivation 
`/gnu/store/77riz9asfsprmx7xig4255b0bb7m0hny-dnscrypt-proxy-1.9.5.drv': 1 
dependencies couldn't be built
guix package: error: build failed: build of 
`/gnu/store/77riz9asfsprmx7xig4255b0bb7m0hny-dnscrypt-proxy-1.9.5.drv' failed


bug#34064: openshot 2.4.3 works badly

2019-01-13 Thread znavko
openshot 2.4.3 under GuxSD works in an off hand way

Note exactly this:
have lag when pull image from files list to a timeline - cursor just becomes 
circle and program stops for 15 seconds. and after that openshot can crash or 
can also perform image addition to a timeline
starts playing when cursor is on the start so ugly: waiting for 10 seconds 
after pressing play and breaks audio in start time
sometimes it stops when move or edit images length on a timeline
The worst bug is waiting 5secs and sound breaking when click 'play' on start 
postition.

I think should examine and improve openshot from guix repository.


bug#23201: GNOME lock screen hotkey doesn't work

2019-01-13 Thread Rene
Hello,

I think that this bug is solved with commits(master branch):

>From `92deb5cc920fcc7617302986180f1abee5fd2b2` to 
>`48c8d067d4ded776939cda6f9c63c25b38ba77fc`, using the GDM service.



Thank you
Rene





bug#33603: Invalid hash for NSS-Certs

2019-01-13 Thread Maxim Cournoyer
Hello!

Ludovic Courtès  writes:
[...]
> The wget commands above still give me the correct result, with hash
> 101v69xp1qzw9v6pgmbhw7gfdaic8vvs4v5l567lx7f2mjp25rla.
>
> Are you running Guix on a foreign distro?  If so, could it be that
> guix-daemon is effectively running in the C locale?

This is a good guess, and we've seen this very issue before. I am using
GuixSD. I had to use --fallback to work around it.

I've digged a little bit:
--8<---cut here---start->8---
$ wget -q -O - 
https://mirror.hydra.gnu.org/nar/gzip/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39
 | gunzip | guix archive -x 
/tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra

$ guix hash -r /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra
101v69xp1qzw9v6pgmbhw7gfdaic8vvs4v5l567lx7f2mjp25rla

$ guix build nss-certs
/gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39

$ guix hash -r /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39
08ziz714diyfq2klxy1nc0nhr5wa2vd356n9vizlq913a7an9a9s

$ diff -r /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra 
/gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39
Only in 
/tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra/etc/ssl/certs: 
AC_Raíz_Certicámara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem
Only in 
/gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39/etc/ssl/certs: 
AC_Ra?z_Certic?mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem
Only in 
/tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra/etc/ssl/certs: 
NetLock_Arany_=Class_Gold=_Főtanúsítvány:2.6.73.65.44.228.0.16.pem
Only in
/gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39/etc/ssl/certs:
NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny:2.6.73.65.44.228.0.16.pem
--8<---cut here---end--->8---

It's a rather old install (late 2016 -- but kept up-to-date, of course
:-)) so there might be remnants from the past?  How could I verify in
which locale the guix-daemon is running?

Thanks!

Maxim





bug#34062: qtwebkit-5.212.0-alpha2 parallel build failure

2019-01-13 Thread Ludovic Courtès
Seen on berlin:

--8<---cut here---start->8---
[ 81%] Generating 
../../DerivedSources/WebKit2/NPObjectMessageReceiverMessageReceiver.cpp, 
../../DerivedSources/WebKit2/NPObjectMessageReceiverMessages.h
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 Shared/Plugins/NPObjectMessageReceiver.messages.in > /
tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/NPObjectMessageReceiverMessageReceiver.cpp
[ 81%] Generating 
../../DerivedSources/WebKit2/DrawingAreaProxyMessageReceiver.cpp, 
../../DerivedSources/WebKit2/DrawingAreaProxyMessages.h
[ 81%] Generating 
../../DerivedSources/WebKit2/VisitedLinkStoreMessageReceiver.cpp, 
../../DerivedSources/WebKit2/VisitedLinkStoreMessages.h
[ 81%] Generating 
../../DerivedSources/WebKit2/WebBatteryManagerProxyMessageReceiver.cpp, 
../../DerivedSources/WebKit2/WebBatteryManagerProxyMessages.h
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/DrawingAreaProxy.messages.in > /tmp/guix-bui
ld-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/DrawingAreaProxyMessageReceiver.cpp
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/VisitedLinkStore.messages.in > /tmp/guix-bui
ld-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/VisitedLinkStoreMessageReceiver.cpp
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/WebBatteryManagerProxy.messages.in > /tmp/gu
ix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/WebBatteryManagerProxyMessageReceiver.cpp
[ 81%] Generating 
../../DerivedSources/WebKit2/WebCookieManagerProxyMessageReceiver.cpp, 
../../DerivedSources/WebKit2/WebCookieManagerProxyMessages.h
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/WebCookieManagerProxy.messages.in > /tmp/gui
x-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/WebCookieManagerProxyMessageReceiver.cpp
[ 81%] Generating 
../../DerivedSources/WebKit2/WebFullScreenManagerProxyMessageReceiver.cpp, 
../../DerivedSources/WebKit2/WebFullScreenManagerProxyMessages.h
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/WebFullScreenManagerProxy.messages.in > /tmp
/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/WebFullScreenManagerProxyMessageReceiver.cpp
Traceback (most recent call last):
  File 
"/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py",
 line 28, in 
import webkit.messages
ValueError: bad marshal data (string size out of range)
[ 81%] Generating 
../../DerivedSources/WebKit2/WebGeolocationManagerProxyMessageReceiver.cpp, 
../../DerivedSources/WebKit2/WebGeolocationManagerProxyMessages.h
cd 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2
 && /gnu/store/g87hamjyipk1j6dfq5pjfzfnfb64spbv-python2-2.7.15/bin/python2.7 
/tmp/g
uix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Scripts/generate-message-receiver.py
 UIProcess/WebGeolocationManagerProxy.messages.in > 
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebKit2/WebGeolocationManagerProxyMessageReceiver.cpp
make[2]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:254: 
DerivedSources/WebKit2/VisitedLinkStoreMessageReceiver.cpp] Error 1
make[2]: *** Deleting file 
'DerivedSources/WebKit2/VisitedLinkStoreMessageReceiver.cpp'
--8<---cut here---end--->8---

Looks like a non-parallel-safe Makefile.

Ludo’.





bug#25453: Keyboard layout configuration

2019-01-13 Thread nee
Am 13.01.19 um 22:36 schrieb Ludovic Courtès:
>> 1) grub
>> 2) linux's initrd
>> 3) console
>> 4) X/wayland's layout
>> 5) How to do the above
> 

Hello, I was working on this recently and made a patch for X11 that
fixes the layout in the slim login and when you login into gnome3 or
whatever desktop environment.

I also made a patch for grub that fixes the layout when you edit the
boot command for a menu entry, but not for the luks prompt. I think that
might require installing a custom grub image (grub-mkimage) with
grub-bios-setup instead of using grub-install (I saw some posts on the
archlinux forum I don't have a link to right now). But this patch should
lay the groundwork for it, as it can generate grub keyboard config files.

The patches are pretty dirty, but I might not have that much time in the
next few weeks to work on this, and since is hot on the mailing list
right now, I'm sending them here now.

Happy hacking!
>From 5612630ea4324339322ba726846d1962aaa86dc8 Mon Sep 17 00:00:00 2001
From: nee 
Date: Sat, 5 Jan 2019 22:07:30 +0100
Subject: [PATCH] bootloader: grub custom keyboard-layout, but luks password
 prompts are still unaffected

---
 gnu/bootloader/grub.scm  | 128 +++
 gnu/packages/bootloaders.scm |  11 +++
 gnu/packages/xorg.scm| 121 +
 3 files changed, 215 insertions(+), 45 deletions(-)

diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 161e8b3d0..ca9f2f565 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -29,6 +29,7 @@
   #:use-module (gnu system file-systems)
   #:autoload   (gnu packages bootloaders) (grub)
   #:autoload   (gnu packages gtk) (guile-cairo guile-rsvg)
+  #:autoload   (gnu packages xorg) (xkeyboard-config)
   #:use-module (ice-9 match)
   #:use-module (ice-9 regex)
   #:use-module (srfi srfi-1)
@@ -46,6 +47,8 @@
 %background-image
 %default-theme
 
+grub-keyboard-layout-file
+
 grub-bootloader
 grub-efi-bootloader
 grub-mkrescue-bootloader
@@ -219,11 +222,35 @@ fi~%"
 ;;; Configuration file.
 ;;;
 
+(define* (grub-keyboard-layout-file
+  #:key
+  (layout #f) ; something like "fr" "de" "ru"
+  (grub grub)
+  (xkeyboard-config xkeyboard-config))
+  "Returns a Gexp that generates a xkb keyboard LAYOUT file that GRUB can load.
+The LAYOUT must be present in XKEYBOARD-CONFIGs share/X11xkb/symbols/ directory.
+When LAYOUT is #f no file will be generated and 'no-keymap-used is
+returned in a gexp."
+  (define builder
+#~(zero?
+   (system* (string-append #$grub "/bin/grub-kbdcomp")
+(string-append #$xkeyboard-config
+   "/share/X11/xkb/symbols/" #$layout)
+(string-append "-I" #$xkeyboard-config
+   "/share/X11/xkb")
+"-rules" "base"
+"-o" #$output)))
+
+  (if layout
+  (computed-file "keyboard-layout.xkb" builder)
+  (gexp 'no-keymap-used)))
+
+
 (define (grub-setup-io config)
   "Return GRUB commands to configure the input / output interfaces.  The result
 is a string that can be inserted in grub.cfg."
   (let* ((symbols->string (lambda (list)
-   (string-join (map symbol->string list) " ")))
+(string-join (map symbol->string list) " ")))
  (outputs (bootloader-configuration-terminal-outputs config))
  (inputs (bootloader-configuration-terminal-inputs config))
  (unit (bootloader-configuration-serial-unit config))
@@ -233,41 +260,41 @@ is a string that can be inserted in grub.cfg."
  ;; as documented in GRUB manual section "Simple Configuration
  ;; Handling".
  (valid-outputs '(console serial serial_0 serial_1 serial_2 serial_3
-  gfxterm vga_text mda_text morse spkmodem))
+  gfxterm vga_text mda_text morse spkmodem))
  (valid-inputs '(console serial serial_0 serial_1 serial_2 serial_3
- at_keyboard usb_keyboard))
+ at_keyboard usb_keyboard))
 
  (io (string-append
-   "terminal_output "
-   (symbols->string
- (map
-   (lambda (output)
- (if (memq output valid-outputs) output #f)) outputs)) "\n"
-   (if (null? inputs)
- ""
- (string-append
-   "terminal_input "
-   (symbols->string
- (map
-   (lambda (input)
- (if (memq input valid-inputs) input #f)) inputs)) "\n"))
-   ;; UNIT and SPEED are arguments to the same GRUB command
-   ;; ("serial"), so we process them together.
-   (if (or unit speed)
- (string-append
-   

bug#25453: Keyboard layout configuration

2019-01-13 Thread Ludovic Courtès
Hello Joshua,

Thanks a lot for working on this!  I’d really like 1.0 to provide a
reasonable way to configure the keyboard layout once and for all.

I suggest we continue the discussion in the context of
.

Joshua Branson  skribis:

> I believe I have identified conceptually how to do some of these things.
>
> This project breaks down into four areas
>
> Getting the layout to work with:
>
> 1) grub
> 2) linux's initrd
> 3) console
> 4) X/wayland's layout
> 5) How to do the above

There’s also the question of how to “translate” keyboard layouts among
all of these.  Debian has a mechanism whereby you specify the layout in
a single place, and it then does the right thing for GRUB, Linux, X, and
so on.  I forgot how it works, but we should aim for something like
that.

> 1)  I was not able to get grub to generate an alternate keyboard layout.
>
> #+BEGIN_SRC sh :results output :exports both
> sudo grub-kbdcomp -o /boot/grub/dvorak.gkb dvorak
> #+END_SRC
>
> #+RESULTS:
> : /home/joshua/.guix-profile/bin/grub-kbdcomp: line 76: ckbcomp: command not 
> found
> : ERROR: no valid keyboard layout found. Check the input.
>
> Do we have ckbcomp installed?  How do I install that?

I searched on packages.debian.org, and it’s in ‘console-setup’, which
happens to be the thing I was mentioning above:  :-)

  https://packages.debian.org/stretch/console-setup

It looks like Debian is actually upstream for this package, but it may
be usable on non-Debian systems as well.

> 2) Linux's initrd

We’d probably need to invoke ‘loadkeys’ or similar from the initrd, and
to embed only the specific layout files that we need.  See (gnu system
linux-initrd).

> 3) console
>This shouldn't be all that hard to do.  We just have to add a
>console-keymap-service.

Yes, #2 and #3 are actually the same thing (and redundant), except that
in #2 we have to be careful not to embed too much in the initrd.

> 4) X/Wayland's layout shouldn't be all that hard to do too.  X is just
> a simple xorg-start-command tweak.  I'm not certain how to do the same
> for wayland yet.

OK.

> 5) Now, how do I go about doing the above?  I thought about modifying
> %base-services and %desktop services, but some users won't use those
> variables.  So I am going to have to do some change at a deeper level.
> I believe that I found the reconfigure module in the guix source code,
> and I see the variable called "operating-system-user-services".  My
> intent is to modify this variable, and that should be how a good-old
> reconfigure will change your layout.

I think we’ll have to use ‘console-setup’.

The difficulty is that we want a single ‘keyboard-layout’ field (say) in
the OS config that would have an effect on GRUB, the Linux console,
Xorg, and Wayland, *if* they are used (setting the keyboard layout
shouldn’t require you to use Xorg, for instance.)

So I think we cannot use the standard Guix-y static approach where
services are instantiated directly with the right configuration.

Instead, Xorg & co. may need to look for a config file at a fixed
location, say /etc/guix/keyboard-layout.conf, pretty much the same way
it’s done on Debian & co.

Thoughts?

Ludo’.





bug#30785: Man pages truncated, repeated

2019-01-13 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> My proposed patch:
>
> (add-after 'install 'wrap-program
>(lambda* (#:key inputs outputs #:allow-other-keys)
> (let* ((out  (assoc-ref outputs "out"))
>(groff (assoc-ref inputs "groff-minimal")))
>   (wrap-program (string-append out "/bin/man")
> `("PATH" ":" prefix (,(string-append groff "/bin")
> #t))

It would have the same effect as Marius’ commit
296551a2e9310d4a030ee49530e9367e73aaeecf, wouldn’t it?

My understanding, at this point, is that we need to find out why
‘preconv’ segfaults, no?

Thanks,
Ludo’.





bug#34061: bug: failed to compute derivation

2019-01-13 Thread Benjamin Slade
On my Arch machine with a Guix standalone, I got the following error on
`guix pull`:

--8<---cut here---start->8---

downloading from 
https://ci.guix.info/nar/gzip/gamnx3nkn3yqa6izis5lpw1n3hg9yb5f-compute-guix-derivation...
 compute-guix-derivation  900B  
   
131KiB/s 00:00 [##] 100.0%
guile: warning: failed to install locale
Computing Guix derivation for 'x86_64-linux'...  guix pull: error: You found a 
bug: the program 
'/gnu/store/gamnx3nkn3yqa6izis5lpw1n3hg9yb5f-compute-guix-derivation'
failed to compute the derivation for Guix (version: 
"c4aa1ebc814eab6c71501d996c010e2321244c00"; system: "x86_64-linux";
host version: "0.16.0-8.7ba2b27"; pull-version: 1).
Please report it by email to .
--8<---cut here---end--->8---



-- 
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
'(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
   `(Choose Linux ,(Choose Freedom) . https://linux.com )





bug#30785: Man pages truncated, repeated

2019-01-13 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> And... from the log I just noticed that Marius had arrived to the same
> conclusion 8 months ago :(
>
> That'll teach me to look at logs before getting started...

Heheh.  :-)

Another useful debugging tip is setting PIPELINE_DEBUG=1.

Anyway I hope we’ll soon squash that bug!

Ludo’.