[Pkg-scicomp-devel] Bug#527694: cimg: FTBFS: magick-type.h:116: error: ISO C++ 1998 does not support 'long long'

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri May 8 16:57:49 UTC 2009


Package: cimg
Version: 1.2.0.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -o CImg_demo CImg_demo.cpp -Wall -W -ansi -pedantic -ffast-math -lm -lpthread -O3 -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -Dcimg_strict -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr -Dcimg_use_png -lpng -lz -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_magick -I/usr/include/ImageMagick -g -O2 -Wall -W -pthread -L/usr/lib -L/usr/lib/X11 -lfreetype -lz -L/usr/lib -lMagick++ -lMagickWand -lMagickCore -llcms -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl -Dcimg_use_fftw3 -lfftw3
> In file included from /usr/include/ImageMagick/magick/MagickCore.h:148,
>                  from /usr/include/ImageMagick/Magick++/Include.h:47,
>                  from /usr/include/ImageMagick/Magick++.h:9,
>                  from ../CImg.h:253,
>                  from CImg_demo.cpp:37:
> /usr/include/ImageMagick/magick/magick-type.h:116: error: ISO C++ 1998 does not support 'long long'
> /usr/include/ImageMagick/magick/magick-type.h:117: error: ISO C++ 1998 does not support 'long long'
> In file included from CImg_demo.cpp:37:
> ../CImg.h: In static member function 'static void cimg_library::CImgDisplay::_render_resize(const T*, unsigned int, unsigned int, t*, unsigned int, unsigned int)':
> ../CImg.h:4822: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::_assign()':
> ../CImg.h:5133: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h:5161: warning: suggest parentheses around assignment used as truth value
> ../CImg.h: In member function 'void cimg_library::CImgDisplay::_handle_events(const XEvent*)':
> ../CImg.h:5834: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement
> ../CImg.h:5855: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement
> ../CImg.h:5903: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement
> ../CImg.h:5908: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator+=(const cimg_library::CImg<t>&)':
> ../CImg.h:7830: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator-=(const cimg_library::CImg<t>&)':
> ../CImg.h:7859: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator%=(const cimg_library::CImg<T>&)':
> ../CImg.h:7918: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator&=(const cimg_library::CImg<T>&)':
> ../CImg.h:7935: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator|=(const cimg_library::CImg<T>&)':
> ../CImg.h:7958: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::operator^=(const cimg_library::CImg<T>&)':
> ../CImg.h:7981: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'bool cimg_library::CImg<T>::operator==(const cimg_library::CImg<t>&) const':
> ../CImg.h:8035: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'cimg_library::CImg<T> cimg_library::CImg<T>::get_resize(int, int, int, int, int, int) const':
> ../CImg.h:9349: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h:9354: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h:9359: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In member function 'bool cimg_library::CImg<T>::_draw_fill<T1, T2>::comp(const cimg_library::CImg<t>&, const cimg_library::CImg<t>&) const':
> ../CImg.h:13116: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> ../CImg.h: In static member function 'static cimg_library::CImgList<T> cimg_library::CImgList<T>::get_load_parrec(const char*)':
> ../CImg.h:21348: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement
> CImg_demo.cpp: In function 'int main()':
> CImg_demo.cpp:302: warning: large integer implicitly truncated to unsigned type
> CImg_demo.cpp:303: warning: large integer implicitly truncated to unsigned type
> CImg_demo.cpp:304: warning: large integer implicitly truncated to unsigned type
> ../CImg.h: In member function 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg<t1>&, bool) [with T = unsigned char]':
> ../CImg.h:5193:   instantiated from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg<t1>&) [with T = unsigned char]'
> CImg_demo.cpp:143:   instantiated from here
> ../CImg.h:5387: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5392: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5452: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5457: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h: In member function 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg<t1>&, bool) [with T = int]':
> ../CImg.h:5193:   instantiated from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg<t1>&) [with T = int]'
> CImg_demo.cpp:559:   instantiated from here
> ../CImg.h:5387: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5392: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5452: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5457: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h: In member function 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg<t1>&, bool) [with T = float]':
> ../CImg.h:5116:   instantiated from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::assign(const cimg_library::CImgList<t1>&, const char*, unsigned int, unsigned int, bool, bool) [with T = float]'
> ../CImg.h:4617:   instantiated from 'cimg_library::CImgDisplay::CImgDisplay(const cimg_library::CImgList<t1>&, const char*, unsigned int, unsigned int, bool, bool) [with T = float]'
> CImg_demo.cpp:204:   instantiated from here
> ../CImg.h:5387: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5392: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5452: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5457: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h: In member function 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg<t1>&, bool) [with T = unsigned int]':
> ../CImg.h:5102:   instantiated from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::assign(const cimg_library::CImg<t1>&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned int]'
> ../CImg.h:4598:   instantiated from 'cimg_library::CImgDisplay::CImgDisplay(const cimg_library::CImg<t1>&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned int]'
> CImg_demo.cpp:805:   instantiated from here
> ../CImg.h:5387: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5392: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5452: warning: suggest parentheses around arithmetic in operand of |
> ../CImg.h:5457: warning: suggest parentheses around arithmetic in operand of |
> make[2]: *** [CImg_demo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/05/08/cimg_1.2.0.1-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-scicomp-devel mailing list