[Pkg-gmagick-im-team] Bug#583024: imagemagick: FTBFS: coders/tiff.c:1651: error: 'tiff_semaphore' undeclared (first use in this function)

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 25 06:39:50 UTC 2010


Source: imagemagick
Version: 7:6.6.0.4-2
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>   CC     coders/coders_tiff_la-tiff.lo
> In file included from coders/png.c:79:
> ./magick/string-private.h: In function 'SiPrefixToDouble':
> ./magick/string-private.h:34: warning: implicit declaration of function 'strtod'
> ./magick/string-private.h: In function 'StringToInteger':
> ./magick/string-private.h:61: warning: implicit declaration of function 'strtol'
> ./magick/string-private.h: In function 'StringToUnsignedLong':
> ./magick/string-private.h:71: warning: implicit declaration of function 'strtoul'
> coders/png.c: In function 'IsMNG':
> coders/png.c:951: warning: implicit declaration of function 'memcmp'
> coders/ept.c: In function 'IsEPT':
> coders/ept.c:125: warning: implicit declaration of function 'memcmp'
> In file included from ./magick/studio.h:64,
>                  from coders/tiff.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
> ./magick/magick-config.h:20:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:25:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:30:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:38:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:43:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:48:20: warning: extra tokens at end of #ifndef directive

[...]
> ./magick/magick-config.h:1300:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:1305:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:1363:21: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:1364:21: warning: ISO C99 requires whitespace after the macro name
> In file included from coders/tiff.c:76:
> ./magick/string-private.h: In function 'SiPrefixToDouble':
> ./magick/string-private.h:34: warning: implicit declaration of function 'strtod'
> ./magick/string-private.h: In function 'StringToInteger':
> ./magick/string-private.h:61: warning: implicit declaration of function 'strtol'coders/x.c:201: warning: 'WriteXImage' defined but not used
> 
> ./magick/string-private.h: In function 'StringToUnsignedLong':
> ./magick/string-private.h:71: warning: implicit declaration of function 'strtoul'
> coders/tiff.c: In function 'IsTIFF':
> coders/tiff.c:221: warning: implicit declaration of function 'memcmp'
> coders/tiff.c: In function 'RegisterTIFFImage':
> coders/tiff.c:1651: error: 'tiff_semaphore' undeclared (first use in this function)
> coders/tiff.c:1651: error: (Each undeclared identifier is reported only once
> coders/tiff.c:1651: error: for each function it appears in.)
> coders/tiff.c:1654: error: 'instantiate_key' undeclared (first use in this function)
> coders/tiff.c:1656: error: 'tiff_exception' undeclared (first use in this function)
> coders/tiff.c:1657: warning: implicit declaration of function '_exit'
> coders/tiff.c:1657: warning: incompatible implicit declaration of built-in function '_exit'
> coders/tiff.c: In function 'UnregisterTIFFImage':
> coders/tiff.c:1775: error: 'tiff_semaphore' undeclared (first use in this function)In file included from ./magick/studio.h:64,
>                  from coders/wmf.c:45:
> 
> ./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
> ./magick/magick-config.h:20:20: warning: extra tokens at end of #ifndef directive
> ./magick/magick-config.h:25:20: warning: extra tokens at end of #ifndef directive
[...]
> ./magick/magick-config.h:1364:21: warning: ISO C99 requires whitespace after the macro name
> make[2]: *** [coders/coders_tiff_la-tiff.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/05/24/imagemagick_7:6.6.0.4-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





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