Bug#957912: vinagre: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:12:50 BST 2020


Package: src:vinagre
Version: 3.22.0-7
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/vinagre_3.22.0-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

[...]
At top level:
plugins/ssh/vinagre-ssh-plugin.c:184:1: warning: ‘vinagre_ssh_plugin_class_finalize’ defined but not used [-Wunused-function]
  184 | vinagre_ssh_plugin_class_finalize (VinagreSshPluginClass *klass)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
plugins/ssh/vinagre-ssh-connection.c: In function ‘vinagre_ssh_connection_init’:
plugins/ssh/vinagre-ssh-connection.c:37:13: warning: G_ADD_PRIVATE
   37 |   conn->priv = G_TYPE_INSTANCE_GET_PRIVATE (conn, VINAGRE_TYPE_SSH_CONNECTION, VinagreSshConnectionPrivate);
      |             ^~~~~~~~~~~~~~~
plugins/ssh/vinagre-ssh-connection.c: In function ‘vinagre_ssh_connection_class_init’:
plugins/ssh/vinagre-ssh-connection.c:83:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
   83 |   g_type_class_add_private (klass, sizeof (VinagreSshConnectionPrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
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-3.0/gdk/gdkapplaunchcontext.h:28,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from ./vinagre/vinagre-connection.h:26,
                 from plugins/ssh/vinagre-ssh-connection.h:25,
                 from plugins/ssh/vinagre-ssh-connection.c:24:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
plugins/ssh/vinagre-ssh-tab.c: In function ‘vinagre_ssh_tab_constructed’:
plugins/ssh/vinagre-ssh-tab.c:94:3: warning: ‘vte_terminal_spawn_sync’ is deprecated [-Wdeprecated-declarations]
   94 |   vte_terminal_spawn_sync (VTE_TERMINAL (ssh_tab->priv->vte),
      |   ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/vte-2.91/vte/vte.h:35,
                 from plugins/ssh/vinagre-ssh-tab.c:24:
/usr/include/vte-2.91/vte/vtedeprecated.h:82:10: note: declared here
   82 | gboolean vte_terminal_spawn_sync(VteTerminal *terminal,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
plugins/ssh/vinagre-ssh-tab.c: In function ‘vinagre_ssh_tab_class_init’:
plugins/ssh/vinagre-ssh-tab.c:123:3: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  123 |   g_type_class_add_private (object_class, sizeof (VinagreSshTabPrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
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/vte-2.91/vte/vtepty.h:26,
                 from /usr/include/vte-2.91/vte/vte.h:28,
                 from plugins/ssh/vinagre-ssh-tab.c:24:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
plugins/ssh/vinagre-ssh-tab.c: In function ‘vinagre_ssh_tab_init’:
plugins/ssh/vinagre-ssh-tab.c:135:13: warning: G_ADD_PRIVATE
  135 |   ssh_tab->priv = VINAGRE_SSH_TAB_GET_PRIVATE (ssh_tab);
      |             ^~~~~~~~~~~~~~~
gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs -Wl,--as-needed -o vinagre/vinagre vinagre/vinagre-vinagre-main.o vinagre/vinagre-vinagre-options.o vinagre/view/vinagre-autoDrawer.o vinagre/view/vinagre-drawer.o vinagre/view/vinagre-ovBox.o vinagre/vinagre-vinagre-bookmarks.o vinagre/vinagre-vinagre-bookmarks-entry.o vinagre/vinagre-vinagre-bookmarks-migration.o vinagre/vinagre-vinagre-bookmarks-tree.o vinagre/vinagre-vinagre-bookmarks-ui.o vinagre/vinagre-vinagre-commands.o vinagre/vinagre-vinagre-connect.o vinagre/vinagre-vinagre-connection.o vinagre/vinagre-vinagre-debug.o vinagre/vinagre-vinagre-notebook.o vinagre/vinagre-vinagre-prefs.o vinagre/vinagre-vinagre-reverse-vnc-listener.o vinagre/vinagre-vinagre-reverse-vnc-listener-dialog.o vinagre/vinagre-vinagre-static-extension.o vinagre/vinagre-vinagre-tab.o vinagre/vinagre-vinagre-window.o vinagre/vinagre-vinagre-ssh.o vinagre/vinagre-vinagre-cache-prefs.o vinagre/vinagre-vinagre-protocol.o vinagre/vinagre-vinagre-plugins-engine.o plugins/vnc/vinagre_vinagre-vinagre-vnc-plugin.o plugins/vnc/vinagre_vinagre-vinagre-vnc-connection.o plugins/vnc/vinagre_vinagre-vinagre-vnc-tab.o plugins/vnc/vinagre_vinagre-vinagre-vnc-tunnel.o vinagre/vinagre-vinagre-dirs.o vinagre/vinagre-vinagre-utils.o  vinagre/vinagre-pty_open.o vinagre/vinagre-vinagre-mdns.o  plugins/rdp/vinagre_vinagre-vinagre-rdp-plugin.o plugins/rdp/vinagre_vinagre-vinagre-rdp-connection.o plugins/rdp/vinagre_vinagre-vinagre-rdp-tab.o plugins/spice/vinagre_vinagre-vinagre-spice-plugin.o plugins/spice/vinagre_vinagre-vinagre-spice-connection.o plugins/spice/vinagre_vinagre-vinagre-spice-tab.o plugins/spice/vinagre_vinagre-vinagre-spice-tunnel.o plugins/ssh/vinagre_vinagre-vinagre-ssh-plugin.o plugins/ssh/vinagre_vinagre-vinagre-ssh-connection.o plugins/ssh/vinagre_vinagre-vinagre-ssh-tab.o -lgthread-2.0 -pthread -lsecret-1 -lavahi-ui-gtk3 -lavahi-common -lavahi-client -lavahi-glib -lavahi-gobject -lvte-2.91 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lfreerdp2 -lX11 -lgtk-vnc-2.0 -lgvnc-1.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lm -lspice-client-gtk-3.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lspice-client-glib-2.0 -lutil 
/usr/bin/ld: plugins/vnc/vinagre_vinagre-vinagre-vnc-plugin.o:./plugins/vnc/vinagre-vnc-connection.h:29: multiple definition of `scaling_command_line'; vinagre/vinagre-vinagre-reverse-vnc-listener.o:././plugins/vnc/vinagre-vnc-connection.h:29: first defined here
/usr/bin/ld: plugins/vnc/vinagre_vinagre-vinagre-vnc-connection.o:./plugins/vnc/vinagre-vnc-connection.h:29: multiple definition of `scaling_command_line'; vinagre/vinagre-vinagre-reverse-vnc-listener.o:././plugins/vnc/vinagre-vnc-connection.h:29: first defined here
/usr/bin/ld: plugins/vnc/vinagre_vinagre-vinagre-vnc-tab.o:./plugins/vnc/vinagre-vnc-connection.h:29: multiple definition of `scaling_command_line'; vinagre/vinagre-vinagre-reverse-vnc-listener.o:././plugins/vnc/vinagre-vnc-connection.h:29: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1101: vinagre/vinagre] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:2215: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:851: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list