Bug#853430: gosmore: ftbfs with GCC-7

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


Package: src:gosmore
Version: 0.0.0.svn30327-1
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/gosmore_0.0.0.svn30327-1_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/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from jni/gosmore.cpp:83:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^~~~~~~~~~~~~
jni/gosmore.cpp:3377:22: warning: 'void g_thread_init(gpointer)' is deprecated [-Wdeprecated-declarations]
   g_thread_init (NULL);  // Something to do with curl progress bar

                      ^
In file included from /usr/include/glib-2.0/glib.h:107:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from jni/gosmore.cpp:83:
/usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^~~~~~~~~~~~~
In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0,
                 from /usr/include/gtk-2.0/gtk/gtk.h:53,
                 from jni/gosmore.cpp:83:
jni/gosmore.cpp:3425:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
       GTK_SIGNAL_FUNC (HitGtkButton), (char*)i);

                                              ^
/usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect'
    gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0)
                                                              ^~~~~~~~~
jni/gosmore.cpp: At global scope:
jni/gosmore.cpp:2070:14: warning: 'casing' defined but not used [-Wunused-variable]
 static short casing[10 + CASING_MAX * 2];
              ^~~~~~
Makefile:56: recipe for target 'gosmore' failed
make[1]: *** [gosmore] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j64 returned exit code 2
debian/rules:17: 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-grass-devel mailing list