aprilis / messenger

Unofficial Facebook Messenger app for elementary OS
GNU General Public License v3.0
91 stars 7 forks source link

Fails to build on Odin daily #58

Open hanaral opened 4 years ago

hanaral commented 4 years ago

... and Dr.Meson said;

com.github.aprilis.messenger 0.2.3

  Subprojects
    libapi: YES

Found ninja-1.10.0 at /usr/bin/ninja
[2/45] Compiling C object 'subprojects/libapi/4f43712@@com.github.aprilis.messenger.api@sha/api_thrift.c.o'.
../subprojects/libapi/api/thrift.c: In function ‘fb_thrift_class_init’:
../subprojects/libapi/api/thrift.c:53:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
   53 |  g_type_class_add_private(klass, sizeof (FbThriftPrivate));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
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:22,
                 from ../subprojects/libapi/api/thrift.h:35,
                 from ../subprojects/libapi/api/thrift.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,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/thrift.c: In function ‘fb_thrift_init’:
../subprojects/libapi/api/thrift.c:62:13: warning: Deprecated pre-processor symbol, replace with 
   62 |                                     FbThriftPrivate);
      |             ^                       ~~~~~~~~~~~~~~~~~       
[4/45] Compiling C object 'subprojects/libapi/4f43712@@com.github.aprilis.messenger.api@sha/api_json.c.o'.
../subprojects/libapi/api/json.c: In function ‘fb_json_values_class_init’:
../subprojects/libapi/api/json.c:87:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
   87 |  g_type_class_add_private(klass, sizeof (FbJsonValuesPrivate));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
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:22,
                 from /usr/include/json-glib-1.0/json-glib/json-types.h:31,
                 from /usr/include/json-glib-1.0/json-glib/json-glib.h:29,
                 from ../subprojects/libapi/api/json.h:35,
                 from ../subprojects/libapi/api/json.c:25:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/json.c: In function ‘fb_json_values_init’:
../subprojects/libapi/api/json.c:96:13: warning: Deprecated pre-processor symbol, replace with 
   96 |                                     FbJsonValuesPrivate);
      |             ^                       ~~~~~~~~~~~~~~~~~~~~~   
[5/45] Compiling C object 'subprojects/libapi/4f43712@@com.github.aprilis.messenger.api@sha/api_mqtt.c.o'.
../subprojects/libapi/api/mqtt.c: In function ‘fb_mqtt_class_init’:
../subprojects/libapi/api/mqtt.c:81:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
   81 |  g_type_class_add_private(klass, sizeof (FbMqttPrivate));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
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:22,
                 from ../subprojects/libapi/api/marshal.h:5,
                 from ../subprojects/libapi/api/mqtt.c:27:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/mqtt.c: In function ‘fb_mqtt_init’:
../subprojects/libapi/api/mqtt.c:156:13: warning: Deprecated pre-processor symbol, replace with 
  156 |  priv = G_TYPE_INSTANCE_GET_PRIVATE(mqtt, FB_TYPE_MQTT, FbMqttPrivate);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/mqtt.c: In function ‘fb_mqtt_message_class_init’:
../subprojects/libapi/api/mqtt.c:179:2: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  179 |  g_type_class_add_private(klass, sizeof (FbMqttMessagePrivate));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
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:22,
                 from ../subprojects/libapi/api/marshal.h:5,
                 from ../subprojects/libapi/api/mqtt.c:27:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/mqtt.c: In function ‘fb_mqtt_message_init’:
../subprojects/libapi/api/mqtt.c:188:13: warning: Deprecated pre-processor symbol, replace with 
  188 |                                     FbMqttMessagePrivate);
      |             ^                       ~~~~~~~~~~~~~~~~~~~~~~  
[7/45] Compiling C object 'subprojects/libapi/4f43712@@com.github.aprilis.messenger.api@sha/api_api.c.o'.
../subprojects/libapi/api/api.c: In function ‘fb_api_class_init’:
../subprojects/libapi/api/api.c:215:5: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
  215 |     g_type_class_add_private(klass, sizeof (FbApiPrivate));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
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:22,
                 from /usr/include/json-glib-1.0/json-glib/json-types.h:31,
                 from /usr/include/json-glib-1.0/json-glib/json-glib.h:29,
                 from ../subprojects/libapi/api/api.c:22:
/usr/include/glib-2.0/gobject/gtype.h:1308:10: note: declared here
 1308 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/libapi/api/api.c: In function ‘fb_api_init’:
