Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699586 - media-gfx/inkscape-1.0_beta1 should not depend on <media-gfx/imagemagick-7
Summary: media-gfx/inkscape-1.0_beta1 should not depend on <media-gfx/imagemagick-7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
: 699888 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-08 00:11 UTC by jorgicio
Modified: 2020-04-23 19:14 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2019-11-08 00:11:22 UTC
Hi!

As I noted in some other bug report somewhere, I noted Inkscape fails at build with Imagemagick 7.x or recent. However, the requirement of 6.x versions of that package (as a dependency for some packages, i.e. Inkscape), creates a conflict with other packages which require recent versions of Imagemagick.

I have installed Octave 5.1.0, which requires 7.x or newer, but conflicts with Inkscape.

Some suggestion would be slotting Imagemagick, patching packages which can't support recent versions, or create a compat package which provides libraries only. Because of all I mentioned before, I can't do an emerge @world, even if I pass the --exclude argument for packages who create conflict.

Thanks.

Reproducible: Always
Comment 1 Miroslav Šulc gentoo-dev 2019-11-08 06:56:01 UTC
grepping gentoo main tree reveals there are 4 packages and 6 ebuilds depending on <imagemagick-7. it's for a reason i guess. unless there is a working patch for inkscape to make it work with imagemagick-7, it simply cannot depend on imagemagick-7. the workaround is to set USE="-imagemagick graphicsmagick" for inkscape which works fine for me.
Comment 2 jorgicio 2019-11-08 14:01:06 UTC
I didn't try that because I masked the _beta version for obvious reasons (it's a beta, duh), the error is with Inkscape 0.92.4. Also, as far as I know, Imagemagick and Graphicsmagick do not fit together unless you install the latter with -imagemagick.

If there are more packages with the same problem, there are more reasons to create a some kind of compat package for Imagemagick, as done with ncurses. Archlinux did it, with 6.x version of Inkscape available as a library only.
Comment 3 jorgicio 2019-11-08 14:02:17 UTC
(In reply to jorgicio from comment #2)
> I didn't try that because I masked the _beta version for obvious reasons
> (it's a beta, duh), the error is with Inkscape 0.92.4. Also, as far as I
> know, Imagemagick and Graphicsmagick do not fit together unless you install
> the latter with -imagemagick.
> 
> If there are more packages with the same problem, there are more reasons to
> create a some kind of compat package for Imagemagick, as done with ncurses.
> Archlinux did it, with 6.x version of Inkscape available as a library only.

My bad. Where it says "Inkscape available as a library only" it must say "Imagemagick available as library only".

Thanks.
Comment 4 jorgicio 2019-11-08 15:42:23 UTC
Finally, I uploaded a proposition of a imagemagick-compat package in my package.

Feel free to take a look, clone it from my repo or do some modifications if needed. It's in my overlay, jorgicio.

https://github.com/jorgicio/jorgicio-gentoo-overlay

I hope it helps. The rest of the work may be done by anyone who maintain their dependencies.
Comment 5 jorgicio 2019-11-08 22:45:19 UTC
(In reply to jorgicio from comment #4)
> Finally, I uploaded a proposition of a imagemagick-compat package in my
> package.
> 
> Feel free to take a look, clone it from my repo or do some modifications if
> needed. It's in my overlay, jorgicio.
> 
> https://github.com/jorgicio/jorgicio-gentoo-overlay
> 
> I hope it helps. The rest of the work may be done by anyone who maintain
> their dependencies.

Please, dismiss that.

I rather created another repo to do that. Check https://github.com/jorgicio/magick6-compat
Comment 6 cyrillic 2019-11-09 00:07:38 UTC
I have been doing the same thing as Miroslav on my machines :
imagemagick-7
graphicsmagick[-imagemagick]
and inkscape compiles and runs fine for me.
Comment 7 jorgicio 2019-11-09 00:11:04 UTC
(In reply to cyrillic from comment #6)
> I have been doing the same thing as Miroslav on my machines :
> imagemagick-7
> graphicsmagick[-imagemagick]
> and inkscape compiles and runs fine for me.

Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be fixed for that version.
Comment 8 Andreas Sturmlechner gentoo-dev 2019-11-11 22:48:28 UTC
*** Bug 699888 has been marked as a duplicate of this bug. ***
Comment 9 Thomas Bettler 2019-11-12 16:40:20 UTC
(In reply to jorgicio from comment #7)
> (In reply to cyrillic from comment #6)
> > I have been doing the same thing as Miroslav on my machines :
> > imagemagick-7
> > graphicsmagick[-imagemagick]
> > and inkscape compiles and runs fine for me.
> 
> Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be
> fixed for that version.

try bug #663468 comment 10 and 14
Comment 10 jorgicio 2019-11-12 20:48:43 UTC
(In reply to Thomas Bettler from comment #9)
> (In reply to jorgicio from comment #7)
> > (In reply to cyrillic from comment #6)
> > > I have been doing the same thing as Miroslav on my machines :
> > > imagemagick-7
> > > graphicsmagick[-imagemagick]
> > > and inkscape compiles and runs fine for me.
> > 
> > Works for 1.0_beta but not for 0.92.4. I was expecting the issue may be
> > fixed for that version.
> 
> try bug #663468 comment 10 and 14

Sounds good.

The problem is that Inkscape is not the only package with this issue. That's why I created the magick6-compat overlay.

So the fix may be applied for all those packages too.
Comment 11 N. Andrew Walsh 2020-03-02 11:43:28 UTC
jorgicio, how do you use your overlay? I installed the package imagemagick-compat, but inkscape and obs-studio still both require imagemagick to be installed (which is being blocked by imagemagick-compat). 

Thanks for your work on this.
Comment 12 Honza 2020-03-08 03:35:29 UTC
Any chance this will get to official portage tree?
Comment 13 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-23 19:14:11 UTC
fixed in rc1