Bug#879006: gnome-software FTBFS with fwupd 1.0.0-1

Adrian Bunk bunk at debian.org
Wed Oct 18 10:42:05 UTC 2017


Source: gnome-software
Version: 3.26.1-1
Severity: serious

https://buildd.debian.org/status/package.php?p=gnome-software&suite=sid

...
FAILED: plugins/fwupd/gs_plugin_fwupd at sha/gs-plugin-fwupd.c.o 
cc  -Iplugins/fwupd/gs_plugin_fwupd at sha -Iplugins/fwupd -I../plugins/fwupd -Iplugins/fwupd/../.. -I../plugins/fwupd/../.. -Iplugins/fwupd/../../lib -I../plugins/fwupd/../../lib -I/usr/include/libappstream-glib -I/usr/include/uuid -I/usr/include/libgcab-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/fwupd-1 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -fstack-protector-strong -Waggregate-return -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wex
 tra -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Winline -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpacked -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing -Wstrict-prototypes -Wswitch-default -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -D_XOPEN_SOURCE=500 -DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE -DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DG_LOG_DOMAIN="GsPluginFwupd"
 ' '-DLOCALPLUGINDIR="/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugins/fwupd"' -MMD -MQ 'plugins/fwupd/gs_plugin_fwupd at sha/gs-plugin-fwupd.c.o' -MF 'plugins/fwupd/gs_plugin_fwupd at sha/gs-plugin-fwupd.c.o.d' -o 'plugins/fwupd/gs_plugin_fwupd at sha/gs-plugin-fwupd.c.o' -c ../plugins/fwupd/gs-plugin-fwupd.c
../plugins/fwupd/gs-plugin-fwupd.c:153:8: error: unknown type name 'FwupdResult'; did you mean 'FwupdRemote'?
        FwupdResult *res,
        ^~~~~~~~~~~
        FwupdRemote
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_fwupd_setup_remote':
../plugins/fwupd/gs-plugin-fwupd.c:252:11: warning: implicit declaration of function 'fwupd_remote_get_filename_asc'; did you mean 'fwupd_remote_get_filename_cache'? [-Wimplicit-function-declaration]
           fwupd_remote_get_filename_asc (remote),
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           fwupd_remote_get_filename_cache
../plugins/fwupd/gs-plugin-fwupd.c:252:11: warning: nested extern declaration of 'fwupd_remote_get_filename_asc' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:252:11: warning: passing argument 2 of 'gs_utils_get_cache_filename' makes pointer from integer without a cast [-Wint-conversion]
In file included from ../plugins/fwupd/../../lib/gnome-software.h:36:0,
                 from ../plugins/fwupd/gs-plugin-fwupd.c:31:
../plugins/fwupd/../../lib/gs-utils.h:59:9: note: expected 'const gchar * {aka const char *}' but argument is of type 'int'
 gchar  *gs_utils_get_cache_filename (const gchar *kind,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 from /usr/include/fwupd-1/libfwupd/fwupd-client.h:25,
                 from /usr/include/fwupd-1/fwupd.h:32,
                 from ../plugins/fwupd/gs-plugin-fwupd.c:24:
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_setup':
../plugins/fwupd/gs-plugin-fwupd.c:315:18: error: 'gs_plugin_fwupd_device_changed_cb' undeclared (first use in this function); did you mean 'gs_plugin_fwupd_changed_cb'?
      G_CALLBACK (gs_plugin_fwupd_device_changed_cb), plugin);
                  ^
/usr/include/glib-2.0/gobject/gsignal.h:475:60: note: in definition of macro 'g_signal_connect'
     g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
                                                            ^~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:315:6: note: in expansion of macro 'G_CALLBACK'
      G_CALLBACK (gs_plugin_fwupd_device_changed_cb), plugin);
      ^~~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:315:18: note: each undeclared identifier is reported only once for each function it appears in
      G_CALLBACK (gs_plugin_fwupd_device_changed_cb), plugin);
                  ^