../subprojects/libapi/api/api.c:536:13: warning: Deprecated pre-processor symbol, replace with 
  536 |     priv = G_TYPE_INSTANCE_GET_PRIVATE(api, FB_TYPE_API, FbApiPrivate);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[11/45] Compiling Vala source ../src/App.vala ../src...gs.vala ../src/SettingsWindow.vala ../src/DBus.vala.
FAILED: com.github.aprilis.messenger@exe/src/App.c com.github.aprilis.messenger@exe/src/Data.c com.github.aprilis.messenger@exe/src/Contact.c com.github.aprilis.messenger@exe/src/Thread.c com.github.aprilis.messenger@exe/src/SingleThread.c com.github.aprilis.messenger@exe/src/GroupThread.c com.github.aprilis.messenger@exe/src/ThreadsViewer.c com.github.aprilis.messenger@exe/src/Conversation.c com.github.aprilis.messenger@exe/src/FocusGrabber.c com.github.aprilis.messenger@exe/src/ConvData.c com.github.aprilis.messenger@exe/src/ApplicationPopOver.c com.github.aprilis.messenger@exe/src/PopOver.c com.github.aprilis.messenger@exe/src/Main.c com.github.aprilis.messenger@exe/src/HeaderBar.c com.github.aprilis.messenger@exe/src/MainWindowManager.c com.github.aprilis.messenger@exe/src/Loading.c com.github.aprilis.messenger@exe/src/Screen.c com.github.aprilis.messenger@exe/src/SignIn.c com.github.aprilis.messenger@exe/src/SignUp.c com.github.aprilis.messenger@exe/src/Welcome.c com.github.aprilis.messenger@exe/src/ThreadsScreen.c com.github.aprilis.messenger@exe/src/PasswordScreen.c com.github.aprilis.messenger@exe/src/LoadingScreen.c com.github.aprilis.messenger@exe/src/Utils.c com.github.aprilis.messenger@exe/src/LoginDialog.c com.github.aprilis.messenger@exe/src/Version.c com.github.aprilis.messenger@exe/src/GroupCreator.c com.github.aprilis.messenger@exe/src/FadeOutBin.c com.github.aprilis.messenger@exe/src/Shortcut.c com.github.aprilis.messenger@exe/src/Settings.c com.github.aprilis.messenger@exe/src/SettingsWindow.c com.github.aprilis.messenger@exe/src/DBus.c 
valac -C --debug --debug --vapidir '/home/han/ドキュメント/ギットなど/messenger/vapi' --pkg posix --pkg posix '/home/han/ドキュメント/ギットなど/messenger/vapi/Fb.vapi' --pkg libnotify --pkg libbamf3 --pkg plank --pkg unity --pkg granite --pkg webkit2gtk-4.0 --pkg gee-0.8 --pkg gio-2.0 --pkg json-glib-1.0 --pkg libsoup-2.4 --pkg gtk+-3.0 --color=always --directory com.github.aprilis.messenger@exe --basedir ../ ../src/App.vala ../src/Data.vala ../src/Contact.vala ../src/Thread.vala ../src/SingleThread.vala ../src/GroupThread.vala ../src/ThreadsViewer.vala ../src/Conversation.vala ../src/FocusGrabber.vala ../src/ConvData.vala ../src/ApplicationPopOver.vala ../src/PopOver.vala ../src/Main.vala ../src/HeaderBar.vala ../src/MainWindowManager.vala ../src/Loading.vala ../src/Screen.vala ../src/SignIn.vala ../src/SignUp.vala ../src/Welcome.vala ../src/ThreadsScreen.vala ../src/PasswordScreen.vala ../src/LoadingScreen.vala ../src/Utils.vala ../src/LoginDialog.vala ../src/Version.vala ../src/GroupCreator.vala ../src/FadeOutBin.vala ../src/Shortcut.vala ../src/Settings.vala ../src/SettingsWindow.vala ../src/DBus.vala
../src/Thread.vala:44.9-44.21: error: Creation method of abstract class cannot be public.
        public Thread () {
        ^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[12/45] Generating symbol file 'subprojects/libapi/4...sha/libcom.github.aprilis.messenger.api.so.symbols'.
ninja: build stopped: subcommand failed.
aprilis commented 4 years ago

I think I fixed this compilation error, but I can't check it because I don't use Odin yet