Package: src:agg
Version: 2.5+dfsg1-11
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/agg_2.5+dfsg1-11_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-7/porting_to.html

[...]
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/win32'
Making all in AmigaOS
make[5]: Entering directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/AmigaOS'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/AmigaOS'
Making all in BeOS
make[5]: Entering directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/BeOS'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/BeOS'
Making all in mac
make[5]: Entering directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/mac'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform/mac'
make[5]: Entering directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform'
make[4]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src/platform'
make[3]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/src'
Making all in font_freetype
make[3]: Entering directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/font_freetype'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../include   -Wdate-time -D_FORTIFY_SOURCE=2 -I../include 
-I/usr/include/freetype2  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/agg-2.5+dfsg1=. -fstack-protector-strong 
-Wformat -Werror=format-security -c -o 
libaggfontfreetype_la-agg_font_freetype.lo `test -f 'agg_font_freetype.cpp' || 
echo './'`agg_font_freetype.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../include -I/usr/include/freetype2 -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/agg-2.5+dfsg1=. -fstack-protector-strong 
-Wformat -Werror=format-security -c agg_font_freetype.cpp  -fPIC -DPIC -o 
.libs/libaggfontfreetype_la-agg_font_freetype.o
In file included from agg_font_freetype.h:34:0,
                 from agg_font_freetype.cpp:26:
../include/agg_scanline_u.h: In member function 'void 
agg::scanline32_u8_am<AlphaMask>::finalize(int)':
../include/agg_scanline_u.h:482:39: error: cannot call member function 'void 
agg::scanline_u8::finalize(int)' without object
             base_type::finalize(span_y);
                                       ^
../include/agg_scanline_u.h:485:70: error: cannot call member function 
'agg::scanline_u8::span* agg::scanline_u8::begin()' without object
                 typename base_type::iterator span = base_type::begin();
                                                                      ^
../include/agg_scanline_u.h:486:55: error: cannot call member function 
'unsigned int agg::scanline_u8::num_spans() const' without object
                 unsigned count = base_type::num_spans();
                                                       ^
../include/agg_scanline_u.h:490:62: error: cannot call member function 'int 
agg::scanline_u8::y() const' without object
                                                 base_type::y(),
                                                              ^
Makefile:364: recipe for target 'libaggfontfreetype_la-agg_font_freetype.lo' 
failed
make[3]: *** [libaggfontfreetype_la-agg_font_freetype.lo] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic/font_freetype'
Makefile:425: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1/obj-pic'
debian/rules:39: recipe for target 'build-pic-stamp' failed
make[1]: *** [build-pic-stamp] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/agg-2.5+dfsg1'
debian/rules:42: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Reply via email to