[Pkg-ayatana-devel] Bug#957031: ayatana-ido: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 11:56:59 BST 2020


Package: src:ayatana-ido
Version: 0.4.90-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at 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/ayatana-ido_0.4.90-1_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

[...]
      |             ^~~~~~~~~~~~~~~~~~~~
idobasicmenuitem.c: In function ‘ido_basic_menu_item_init’:
idobasicmenuitem.c:233:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
  233 |   gtk_misc_set_alignment(GTK_MISC(p->image), 0.0, 0.0);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
idobasicmenuitem.c:233:3: warning: ‘gtk_misc_get_type’ is deprecated [-Wdeprecated-declarations]
  233 |   gtk_misc_set_alignment(GTK_MISC(p->image), 0.0, 0.0);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
idobasicmenuitem.c:235:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
  235 |   gtk_misc_set_alignment (GTK_MISC(p->label), 0.0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
idobasicmenuitem.c:235:3: warning: ‘gtk_misc_get_type’ is deprecated [-Wdeprecated-declarations]
  235 |   gtk_misc_set_alignment (GTK_MISC(p->label), 0.0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
idobasicmenuitem.c:237:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
  237 |   gtk_misc_set_alignment (GTK_MISC(p->secondary_label), 1.0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
idobasicmenuitem.c:237:3: warning: ‘gtk_misc_get_type’ is deprecated [-Wdeprecated-declarations]
  237 |   gtk_misc_set_alignment (GTK_MISC(p->secondary_label), 1.0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from idobasicmenuitem.c:24:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:536: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:444: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-ayatana-devel mailing list