bug#56625: [core-updates] libaio test fails on powerpc64le-linux due to kernel bug

2022-07-17 Thread Thiago Jung Bauermann via Bug reports for GNU Guix


On the core-updates branch, libaio has been updated to version 0.3.113.
This version contains a new test which fails on guixp9 (one of the
powerpc64le-linux builders) due to a bug present in the kernel it is
running:

--8<---cut here---start->8---
Starting cases/23.p
FAIL: poll missed an event!
FAIL: poll missed an event!
FAIL: poll missed an event!
test cases/23.t completed FAILED.
Completed cases/23.p with 1 -- FAILED.
Pass: 18  Fail: 1  Skip: 0
Test run complete at Sun Jul 17 10:39:33 AM UTC 2022
make[1]: *** [Makefile:53: partcheck] Error 1
make[1]: Leaving directory 
'/tmp/guix-build-libaio-0.3.113.drv-0/libaio-0.3.113/harness'
make: *** [Makefile:23: partcheck] Error 2

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #< program: "make" arguments: ("partcheck" "-j" "8" 
"prefix=/gnu/store/igbnjwlfr0mim89if6z46cqba0ny5lww-libaio-0.3.113" "CC=gcc") 
exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 97.9 seconds
command "make" "partcheck" "-j" "8" 
"prefix=/gnu/store/igbnjwlfr0mim89if6z46cqba0ny5lww-libaio-0.3.113" "CC=gcc" 
failed with status 2
--8<---cut here---end--->8---

