Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619514 - media-libs/vips-7.38.5-r1[imagemagick] with media-gfx/imagemagick-7.0.5.7 - magick2vips.c:90:24: fatal error: magick/api.h: No such file or directory
Summary: media-libs/vips-7.38.5-r1[imagemagick] with media-gfx/imagemagick-7.0.5.7 - m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on: 412447
Blocks: imagemagick-7
  Show dependency tree
 
Reported: 2017-05-24 08:27 UTC by Bernd Feige
Modified: 2018-01-28 16:32 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,44.71 KB, text/plain)
2017-05-25 08:15 UTC, Bernd Feige
Details
emerge-info.txt (emerge-info.txt,16.19 KB, text/plain)
2017-07-30 11:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.51 KB, text/plain)
2017-07-30 11:44 UTC, Toralf Förster
Details
environment (environment,123.39 KB, text/plain)
2017-07-30 11:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.60 KB, application/x-bzip)
2017-07-30 11:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.42 KB, application/x-bzip)
2017-07-30 11:44 UTC, Toralf Förster
Details
media-libs:vips-7.38.5-r1:20170730-114108.log (media-libs:vips-7.38.5-r1:20170730-114108.log,42.24 KB, text/plain)
2017-07-30 11:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.28 KB, application/x-bzip)
2017-07-30 11:44 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2017-05-24 08:27:12 UTC
The error is:
magick2vips.c:90:24: fatal error: magick/api.h: No such file or directory
Comment 1 Coacher 2017-05-24 18:29:05 UTC
(In reply to Bernd Feige from comment #0)
> The error is:
> magick2vips.c:90:24: fatal error: magick/api.h: No such file or directory
Please provide a complete build.log as well.
Comment 2 A Blamey 2017-05-25 08:06:21 UTC
I'm seeing the same problem.  It's fixed in more recent versions of vips (8.4.*) [1].

A workaround (also better performance) is to tell configure to use GraphicsMagick instead.  There is no useflag for this, so the configure option needs to be passed via an environment variable:

> with_magickpackage=GraphicsMagick emerge -v1 vips

This can be also done via package.env too:

/etc/portage/env/vips-gm:
with_magickpackage=GraphicsMagick


/etc/portage/package.env:
media-libs/vips vips-gm


[1] https://github.com/jcupitt/libvips/issues/480
Comment 3 Bernd Feige 2017-05-25 08:15:26 UTC
Created attachment 474206 [details]
build.log
Comment 4 Toralf Förster gentoo-dev 2017-07-30 11:44:37 UTC
appeared recently at the tinderbox image 20170730-134135_media-libs_vips-7.38.5-r1
Comment 5 Toralf Förster gentoo-dev 2017-07-30 11:44:40 UTC
Created attachment 487352 [details]
emerge-info.txt
Comment 6 Toralf Förster gentoo-dev 2017-07-30 11:44:43 UTC
Created attachment 487354 [details]
emerge-history.txt
Comment 7 Toralf Förster gentoo-dev 2017-07-30 11:44:46 UTC
Created attachment 487356 [details]
environment
Comment 8 Toralf Förster gentoo-dev 2017-07-30 11:44:49 UTC
Created attachment 487358 [details]
etc.portage.tbz2
Comment 9 Toralf Förster gentoo-dev 2017-07-30 11:44:52 UTC
Created attachment 487360 [details]
logs.tbz2
Comment 10 Toralf Förster gentoo-dev 2017-07-30 11:44:55 UTC
Created attachment 487362 [details]
media-libs:vips-7.38.5-r1:20170730-114108.log
Comment 11 Toralf Förster gentoo-dev 2017-07-30 11:44:58 UTC
Created attachment 487364 [details]
temp.tbz2
Comment 12 Pacho Ramos gentoo-dev 2017-12-15 20:58:13 UTC
CCing treecleaners (for this and media-gfx/nip2)
Comment 13 A Blamey 2017-12-28 15:59:21 UTC
See bug 412447 for a new ebuild that works with latest imagemagick-7
Comment 14 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-28 16:32:21 UTC
Gone