[Debian-med-packaging] Bug#897699: aeskulap: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:20:40 BST 2018


Package: src:aeskulap
Version: 0.2.2b1+git20161206-4
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/aeskulap_0.2.2b1+git20161206-4_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
                 from fileloader.cpp:24:
/usr/include/dcmtk/config/osconfig.h:825: note: this is the location of the previous definition
 #define PACKAGE_NAME "dcmtk"
 
In file included from ../configuration/aconfiguration.h:29,
                 from poolservers.h:30,
                 from imagepool.h:28,
                 from fileloader.cpp:27:
../config.h:97: warning: "PACKAGE_STRING" redefined
 #define PACKAGE_STRING "aeskulap 0.2.2-beta1"
 
In file included from /usr/include/dcmtk/dcmdata/dcfilefo.h:26,
                 from fileloader.cpp:24:
/usr/include/dcmtk/config/osconfig.h:828: note: this is the location of the previous definition
 #define PACKAGE_STRING ""
 
In file included from ../configuration/aconfiguration.h:29,
                 from poolservers.h:30,
                 from imagepool.h:28,
                 from fileloader.cpp:27:
../config.h:106: warning: "PACKAGE_VERSION" redefined
 #define PACKAGE_VERSION "0.2.2-beta1"
 
In file included from /usr/include/dcmtk/dcmdata/dcfilefo.h:26,
                 from fileloader.cpp:24:
/usr/include/dcmtk/config/osconfig.h:843: note: this is the location of the previous definition
 #define PACKAGE_VERSION "3.6.2"
 
In file included from imagepool.h:25,
                 from fileloader.cpp:27:
poolinstance.h:46:81: error: 'void ImagePool::remove_instance(const Glib::RefPtr<ImagePool::Instance>&)' should have been declared inside 'ImagePool'
  friend void ImagePool::remove_instance(const Glib::RefPtr<ImagePool::Instance>&);
                                                                                 ^
make[3]: *** [Makefile:605: fileloader.lo] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/aeskulap-0.2.2b1+git20161206/imagepool'
make[3]: Entering directory '/<<BUILDDIR>>/aeskulap-0.2.2b1+git20161206/imagepool'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../configuration -DHAVE_CONFIG_H -I/usr/include -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/aeskulap-0.2.2b1+git20161206=. -fstack-protector-strong -Wformat -Werror=format-security -c -o netloader.lo netloader.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../configuration -DHAVE_CONFIG_H -I/usr/include -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/aeskulap-0.2.2b1+git20161206=. -fstack-protector-strong -Wformat -Werror=format-security -c netloader.cpp  -fPIC -DPIC -o .libs/netloader.o
In file included from imagepool.h:25,
                 from netloader.cpp:24:
poolinstance.h:46:81: error: 'void ImagePool::remove_instance(const Glib::RefPtr<ImagePool::Instance>&)' should have been declared inside 'ImagePool'
  friend void ImagePool::remove_instance(const Glib::RefPtr<ImagePool::Instance>&);
                                                                                 ^
make[3]: *** [Makefile:605: netloader.lo] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/aeskulap-0.2.2b1+git20161206/imagepool'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[1]: *** [Makefile:423: all] Error 2
dh_auto_build: make -j8 -Oline returned exit code 2
make: *** [debian/rules:6: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-med-packaging mailing list