The header of libaio/harness/cases/23.t says:

 * Verify that aio poll doesn't miss any events.  This is a regression test for
 * kernel commit 363bee27e258 ("aio: keep poll requests on waitqueue until
 * completed")¹.

guixp9 is running kernel linux-image-5.10.0-0.bpo.8-powerpc64le version
5.10.46-4~bpo10+1. The kernel commit mentioned above was backported to
upstream stable kernel 5.10.85, which was included in Debian's
linux-image version 5.10.92-1, available in the buster-backports kernel.

So long story short, we need to update guixp9's kernel so that we can
build core-update's libaio. I suggest we take the opportunity to update
all of the Debian packages as well.

I don't have access to guixp9's console, so unfortunately I can't
perform the update. Or rather, I can if someone else reboots the machine
afterwards and fixes any boot issues that could come up (hopefully not
but it's always a possibility).

-- 
Thanks
Thiago





bug#56545: guix time-machine/shell throws "unsupported manifest format" error

2022-07-17 Thread Ludovic Courtès
Hi!

Maxim Cournoyer  scribes:

> and the channels.scm file:
>
> (list (channel
>(inherit %default-guix-channel)
>(commit
> "ceeb2bfcaeb4380e01d26c8425e28b94ac13558a"))) ;2022-06-07
>
>
> and was surprised to be greeted with the following error:
>
> (repl-version 0 1 1)
> (exception %exception (non-self-quoting 140737300283024 "#< message: 
> \"unsupported manifest format\">"))
> /var/log/guix/drvs/j8/0wjfx7s7nxhcn0wjxfysnnv2knx0c1-guix-package-cache.drv 
> (END)
>
> What does it mean?  Which manifest is it referring to?

Commit 4ff12d1de7cd617b791996ee7ca1240660b4c20e introduced that bug,
which was fixed in c9fbd40785a99e13a59d8e530830ce85220a9871:

  https://issues.guix.gnu.org/56441

‘guix describe’ should show that you’re using a commit in that range.

The solution is to run ‘time-machine’ from a commit outside that range,
for instance with:

  guix time-machine -- time-machine -C channels.scm -- whatever

:-)

Ludo’.





bug#56619: Inkscape crashes on startup, renders package unusable

2022-07-17 Thread Justus Winter
Thorsten Wilms  writes:

> On Sun, 17 Jul 2022 18:22:05 +0200
> Justus Winter  wrote:
>
>> Inkscape 1.1.1 crashes on startup on my machine, rendering the package
>> unusable.
>
>> (org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.121: Could not load 
>> image 'resources/template_about.svg': Couldn’t recognize the image file 
>> format for file 
>> “/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg”
>
>> I don't know why it complains about the image files, they do seem to be
>> fine:
>> 
>> % file 
>> /gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg
>> /gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg:
>>  SVG Scalable Vector Graphics image
>
>
> Hi! It’s a gdk-pixbuf issue. I’ve been living with this for a while
> now, on the current and previous Ubuntu Unity as base. I can only get
> Inkscape and several other GTK applications to work, when I use a shell
> and enter
> `export 
> GDK_PIXBUF_MODULE_FILE=/home/thorwil/.guix-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache`
> before `inkscape` and co.
> If I have that in ~/.profile, Ubuntu-native stuff breaks.
> ~/.profile does contain export
> `GDK_PIXBUF_MODULE_FILE=/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache`
>
> I guess one could set up aliases or place wrappers in /usr/local/bin,
> but I couldn’t be bothered to do so, so far.

I should add that this is on GuixSD.

Best,
Justus





bug#56619: Inkscape crashes on startup, renders package unusable

2022-07-17 Thread Thorsten Wilms
On Sun, 17 Jul 2022 18:22:05 +0200
Justus Winter  wrote:

> Inkscape 1.1.1 crashes on startup on my machine, rendering the package
> unusable.

> (org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.121: Could not load 
> image 'resources/template_about.svg': Couldn’t recognize the image file 
> format for file 
> “/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg”

> I don't know why it complains about the image files, they do seem to be
> fine:
> 
> % file 
> /gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg
> /gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg:
>  SVG Scalable Vector Graphics image


Hi! It’s a gdk-pixbuf issue. I’ve been living with this for a while
now, on the current and previous Ubuntu Unity as base. I can only get
Inkscape and several other GTK applications to work, when I use a shell
and enter
`export 
GDK_PIXBUF_MODULE_FILE=/home/thorwil/.guix-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache`
before `inkscape` and co.
If I have that in ~/.profile, Ubuntu-native stuff breaks.
~/.profile does contain export
`GDK_PIXBUF_MODULE_FILE=/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache`

I guess one could set up aliases or place wrappers in /usr/local/bin,
but I couldn’t be bothered to do so, so far.


-- 
Thorsten Wilms 





bug#52823: [PATCH 2/2] gnu: gx-saturator-lv2: Update to latest commit to fix build issue.

2022-07-17 Thread Thorsten Wilms
* gnu/packages/music.scm (gx-saturator-lv2): Update to latest commit to fix 
build issue.
---
 gnu/packages/music.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index a529d8de8d..498f4b8deb 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4208,7 +4208,7 @@ (define-public gx-suppa-tone-bender-lv2
 pedal.")))
 
 (define-public gx-saturator-lv2
-  (let ((commit "605330f432c94b6eb3f8203cbe472befae959532")
+  (let ((commit "e8a4aecd8098752a924fac5e7464b78538e12bec")
 (revision "3"))
 (package (inherit gx-vbass-preamp-lv2)
   (name "gx-saturator-lv2")
@@ -4220,7 +4220,7 @@ (define-public gx-saturator-lv2
   (commit commit)))
 (sha256
  (base32
-  "1w4nvh0rmxrv3s3hmh4fs74f3hc0jn31v00j769j7v68mqr7kawy"))
+  "1zdcmjy62cp57y2xh8lx9s4z1vbpb1ljq0sw0ii8r7k54lbc7czl"))
 (file-name (string-append name "-" version "-checkout"
   (home-page "https://github.com/brummer10/GxSaturator.lv2;)
   (synopsis "Saturation effect")
-- 
2.36.1






bug#52823: [PATCH 1/2] gnu: gx-vbass-preamp-lv2: Update to latest commit to fix build issue.

2022-07-17 Thread Thorsten Wilms
* gnu/packages/music.scm (gx-vbass-preamp-lv2): Update to latest commit to fix 
build issue.
---
 gnu/packages/music.scm | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 5bc5724370..a529d8de8d 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2022 Maxim Cournoyer 
 ;;; Copyright © 2022 Wamm K. D. 
 ;;; Copyright © 2022 Jose G Perez Taveras 
+;;; Copyright © 2022 Thorsten Wilms 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4100,8 +4101,8 @@ (define-public gx-guvnor-lv2
 (license license:gpl3+)))
 
 (define-public gx-vbass-preamp-lv2
-  (let ((commit "eb999b0ca0ef4da40a59e458a9ab6e7042b96c99")
-(revision "2"))
+  (let ((commit "a7613f91a12d46a7a08a13461e526353ede7def0")
+(revision "3"))
 (package (inherit gx-guvnor-lv2)
   (name "gx-vbass-preamp-lv2")
   (version (string-append "0-" revision "." (string-take commit 9)))
@@ -4112,8 +4113,11 @@ (define-public gx-vbass-preamp-lv2
   (commit commit)))
 (sha256
  (base32
-  "0firap073ldw4nrykkd7jvyyj0jbl1nslxyzjj4kswazp99x7d9h"))
+  "00yj1v3pdry2ns9gv11zcap7prg0yix2vr66rljjpx3nz94fqk4b"))
 (file-name (string-append name "-" version "-checkout"
+  (arguments
+   (substitute-keyword-arguments (package-arguments gx-guvnor-lv2)
+ ((#:make-flags flags) `(cons (string-append "CC=" ,(cxx-for-target)) 
,flags
   (inputs
(list lv2 gtk+-2))
   (native-inputs
-- 
2.36.1






bug#52823: [PATCH 0/2] gnu: update gx plugins that failed to build.

2022-07-17 Thread Thorsten Wilms
Hi!

gx-slow-gear-lv2 already works in the current tree. Updates for
gx-saturator-lv2 and gx-vbass-preamp-lv2 that make them build again
follow.

-- 
Thorsten Wilms 





bug#56619: Inkscape crashes on startup, renders package unusable

2022-07-17 Thread Justus Winter
Hello,

Inkscape 1.1.1 crashes on startup on my machine, rendering the package
unusable.

% guix package -I |grep inkscape
inkscape1.1.1   out 
/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1

I've run it in a clean environment, and it still crashes:

% guix shell inkscape -- inkscape
(inkscape:10197): dbind-WARNING **: 18:11:01.868: AT-SPI: Error retrieving 
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.a11y.Bus was not provided by any .service files

(org.inkscape.Inkscape:10197): Gtk-CRITICAL **: 18:11:01.917: 
gtk_icon_info_is_symbolic: assertion 'GTK_IS_ICON_INFO (icon_info)' failed
Shortcut::read: invalid verb: DialogSpellcheck

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.121: Could not load 
image 'resources/template_about.svg': Couldn’t recognize the image file format 
for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_about.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.121: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.121: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.122: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.122: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.122: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.122: Could not load 
image 'resources/template_icon_square.svg': Couldn’t recognize the image file 
format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_icon_square.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.123: Could not load 
image 'resources/template_businesscard_landscape.svg': Couldn’t recognize the 
image file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_businesscard_landscape.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.123: Could not load 
image 'resources/template_print_portrait.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.124: Could not load 
image 'resources/template_print_landscape.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.124: Could not load 
image 'resources/template_print_US_portrait.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_US_portrait.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.124: Could not load 
image 'resources/template_print_US_landscape.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_US_landscape.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.124: Could not load 
image 'resources/template_print_portrait.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_portrait.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.125: Could not load 
image 'resources/template_print_landscape.svg': Couldn’t recognize the image 
file format for file 
“/gnu/store/cpj62b4rwn4dkkhysknsyfha4bplcgil-inkscape-1.1.1/share/inkscape/ui/resources/template_print_landscape.svg”

(org.inkscape.Inkscape:10197): Gtk-WARNING **: 18:11:02.125: Could not load 
image 'resources/template_print_portrait.svg': Couldn’t recognize the image 
file format for file 

bug#56334: Should asdf-build-system/sbcl use load-system instead of compile-system?

2022-07-17 Thread Pierre Neidhardt
I've pushed the SBCL closure size reduction.

I'll be the road for a while, unable to work on this patch, so if anyone
wants to work on it and merge, please go ahead :)

Left to do:

- Suggestion: add a keyword to choose between asdf:compile-system and
  asdf:load-system (default should be asdf:load-system).
- Make sure sbcl-stumpwm-kbd-layouts usees asdf:compile-system.
- Rebuild the Lisp world to test.

Cheers!
Pierre


signature.asc
Description: PGP signature


bug#56595: failed to compute derivation for Guix f6904c0

2022-07-17 Thread Maxime Devos
Looks like a duplicate of . Could you 
confirm by checking ~/.gitconfig?


Greetings,

Maxime


bug#54691: [PATCH] gnu: fortune-mod: Remove off database.

2022-07-17 Thread Csepp


Liliana Marie Prikler  writes:

> Am Samstag, dem 16.07.2022 um 15:40 +0200 schrieb Csepp:
>> 
>> Liliana Marie Prikler  writes:
>> 
>> > merge 56599 54691
>> > thanks
>> > 
>> > Am Samstag, dem 16.07.2022 um 14:21 +0200 schrieb raingloom:
>> > > * gnu/packages/games.scm (fortune-mod): Delete off database after
>> > > install phase.
>> > > ---
>> > >  gnu/packages/games.scm | 5 -
>> > >  1 file changed, 4 insertions(+), 1 deletion(-)
>> > > 
>> > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
>> > > index 713f9339b2..cf10ebc9b6 100644
>> > > --- a/gnu/packages/games.scm
>> > > +++ b/gnu/packages/games.scm
>> > > @@ -7721,7 +7721,10 @@ (define-public fortune-mod
>> > >   (lambda _
>> > >     (with-directory-excursion #$output
>> > >   (rename-file "games/fortune" "bin/fortune")
>> > > - (rmdir "games")))
>> > > + (rmdir "games"
>> > > +   (add-after 'install 'commit-censorship
>> > > + (lambda* (#:key outputs #:allow-other-keys)
>> > > +   (delete-file-recursively (string-append
>> > Truly offensive files should be removed with a snippet rather than
>> > a funnily named phase.  I'm not sure if this applies to all of off,
>> > but let it be said, that there's plenty of fortunes that'd violate
>> > the CoC in files not labeled as such.  Some files could probably be
>> > salvaged if we only removed some quotes – for example limericks
>> > about numbers are probably fine, but other limericks aren't. 
>> > Furthermore, we should also revise the list of fortunes not in off,
>> > men-women is just an alternate spelling of sexism.
>> > 
>> > Cheers
>> 
>> That's probably better done as a fork of upstream. If no one wants to
>> do that, I wouldn't miss the package if it got yeeted. :shrug:
> I'm not necessarily asking you to go over joke for joke; that would
> need to be a collective decision of Guix folk anyway.  Right now I just
> want to (1) make that a snippet and (2) also take a critical look at
> the files not labeled "offensive". 
>
> Cheers

Doing it before the install phase requires also patching the build
scripts.  There are a bunch of other bugs calling me sadly, so I'm not
super keen on putting more energy into this one.





bug#56610: Guix Home placing dotfiles in wrong directory.

2022-07-17 Thread Oleg Pykhalov
Hi,

Raghav Gururajan via Bug reports for GNU Guix  writes:

> home-files-service-type is placing configuration files in `~/config/foo`
> instead of `~/.config/foo`.
>
> For example, the following guix-home service should place the git
> configuration in ~/.config/git`. But it creates a new directory `~/config/git`
> and places the file there.
>
> (simple-service 'git-config
> home-files-service-type
> (list
>  `("config/git/config"
>,(local-file
>  (string-append (getenv "HOME")
> "/dotfiles/git/config")
>
> It started happening recently, so will try to bisect.

It's not a bug, use ‘`(".config/git/config" ,(local-file ...))’.

I'll close the issue if you don't mind.

Oleg.


signature.asc
Description: PGP signature


bug#56610: Guix Home placing dotfiles in wrong directory.

2022-07-17 Thread Raghav Gururajan via Bug reports for GNU Guix

Hello Guix,

home-files-service-type is placing configuration files in `~/config/foo` 
instead of `~/.config/foo`.


For example, the following guix-home service should place the git 
configuration in ~/.config/git`. But it creates a new directory 
`~/config/git` and places the file there.


(simple-service 'git-config
home-files-service-type
(list
 `("config/git/config"
   ,(local-file
 (string-append (getenv "HOME")
"/dotfiles/git/config")

It started happening recently, so will try to bisect.

Regards,
RG.


OpenPGP_signature
Description: OpenPGP digital signature