See
<
https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/786...
Changes:
[etrunko] remote-viewer: Prefer ca-cert from display instead of proxy
[etrunko] Workaround inconsistency with REST API
[etrunko] ovirt-foreign-menu: Bypass errors from Host/Cluster/Data Center
[etrunko] remote-viewer: Set admin privileges when connecting to ovirt
[etrunko] wip storage_domain_isattached
[etrunko] user
[etrunko] wip
[etrunko] grab_focus
[etrunko] enums
[etrunko] meson
[etrunko] auth
[etrunko] wip follow
[etrunko] wip async
------------------------------------------
[...truncated 9.18 KB...]
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for fork... yes
checking for socketpair... yes
checking for update-mime-database... /usr/bin/update-mime-database
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bash-completion/Makefile
config.status: creating data/Makefile
config.status: creating data/virt-viewer.wxs
config.status: creating icons/Makefile
config.status: creating icons/16x16/Makefile
config.status: creating icons/22x22/Makefile
config.status: creating icons/24x24/Makefile
config.status: creating icons/32x32/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating icons/256x256/Makefile
config.status: creating man/Makefile
config.status: creating mingw-virt-viewer.spec
config.status: creating po/Makefile
config.status: creating src/Makefile
config.status: creating src/virt-viewer.rc
config.status: creating tests/Makefile
config.status: creating virt-viewer.spec
config.status: creating config.h
config.status: linking ../GNUmakefile to GNUmakefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
configure: Configuration summary
configure: =====================
configure:
configure: Libraries:
configure:
configure: GLIB2: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -pthread
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -lgio-2.0 -lgobject-2.0 -lgthread-2.0
-Wl,--export-dynamic -pthread -lgmodule-2.0 -lglib-2.0
configure:
configure: GTK: -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/fribidi
-I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid
-I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -pthread -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_12
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_12 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0
-latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
configure:
configure: GTK_VNC: -I/usr/include/gtk-vnc-2.0 -I/usr/include/gvnc-1.0
-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/fribidi -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm
-I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
-I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -lgtk-vnc-2.0 -lgvnc-1.0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
configure:
configure: SPICE_GTK: -I/usr/include/spice-client-gtk-3.0
-I/usr/include/spice-client-glib-2.0 -I/usr/include/spice-1 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/uuid -I/usr/include/pixman-1 -I/usr/include/opus -I/usr/include/cacard
-I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng16 -I/usr/include/json-glib-1.0 -I/usr/include/gio-unix-2.0
-I/usr/include/libphodav-2.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/libusb-1.0
-I/usr/include/gobject-introspection-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0
-I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0
-I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread
-lspice-client-gtk-3.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0
-lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
-lspice-client-glib-2.0
configure:
configure: VTE:
configure:
configure: LIBXML2: -I/usr/include/libxml2 -lxml2
configure:
configure: LIBVIRT: -I/home/jenkins/build/libvirt/include/libvirt-glib-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -L/home/jenkins/build/libvirt/lib
-lvirt -lvirt-glib-1.0 -lglib-2.0
configure:
configure: OVIRT: -I/usr/include/govirt-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
-I/usr/include/uuid -I/usr/include/rest-0.7 -I/usr/include/libsoup-2.4
-I/usr/include/libxml2 -pthread -lgovirt -lrest-0.7 -lsoup-2.4 -lgio-2.0 -lgobject-2.0
-lglib-2.0 -lxml2
configure:
configure: bash completion: yes DIR: /usr/share/bash-completion/completions
configure:
Now type 'make' to compile virt-viewer.
+ /usr/bin/gmake
git.mk: Generating ../.gitignore
/usr/bin/gmake all-recursive
gmake[1]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build'>
Making all in bash-completion
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/bash-completion'>
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/bash-completion'>
Making all in icons
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons'>
Making all in 16x16
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/16x16'>
git.mk: Generating ../../../icons/16x16/.gitignore
git.mk: Generating ../../icons/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/16x16'>
Making all in 22x22
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/22x22'>
git.mk: Generating ../../../icons/22x22/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/22x22'>
Making all in 24x24
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/24x24'>
git.mk: Generating ../../../icons/24x24/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/24x24'>
Making all in 32x32
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/32x32'>
git.mk: Generating ../../../icons/32x32/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/32x32'>
Making all in 48x48
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/48x48'>
git.mk: Generating ../../../icons/48x48/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/48x48'>
Making all in 256x256
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/256x256'>
git.mk: Generating ../../../icons/256x256/.gitignore
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons/256x256'>
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons'>
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons'>
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/icons'>
Making all in src
gmake[2]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/src'>
GEN virt-viewer-resources.h
GEN virt-viewer-resources.c
GEN virt-viewer-enums.h
GEN virt-viewer-enums.c
git.mk: Generating ../../src/.gitignore
/usr/bin/gmake all-am
gmake[3]: Entering directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/src'>
CC virt_viewer-virt-viewer.o
CC virt_viewer-virt-viewer-main.o
CC libvirt_viewer_util_la-virt-viewer-util.lo
CC libvirt_viewer_la-virt-viewer-resources.lo
CC libvirt_viewer_la-virt-viewer-enums.lo
CC libvirt_viewer_la-glib-compat.lo
CC libvirt_viewer_la-virt-viewer-auth.lo
CC libvirt_viewer_la-virt-viewer-app.lo
CC libvirt_viewer_la-virt-viewer-file.lo
CC libvirt_viewer_la-virt-viewer-session.lo
CC libvirt_viewer_la-virt-viewer-display.lo
CC libvirt_viewer_la-virt-viewer-notebook.lo
CC libvirt_viewer_la-virt-viewer-window.lo
CC libvirt_viewer_la-virt-viewer-vm-connection.lo
CC libvirt_viewer_la-virt-viewer-display-vte.lo
CC libvirt_viewer_la-virt-viewer-timed-revealer.lo
CC libvirt_viewer_la-virt-viewer-session-vnc.lo
CC libvirt_viewer_la-virt-viewer-display-vnc.lo
CC libvirt_viewer_la-virt-viewer-session-spice.lo
CC libvirt_viewer_la-virt-viewer-display-spice.lo
CC libvirt_viewer_la-virt-viewer-file-transfer-dialog.lo
CC libvirt_viewer_la-ovirt-foreign-menu.lo
CC libvirt_viewer_la-remote-viewer-iso-list-dialog.lo
CC remote_viewer-remote-viewer.o
../../src/remote-viewer.c: In function 'ticket_fetched_cb':
../../src/remote-viewer.c:416:26: warning: unused variable 'priv'
[-Wunused-variable]
416 | RemoteViewerPrivate *priv = self->priv;
| ^~~~
../../src/remote-viewer.c: In function 'vms_fetched_cb':
../../src/remote-viewer.c:459:16: error: 'guid' undeclared (first use in this
function); did you mean 'getuid'?
459 | g_free(guid);
| ^~~~
| getuid
../../src/remote-viewer.c:459:16: note: each undeclared identifier is reported only once
for each function it appears in
In file included from /usr/lib64/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/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from ../../src/remote-viewer.c:26:
../../src/remote-viewer.c: In function 'api_fetched_cb':
../../src/remote-viewer.c:494:35: error: 'api' undeclared (first use in this
function)
494 | g_return_if_fail(OVIRT_IS_API(api));
| ^~~
/usr/include/glib-2.0/glib/gmacros.h:446:8: note: in definition of macro
'_G_BOOLEAN_EXPR'
446 | if (expr) \
| ^~~~
/usr/include/glib-2.0/glib/gmessages.h:586:9: note: in expansion of macro
'G_LIKELY'
586 | if (G_LIKELY (expr)) \
| ^~~~~~~~
../../src/remote-viewer.c:494:5: note: in expansion of macro 'g_return_if_fail'
494 | g_return_if_fail(OVIRT_IS_API(api));
| ^~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:495:66: note: in expansion of macro
'_G_TYPE_CIT'
495 | #define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT
((instance), (g_type)))
| ^~~~~~~~~~~
/usr/include/govirt-1.0/govirt/ovirt-api.h:36:36: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_TYPE'
36 | #define OVIRT_IS_API(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
OVIRT_TYPE_API))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/remote-viewer.c:494:22: note: in expansion of macro 'OVIRT_IS_API'
494 | g_return_if_fail(OVIRT_IS_API(api));
| ^~~~~~~~~~~~
../../src/remote-viewer.c:502:5: error: 'vms' undeclared (first use in this
function)
502 | vms = ovirt_api_get_vms(api);
| ^~~
../../src/remote-viewer.c: In function 'task_finished_cb':
../../src/remote-viewer.c:519:14: error: 'result' redeclared as different kind of
symbol
519 | gpointer result = g_task_propagate_pointer(G_TASK(result), &error);
| ^~~~~~
../../src/remote-viewer.c:512:32: note: previous definition of 'result' was here
512 | GAsyncResult *result,
| ~~~~~~~~~~~~~~^~~~~~
../../src/remote-viewer.c:511:32: warning: unused parameter 'self'
[-Wunused-parameter]
511 | task_finished_cb(RemoteViewer *self,
| ~~~~~~~~~~~~~~^~~~
../../src/remote-viewer.c:513:27: warning: unused parameter 'user_data'
[-Wunused-parameter]
513 | gpointer user_data)
| ~~~~~~~~~^~~~~~~~~
../../src/remote-viewer.c: In function 'create_ovirt_session':
../../src/remote-viewer.c:559:43: error: 'vm_name' undeclared (first use in this
function)
559 | if (!parse_ovirt_uri(uri, &rest_uri, &vm_name, &username)) {
| ^~~~~~~
../../src/remote-viewer.c:566:18: error: 'proxy' undeclared (first use in this
function); did you mean 'GProxy'?
566 | g_object_set(proxy,
| ^~~~~
| GProxy
../../src/remote-viewer.c:574:9: error: 'RemoteViewerPrivate' {aka 'struct
_RemoteViewerPrivate'} has no member named 'task'
574 | priv->task = g_task_new(self, g_cancellable_new(), task_finished_cb,
NULL);
| ^~
../../src/remote-viewer.c:574:56: warning: passing argument 3 of 'g_task_new' from
incompatible pointer type [-Wincompatible-pointer-types]
574 | priv->task = g_task_new(self, g_cancellable_new(), task_finished_cb,
NULL);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(RemoteViewer *,
GAsyncResult *, void *) {aka void (*)(struct <anonymous> *, struct _GAsyncResult *,
void *)}
In file included from /usr/include/glib-2.0/gio/gio.h:131,
from ../../src/remote-viewer.c:26:
/usr/include/glib-2.0/gio/gtask.h:43:15: note: expected 'GAsyncReadyCallback' {aka
'void (*)(struct _GObject *, struct _GAsyncResult *, void *)'} but argument is of
type 'void (*)(RemoteViewer *, GAsyncResult *, void *)' {aka 'void (*)(struct
<anonymous> *, struct _GAsyncResult *, void *)'}
43 | GTask *g_task_new (gpointer source_object,
| ^~~~~~~~~~
../../src/remote-viewer.c:593:9: error: unknown type name 'OvirtUser'
593 | OvirtUser *user;
| ^~~~~~~~~
../../src/remote-viewer.c:600:17: warning: implicit declaration of function
'ovirt_api_get_users'; did you mean 'ovirt_api_get_vms'?
[-Wimplicit-function-declaration]
600 | users = ovirt_api_get_users(api);
| ^~~~~~~~~~~~~~~~~~~
| ovirt_api_get_vms
../../src/remote-viewer.c:600:17: warning: nested extern declaration of
'ovirt_api_get_users' [-Wnested-externs]
../../src/remote-viewer.c:600:37: error: 'api' undeclared (first use in this
function); did you mean 'app'?
600 | users = ovirt_api_get_users(api);
| ^~~
| app
../../src/remote-viewer.c:614:21: warning: implicit declaration of function
'ovirt_user_get_roles' [-Wimplicit-function-declaration]
614 | roles = ovirt_user_get_roles(user);
| ^~~~~~~~~~~~~~~~~~~~
../../src/remote-viewer.c:614:21: warning: nested extern declaration of
'ovirt_user_get_roles' [-Wnested-externs]
../../src/remote-viewer.c:614:19: warning: assignment to 'OvirtCollection *' {aka
'struct _OvirtCollection *'} from 'int' makes pointer from integer without
a cast [-Wint-conversion]
614 | roles = ovirt_user_get_roles(user);
| ^
../../src/remote-viewer.c:624:5: error: 'vms' undeclared (first use in this
function)
624 | vms = ovirt_api_get_vms(api);
| ^~~
../../src/remote-viewer.c:625:39: error: 'menu' undeclared (first use in this
function)
625 | ovirt_collection_fetch_async(vms, menu->priv->proxy,
| ^~~~
../../src/remote-viewer.c:633:10: error: 'vm' undeclared (first use in this
function); did you mean 'tm'?
633 | (vm = OVIRT_VM(ovirt_collection_lookup_resource(vms, vm_name))) == NULL)
{
| ^~
| tm
../../src/remote-viewer.c:657:44: error: 'display' undeclared (first use in this
function); did you mean 'GdkDisplay'?
657 | g_object_get(G_OBJECT(vm), "display", &display,
"guid", &guid, NULL);
| ^~~~~~~
| GdkDisplay
gmake[3]: *** [Makefile:973: remote_viewer-remote-viewer.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/src'>
gmake[2]: *** [Makefile:647: all] Error 2
gmake[2]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build/src'>
gmake[1]: *** [Makefile:482: all-recursive] Error 1
gmake[1]: Leaving directory
'<https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-30/ws/build'>
gmake: *** [Makefile:410: all] Error 2
Build step 'Execute shell' marked build as failure