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

Bug#957033: bbrun: ftbfs with GCC-10



Package: src:bbrun
Version: 1.6-7
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

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-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/bbrun_1.6-7_unstable_gcc10.log
The last lines of the build log are at the end of this report.

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

[...]
gcc -g -c -O2 -std=gnu89 -Wall bbrun.c -o bbrun.o `pkg-config --cflags gtk+-2.0`
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from bbrun.c:8:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 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 bbrun.c:8:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
  679 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from bbrun.c:8:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 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 bbrun.c:8:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
  551 | struct _GTimeVal
      |        ^~~~~~~~~
bbrun.c: In function ‘parseArguments’:
bbrun.c:157:5: warning: ‘strncat’ specified bound 15 equals source length [-Wstringop-overflow=]
  157 |     strncat(historyFilename, DEFAULT_HIST_FILENAME, strlen(DEFAULT_HIST_FILENAME));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bbrun.c: In function ‘readHistory’:
bbrun.c:198:7: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  198 |       strncpy(item, buf, strlen(buf));
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bbrun.c: In function ‘updateHistory’:
bbrun.c:283:5: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
  283 |     strncpy(item, newHistoryItem, MAXCMDLEN + 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -c -O2 -std=gnu89 -Wall ../wmgeneral/wmgeneral.c -o ../wmgeneral/wmgeneral.o `pkg-config --cflags gtk+-2.0`
gcc -g -c -O2 -std=gnu89 -Wall ../wmgeneral/misc.c -o ../wmgeneral/misc.o `pkg-config --cflags gtk+-2.0`
gcc -g -c -O2 -std=gnu89 -Wall ../wmgeneral/list.c -o ../wmgeneral/list.o `pkg-config --cflags gtk+-2.0`
gcc -Wall -g -o bbrun bbrun.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o -L/usr/lib -L/usr/X11R6/lib -lXpm -lX11 -lXext `pkg-config --libs gtk+-2.0`
/usr/bin/ld: ../wmgeneral/wmgeneral.o:/<<PKGBUILDDIR>>/bbrun/../wmgeneral/wmgeneral.h:39: multiple definition of `display'; bbrun.o:/<<PKGBUILDDIR>>/bbrun/../wmgeneral/wmgeneral.h:39: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:17: bbrun] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/bbrun'
make: *** [debian/rules:22: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: