Merge fails because the configure script cannot cannot compile MagickWand/MagickWand.h. The configure log suggests there is a missing definition or incompatibility in the header files. Reproducible: Always Steps to Reproduce: 1. emerge media-video/transcode-1.1.7-r4 on stable amd64 Actual Results: Build fails. Expected Results: Package builds and merges.
Created attachment 668630 [details] Configure log from configuration failure
Created attachment 668633 [details] Build log
To state the obvious, setting USE=-imagemagick for this package works around the problem, transcode then compiles fine. I note that both the home pages listed in the manifest are no longer in existence, and could not locate a successor. I haven't yet found out what difference disabling imagemagick support makes to the functionality of transcode, because I think I only have it installed as a dependency of k3b. k3b only has an optional run-time dependency on transcode (with the dvd && encode use flags), and I certainly don't use k3b to encode videos for DVD (I use the DVD wizard in kdenlive, but then burn the discs in k3b). The k3b ebuild only requires transcode to have the dvd use-flag set (so this should not matter), but I haven't tested this.
*** Bug 752345 has been marked as a duplicate of this bug. ***
Exactly the same here. I confirm this bug.
I CCed someoen who knows about IM but upstream seems.. gone?
(In reply to Frank Noack from comment #5) > Exactly the same here. I confirm this bug. Confirm too
The same problem with transcode-1.1.7-r5.
ERROR: option '--enable-imagemagick' failed: cannot compile MagickWand/MagickWand.h MagickWand/MagickWand.h can be found in the following packages: MagickWand http://www.imagemagick.org/ The missing file exists: # equery files imagemagick| grep MagickWand.h /usr/include/ImageMagick-7/MagickWand/MagickWand.h /usr/share/doc/imagemagick-7.0.10.34-r1/html/www/api/MagickWand/struct__MagickWand.html It seems to be a problem with transcode-1.1.7-imagemagick7.patch: http://git.pld-linux.org/?p=packages/transcode.git;a=blob_plain;f=imagemagick7.patch;h=8411f89b843764eff8f4aaddb314d7773d1bcec8;hb=HEAD --- transcode-1.1.7/configure.in +++ transcode-1.1.7/configure.in @@ -1105,8 +1105,8 @@ dnl ImageMagick dnl IMAGEMAGICK_EXTRA_LIBS="$IMAGEMAGICK_EXTRA_LIBS $($PKG_CONFIG --libs ImageMagick)" -TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, no, [magick/api.h], - none, InitializeMagick, Wand, [http://www.imagemagick.org/]) +TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, no, [MagickWand/MagickWand.h], + none, InitializeMagick, MagickWand, [http://www.imagemagick.org/]) TC_PKG_HAVE(imagemagick, IMAGEMAGICK) if test x"$have_imagemagick" = x"yes" ; then SAVE_CPPFLAGS="$CPPFLAGS" @@ -1114,6 +1114,7 @@ AC_CHECK_HEADER([wand/magick-wand.h], [AC_DEFINE([HAVE_BROKEN_WAND], [1], ["have old wand header"])]) CPPFLAGS="$SAVE_CPPFLAGS" + IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS $($PKG_CONFIG --cflags ImageMagick)" I'm not able to solve that
(In reply to Frank Noack from comment #9) > ERROR: option '--enable-imagemagick' failed: cannot compile > MagickWand/MagickWand.h > MagickWand/MagickWand.h can be found in the following packages: > MagickWand http://www.imagemagick.org/ > > The missing file exists: > # equery files imagemagick| grep MagickWand.h > /usr/include/ImageMagick-7/MagickWand/MagickWand.h > /usr/share/doc/imagemagick-7.0.10.34-r1/html/www/api/MagickWand/ > struct__MagickWand.html > > It seems to be a problem with transcode-1.1.7-imagemagick7.patch: > > http://git.pld-linux.org/?p=packages/transcode.git;a=blob_plain; > f=imagemagick7.patch;h=8411f89b843764eff8f4aaddb314d7773d1bcec8;hb=HEAD > > --- transcode-1.1.7/configure.in > +++ transcode-1.1.7/configure.in > @@ -1105,8 +1105,8 @@ > dnl ImageMagick > dnl > IMAGEMAGICK_EXTRA_LIBS="$IMAGEMAGICK_EXTRA_LIBS $($PKG_CONFIG --libs > ImageMagick)" > -TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, no, [magick/api.h], > - none, InitializeMagick, Wand, [http://www.imagemagick.org/]) > +TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, no, [MagickWand/MagickWand.h], > + none, InitializeMagick, MagickWand, [http://www.imagemagick.org/]) > TC_PKG_HAVE(imagemagick, IMAGEMAGICK) > if test x"$have_imagemagick" = x"yes" ; then > SAVE_CPPFLAGS="$CPPFLAGS" > @@ -1114,6 +1114,7 @@ > AC_CHECK_HEADER([wand/magick-wand.h], > [AC_DEFINE([HAVE_BROKEN_WAND], [1], ["have old wand header"])]) > CPPFLAGS="$SAVE_CPPFLAGS" > + IMAGEMAGICK_CFLAGS="$IMAGEMAGICK_CFLAGS $($PKG_CONFIG --cflags > ImageMagick)" > > I'm not able to solve that I installed media-gfx/imagemagick-7.0.10.35 and it solved this problem.
> I installed media-gfx/imagemagick-7.0.10.35 and it solved this problem. Updating stable imagemagick to ~imagemagick-7.0.10.35 solved it for me, too.
(In reply to urcindalo from comment #11) > > Updating stable imagemagick to ~imagemagick-7.0.10.35 solved it for me, too. Thanks. This worked for me as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15cc2366ea419b9678948208ec4c0d36406ebf4f commit 15cc2366ea419b9678948208ec4c0d36406ebf4f Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-11-06 17:54:07 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-11-06 17:54:07 +0000 media-gfx/imagemagick: rollover stable keywords Closes: https://bugs.gentoo.org/751340 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> media-gfx/imagemagick/imagemagick-6.9.11.35.ebuild | 2 +- media-gfx/imagemagick/imagemagick-7.0.10.35.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)