45.0: is not gcc 14.x ready
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
Looks like last version build fails with latest gcc 14.x which is now used in fedora rawhide.
Build fails with
[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja -k 0
[1/27] Generating config.h with a custom command
fatal: not a git repository (or any parent up to mount point /home/tkloczko)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[2/18] Compiling C object src/gnome-boxes.p/meson-generated_preferences_shared-folders-widget.c.o
FAILED: src/gnome-boxes.p/meson-generated_preferences_shared-folders-widget.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_preferences_shared-folders-widget.c.o -MF src/gnome-boxes.p/meson-generated_preferences_shared-folders-widget.c.o.d -o src/gnome-boxes.p/meson-generated_preferences_shared-folders-widget.c.o -c src/gnome-boxes.p/preferences/shared-folders-widget.c
../src/preferences/shared-folders-widget.vala: In function ‘boxes_shared_folders_widget_setup’:
../src/preferences/shared-folders-widget.vala:45:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
45 | listbox.bind_model (list_model, create_shared_folder_row);
| ^~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/preferences/shared-folders-widget.c:6:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../src/preferences/shared-folders-widget.vala:47:40: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
47 | var add_button = new Gtk.MenuButton () {
| ^~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
[3/18] Compiling C object src/gnome-boxes.p/meson-generated_display-toolbar.c.o
FAILED: src/gnome-boxes.p/meson-generated_display-toolbar.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_display-toolbar.c.o -MF src/gnome-boxes.p/meson-generated_display-toolbar.c.o.d -o src/gnome-boxes.p/meson-generated_display-toolbar.c.o -c src/gnome-boxes.p/display-toolbar.c
../src/display-toolbar.vala: In function ‘boxes_display_toolbar_setup_ui’:
../src/display-toolbar.vala:81:39: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
81 | menu_button.popover = new ActionsPopover (window);
| ^~~~~~~~~~~~~~~~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146,
from /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/display-toolbar.c:6:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
../src/display-toolbar.vala:91:39: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
91 | keys_menu_button.popover = new KeysInputPopover (window);
| ^~~~~~~~~~~~~~~~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
[4/18] Compiling C object src/gnome-boxes.p/meson-generated_icon-view.c.o
FAILED: src/gnome-boxes.p/meson-generated_icon-view.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_icon-view.c.o -MF src/gnome-boxes.p/meson-generated_icon-view.c.o.d -o src/gnome-boxes.p/meson-generated_icon-view.c.o -c src/gnome-boxes.p/icon-view.c
../src/icon-view.vala: In function ‘boxes_icon_view_launch_context_popover_for_child’:
../src/icon-view.vala:88:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
88 | context_popover.set_relative_to (thumbnail.get_parent ());
| ^
[5/18] Compiling C object src/gnome-boxes.p/meson-generated_list-view-row.c.o
FAILED: src/gnome-boxes.p/meson-generated_list-view-row.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_list-view-row.c.o -MF src/gnome-boxes.p/meson-generated_list-view-row.c.o.d -o src/gnome-boxes.p/meson-generated_list-view-row.c.o -c src/gnome-boxes.p/list-view-row.c
../src/list-view-row.vala: In function ‘boxes_list_view_row_construct’:
../src/list-view-row.vala:33:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
33 | activatable_widget.get_parent ().hexpand = false;
| ^
[6/18] Compiling C object src/gnome-boxes.p/meson-generated_collection-toolbar.c.o
FAILED: src/gnome-boxes.p/meson-generated_collection-toolbar.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_collection-toolbar.c.o -MF src/gnome-boxes.p/meson-generated_collection-toolbar.c.o.d -o src/gnome-boxes.p/meson-generated_collection-toolbar.c.o -c src/gnome-boxes.p/collection-toolbar.c
../src/collection-toolbar.vala: In function ‘boxes_collection_toolbar_setup_ui’:
../src/collection-toolbar.vala:42:40: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
42 | hamburger_btn.popover = new Popover.from_model (hamburger_btn, menu);
| ^~~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:146,
from /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/collection-toolbar.c:6:
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
../src/collection-toolbar.vala:44:40: error: passing argument 2 of ‘gtk_menu_button_set_popover’ from incompatible pointer type [-Wincompatible-pointer-types]
44 | downloads_hub_btn.popover = DownloadsHub.get_default ();
| ^~~~~~~~~~~~~~~~~~~~~
| |
| GtkPopover * {aka struct _GtkPopover *}
/usr/include/gtk-3.0/gtk/gtkmenubutton.h:77:61: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkPopover *’ {aka ‘struct _GtkPopover *’}
77 | GtkWidget *popover);
| ~~~~~~~~~~~~~~~^~~~~~~
[7/18] Compiling C object src/gnome-boxes.p/meson-generated_list-view.c.o
FAILED: src/gnome-boxes.p/meson-generated_list-view.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_list-view.c.o -MF src/gnome-boxes.p/meson-generated_list-view.c.o.d -o src/gnome-boxes.p/meson-generated_list-view.c.o -c src/gnome-boxes.p/list-view.c
../src/list-view.vala: In function ‘boxes_list_view_setup_list_box’:
../src/list-view.vala:22:57: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
22 | list_box.bind_model (App.app.collection.filtered_items, (item) => {
| ^~~~~~~~~~~~~~~~~~~
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from src/gnome-boxes.p/list-view.c:6:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[8/18] Compiling C object src/gnome-boxes.p/meson-generated_preferences_snapshot-list-row.c.o
FAILED: src/gnome-boxes.p/meson-generated_preferences_snapshot-list-row.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_preferences_snapshot-list-row.c.o -MF src/gnome-boxes.p/meson-generated_preferences_snapshot-list-row.c.o.d -o src/gnome-boxes.p/meson-generated_preferences_snapshot-list-row.c.o -c src/gnome-boxes.p/preferences/snapshot-list-row.c
../src/preferences/snapshot-list-row.vala: In function ‘boxes_snapshot_list_row_on_delete_button_clicked’:
../src/preferences/snapshot-list-row.vala:134:10: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
134 | parent_container = (Gtk.Container) this.get_parent ();
| ^
../src/preferences/snapshot-list-row.vala: In function ‘_boxes_snapshot_list_row___lambda86_’:
../src/preferences/snapshot-list-row.vala:29:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
29 | var parent = get_parent () as Gtk.Container;
| ^
[9/18] Compiling C object src/gnome-boxes.p/meson-generated_media-manager.c.o
FAILED: src/gnome-boxes.p/meson-generated_media-manager.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_media-manager.c.o -MF src/gnome-boxes.p/meson-generated_media-manager.c.o.d -o src/gnome-boxes.p/meson-generated_media-manager.c.o -c src/gnome-boxes.p/media-manager.c
../src/media-manager.vala: In function ‘boxes_media_manager_path_is_installed_media’:
../src/media-manager.vala:64:66: error: passing argument 3 of ‘boxes_media_manager_media_matches_content_type’ from incompatible pointer type [-Wincompatible-pointer-types]
64 | return media_matches_content_type (path, supported_installed_media_content_types) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
src/gnome-boxes.p/media-manager.c:389:66: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
389 | gchar** supported_content_types,
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../src/media-manager.vala: In function ‘boxes_media_manager_path_is_installer_media’:
../src/media-manager.vala:76:71: error: passing argument 3 of ‘boxes_media_manager_media_matches_content_type’ from incompatible pointer type [-Wincompatible-pointer-types]
76 | return media_matches_content_type (path, supported_installer_media_content_types);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
src/gnome-boxes.p/media-manager.c:389:66: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
389 | gchar** supported_content_types,
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../src/media-manager.vala: In function ‘boxes_media_manager_path_is_compressed’:
../src/media-manager.vala:83:71: error: passing argument 3 of ‘boxes_media_manager_media_matches_content_type’ from incompatible pointer type [-Wincompatible-pointer-types]
83 | return media_matches_content_type (path, supported_compression_content_types);
| ^~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
src/gnome-boxes.p/media-manager.c:389:66: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
389 | gchar** supported_content_types,
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/gnome-boxes.p/media-manager.c:6:
../src/media-manager.vala: In function ‘boxes_media_manager_create_installer_media_from_config_co’:
/usr/include/glib-2.0/glib/gmessages.h:668:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
668 | return (val); \
| ^
../src/media-manager.vala:145:2: note: in expansion of macro ‘g_return_val_if_fail’
145 | return_val_if_fail (media != null, null);
| ^ ~~~~~~~~~~~~~
../src/media-manager.vala: In function ‘boxes_media_manager_get_client’:
../src/media-manager.vala:161:31: error: passing argument 1 of ‘g_udev_client_new’ from incompatible pointer type [-Wincompatible-pointer-types]
161 | _client = new GUdev.Client ({"block"});
| ^~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/gudev-1.0/gudev/gudev.h:14,
from src/gnome-boxes.p/media-manager.c:8:
/usr/include/gudev-1.0/gudev/gudevclient.h:74:77: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
74 | GUdevClient *g_udev_client_new (const gchar* const *subsystems);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[10/18] Compiling C object src/gnome-boxes.p/meson-generated_assistant_os-chooser-row.c.o
FAILED: src/gnome-boxes.p/meson-generated_assistant_os-chooser-row.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_assistant_os-chooser-row.c.o -MF src/gnome-boxes.p/meson-generated_assistant_os-chooser-row.c.o.d -o src/gnome-boxes.p/meson-generated_assistant_os-chooser-row.c.o -c src/gnome-boxes.p/assistant/os-chooser-row.c
../src/assistant/os-chooser-row.vala: In function ‘boxes_os_chooser_row_setup_model_co’:
../src/assistant/os-chooser-row.vala:47:74: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
47 | listbox.bind_model (model, create_listbox_entry);
| ^
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/assistant/os-chooser-row.c:6:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[11/18] Compiling C object src/gnome-boxes.p/meson-generated_libvirt-broker.c.o
FAILED: src/gnome-boxes.p/meson-generated_libvirt-broker.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_libvirt-broker.c.o -MF src/gnome-boxes.p/meson-generated_libvirt-broker.c.o.d -o src/gnome-boxes.p/meson-generated_libvirt-broker.c.o -c src/gnome-boxes.p/libvirt-broker.c
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/gnome-boxes.p/libvirt-broker.c:6:
../src/libvirt-broker.vala: In function ‘boxes_libvirt_broker_add_domain_co’:
/usr/include/glib-2.0/glib/gmessages.h:668:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
668 | return (val); \
| ^
../src/libvirt-broker.vala:29:2: note: in expansion of macro ‘g_return_val_if_fail’
29 | return_val_if_fail (broker != null, null);
| ^ ~~~~~~~~~~~~~
[12/18] Compiling C object src/gnome-boxes.p/meson-generated_preferences_devices-page.c.o
FAILED: src/gnome-boxes.p/meson-generated_preferences_devices-page.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_preferences_devices-page.c.o -MF src/gnome-boxes.p/meson-generated_preferences_devices-page.c.o.d -o src/gnome-boxes.p/meson-generated_preferences_devices-page.c.o -c src/gnome-boxes.p/preferences/devices-page.c
../src/preferences/devices-page.vala: In function ‘boxes_devices_page_setup_usb_devices_list’:
../src/preferences/devices-page.vala:52:59: error: passing argument 3 of ‘gtk_list_box_bind_model’ from incompatible pointer type [-Wincompatible-pointer-types]
52 | listbox.bind_model (model, add_usb_device_row);
| ^
| |
| GtkWidget * (*)(GObject *, void *) {aka struct _GtkWidget * (*)(struct _GObject *, void *)}
In file included from /usr/include/gtk-3.0/gtk/gtk.h:140,
from /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/preferences/devices-page.c:6:
/usr/include/gtk-3.0/gtk/gtklistbox.h:312:89: note: expected ‘GtkListBoxCreateWidgetFunc’ {aka ‘struct _GtkWidget * (*)(void *, void *)’} but argument is of type ‘GtkWidget * (*)(GObject *, void *)’ {aka ‘struct _GtkWidget * (*)(struct _GObject *, void *)’}
312 | GtkListBoxCreateWidgetFunc create_widget_func,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
[13/18] Compiling C object src/gnome-boxes.p/meson-generated_downloader.c.o
FAILED: src/gnome-boxes.p/meson-generated_downloader.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_downloader.c.o -MF src/gnome-boxes.p/meson-generated_downloader.c.o.d -o src/gnome-boxes.p/meson-generated_downloader.c.o -c src/gnome-boxes.p/downloader.c
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from src/gnome-boxes.p/downloader.c:6:
../src/downloader.vala: In function ‘boxes_downloader_fetch_media_co’:
/usr/include/glib-2.0/glib/gmessages.h:668:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
668 | return (val); \
| ^
../src/downloader.vala:217:2: note: in expansion of macro ‘g_return_val_if_fail’
217 | return_val_if_fail (basename != null && basename != "" && basename != "/", null);
| ^ ~~~~~~~~~~~~~
[14/18] Compiling C object src/gnome-boxes.p/meson-generated_preferences_resources-page.c.o
FAILED: src/gnome-boxes.p/meson-generated_preferences_resources-page.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_preferences_resources-page.c.o -MF src/gnome-boxes.p/meson-generated_preferences_resources-page.c.o.d -o src/gnome-boxes.p/meson-generated_preferences_resources-page.c.o -c src/gnome-boxes.p/preferences/resources-page.c
../src/preferences/resources-page.vala: In function ‘boxes_resources_page_on_domain_configuration_edited’:
../src/preferences/resources-page.vala:252:37: error: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
252 | file.load_contents (null, out contents, out etag_out);
| ^~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:81,
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 /usr/include/libhandy-1/handy.h:9,
from src/gnome-boxes.p/preferences/resources-page.c:6:
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1264 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[15/18] Compiling C object src/gnome-boxes.p/meson-generated_assistant_rhel-download-dialog.c.o
FAILED: src/gnome-boxes.p/meson-generated_assistant_rhel-download-dialog.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_assistant_rhel-download-dialog.c.o -MF src/gnome-boxes.p/meson-generated_assistant_rhel-download-dialog.c.o.d -o src/gnome-boxes.p/meson-generated_assistant_rhel-download-dialog.c.o -c src/gnome-boxes.p/assistant/rhel-download-dialog.c
../src/assistant/rhel-download-dialog.vala: In function ‘boxes_rhel_download_dialog_constructor’:
../src/assistant/rhel-download-dialog.vala:22:18: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
22 | var language_names = GLib.Intl.get_language_names ();
| ^
../src/assistant/rhel-download-dialog.vala:23:54: error: passing argument 2 of ‘webkit_web_context_set_preferred_languages’ from incompatible pointer type [-Wincompatible-pointer-types]
23 | context.set_preferred_languages (language_names);
| ^~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:53,
from /usr/include/webkitgtk-4.1/webkit/WebKitPrintOperation.h:29,
from /usr/include/webkitgtk-4.1/webkit2/webkit2.h:74,
from src/gnome-boxes.p/assistant/rhel-download-dialog.c:8:
/usr/include/webkitgtk-4.1/webkit/WebKitWebContext.h:243:85: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
243 | const gchar * const *languages);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[16/18] Compiling C object src/gnome-boxes.p/meson-generated_unattended-installer.c.o
FAILED: src/gnome-boxes.p/meson-generated_unattended-installer.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_unattended-installer.c.o -MF src/gnome-boxes.p/meson-generated_unattended-installer.c.o.d -o src/gnome-boxes.p/meson-generated_unattended-installer.c.o -c src/gnome-boxes.p/unattended-installer.c
../src/unattended-installer.vala: In function ‘boxes_unattended_installer_get_preferred_language’:
../src/unattended-installer.vala:609:18: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
609 | var system_langs = Intl.get_language_names ();
| ^
[17/18] Compiling C object src/gnome-boxes.p/meson-generated_util-app.c.o
FAILED: src/gnome-boxes.p/meson-generated_util-app.c.o
/usr/bin/gcc -Isrc/gnome-boxes.p -Isrc -I../src -I. -I.. -Isubprojects/libovf-glib/govf -I../subprojects/libovf-glib/govf -Idata -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libhandy-1 -I/usr/include/libosinfo-1.0 -I/usr/include/libsoup-3.0 -I/usr/include/libusb-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/webkitgtk-4.1 -I/usr/include/gudev-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -pthread '-DDATADIR="/usr/share"' '-DGNOMELOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="gnome-boxes"' '-DCACHEDIR="/var/cache/"' '-DG_LOG_DOMAIN="Boxes"' -MD -MQ src/gnome-boxes.p/meson-generated_util-app.c.o -MF src/gnome-boxes.p/meson-generated_util-app.c.o.d -o src/gnome-boxes.p/meson-generated_util-app.c.o -c src/gnome-boxes.p/util-app.c
../src/util-app.vala: In function ‘boxes_widget_remove’:
../src/util-app.vala:62:9: error: assignment to ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
62 | var container = widget.get_parent () as Gtk.Container;
| ^
../src/util-app.vala: In function ‘boxes_parse_recommended_downloads_file_co’:
../src/util-app.vala:214:47: error: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
214 | file.load_contents (null, out contents, null);
| ^~~~~~~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:81,
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 src/gnome-boxes.p/util-app.c:9:
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1264 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/util-app.vala: In function ‘boxes_is_libvirt_bridge_net_available’:
../src/util-app.vala:343:41: error: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
343 | file.load_contents (null, out contents, null);
| ^~~~~~~~
| |
| guint8 ** {aka unsigned char **}
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1264 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../src/util-app.vala:346:41: error: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
346 | file.load_contents (null, out contents, null);
| ^~~~~~~~
| |
| guint8 ** {aka unsigned char **}
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1264 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
ninja: build stopped: cannot make progress due to previous errors.