/usr/include/glib-2.0/gobject/gsignal.h:475:60: note: in definition of macro 'g_signal_connect'
     g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0)
                                                            ^~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:315:6: note: in expansion of macro 'G_CALLBACK'
      G_CALLBACK (gs_plugin_fwupd_device_changed_cb), plugin);
      ^~~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c: At top level:
../plugins/fwupd/gs-plugin-fwupd.c:349:57: error: unknown type name 'FwupdResult'; did you mean 'FwupdRemote'?
 gs_plugin_fwupd_new_app_from_results (GsPlugin *plugin, FwupdResult *res)
                                                         ^~~~~~~~~~~
                                                         FwupdRemote
../plugins/fwupd/gs-plugin-fwupd.c:516:6: error: unknown type name 'FwupdResult'; did you mean 'FwupdRemote'?
      FwupdResult *res,
      ^~~~~~~~~~~
      FwupdRemote
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 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/fwupd-1/libfwupd/fwupd-client.h:25,
                 from /usr/include/fwupd-1/fwupd.h:32,
                 from ../plugins/fwupd/gs-plugin-fwupd.c:24:
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_add_updates_historical':
../plugins/fwupd/gs-plugin-fwupd.c:648:12: error: unknown type name 'FwupdResult_autoptr'
  g_autoptr(FwupdResult) res = NULL;
            ^
/usr/include/glib-2.0/glib/gmacros.h:431:43: note: in definition of macro '_GLIB_AUTOPTR_TYPENAME'
 #define _GLIB_AUTOPTR_TYPENAME(TypeName)  TypeName##_autoptr
                                           ^~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:648:2: note: in expansion of macro 'g_autoptr'
  g_autoptr(FwupdResult) res = NULL;
  ^~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:648:2: error: cleanup argument not a function
../plugins/fwupd/gs-plugin-fwupd.c:648:31: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
  g_autoptr(FwupdResult) res = NULL;
                               ^~~~
