42.2: build fails
Looks like someting is wrong ..
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja
[1/2] Compiling C object plugins/postasa/libpostasa.so.p/eog-postasa-plugin.c.o
FAILED: plugins/postasa/libpostasa.so.p/eog-postasa-plugin.c.o
/usr/bin/gcc -Iplugins/postasa/libpostasa.so.p -Iplugins/postasa -I../plugins/postasa -I. -I.. -I/usr/include/eog-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libhandy-1 -I/usr/include/libpeas-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libgdata -I/usr/include/json-glib-1.0 -I/usr/include/libxml2 -I/usr/include/libsoup-2.4 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -DHAVE_CONFIG_H -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -pthread -MD -MQ plugins/postasa/libpostasa.so.p/eog-postasa-plugin.c.o -MF plugins/postasa/libpostasa.so.p/eog-postasa-plugin.c.o.d -o plugins/postasa/libpostasa.so.p/eog-postasa-plugin.c.o -c ../plugins/postasa/eog-postasa-plugin.c
../plugins/postasa/eog-postasa-plugin.c:66:9: error: unknown type name ‘GDataClientLoginAuthorizer’
66 | GDataClientLoginAuthorizer *authorizer;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c: In function ‘picasaweb_upload_async_cb’:
../plugins/postasa/eog-postasa-plugin.c:352:9: warning: ‘g_simple_async_result_get_op_res_gboolean’ is deprecated [-Wdeprecated-declarations]
352 | if (g_simple_async_result_get_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (res)) == TRUE) {
| ^~
In file included from /usr/include/glib-2.0/gio/gio.h:141,
from /usr/include/libpeas-1.0/libpeas/peas-plugin-info.h:26,
from /usr/include/libpeas-1.0/libpeas/peas-extension-base.h:27,
from ../plugins/postasa/eog-postasa-plugin.h:30,
from ../plugins/postasa/eog-postasa-plugin.c:29:
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:93:21: note: declared here
93 | gboolean g_simple_async_result_get_op_res_gboolean (GSimpleAsyncResult *simple);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:359:25: warning: ‘g_simple_async_result_propagate_error’ is deprecated [-Wdeprecated-declarations]
359 | g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), &error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:121:21: note: declared here
121 | gboolean g_simple_async_result_propagate_error (GSimpleAsyncResult *simple,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c: In function ‘tmp_picasaweb_upload_async’:
../plugins/postasa/eog-postasa-plugin.c:471:25: warning: ‘g_simple_async_result_set_from_error’ is deprecated [-Wdeprecated-declarations]
471 | g_simple_async_result_set_from_error (result, error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:115:21: note: declared here
115 | void g_simple_async_result_set_from_error (GSimpleAsyncResult *simple,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:476:17: warning: ‘g_simple_async_result_set_op_res_gboolean’ is deprecated [-Wdeprecated-declarations]
476 | g_simple_async_result_set_op_res_gboolean (result, TRUE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:90:21: note: declared here
90 | void g_simple_async_result_set_op_res_gboolean (GSimpleAsyncResult *simple,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c: In function ‘picasaweb_upload_files’:
../plugins/postasa/eog-postasa-plugin.c:536:25: warning: ‘g_simple_async_result_new’ is deprecated: Use 'g_task_new' instead [-Wdeprecated-declarations]
536 | result = g_simple_async_result_new (G_OBJECT (plugin), (GAsyncReadyCallback)picasaweb_upload_async_cb,
| ^~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:53:21: note: declared here
53 | GSimpleAsyncResult *g_simple_async_result_new (GObject *source_object,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:538:25: warning: ‘g_simple_async_result_run_in_thread’ is deprecated [-Wdeprecated-declarations]
538 | g_simple_async_result_run_in_thread (result, tmp_picasaweb_upload_async, 0, cancellable);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gsimpleasyncresult.h:110:21: note: declared here
110 | void g_simple_async_result_run_in_thread (GSimpleAsyncResult *simple,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c: At top level:
../plugins/postasa/eog-postasa-plugin.c:560:27: error: unknown type name ‘GDataClientLoginAuthorizer’
560 | picasaweb_login_async_cb (GDataClientLoginAuthorizer *authorizer, GAsyncResult *result, EogPostasaPlugin *plugin)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c: In function ‘picasaweb_login_cb’:
../plugins/postasa/eog-postasa-plugin.c:619:9: warning: implicit declaration of function ‘gdata_client_login_authorizer_authenticate_async’ [-Wimplicit-function-declaration]
619 | gdata_client_login_authorizer_authenticate_async (
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:623:97: error: ‘picasaweb_login_async_cb’ undeclared (first use in this function); did you mean ‘picasaweb_upload_async_cb’?
623 | plugin->priv->login_cancellable, (GAsyncReadyCallback)picasaweb_login_async_cb, plugin);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| picasaweb_upload_async_cb
../plugins/postasa/eog-postasa-plugin.c:623:97: note: each undeclared identifier is reported only once for each function it appears in
../plugins/postasa/eog-postasa-plugin.c: In function ‘login_get_dialog’:
../plugins/postasa/eog-postasa-plugin.c:762:75: warning: implicit declaration of function ‘gdata_client_login_authorizer_get_username’ [-Wimplicit-function-declaration]
762 | gtk_entry_set_text (plugin->priv->username_entry, gdata_client_login_authorizer_get_username (plugin->priv->authorizer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:762:75: warning: passing argument 2 of ‘gtk_entry_set_text’ makes pointer from integer without a cast [-Wint-conversion]
762 | gtk_entry_set_text (plugin->priv->username_entry, gdata_client_login_authorizer_get_username (plugin->priv->authorizer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /usr/include/gtk-3.0/gtk/gtktreeview.h:29,
from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27,
from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29,
from /usr/include/gtk-3.0/gtk/gtk.h:42,
from /usr/include/eog-3.0/eog/eog-list-store.h:26,
from /usr/include/eog-3.0/eog/eog-jobs.h:29,
from /usr/include/eog-3.0/eog/eog-image.h:24,
from /usr/include/eog-3.0/eog/eog-thumb-view.h:24,
from ../plugins/postasa/eog-postasa-plugin.c:35:
/usr/include/gtk-3.0/gtk/gtkentry.h:254:65: note: expected ‘const gchar *’ {aka ‘const char *’} but argument is of type ‘int’
254 | const gchar *text);
| ~~~~~~~~~~~~~~~^~~~
../plugins/postasa/eog-postasa-plugin.c:763:75: warning: implicit declaration of function ‘gdata_client_login_authorizer_get_password’ [-Wimplicit-function-declaration]
763 | gtk_entry_set_text (plugin->priv->password_entry, gdata_client_login_authorizer_get_password (plugin->priv->authorizer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../plugins/postasa/eog-postasa-plugin.c:763:75: warning: passing argument 2 of ‘gtk_entry_set_text’ makes pointer from integer without a cast [-Wint-conversion]
763 | gtk_entry_set_text (plugin->priv->password_entry, gdata_client_login_authorizer_get_password (plugin->priv->authorizer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
/usr/include/gtk-3.0/gtk/gtkentry.h:254:65: note: expected ‘const gchar *’ {aka ‘const char *’} but argument is of type ‘int’
254 | const gchar *text);
| ~~~~~~~~~~~~~~~^~~~
../plugins/postasa/eog-postasa-plugin.c: In function ‘eog_postasa_plugin_init’:
../plugins/postasa/eog-postasa-plugin.c:914:36: warning: implicit declaration of function ‘gdata_client_login_authorizer_new’; did you mean ‘gdata_oauth2_authorizer_new’? [-Wimplicit-function-declaration]
914 | plugin->priv->authorizer = gdata_client_login_authorizer_new ("EogPostasa", GDATA_TYPE_PICASAWEB_SERVICE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gdata_oauth2_authorizer_new
../plugins/postasa/eog-postasa-plugin.c:914:34: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
914 | plugin->priv->authorizer = gdata_client_login_authorizer_new ("EogPostasa", GDATA_TYPE_PICASAWEB_SERVICE);
| ^
ninja: build stopped: subcommand failed.
BTW I saw commit with version bump to 44.alpha. I think that better woud be release first 43.0.