[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777832: devil: ftbfs with GCC-5



Package: src:devil
Version: 1.7.8-9
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/devil_1.7.8-9_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_alloc.lo `test -f './../src-IL/src/il_alloc.c' || echo './'`./../src-IL/src/il_alloc.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_doom.lo `test -f './../src-IL/src/il_doom.c' || echo './'`./../src-IL/src/il_doom.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_stack.lo `test -f './../src-IL/src/il_stack.c' || echo './'`./../src-IL/src/il_stack.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_pcx.lo `test -f './../src-IL/src/il_pcx.c' || echo './'`./../src-IL/src/il_pcx.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_rle.lo `test -f './../src-IL/src/il_rle.c' || echo './'`./../src-IL/src/il_rle.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_bits.lo `test -f './../src-IL/src/il_bits.c' || echo './'`./../src-IL/src/il_bits.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_endian.lo `test -f './../src-IL/src/il_endian.c' || echo './'`./../src-IL/src/il_endian.c
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_exr.lo `test -f './../src-IL/src/il_exr.cpp' || echo './'`./../src-IL/src/il_exr.cpp
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_jpeg.lo `test -f './../src-IL/src/il_jpeg.c' || echo './'`./../src-IL/src/il_jpeg.c
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/IL  -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o libIL_la-il_pic.lo `test -f './../src-IL/src/il_pic.c' || echo './'`./../src-IL/src/il_pic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_alloc.c  -fPIC -DPIC -o .libs/libIL_la-il_alloc.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_bits.c  -fPIC -DPIC -o .libs/libIL_la-il_bits.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_rle.c  -fPIC -DPIC -o .libs/libIL_la-il_rle.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_pcx.c  -fPIC -DPIC -o .libs/libIL_la-il_pcx.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_stack.c  -fPIC -DPIC -o .libs/libIL_la-il_stack.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_jpeg.c  -fPIC -DPIC -o .libs/libIL_la-il_jpeg.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_doom.c  -fPIC -DPIC -o .libs/libIL_la-il_doom.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_endian.c  -fPIC -DPIC -o .libs/libIL_la-il_endian.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_pic.c  -fPIC -DPIC -o .libs/libIL_la-il_pic.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_exr.cpp  -fPIC -DPIC -o .libs/libIL_la-il_exr.o
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++
cc1plus: warning: command line option '-fgnu89-inline' is valid for C/ObjC but not for C++
./../src-IL/src/il_rle.c: In function 'ilRleCompressLine':
./../src-IL/src/il_rle.c:20:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  const ILint bmp_pad_to_even = 1 - ((ILint)q - *DestWidth) % 2;
                                     ^
In file included from ./../src-IL/src/il_exr.cpp:14:0:
./../src-IL/include/il_internal.h:230:54: error: expected ',' or '...' before 'FileName'
 ILboolean ilIsValidBmp(ILconst_string CONST_RESTRICT FileName);
                                                      ^
make[2]: *** [libIL_la-il_exr.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1365: recipe for target 'libIL_la-il_exr.lo' failed
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_alloc.c -o libIL_la-il_alloc.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_bits.c -o libIL_la-il_bits.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_rle.c -o libIL_la-il_rle.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_doom.c -o libIL_la-il_doom.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_jpeg.c -o libIL_la-il_jpeg.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_pic.c -o libIL_la-il_pic.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_endian.c -o libIL_la-il_endian.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_stack.c -o libIL_la-il_stack.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -D_FORTIFY_SOURCE=2 -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ./../src-IL/src/il_pcx.c -o libIL_la-il_pcx.o >/dev/null 2>&1
make[2]: Leaving directory '/«PKGBUILDDIR»/lib'
make[1]: *** [all-recursive] Error 1
Makefile:322: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:11: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: