bug#40549: More usability issues:

2020-04-24 Thread zimoun
On Thu, 23 Apr 2020 at 21:52, Tom via Bug reports for GNU Guix
 wrote:
>
> To add detail here:
>
> Doing `guix package -d 18 -S 17` actually works.
>
> This gives me the impression that the order of arguments is relevant to the
> processing of them.

It is known and cumbersome: a feature? ;-)

Other examples:

  guix package -I -A # does nothing
  guix package -A -I # list available


> Another, similar, example is:
>
>guix package -l --profile=a
>
> this doesn't work. But the most curious thing is that this does:
>
>guix package --list-installed --profile=a

It is worse than that.

--8<---cut here---start->8---
# OK
 guix package --list-generations -p /path/to/profile
 guix package --list-installed -p /path/to/profile

# KO
 guix package -l -p /path/to/profile
 guix package -I -p /path/to/profile

# OK
 guix package -p /path/to/profile -l
 guix package -p /path/to/profile -I

# KO
 guix package -l --profile=/path/to/profile

# Do nothing
 guix package -I --profile=/path/to/profile

# OK
 guix package -l --profile=/path/to/profile -l
 guix package -I --profile=/path/to/profile -I
--8<---cut here---end--->8---


Well, it seems there is a bug. :-)

Back to the first examples:

--8<---cut here---start->8---
# Do something
 guix package --list-installed -A

# Do nothing
 guix package -I -A
--8<---cut here---end--->8---


Thanks for reporting.

All the best,
simon





bug#40816: ‘guix pack -R’ wrapper swallows exit code

2020-04-24 Thread Ludovic Courtès
Hello!

As janneke reported earlier today, wrappers generated by ‘guix pack -R’
(or ‘-RR’) swallow the program’s exit code when running in user
namespace mode:

--8<---cut here---start->8---
$ mkdir /tmp/pack
$ (cd /tmp/pack; tar xf $(guix pack -R sed -S /bin=bin))
$ unshare -mrf sh -c 'mount -t tmpfs none /gnu; /tmp/pack/bin/sed --whatever'
/tmp/pack/bin/sed: unrecognized option '--whatever'

[...]

$ echo $?
0
$ guix describe
Generacio 139   Apr 13 2020 21:50:08(nuna)
  guix bad368b
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: bad368b0d794689f3a8a11b58f1ea4987938682e
--8<---cut here---end--->8---

(The ‘unshare’ trick, also used in ‘tests/guix-pack-relocatable.sh’,
allows me to pretend there’s no /gnu/store on my machine.)

Ludo’.





bug#40816: ‘guix pack -R’ wrapper swallows exit code

2020-04-24 Thread Ludovic Courtès
Ludovic Courtès  skribis:

> As janneke reported earlier today, wrappers generated by ‘guix pack -R’
> (or ‘-RR’) swallow the program’s exit code when running in user
> namespace mode:

Fixed in 2520059bdb43fa1663ce102f3f4c442d4918c32b!

Ludo’.





bug#40804: Issue with guix-install.sh script?

2020-04-24 Thread Ludovic Courtès
Hi,

zimoun  skribis:

> On Fri, 24 Apr 2020 at 01:22, operator.name via Bug reports for GNU
> Guix  wrote:
>
>> $ sudo ./guix-install.sh
>
> [...]
>
>> Press return to continue...
>> [1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)
>> [1587683635.567]: [ PASS ] verification of required commands completed
>> [1587683635.575]: [ FAIL ] Missing OpenPGP public key.  Fetch it with this 
>> command:
>>   wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg 
>> --import -
>>
>> $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg 
>> --import -
>
> sudo wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - |
> gpg --import -

Rather:

  wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | \
sudo gpg --import -

:-)

Ludo’.





bug#40790: OOM error in graphical installer tests.

2020-04-24 Thread Ludovic Courtès
Hi Mathieu,

Mathieu Othacehe  skribis:

> The "gui-installed-os" test fails on master because "guix system init"
> command is OOM killed. Log of the failure is attached.

[...]

> Apr 23 11:43:27 localhost installer[230]: command ("guix" "system" "init" 
> "--fallback" "--no-grafts" "--no-substitutes" "/mnt/etc/config.scm" "/mnt") 
> failed with exit code #finstaller[230]: Umounted /remove suc 

Can we throw a little bit more memory at it?  :-)

Is there a commit that trigger this failure?

Thanks,
Ludo’.





