bug#56619: Inkscape crashes on startup, renders package unusable
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#56619: Inkscape crashes on startup, renders package unusable
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
Ludovic Courtès writes: > Hi Justus, > > Justus Winter skribis: > >> % 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” > > Could you share the output of ‘guix describe’? > > Version 1.2 works for me: > > --8<---cut here---start->8--- > $ guix describe > Generation 222Jul 17 2022 22:54:21(current) > guix f4ac752 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: f4ac75205825a4bb3ba986f31350b39222d71670 > $ guix shell inkscape -- inkscape > $ echo $? > 0 > $ guix shell inkscape -- inkscape --version > Inkscape 1.2 (dc2aedaf03, 2022-05-15) > --8<---cut here---end--->8--- Sure! % guix describe Generation 157 Jul 11 2022 10:21:38(current) guix 58aaef4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 58aaef4460b55de9e15301e1a45cc7b45fbf1383 nonguix 301fc39 repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 301fc39b85678de522323c23aff038252e1eafa5 I'm trying to keep it up-to-date, but froze it because I was going to present at Debconf using this laptop, and didn't want any surprises... And indeed, now: % guix describe Generation 158 Jul 18 2022 15:54:10(current) guix 8f0d45c repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 8f0d45ccac3f6cee69eba8de5e4ae5ef1a3d nonguix 674d04a repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 674d04a5fbd8689ab5ff27271a656f711fc77c54 % guix shell inkscape -- inkscape --version (inkscape:5439): dbind-WARNING **: 15:57:18.968: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files Inkscape 1.2 (dc2aedaf03, 2022-05-15) And it works now! Sorry for the noise. Best, Justus signature.asc Description: PGP signature
bug#22883: Authenticating a Git checkout
Ludovic Courtès writes: > At this stage, ‘make authenticate’ uses the pure-Scheme implementation > (based on Göran Weinholt’s code, heavily modified). It can authenticate > 14K+ commits in ~20s instead of 4m20s on my laptop, which is really > nice. Neat :) > Signature verification in (guix openpgp) does just that: signature > verification. It does not validate signature and key metadata, in > particular expiration date. I guess it should at least error out when a > signature creation time is newer than its key expiration time. Indeed. I skimmed both the original and the adapted code, and it notably does no attempt to canonicalize the certificates in the keyring (i.e. checking binding signatures, lifetimes, revocations, (sub)key flags...). While that is a bit dangerous, it is okay for a point solution for Guix, provided that this is properly documented and communicated. One can forgo canonicalization if one assumes that the keyring is curated, and one has a good-list of (sub)keys fingerprints that are allowed to create signatures. Reading git-authentiate.scm that does seem to be the case. (I bet that certificate canonicalization is the major reason why calling out to gpgv is so slow: it does that every time, and it involves signature verification, which is slow (yes, I'm looking at you, RSA).) > It should also reject SHA1 signatures, at least optionally (I haven’t > checked whether our Git history has any of these). I believe it should. For reference, we reject SHA1 signatures for signatures created since 2013. > Next steps: > > • Clean up the (guix openpgp) API a bit, for instance by using proper > SRFI-35 error conditions. Perhaps handle v5 packets too. Don't bother with v5 packets for now. The RFC is nowhere near completion, and even if it is one day, it will be quite some time until you see these packets in the wild. All the best, Justus signature.asc Description: PGP signature