[Pkg-gmagick-im-team] Bug#582073: imagemagick: FTBFS: 'MAGICKCORE_CONFIGURE_RELATIVE_PATH' undeclared

Niko Tyni ntyni at debian.org
Sat May 22 13:15:28 UTC 2010


On Fri, May 21, 2010 at 10:38:03PM -0300, Nelson A. de Oliveira wrote:
> On Tue, May 18, 2010 at 3:14 AM, Niko Tyni <ntyni at debian.org> wrote:
> > This package fails to build on current sid/amd64:
> >
> >    CC     magick/magick_libMagickCore_la-configure.lo
> >  In file included from ./magick/studio.h:64,
> >                   from magick/configure.c:42:
> >  ./magick/magick-config.h:15:20: warning: extra tokens at end of #ifndef directive
> >  ./magick/magick-config.h:16:20: warning: ISO C99 requires whitespace after the macro name
> 
> Strange is that I cannot reproduce it.

It seems to be a dash vs. bash issue, given that  it can be worked around
by setting CONFIG_SHELL=bash for the ./configure run.

dash recently became capable enough that autoconf scripts don't just do
'exec bash ./configure' anymore, so things like bashims in configure.ac
now break the build. See for example #582098 and #582374.

The control characters in  magick/magick-config.h are pretty strange,
I wonder if the number 1 is interpreted as an ASCII value somewhere. Can't
easily spot how, though.
-- 
Niko Tyni   ntyni at debian.org





More information about the Pkg-gmagick-im-team mailing list