bug#40819: [core-updates] font-gnu-freefont fails to build

2020-04-24 Thread Jack Hill

Hi Guix,

On the current core-updates branch, font-gnu-freefont fails to build with 
the attatched build log.


Based on the messages about syntax errors, it looks like gnu-freefont is 
not compatible with python3, and instead needs python2.


However, we already try to do this in the package definition:

;; replace python 3 with python 2
;; python 3 support commits aren't yet released in 20120503
;; so freefont needs python 2 support in fontforge
(native-inputs `(("fontforge" ,(package (inherit fontforge)
 (inputs `(("python-2" ,python-2)
 ,@(package-inputs fontforge)))


Best,
Jack

657ynripn8j0kma5ziz9qyk37fqfg2-font-gnu-freefont-20120503.drv.log
Description: Binary data


bug#40804: Issue with guix-install.sh script?

2020-04-24 Thread zimoun
On Fri, 24 Apr 2020 at 16:24, Ludovic Courtès  wrote:

> Rather:
>
>   wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | \
> sudo gpg --import -
>
> :-)

Nothing good happens after 1am. ;-)

Well, it is not a bug so closing.


Feel free "operator.name" to ask such questions on help-g...@gnu.org.

All the best,
simon





bug#40819: [core-updates] font-gnu-freefont fails to build

2020-04-24 Thread Marius Bakke
Jack Hill  writes:

> Hi Guix,
>
> On the current core-updates branch, font-gnu-freefont fails to build with 
> the attatched build log.
>
> Based on the messages about syntax errors, it looks like gnu-freefont is 
> not compatible with python3, and instead needs python2.

A new version of GNU FreeFont that supports Python 3 is slated for later
this year.  Meanwhile I fixed this by providing an older FontForge in
commit 4affa9182d93c77505c40e95964b8ab9d436298b.

Thanks!


signature.asc
Description: PGP signature


bug#40824: core-updates: guix upgrade error: emacs-guix-0.5.2.drv failed

2020-04-24 Thread sirgazil via Bug reports for GNU Guix
## Steps to reproduce

1. guix pull --branch=core-updates
2. guix upgrade


## Expected result

All packages in my profile are upgraded successfully.


## Unexpected result

The upgrade failed with the following error:

★★★
building 
/gnu/store/a6zgjg4j5mj4q19s9qxnns6jmah8z6ic-emacs-guix-0.5.2.tar.xz.drv...
building /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv...
- 'copy-bootstrap-guile' phasebuilder for 
`/gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv' failed 
with exit code 1
build of /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv 
failed
View build log at 
'/var/log/guix/drvs/c1/53g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv.bz2'.
cannot build derivation 
`/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv': 1 
dependencies couldn't be built
guix upgrade: error: build of 
`/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv' failed
★★★


The build log said:

★★★
starting phase `copy-bootstrap-guile'
Backtrace:
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
   9 (apply-smob/0 #)
In ice-9/boot-9.scm:
718:2  8 (call-with-prompt _ _ #)
In ice-9/eval.scm:
619:8  7 (_ #(#(#)))
In ice-9/command-line.scm:
   185:18  6 (_ #)
In unknown file:
   5 (eval (begin (use-modules (guix)) (with-store store …)) #)
In guix/store.scm:
   625:15  4 (call-with-store #)
544:2  3 (open-connection _ #:port _ #:reserve-space? _ # _)
In ice-9/boot-9.scm:
  1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   552:28  1 (_)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
ERROR:
  1. &store-connection-error:
  file: "/tmp/guix-tests/var/27130/daemon-socket/socket"
  errno: 2
command "./test-env" "guile" "-c" "(begin (use-modules (guix)) (with-store 
store (let* ((item (add-to-store store \"guile-2.0.9.tar.xz\" #f \"sha256\" 
\"/gnu/store/3aigj659vsjxcrhn0r0vmkbjh3kj5pbs-guile-2.0.9.tar.xz\")) (root 
(string-append \"/tmp/gc-root-\" (basename item (symlink item root) 
(add-indirect-root store root" failed with status 1
★★★


## System information

This is the system information after the pull in step 1 above:

★★★
$ guix describe
Generation 75   Apr 24 2020 12:03:48(current)
  guix 4affa91
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: core-updates
commit: 4affa9182d93c77505c40e95964b8ab9d436298b
  sirgazil-x 5ef0404
repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
branch: master
commit: 5ef04045d14e154e7792b42762155be63cf34076
★★★



---
https://sirgazil.bitbucket.io/








bug#40825: Teeworlds fails to load sound files

2020-04-24 Thread pkill9
I've attached a log.

It seems to fail to load all the sound files, e.g.
```
[2020-04-24 19:09:35][sound/wv]: failed to open audio/music_menu.wv:
can't open file
```.

I don't think it is failing to find them, because they are in
/share/teeworlds/data/audio, and it successfully
finds another file in the data subdirectory from seeing that log:
```
[2020-04-24 19:09:35][datafile]: loading.
filename='ui/themes/winter_night.map'
```
[2020-04-24 19:09:35][engine]: running on unix-linux-amd64
[2020-04-24 19:09:35][engine]: arch is little endian
[2020-04-24 19:09:35][storage]: couldn't open storage.cfg
[2020-04-24 19:09:35][storage]: using standard paths
[2020-04-24 19:09:35][storage]: added path '$USERDIR' ('/home/itsme/.teeworlds')
[2020-04-24 19:09:35][storage]: added path '$DATADIR' ('/gnu/store/v8yyrqlvqqylk7zgqw9g7a7knjg8nazd-teeworlds-0.7.4/share/teeworlds/data')
[2020-04-24 19:09:35][storage]: added path '$CURRENTDIR' ('/home/itsme')
[2020-04-24 19:09:35][binds]: bound f1 (186) = toggle_local_console
[2020-04-24 19:09:35][binds]: bound f2 (187) = toggle_remote_console
[2020-04-24 19:09:35][binds]: bound tab (9) = +scoreboard
[2020-04-24 19:09:35][binds]: bound e (101) = +stats
[2020-04-24 19:09:35][binds]: bound u (117) = +show_chat
[2020-04-24 19:09:35][binds]: bound f10 (195) = screenshot
[2020-04-24 19:09:35][binds]: bound ctrl+s (115) = snd_toggle
[2020-04-24 19:09:35][binds]: bound a (97) = +left
[2020-04-24 19:09:35][binds]: bound d (100) = +right
[2020-04-24 19:09:35][binds]: bound space (32) = +jump
[2020-04-24 19:09:35][binds]: bound mouse1 (411) = +fire
[2020-04-24 19:09:35][binds]: bound mouse2 (412) = +hook
[2020-04-24 19:09:35][binds]: bound lshift (353) = +emote
[2020-04-24 19:09:35][binds]: bound rshift (357) = +spectate
[2020-04-24 19:09:35][binds]: bound right (207) = spectate_next
[2020-04-24 19:09:35][binds]: bound left (208) = spectate_previous
[2020-04-24 19:09:35][binds]: bound 1 (49) = +weapon1
[2020-04-24 19:09:35][binds]: bound 2 (50) = +weapon2
[2020-04-24 19:09:35][binds]: bound 3 (51) = +weapon3
[2020-04-24 19:09:35][binds]: bound 4 (52) = +weapon4
[2020-04-24 19:09:35][binds]: bound 5 (53) = +weapon5
[2020-04-24 19:09:35][binds]: bound mousewheelup (420) = +prevweapon
[2020-04-24 19:09:35][binds]: bound mousewheeldown (421) = +nextweapon
[2020-04-24 19:09:35][binds]: bound t (116) = chat all
[2020-04-24 19:09:35][binds]: bound y (121) = chat team
[2020-04-24 19:09:35][binds]: bound x (120) = chat whisper
[2020-04-24 19:09:35][binds]: bound f3 (188) = vote yes
[2020-04-24 19:09:35][binds]: bound f4 (189) = vote no
[2020-04-24 19:09:35][binds]: bound r (114) = ready_change
[2020-04-24 19:09:35][console]: executing 'settings07.cfg'
[2020-04-24 19:09:35][binds]: bound tab (9) = +scoreboard
[2020-04-24 19:09:35][binds]: bound space (32) = +jump
[2020-04-24 19:09:35][binds]: bound 1 (49) = +weapon1
[2020-04-24 19:09:35][binds]: bound 2 (50) = +weapon2
[2020-04-24 19:09:35][binds]: bound 3 (51) = +weapon3
[2020-04-24 19:09:35][binds]: bound 4 (52) = +weapon4
[2020-04-24 19:09:35][binds]: bound 5 (53) = +weapon5
[2020-04-24 19:09:35][binds]: bound a (97) = +left
[2020-04-24 19:09:35][binds]: bound d (100) = +right
[2020-04-24 19:09:35][binds]: bound t (116) = chat all
[2020-04-24 19:09:35][binds]: bound u (117) = +show_chat
[2020-04-24 19:09:35][binds]: bound y (121) = chat team
[2020-04-24 19:09:35][binds]: bound f1 (186) = toggle_local_console
[2020-04-24 19:09:35][binds]: bound f2 (187) = toggle_remote_console
[2020-04-24 19:09:35][binds]: bound f3 (188) = vote yes
[2020-04-24 19:09:35][binds]: bound f4 (189) = vote no
[2020-04-24 19:09:35][binds]: bound f10 (195) = screenshot
[2020-04-24 19:09:35][binds]: bound right (207) = spectate_next
[2020-04-24 19:09:35][binds]: bound left (208) = spectate_previous
[2020-04-24 19:09:35][binds]: bound lshift (353) = +emote
[2020-04-24 19:09:35][binds]: bound rshift (357) = +spectate
[2020-04-24 19:09:35][binds]: bound mouse1 (411) = +fire
[2020-04-24 19:09:35][binds]: bound mouse2 (412) = +hook
[2020-04-24 19:09:35][binds]: bound mousewheelup (420) = +prevweapon
[2020-04-24 19:09:35][binds]: bound mousewheeldown (421) = +nextweapon
[2020-04-24 19:09:35][binds]: unbound e (101)
[2020-04-24 19:09:35][binds]: unbound ctrl+s (115)
[2020-04-24 19:09:35][binds]: unbound x (120)
[2020-04-24 19:09:35][binds]: unbound r (114)
[2020-04-24 19:09:35][console]: failed to open 'autoexec.cfg'
[2020-04-24 19:09:35][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[2020-04-24 19:09:35][client]: starting...
[2020-04-24 19:09:35][sdl]: SDL version 2.0.12 (dll = 2.0.12)
[2020-04-24 19:09:35][render]: opengl max texture sizes: 8192, 2048(3D)
[2020-04-24 19:09:35][client/sound]: sound init successful
[2020-04-24 19:09:35][joystick]: No joysticks found
[2020-04-24 19:09:35][engine/mastersrv]: refreshing master server addresses
[2020-04-24 19:09:35][textrender]: loaded pFont from '/gnu/store/v8yyrqlvqqylk7zgqw9g7a7k

bug#40826: core-updates: guile: warning: failed to install locale

2020-04-24 Thread sirgazil via Bug reports for GNU Guix
I'm using the GNU system distributed by Guix.


## Steps to reproduce

1. guix pull --branch=core-updates
2. guix --version (or any other guix command)


## Expected result


$ guix --version
guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
Copyright (C) 2020 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.



## Unexpected result


$ guix --version
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package 
and
defining `GUIX_LOCPATH', along these lines:

 guix package -i glibc-utf8-locales
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
Copyright (C) 2020 the Guix authors
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law


This warning is confusing because I'm using the GNU system. The "Application 
Setup" section, as far as I understand, is for Guix on foreign distros.


## System information


$ LANG=C guix describe
Generation 75   Apr 24 2020 12:03:48(current)
  guix 4affa91
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: core-updates
commit: 4affa9182d93c77505c40e95964b8ab9d436298b
  sirgazil-x 5ef0404
repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
branch: master
commit: 5ef04045d14e154e7792b42762155be63cf34076




---
https://sirgazil.bitbucket.io/








bug#40828: core-updates: guix system reconfigure error: guix-1.1.0-1.7dd0539.drv failed

2020-04-24 Thread sirgazil via Bug reports for GNU Guix
## Steps to reproduce

1. guix pull --branch=core-updates
2. guix upgrade
3. sudo guix system reconfigure --fallback os-config.scm


## Expected result

Reconfiguring ends without errors.


## Unexpected result

The whole process failed with this error:


building /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv...
- 'copy-bootstrap-guile' phasebuilder for 
`/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed 
with exit code 1
build of /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv 
failed
View build log at 
'/var/log/guix/drvs/w4/7hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv.bz2'.
guix system: error: build of 
`/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed


And the build log said:


starting phase `copy-bootstrap-guile'
Backtrace:
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
   9 (apply-smob/0 #)
In ice-9/boot-9.scm:
718:2  8 (call-with-prompt _ _ #)
In ice-9/eval.scm:
619:8  7 (_ #(#(#)))
In ice-9/command-line.scm:
   185:18  6 (_ #)
In unknown file:
   5 (eval (begin (use-modules (guix)) (with-store store …)) #)
In guix/store.scm:
   625:15  4 (call-with-store #)
544:2  3 (open-connection _ #:port _ #:reserve-space? _ # _)
In ice-9/boot-9.scm:
  1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   552:28  1 (_)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
ERROR:
  1. &store-connection-error:
  file: "/tmp/guix-tests/var/27130/daemon-socket/socket"
  errno: 2
command "./test-env" "guile" "-c" "(begin (use-modules (guix)) (with-store 
store (let* ((item (add-to-store store \"guile-2.0.9.tar.xz\" #f \"sha256\" 
\"/gnu/store/3aigj659vsjxcrhn0r0vmkbjh3kj5pbs-guile-2.0.9.tar.xz\")) (root 
(string-append \"/tmp/gc-root-\" (basename item (symlink item root) 
(add-indirect-root store root" failed with status 1



## System information




---
https://sirgazil.bitbucket.io/








bug#40828: core-updates: guix system reconfigure error: guix-1.1.0-1.7dd0539.drv failed

2020-04-24 Thread sirgazil via Bug reports for GNU Guix
Sorry, I hit some keys by mistake and sent the message before it was complete. 
Here is the system information:


$ LANG=C guix describe
Generation 75   Apr 24 2020 12:03:48(current)
  guix 4affa91
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: core-updates
commit: 4affa9182d93c77505c40e95964b8ab9d436298b
  sirgazil-x 5ef0404
repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
branch: master
commit: 5ef04045d14e154e7792b42762155be63cf34076






bug#40829: [core-updates] pdfpc-4.3.4 fails to build

2020-04-24 Thread Jack Hill

Hi Guix,

Currently, pdfpc on core-updates fails to build with:

/tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/action/action_mapping.vala:51.9-51.28:
 error: Creation method of abstract class cannot be public.
public ActionMapping() {

/tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/drawings/storage.vala:38.9-38.19:
 error: Creation method of abstract class cannot be public.
public Base(Metadata.Pdf metadata) {
^^^
/tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/renderer/cache/base.vala:40.9-40.19:
 error: Creation method of abstract class cannot be public.
public Base(Metadata.Pdf metadata) {
^^^
/tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/timer_label.vala:98.9-98.25:
 error: Creation method of abstract class cannot be public.
public TimerLabel(PresentationController controller, time_t start_time 
= 0) {
^
/tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/view/behaviour/base.vala:44.9-44.19:
 error: Creation method of abstract class cannot be public.
public Base() {
^^^

Upgrading to the latest release, 4.4.0, solves the problem. I have 
prepared the following patch against core-updates that does that.


Best,
Jack





bug#40829: [PATCH core-updates] gnu: pdfpc: Upgrade to 4.4.0

2020-04-24 Thread Jack Hill
* gnu/packages/pdf.scm (pdfpc): Upgrade to 4.4.0.
---
 gnu/packages/pdf.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 8ccb133e1f..f4ffda7462 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1232,7 +1232,7 @@ multiple files.")
 (define-public pdfpc
   (package
 (name "pdfpc")
-(version "4.3.4")
+(version "4.4.0")
 (source
  (origin
(method git-fetch)
@@ -1241,7 +1241,7 @@ multiple files.")
  (commit (string-append "v" version
(file-name (git-file-name name version))
(sha256
-(base32 "07aafsm4jzdgpahz83p0ajv40hry7gviyadqi13ahr8xdhhwy2sd"
+(base32 "0vh2r32akvasdrghkaq7ard24r2qncp34jfiyshi3zxabm9bhfaa"
 (build-system cmake-build-system)
 (arguments '(#:tests? #f))  ; no test target
 (inputs
-- 
2.26.2






bug#40789: vigra 1.11.1 build error

2020-04-24 Thread Leo Famulari
On Thu, Apr 23, 2020 at 08:56:39PM +0200, Michael Rohleder wrote:
> Leo Famulari  writes:
> > This often means it ran out of memory, which would make sense for
> > building vigra. Does that seem plausible here?
> 
> I think its plausible, because I have *just* build vigra from current
> master.

Alright, I'm closing the bug.





bug#40829: [core-updates] pdfpc-4.3.4 fails to build

2020-04-24 Thread Marius Bakke
Jack Hill  writes:

> Hi Guix,
>
> Currently, pdfpc on core-updates fails to build with:
>
> /tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/action/action_mapping.vala:51.9-51.28:
>  error: Creation method of abstract class cannot be public.
>  public ActionMapping() {
>  
> /tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/drawings/storage.vala:38.9-38.19:
>  error: Creation method of abstract class cannot be public.
>  public Base(Metadata.Pdf metadata) {
>  ^^^
> /tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/renderer/cache/base.vala:40.9-40.19:
>  error: Creation method of abstract class cannot be public.
>  public Base(Metadata.Pdf metadata) {
>  ^^^
> /tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/timer_label.vala:98.9-98.25:
>  error: Creation method of abstract class cannot be public.
>  public TimerLabel(PresentationController controller, time_t 
> start_time = 0) {
>  ^
> /tmp/guix-build-pdfpc-4.3.4.drv-0/source/src/classes/view/behaviour/base.vala:44.9-44.19:
>  error: Creation method of abstract class cannot be public.
>  public Base() {
>  ^^^
>
> Upgrading to the latest release, 4.4.0, solves the problem. I have 
> prepared the following patch against core-updates that does that.

Thanks!  I pushed the patch to the "master" branch: it will land on
"core-updates" shortly.



signature.asc
Description: PGP signature


bug#40832: Audacity does not work with PulseAudio

2020-04-24 Thread Leo Famulari
Since I can remember, Guix's Audacity doesn't work with PulseAudio on my
foreign distro (Debian).

Debian's Audacity does work correctly in this regard.

In practice, this means that I cannot play or record audio in Audacity
while any other application is using sound on the system. If I close or
stop those other applications, then Audacity is able to select the
'sysdefault' output sound device and can start working.

I found a few discussions about similar issues [0], and it seems that
Audacity needs alsa-plugins in order to make this work.

I tried installing Audacity along side alsa-plugins,
alsa-plugins:pulseaudio, and pulseaudio, as well as building with them
as dependencies, but it still didn't work.

[0] e.g. https://forum.audacityteam.org/viewtopic.php?t=89278





bug#40826: core-updates: guile: warning: failed to install locale

2020-04-24 Thread Marius Bakke
sirgazil via Bug reports for GNU Guix  writes:

> I'm using the GNU system distributed by Guix.
>
>
> ## Steps to reproduce
>
> 1. guix pull --branch=core-updates
> 2. guix --version (or any other guix command)
>
>
> ## Expected result
>
> 
> $ guix --version
> guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
> Copyright (C) 2020 the Guix authors
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
>
>
> ## Unexpected result
>
> 
> $ guix --version
> guile: warning: failed to install locale
> hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package 
> and
> defining `GUIX_LOCPATH', along these lines:
>
>  guix package -i glibc-utf8-locales
>  export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
>
> See the "Application Setup" section in the manual, for more info.
>
> guix (GNU Guix) 4affa9182d93c77505c40e95964b8ab9d436298b
> Copyright (C) 2020 the Guix authors
> License GPLv3+: GNU GPL version 3 or later 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law
> 
>
> This warning is confusing because I'm using the GNU system. The "Application 
> Setup" section, as far as I understand, is for Guix on foreign distros.

This is expected, because the new Guix is built against a different
glibc, and the updated glibc-locales are not yet installed on your
system.

It will go away after reconfiguring the system on the branch, but then
you will get the same warning if you try using packages from older
generations.

You can add (locale-libcs (list glibc glibc-2.29)) in your OS
configuration to get rid of the warning in the latter case.

Closing as not a bug!


signature.asc
Description: PGP signature


bug#40828: core-updates: guix system reconfigure error: guix-1.1.0-1.7dd0539.drv failed

2020-04-24 Thread Marius Bakke
sirgazil via Bug reports for GNU Guix  writes:

> ## Steps to reproduce
>
> 1. guix pull --branch=core-updates
> 2. guix upgrade
> 3. sudo guix system reconfigure --fallback os-config.scm
>
>
> ## Expected result
>
> Reconfiguring ends without errors.
>
>
> ## Unexpected result
>
> The whole process failed with this error:
>
> 
> building 
> /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv...
> - 'copy-bootstrap-guile' phasebuilder for 
> `/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed 
> with exit code 1
> build of /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/w4/7hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv.bz2'.
> guix system: error: build of 
> `/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed
> 
>
> And the build log said:
>
> 
> starting phase `copy-bootstrap-guile'
> Backtrace:
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>9 (apply-smob/0 #)
> In ice-9/boot-9.scm:
> 718:2  8 (call-with-prompt _ _ #)
> In ice-9/eval.scm:
> 619:8  7 (_ #(#(#)))
> In ice-9/command-line.scm:
>185:18  6 (_ #)
> In unknown file:
>5 (eval (begin (use-modules (guix)) (with-store store …)) #)
> In guix/store.scm:
>625:15  4 (call-with-store #)
> 544:2  3 (open-connection _ #:port _ #:reserve-space? _ # _)
> In ice-9/boot-9.scm:
>   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
>552:28  1 (_)
> In ice-9/boot-9.scm:
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> ERROR:
>   1. &store-connection-error:
>   file: "/tmp/guix-tests/var/27130/daemon-socket/socket"
>   errno: 2
> command "./test-env" "guile" "-c" "(begin (use-modules (guix)) (with-store 
> store (let* ((item (add-to-store store \"guile-2.0.9.tar.xz\" #f \"sha256\" 
> \"/gnu/store/3aigj659vsjxcrhn0r0vmkbjh3kj5pbs-guile-2.0.9.tar.xz\")) (root 
> (string-append \"/tmp/gc-root-\" (basename item (symlink item root) 
> (add-indirect-root store root" failed with status 1
> 

Is this error repeatable for you?  Guix built fine on the CI:

https://ci.guix.gnu.org/build/2637951/details


signature.asc
Description: PGP signature


bug#40834: system-config-printer fails while starting

2020-04-24 Thread Jonathan Brielmaier
system-config-printer fails to start on current master as well as on 
core-updates.

```
$ system-config-printer
Traceback (most recent call last):
  File 
"/gnu/store/y77skk51wc3j1bikfdyc0mk5j62fj05s-system-config-printer-1.5.12/share/system-config-printer/system-config-printer.py",
 line 40, in 
gi.require_version('Gdk', '3.0')
  File 
"/gnu/store/y4qwsw06ynvw3fjk2lrspp89mfmjzj5i-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/__init__.py",
 line 130, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gdk not available
```

While python-pygobject provides a Gdk.py:
/gnu/store/y4qwsw06ynvw3fjk2lrspp89mfmjzj5i-python-pygobject-3.28.3/lib/python3.7/site-packages/gi/overrides/Gdk.py

I guess this is some issue with (python) paths





bug#40824: core-updates: guix upgrade error: emacs-guix-0.5.2.drv failed

2020-04-24 Thread Marius Bakke
sirgazil via Bug reports for GNU Guix  writes:

> ## Steps to reproduce
>
> 1. guix pull --branch=core-updates
> 2. guix upgrade
>
>
> ## Expected result
>
> All packages in my profile are upgraded successfully.
>
>
> ## Unexpected result
>
> The upgrade failed with the following error:
>
> ★★★
> building 
> /gnu/store/a6zgjg4j5mj4q19s9qxnns6jmah8z6ic-emacs-guix-0.5.2.tar.xz.drv...
> building 
> /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv...
> - 'copy-bootstrap-guile' phasebuilder for 
> `/gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv' failed 
> with exit code 1
> build of /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv 
> failed
> View build log at 
> '/var/log/guix/drvs/c1/53g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv.bz2'.
> cannot build derivation 
> `/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv': 1 
> dependencies couldn't be built
> guix upgrade: error: build of 
> `/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv' failed
> ★★★
>
>
> The build log said:
>
> ★★★
> starting phase `copy-bootstrap-guile'
> Backtrace:
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>9 (apply-smob/0 #)
> In ice-9/boot-9.scm:
> 718:2  8 (call-with-prompt _ _ #)
> In ice-9/eval.scm:
> 619:8  7 (_ #(#(#)))
> In ice-9/command-line.scm:
>185:18  6 (_ #)
> In unknown file:
>5 (eval (begin (use-modules (guix)) (with-store store …)) #)
> In guix/store.scm:
>625:15  4 (call-with-store #)
> 544:2  3 (open-connection _ #:port _ #:reserve-space? _ # _)
> In ice-9/boot-9.scm:
>   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
>552:28  1 (_)
> In ice-9/boot-9.scm:
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> ERROR:
>   1. &store-connection-error:
>   file: "/tmp/guix-tests/var/27130/daemon-socket/socket"
>   errno: 2
> command "./test-env" "guile" "-c" "(begin (use-modules (guix)) (with-store 
> store (let* ((item (add-to-store store \"guile-2.0.9.tar.xz\" #f \"sha256\" 
> \"/gnu/store/3aigj659vsjxcrhn0r0vmkbjh3kj5pbs-guile-2.0.9.tar.xz\")) (root 
> (string-append \"/tmp/gc-root-\" (basename item (symlink item root) 
> (add-indirect-root store root" failed with status 1
> ★★★

I'm closing this as a duplicate of #40828.

The CI was able to build Guix and Emacs-Guix, so not sure why it fails
on your machine!


signature.asc
Description: PGP signature


bug#40828: core-updates: guix system reconfigure error: guix-1.1.0-1.7dd0539.drv failed

2020-04-24 Thread sirgazil via Bug reports for GNU Guix
 > Is this error repeatable for you?  Guix built fine on the CI:

No. It worked this time, although I skipped step 2. I don't know if that could 
make any difference.





bug#40832: Audacity does not work with PulseAudio

2020-04-24 Thread Leo Famulari
When Audacity starts, it prints this line:

--
ALSA lib conf.c:3683:(snd_config_hooks_call) Cannot open shared library 
libasound_module_conf_pulse.so 
(/gnu/store/nyylgcnzmbw8wrn4sna2crl0g7zxxh33-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_conf_pulse.so:
 libasound_module_conf_pulse.so: cannot open shared object file: No such file 
or directory)
--

But, this file exists in the "pulseaudio" output of alsa-plugins, not
alsa-lib:

/gnu/store/pwsz9hf66na0s9x3ay9qk02vk8l4v8vi-alsa-plugins-1.2.2-pulseaudio/lib/alsa-lib/libasound_module_conf_pulse.so

On Debian, this library is found at:

/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so





bug#40837: core-updates: epiphany web process crashes

2020-04-24 Thread Jack Hill

Hi Guix,

On Guix System with the current core-updates branch, epiphany/GNOME-Web 
starts, but doesn't work because the web process crash in a loop.


When I run epiphany from the terminal I see

"""
$ epiphany

** (epiphany:29457): CRITICAL **: 22:37:21.415: void 
webkit_web_context_register_uri_scheme(WebKitWebContext*, const char*, 
WebKitURISchemeRequestCallback, gpointer, GDestroyNotify): assertion 
'g_ascii_strcasecmp(scheme, "ftp") != 0' failed
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory
bwrap: Can't create file at /etc/pulse/client.conf: No such file or directory

** (epiphany:29457): WARNING **: 22:37:21.866: Web process crashed
"""

The bwrap… and …Web process crashed lines then continue to print 
alternating.


Windows and tabs are created, but no content is ever drawn in them.

/etc/pulse/client.conf exists on the host, but maybe not in the namespaces 
created by bwrap?


Could this be related to WebKitGTK sandboxing: 
https://blogs.gnome.org/mcatanzaro/2020/03/31/sandboxing-webkitgtk-apps/


Best,
Jack

bug#40837: core-updates: epiphany web process crashes

2020-04-24 Thread Jack Hill
I expericne the problem with epiphany installed both in the system profile 
and in an ad-hoc environment.


Best,
Jack






bug#40832: Audacity does not work with PulseAudio

2020-04-24 Thread Leo Famulari
On Fri, Apr 24, 2020 at 07:15:24PM -0400, Leo Famulari wrote:
> --
> ALSA lib conf.c:3683:(snd_config_hooks_call) Cannot open shared library 
> libasound_module_conf_pulse.so 
> (/gnu/store/nyylgcnzmbw8wrn4sna2crl0g7zxxh33-alsa-lib-1.2.2/lib/alsa-lib/libasound_module_conf_pulse.so:
>  libasound_module_conf_pulse.so: cannot open shared object file: No such file 
> or directory)
> --

alsa-lib looks for this based on the compile-time constant
ALSA_PLUGIN_DIR, set during configure using --with-plugindir.

This is tricky because alsa-plugins depends on alsa-lib, and there are
also other packages that can provide plugins, like bluez-alsa.

Nixpkgs used to patch alsa-lib to look things up at runtime with an
environment variable, but stopped for some reason. That discussion even
points back to Guix periodically, but no solutions:

https://github.com/NixOS/nixpkgs/issues/6860