GNU bug report logs -
#47479
inkscape retains a reference to imagemagick, even though it is in native-inputs
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Mon, 29 Mar 2021 17:08:01 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Mon, Mar 29, 2021 at 05:16:01PM -0400, Mark H Weaver wrote:
> Hi Maxime,
>
> Maxime Devos <maximedevos <at> telenet.be> writes:
>
> > On
> > $ guix --version
> >> guix (GNU Guix) 510e24f973a918391d8122fd6ad515c0567bf23e
> >
> > with
> > $ guix graph --type=references inkscape
> >
> > it can be seen inkscape retains the reference to imagemagick,
> > even though imagemagick is in native-inputs.
>
> I believe this is incorrect. On my Guix system, I see this:
>
> --8<---------------cut here---------------start------------->8---
> mhw <at> jojen ~$ guix package -I inkscape
> inkscape 0.92.4 out /gnu/store/rx26f9xn14fng2gnzsigr74492lrkydl-inkscape-0.92.4
> mhw <at> jojen ~$ guix gc -R /gnu/store/rx26f9xn14fng2gnzsigr74492lrkydl-inkscape-0.92.4 | grep -i imagemagick
> --8<---------------cut here---------------end--------------->8---
It is the case for inkscape <at> 1.0.2
(ins)efraim <at> 3900XT ~$ guix package -A inkscape
inkscape 1.0.2 out gnu/packages/inkscape.scm:121:2
inkscape 0.92.4 out gnu/packages/inkscape.scm:56:2
(ins)efraim <at> 3900XT ~$ guix gc --references $(guix build inkscape <at> 1) | grep -i imagemagick
/gnu/store/y4rym48vihmh3jk9qnll0zqfnxzi9n6v-imagemagick-6.9.12-4
I believe it comes from the glib-or-gtk-wrap phase where it wraps the
XDG_DATA_DIRS and likely grabs more than it needs.
> I guess that "guix graph --type=references" is not a reliable indicator
> of what we need to check for.
>
> FYI, this is what I do to check that my system and user profile do not
> have references to imagemagick:
>
> --8<---------------cut here---------------start------------->8---
> mhw <at> jojen ~$ guix gc -R $(readlink /run/current-system) | grep -i imagemagick
> mhw <at> jojen ~$ guix gc -R $(readlink -f ~/.guix-profile) | grep -i imagemagick
> --8<---------------cut here---------------end--------------->8---
>
> Regards,
> Mark
>
>
>
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.