../plugins/fwupd/gs-plugin-fwupd.c:651:6: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  res = fwupd_client_get_results (priv->client,
      ^
../plugins/fwupd/gs-plugin-fwupd.c:655:10: warning: comparison between pointer and integer
  if (res == NULL) {
          ^~
../plugins/fwupd/gs-plugin-fwupd.c:671:8: warning: implicit declaration of function 'gs_plugin_fwupd_new_app_from_results'; did you mean 'gs_plugin_fwupd_setup_remotes'? [-Wimplicit-function-declaration]
  app = gs_plugin_fwupd_new_app_from_results (plugin, res);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        gs_plugin_fwupd_setup_remotes
../plugins/fwupd/gs-plugin-fwupd.c:671:8: warning: nested extern declaration of 'gs_plugin_fwupd_new_app_from_results' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:671:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  app = gs_plugin_fwupd_new_app_from_results (plugin, res);
      ^
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_fwupd_add_updates':
../plugins/fwupd/gs-plugin-fwupd.c:688:12: warning: implicit declaration of function 'fwupd_client_get_updates'; did you mean 'fwupd_client_get_upgrades'? [-Wimplicit-function-declaration]
  results = fwupd_client_get_updates (priv->client,
            ^~~~~~~~~~~~~~~~~~~~~~~~
            fwupd_client_get_upgrades
../plugins/fwupd/gs-plugin-fwupd.c:688:12: warning: nested extern declaration of 'fwupd_client_get_updates' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:688:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  results = fwupd_client_get_updates (priv->client,
          ^
../plugins/fwupd/gs-plugin-fwupd.c:703:3: error: unknown type name 'FwupdResult'; did you mean 'FwupdRemote'?
   FwupdResult *res = g_ptr_array_index (results, i);
   ^~~~~~~~~~~
   FwupdRemote
../plugins/fwupd/gs-plugin-fwupd.c:704:22: warning: implicit declaration of function 'fwupd_result_get_device'; did you mean 'fwupd_client_get_devices'? [-Wimplicit-function-declaration]
   FwupdDevice *dev = fwupd_result_get_device (res);
                      ^~~~~~~~~~~~~~~~~~~~~~~
                      fwupd_client_get_devices
../plugins/fwupd/gs-plugin-fwupd.c:704:22: warning: nested extern declaration of 'fwupd_result_get_device' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:704:22: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
../plugins/fwupd/gs-plugin-fwupd.c:712:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
    app = gs_plugin_fwupd_new_app_from_results (plugin, res);
        ^
../plugins/fwupd/gs-plugin-fwupd.c:719:8: warning: implicit declaration of function 'gs_plugin_add_update_app'; did you mean 'gs_plugin_update_app'? [-Wimplicit-function-declaration]
   if (!gs_plugin_add_update_app (plugin, list, res,
        ^~~~~~~~~~~~~~~~~~~~~~~~
        gs_plugin_update_app
../plugins/fwupd/gs-plugin-fwupd.c:719:8: warning: nested extern declaration of 'gs_plugin_add_update_app' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_fwupd_refresh_remote':
../plugins/fwupd/gs-plugin-fwupd.c:764:45: warning: comparison between pointer and integer
  if (fwupd_remote_get_filename_asc (remote) == NULL) {
                                             ^~
../plugins/fwupd/gs-plugin-fwupd.c:775:11: warning: passing argument 2 of 'gs_utils_get_cache_filename' makes pointer from integer without a cast [-Wint-conversion]
           fwupd_remote_get_filename_asc (remote),
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../plugins/fwupd/../../lib/gnome-software.h:36:0,
                 from ../plugins/fwupd/gs-plugin-fwupd.c:31:
../plugins/fwupd/../../lib/gs-utils.h:59:9: note: expected 'const gchar * {aka const char *}' but argument is of type 'int'
 gchar  *gs_utils_get_cache_filename (const gchar *kind,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:839:7: warning: implicit declaration of function 'fwupd_remote_get_filename'; did you mean 'fwupd_remote_get_username'? [-Wimplicit-function-declaration]
       fwupd_remote_get_filename (remote),
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       fwupd_remote_get_username
../plugins/fwupd/gs-plugin-fwupd.c:839:7: warning: nested extern declaration of 'fwupd_remote_get_filename' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:839:7: warning: passing argument 2 of 'gs_utils_get_cache_filename' makes pointer from integer without a cast [-Wint-conversion]
In file included from ../plugins/fwupd/../../lib/gnome-software.h:36:0,
                 from ../plugins/fwupd/gs-plugin-fwupd.c:31:
../plugins/fwupd/../../lib/gs-utils.h:59:9: note: expected 'const gchar * {aka const char *}' but argument is of type 'int'
 gchar  *gs_utils_get_cache_filename (const gchar *kind,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/fwupd/gs-plugin-fwupd.c:860:7: warning: implicit declaration of function 'fwupd_client_update_metadata_with_id'; did you mean 'fwupd_client_update_metadata'? [-Wimplicit-function-declaration]
  if (!fwupd_client_update_metadata_with_id (priv->client,
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       fwupd_client_update_metadata
../plugins/fwupd/gs-plugin-fwupd.c:860:7: warning: nested extern declaration of 'fwupd_client_update_metadata_with_id' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c: In function 'gs_plugin_file_to_app':
../plugins/fwupd/gs-plugin-fwupd.c:1097:12: warning: implicit declaration of function 'fwupd_client_get_details_local'; did you mean 'fwupd_client_get_details'? [-Wimplicit-function-declaration]
  results = fwupd_client_get_details_local (priv->client,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            fwupd_client_get_details
../plugins/fwupd/gs-plugin-fwupd.c:1097:12: warning: nested extern declaration of 'fwupd_client_get_details_local' [-Wnested-externs]
../plugins/fwupd/gs-plugin-fwupd.c:1097:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  results = fwupd_client_get_details_local (priv->client,
          ^
../plugins/fwupd/gs-plugin-fwupd.c:1106:3: error: unknown type name 'FwupdResult'; did you mean 'FwupdRemote'?
   FwupdResult *res = g_ptr_array_index (results, i);
   ^~~~~~~~~~~
   FwupdRemote
../plugins/fwupd/gs-plugin-fwupd.c:1110:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   app = gs_plugin_fwupd_new_app_from_results (plugin, res);
       ^



More information about the pkg-gnome-maintainers mailing list