GNU bug report logs - #47315
Inkscape is missing imagemagick

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 22 Mar 2021 10:15:01 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47315 in the body.
You can then email your comments to 47315 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47315; Package guix. (Mon, 22 Mar 2021 10:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 22 Mar 2021 10:15:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Inkscape is missing imagemagick
Date: Mon, 22 Mar 2021 11:13:57 +0100
Hello,

$ guix environment --ad-hoc inkscape
[env]$ inkscape /tmp/guixtile.svg
/gnu/store/7bs616gpgnmj4g5d0g88dkphd1gqbicy-inkscape-1.0.2/bin/.inkscape-real: error while loading shared libraries: libMagickCore-6.Q16.so.6: cannot open shared object file: No such file or directory

The same happens when I add imagemagick of imagemagick <at> 6.9.11-48 or
imagemagick <at> 6.9.12-2g to the environment.

But maybe the older imagemagick is not even built?

$ guix build imagemagick <at> 6.9.11-48
/gnu/store/m794l5c82clc3xa1lkg30pr96y9a60m3-imagemagick-6.9.12-2g-doc
/gnu/store/nnw0jnxpcf5bfaxbc3c5dkw87j13bq94-imagemagick-6.9.12-2g

Notice the version mismatch!

$ guix build imagemagick <at> 6.9.11
guix build: error: imagemagick: package not found for version 6.9.11

It should work to just specify a version prefix, right?

$ guix describe
Generation 29	Mar 11 2021 12:17:47	(current)
  guix 500189b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 500189b4d2f1e3a2d4ee8ab73d889e3d8ac70632

This is probably due to
commit 82e887ba48c2ba91b17aa9b6b17501e3e0ef4aef
Author: Léo Le Bouter <lle-bout <at> zaclys.net>
Date:   Tue Mar 9 23:02:51 2021 +0100
    gnu: imagemagick: Update to 6.9.12-2 [security fixes].
    * gnu/packages/imagemagick.scm (imagemagick/fixed): New variable.
    (imagemagick)[replacement]: Graft.

I am not familiar with replacements, but it appears they force an update.
This should not happen together with a library soname change; effectively,
the result is a removal of the previous imagemagick package from Guix
together with the addition of an unrelated new one, that cannot replace
the previous one, but just happens to be a different program sharing the
same name.

So in this case, the only option is to upgrade the imagemagick package
and to recompile all its dependents.

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#47315; Package guix. (Mon, 22 Mar 2021 11:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 47315 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Andreas Enge <andreas <at> enge.fr>,47315 <at> debbugs.gnu.org
Subject: Re: bug#47315: Inkscape is missing imagemagick
Date: Mon, 22 Mar 2021 07:16:28 -0400
[Message part 1 (text/plain, inline)]
I think this has already been fixed a few days ago on master. Have you tried pulling and upgrading inkscape again?

Le 22 mars 2021 06:13:57 GMT-04:00, Andreas Enge <andreas <at> enge.fr> a écrit :
>Hello,
>
>$ guix environment --ad-hoc inkscape
>[env]$ inkscape /tmp/guixtile.svg
>/gnu/store/7bs616gpgnmj4g5d0g88dkphd1gqbicy-inkscape-1.0.2/bin/.inkscape-real:
>error while loading shared libraries: libMagickCore-6.Q16.so.6: cannot
>open shared object file: No such file or directory
>
>The same happens when I add imagemagick of imagemagick <at> 6.9.11-48 or
>imagemagick <at> 6.9.12-2g to the environment.
>
>But maybe the older imagemagick is not even built?
>
>$ guix build imagemagick <at> 6.9.11-48
>/gnu/store/m794l5c82clc3xa1lkg30pr96y9a60m3-imagemagick-6.9.12-2g-doc
>/gnu/store/nnw0jnxpcf5bfaxbc3c5dkw87j13bq94-imagemagick-6.9.12-2g
>
>Notice the version mismatch!
>
>$ guix build imagemagick <at> 6.9.11
>guix build: error: imagemagick: package not found for version 6.9.11
>
>It should work to just specify a version prefix, right?
>
>$ guix describe
>Generation 29	Mar 11 2021 12:17:47	(current)
>  guix 500189b
>    repository URL: https://git.savannah.gnu.org/git/guix.git
>    commit: 500189b4d2f1e3a2d4ee8ab73d889e3d8ac70632
>
>This is probably due to
>commit 82e887ba48c2ba91b17aa9b6b17501e3e0ef4aef
>Author: Léo Le Bouter <lle-bout <at> zaclys.net>
>Date:   Tue Mar 9 23:02:51 2021 +0100
>    gnu: imagemagick: Update to 6.9.12-2 [security fixes].
>    * gnu/packages/imagemagick.scm (imagemagick/fixed): New variable.
>    (imagemagick)[replacement]: Graft.
>
>I am not familiar with replacements, but it appears they force an
>update.
>This should not happen together with a library soname change;
>effectively,
>the result is a removal of the previous imagemagick package from Guix
>together with the addition of an unrelated new one, that cannot replace
>the previous one, but just happens to be a different program sharing
>the
>same name.
>
>So in this case, the only option is to upgrade the imagemagick package
>and to recompile all its dependents.
>
>Andreas
[Message part 2 (text/html, inline)]

Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Tue, 23 Mar 2021 14:27:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Tue, 23 Mar 2021 14:27:02 GMT) Full text and rfc822 format available.

Message #13 received at 47315-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 47315-done <at> debbugs.gnu.org
Subject: Re: bug#47315: Inkscape is missing imagemagick
Date: Tue, 23 Mar 2021 15:26:08 +0100
Am Mon, Mar 22, 2021 at 07:16:28AM -0400 schrieb Julien Lepiller:
> I think this has already been fixed a few days ago on master. Have you tried
> pulling and upgrading inkscape again?

Indeed, closing this bug, thanks!

The discussion on grafts and version numbers is continued here:
   https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00432.html

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Apr 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.