Closed SolarAquarion closed 6 years ago
What distro are you using? And what version of Vala and Rest? And are you trying to compile the latest Corebird Git Master or 1.7.x? If you're trying to compile the latest git master, then you also need to compile the git master of Vala and GTK.
version of Vala and Rest?
Rest hasn't been a dependency in a long time.
you also need to compile the git master of Vala and GTK.
this.
@baedert @Vistaus i compiled the git version
local/gtk4-git 3.93.0.r1555.g8410d87eb5-1 local/vala-git 0.40.0+114+g711cbc475-1
97/183] Compiling C object 'corebird@sta/src_CbUtils.c.o'.
FAILED: corebird@sta/src_CbUtils.c.o
cc -Icorebird@sta -I. -I.. -I../src -I../src/rest/ -I../subprojects/libtl/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libdrm -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 '-DGETTEXT_PACKAGE="corebird"' '-DDATADIR="share"' '-DG_LOG_DOMAIN="corebird"' -DVIDEO -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -mfpmath=sse -msse -msse2 -Werror=implicit-function-declaration -MD -MQ 'corebird@sta/src_CbUtils.c.o' -MF 'corebird@sta/src_CbUtils.c.o.d' -o 'corebird@sta/src_CbUtils.c.o' -c ../src/CbUtils.c
../src/CbUtils.c: In function ‘parse_json_async’:
../src/CbUtils.c:543:33: warning: unused parameter ‘source_object’ [-Wunused-parameter]
gpointer source_object,
~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
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/gtk-4.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-4.0/gdk/gdk.h:30,
from /usr/include/gtk-4.0/gtk/gtk.h:30,
from ../src/CbUtils.h:21,
from ../src/CbUtils.c:18:
../src/CbUtils.c: In function ‘cb_utils_get_tweet_debug_info’:
../src/CbUtils.c:794:18: error: ‘CbTweet’ {aka ‘struct _CbTweet’} has no member named ‘json_data’
g_assert (tweet->json_data);
^~
/usr/include/glib-2.0/glib/gmacros.h:394:8: note: in definition of macro ‘_G_BOOLEAN_EXPR’
if (expr) \
^~~~
/usr/include/glib-2.0/glib/gtestutils.h:118:49: note: in expansion of macro ‘G_LIKELY’
if G_LIKELY (expr) ; else \
^~~~~~~~
../src/CbUtils.c:794:3: note: in expansion of macro ‘g_assert’
g_assert (tweet->json_data);
^~~~~~~~
../src/CbUtils.c:795:28: error: ‘CbTweet’ {aka ‘struct _CbTweet’} has no member named ‘json_data’
g_string_append (s, tweet->json_data);
^~
../src/CbUtils.c: In function ‘cb_default_header_func’:
../src/CbUtils.c:805:40: warning: unused parameter ‘user_data’ [-Wunused-parameter]
gpointer user_data)
~~~~~~~~~~~~~~~^~~~~~~~~
[99/183] Compiling C object 'corebird@sta/src_CbSurfaceProgress.c.o'.
../src/CbSurfaceProgress.c: In function ‘cb_surface_progress_snapshot’:
../src/CbSurfaceProgress.c:24:44: warning: unused parameter ‘snapshot’ [-Wunused-parameter]
GtkSnapshot *snapshot)
~~~~~~~~~~~~~^~~~~~~~
../src/CbSurfaceProgress.c: In function ‘cb_surface_progress_measure’:
../src/CbSurfaceProgress.c:99:46: warning: unused parameter ‘widget’ [-Wunused-parameter]
cb_surface_progress_measure (GtkWidget *widget,
~~~~~~~~~~~~~~~~^~~~~~
../src/CbSurfaceProgress.c:100:46: warning: unused parameter ‘orientation’ [-Wunused-parameter]
GtkOrientation orientation,
~~~~~~~~~~~~~~~~^~~~~~~~~~~
../src/CbSurfaceProgress.c:101:46: warning: unused parameter ‘for_size’ [-Wunused-parameter]
int for_size,
~~~~~~~~~~~~~~~~^~~~~~~~
../src/CbSurfaceProgress.c:104:46: warning: unused parameter ‘minimum_baseline’ [-Wunused-parameter]
int *minimum_baseline,
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbSurfaceProgress.c:105:46: warning: unused parameter ‘natural_baseline’ [-Wunused-parameter]
int *natural_baseline)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
[102/183] Compiling C object 'corebird@sta/src_CbUserCompletionModel.c.o'.
../src/CbUserCompletionModel.c: In function ‘cb_user_completion_model_get_item_type’:
../src/CbUserCompletionModel.c:27:53: warning: unused parameter ‘model’ [-Wunused-parameter]
cb_user_completion_model_get_item_type (GListModel *model)
~~~~~~~~~~~~^~~~~
[103/183] Compiling C object 'corebird@sta/src_CbComposeJob.c.o'.
../src/CbComposeJob.c: In function ‘cancelled_cb’:
../src/CbComposeJob.c:143:29: warning: unused parameter ‘cancellable’ [-Wunused-parameter]
cancelled_cb (GCancellable *cancellable,
~~~~~~~~~~~~~~^~~~~~~~~~~
../src/CbComposeJob.c: In function ‘cb_compose_job_init’:
../src/CbComposeJob.c:202:36: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_compose_job_init (CbComposeJob *self)
~~~~~~~~~~~~~~^~~~
../src/CbComposeJob.c: In function ‘cb_compose_job_send_finish’:
../src/CbComposeJob.c:723:44: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_compose_job_send_finish (CbComposeJob *self,
~~~~~~~~~~~~~~~^~~~
[104/183] Compiling C object 'corebird@sta/src_CbMediaVideoWidget.c.o'.
../src/CbMediaVideoWidget.c: In function ‘soup_message_received_cb’:
../src/CbMediaVideoWidget.c:58:40: warning: unused parameter ‘session’ [-Wunused-parameter]
soup_message_received_cb (SoupSession *session,
~~~~~~~~~~~~~^~~~~~~
../src/CbMediaVideoWidget.c: In function ‘cancelled_cb’:
../src/CbMediaVideoWidget.c:103:29: warning: unused parameter ‘cancellable’ [-Wunused-parameter]
cancelled_cb (GCancellable *cancellable,
~~~~~~~~~~~~~~^~~~~~~~~~~
../src/CbMediaVideoWidget.c: In function ‘watch_cb’:
../src/CbMediaVideoWidget.c:151:23: warning: unused parameter ‘bus’ [-Wunused-parameter]
watch_cb (GstBus *bus,
~~~~~~~~~~~~^~~
../src/CbMediaVideoWidget.c: In function ‘cb_media_video_widget_key_press_event’:
../src/CbMediaVideoWidget.c:223:53: warning: unused parameter ‘event’ [-Wunused-parameter]
GdkEventKey *event)
~~~~~~~~~~~~~^~~~~
[105/183] Compiling C object 'corebird@sta/src_CbAnimation.c.o'.
../src/CbAnimation.c: In function ‘cb_animation_tick_cb’:
../src/CbAnimation.c:49:38: warning: unused parameter ‘widget’ [-Wunused-parameter]
cb_animation_tick_cb (GtkWidget *widget,
~~~~~~~~~~~~~~~^~~~~~
../src/CbAnimation.c:50:38: warning: unused parameter ‘frame_clock’ [-Wunused-parameter]
GdkFrameClock *frame_clock,
~~~~~~~~~~~~~~~^~~~~~~~~~~
[106/183] Compiling C object 'corebird@sta/src_CbTweetRow.c.o'.
../src/CbTweetRow.c: In function ‘cb_tweet_row_measure’:
../src/CbTweetRow.c:107:39: warning: unused parameter ‘minimum_baseline’ [-Wunused-parameter]
int *minimum_baseline,
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbTweetRow.c:108:39: warning: unused parameter ‘natural_baseline’ [-Wunused-parameter]
int *natural_baseline)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbTweetRow.c: In function ‘cb_tweet_row_size_allocate’:
../src/CbTweetRow.c:157:50: warning: unused parameter ‘baseline’ [-Wunused-parameter]
int baseline)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/CbTweetRow.c: In function ‘cb_tweet_row_init’:
../src/CbTweetRow.c:298:32: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_tweet_row_init (CbTweetRow *self)
~~~~~~~~~~~~^~~~
../src/CbTweetRow.c: In function ‘link_activated_cb’:
../src/CbTweetRow.c:303:32: warning: unused parameter ‘label’ [-Wunused-parameter]
link_activated_cb (GtkLabel *label,
~~~~~~~~~~~~^~~~~
../src/CbTweetRow.c: In function ‘name_button_clicked_cb’:
../src/CbTweetRow.c:315:36: warning: unused parameter ‘source’ [-Wunused-parameter]
name_button_clicked_cb (GtkButton *source,
~~~~~~~~~~~^~~~~~
../src/CbTweetRow.c: In function ‘media_clicked_cb’:
../src/CbTweetRow.c:344:30: warning: unused parameter ‘source’ [-Wunused-parameter]
media_clicked_cb (GtkWidget *source,
~~~~~~~~~~~^~~~~~
../src/CbTweetRow.c:345:30: warning: unused parameter ‘media’ [-Wunused-parameter]
CbMedia *media,
~~~~~~~~~~~^~~~~
../src/CbTweetRow.c: In function ‘cb_tweet_row_shows_actions’:
../src/CbTweetRow.c:670:41: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_tweet_row_shows_actions (CbTweetRow *self)
~~~~~~~~~~~~^~~~
../src/CbTweetRow.c: In function ‘cb_tweet_row_toggle_mode’:
../src/CbTweetRow.c:676:39: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_tweet_row_toggle_mode (CbTweetRow *self)
~~~~~~~~~~~~^~~~
../src/CbTweetRow.c: In function ‘cb_tweet_row_set_read_only’:
../src/CbTweetRow.c:682:41: warning: unused parameter ‘self’ [-Wunused-parameter]
cb_tweet_row_set_read_only (CbTweetRow *self)
~~~~~~~~~~~~^~~~
[107/183] Compiling C object 'corebird@sta/src_CbUserStream.c.o'.
../src/CbUserStream.c: In function ‘network_changed_cb’:
../src/CbUserStream.c:103:38: warning: unused parameter ‘monitor’ [-Wunused-parameter]
network_changed_cb (GNetworkMonitor *monitor,
~~~~~~~~~~~~~~~~~^~~~~~~
../src/CbUserStream.c: In function ‘continuous_cb’:
../src/CbUserStream.c:306:31: warning: unused parameter ‘call’ [-Wunused-parameter]
continuous_cb (RestProxyCall *call,
~~~~~~~~~~~~~~~^~~~
../src/CbUserStream.c:310:31: warning: unused parameter ‘weak_object’ [-Wunused-parameter]
GObject *weak_object,
~~~~~~~~~~~~~~~^~~~~~~~~~~
[108/183] Compiling C object 'corebird@sta/src_CbQuoteTweetWidget.c.o'.
../src/CbQuoteTweetWidget.c: In function ‘cb_quote_tweet_widget_measure’:
../src/CbQuoteTweetWidget.c:33:48: warning: unused parameter ‘minimum_baseline’ [-Wunused-parameter]
int *minimum_baseline,
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbQuoteTweetWidget.c:34:48: warning: unused parameter ‘natural_baseline’ [-Wunused-parameter]
int *natural_baseline)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbQuoteTweetWidget.c: In function ‘cb_quote_tweet_widget_size_allocate’:
../src/CbQuoteTweetWidget.c:72:59: warning: unused parameter ‘baseline’ [-Wunused-parameter]
int baseline)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/CbQuoteTweetWidget.c: In function ‘cb_quote_tweet_widget_get_request_mode’:
../src/CbQuoteTweetWidget.c:94:52: warning: unused parameter ‘widget’ [-Wunused-parameter]
cb_quote_tweet_widget_get_request_mode (GtkWidget *widget)
~~~~~~~~~~~^~~~~~
../src/CbQuoteTweetWidget.c: In function ‘link_activated_cb’:
../src/CbQuoteTweetWidget.c:133:32: warning: unused parameter ‘label’ [-Wunused-parameter]
link_activated_cb (GtkLabel *label,
~~~~~~~~~~~~^~~~~
../src/CbQuoteTweetWidget.c: In function ‘name_button_clicked_cb’:
../src/CbQuoteTweetWidget.c:149:36: warning: unused parameter ‘source’ [-Wunused-parameter]
name_button_clicked_cb (GtkButton *source,
~~~~~~~~~~~^~~~~~
[109/183] Compiling C object 'corebird@sta/src_CbEmojiChooser.c.o'.
../src/CbEmojiChooser.c: In function ‘emoji_activated’:
../src/CbEmojiChooser.c:137:35: warning: unused parameter ‘box’ [-Wunused-parameter]
emoji_activated (GtkFlowBox *box,
~~~~~~~~~~~~~~~~~^~~
../src/CbEmojiChooser.c: In function ‘search_changed’:
../src/CbEmojiChooser.c:398:27: warning: unused parameter ‘entry’ [-Wunused-parameter]
search_changed (GtkEntry *entry,
~~~~~~~~~~^~~~~
[110/183] Compiling C object 'corebird@sta/src_CbTextView.c.o'.
../src/CbTextView.c: In function ‘completion_animate_func’:
../src/CbTextView.c:118:39: warning: unused parameter ‘user_data’ [-Wunused-parameter]
gpointer user_data)
~~~~~~~~~~~~~^~~~~~~~~
../src/CbTextView.c: In function ‘users_received_cb’:
../src/CbTextView.c:127:34: warning: unused parameter ‘source_object’ [-Wunused-parameter]
users_received_cb (GObject *source_object,
~~~~~~~~~~~~~~^~~~~~~~~~~~~
../src/CbTextView.c: In function ‘create_completion_row_func’:
../src/CbTextView.c:249:38: warning: unused parameter ‘user_data’ [-Wunused-parameter]
gpointer user_data)
~~~~~~~~~^~~~~~~~~
../src/CbTextView.c: In function ‘cb_text_view_measure’:
../src/CbTextView.c:283:39: warning: unused parameter ‘minimum_baseline’ [-Wunused-parameter]
int *minimum_baseline,
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbTextView.c:284:39: warning: unused parameter ‘natural_baseline’ [-Wunused-parameter]
int *natural_baseline)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../src/CbTextView.c: In function ‘cb_text_view_size_allocate’:
../src/CbTextView.c:308:50: warning: unused parameter ‘baseline’ [-Wunused-parameter]
int baseline)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/CbTextView.c: In function ‘text_buffer_cursor_position_changed_cb’:
../src/CbTextView.c:382:53: warning: unused parameter ‘object’ [-Wunused-parameter]
text_buffer_cursor_position_changed_cb (GObject *object,
~~~~~~~~~~~~^~~~~~
../src/CbTextView.c:383:53: warning: unused parameter ‘pspec’ [-Wunused-parameter]
GParamSpec *pspec,
~~~~~~~~~~~~^~~~~
../src/CbTextView.c: In function ‘cb_text_view_key_press_event_cb’:
../src/CbTextView.c:513:47: warning: unused parameter ‘widget’ [-Wunused-parameter]
cb_text_view_key_press_event_cb (GtkWidget *widget,
~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.