[R-pkg-team] Bug#995302: r-cran-magick: FTBFS with imagemagick 6.9.12.20

Jeroen Ooms jeroen at berkeley.edu
Wed Sep 29 20:46:20 BST 2021


On Wed, Sep 29, 2021 at 9:40 PM Johannes Schauer Marin Rodrigues
<josch at debian.org> wrote:
>
> Hi all,
>
> Quoting Jeroen Ooms (2021-09-29 20:54:17)
> > The relevant part of the build log is actually:
> >
> > > Package Magick++ was not found in the pkg-config search path.
> > > Perhaps you should add the directory containing `Magick++.pc'
> > > to the PKG_CONFIG_PATH environment variable
> > > No package 'Magick++' found
> > > Warning: found GraphicsMagick++ instead of ImageMagick++. GraphicsMagick is not supported.
> >
> > You need to build the R package against imagemagick, not graphicsmagick!
>
> ah nice catch! Thank you!
>
> So the problem is, that graphicsmagick is installed because
> graphicsmagick-libmagick-dev-compat provides libmagick++-dev and thus satisfies
> the build dependencies of r-cran-magick. Since r-cran-magick must not be built
> with graphicsmagick, the package should probably add something like:
>
> Build-Conflicts: graphicsmagick-libmagick-dev-compat, libgraphicsmagick1-dev
>
> Thanks!

I think the actual bug is that apt prefers
graphicsmagick-libmagick-dev-compat over the actual libmagick++-dev. I
don't understand why this has started happening (it wasn't the case
for previous releases, where this problem did not happen). The
graphicsmagick fork is quite different from imagemagick; I don't think
they should be considered interchangeable, and certainly not
preferred.



More information about the R-pkg-team mailing list