Bug#853313: anjuta: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:29:42 UTC 2017


Package: src:anjuta
Version: 2:3.22.0-3
Severity: normal
Tags: sid buster
User: debian-gcc at 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/anjuta_3.22.0-3_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

[...]
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from anjuta-tabber.h:23,
                 from anjuta-tabber.c:20:
/usr/include/gtk-3.0/gtk/gtkcontainer.h:210:9: note: declared here
 void    gtk_container_resize_children      (GtkContainer     *container);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
anjuta-tabber.c: In function 'anjuta_tabber_get_path_for_child':
anjuta-tabber.c:840:2: warning: 'gtk_widget_path_iter_add_region' is deprecated [-Wdeprecated-declarations]
  gtk_widget_path_iter_add_region (path, tabber_pos, GTK_STYLE_REGION_TAB,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:242:0,
                 from anjuta-tabber.h:23,
                 from anjuta-tabber.c:20:
/usr/include/gtk-3.0/gtk/gtkwidgetpath.h:137:10: note: declared here
 void     gtk_widget_path_iter_add_region    (GtkWidgetPath      *path,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
anjuta-serializer.c: In function 'anjuta_serializer_write_float':
anjuta-serializer.c:295:25: error: '%f' directive output may be truncated writing between 8 and 317 bytes into a region of size 64 [-Werror=format-truncation=]
  snprintf (buffer, 64, "%f", value);
                         ^~
In file included from /usr/include/stdio.h:938:0,
                 from anjuta-serializer.c:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: format output between 9 and 318 bytes into a destination of size 64
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Makefile:1135: recipe for target 'anjuta-serializer.lo' failed
make[5]: *** [anjuta-serializer.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/libanjuta'
Makefile:1255: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/libanjuta'
Makefile:937: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libanjuta'
Makefile:694: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:540: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the pkg-gnome-maintainers mailing list