Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2022-10-08 01:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and      /work/SRC/openSUSE:Factory/.virt-viewer.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-viewer"

Sat Oct  8 01:23:17 2022 rev:73 rq:1008314 version:11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2022-02-28 
19:44:31.981962928 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new.2275/virt-viewer.changes        
2022-10-08 01:23:21.237972177 +0200
@@ -1,0 +2,6 @@
+Wed Oct  5 16:49:16 MDT 2022 - carn...@suse.com
+
+- Fix build failures in Factory
+  gcc-warnings-as-errors.patch
+
+-------------------------------------------------------------------

New:
----
  gcc-warnings-as-errors.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virt-viewer.spec ++++++
--- /var/tmp/diff_new_pack.iFZN6H/_old  2022-10-08 01:23:21.785973434 +0200
+++ /var/tmp/diff_new_pack.iFZN6H/_new  2022-10-08 01:23:21.789973443 +0200
@@ -36,6 +36,7 @@
 Patch51:        virtview-desktop.patch
 Patch52:        virtview-dont-show-Domain-0.patch
 Patch53:        virtview-fix-build-with-meson-0.61.patch
+Patch100:       gcc-warnings-as-errors.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  bash-completion-devel
@@ -55,6 +56,7 @@
 BuildRequires:  pkgconfig(gtk-vnc-2.0)
 BuildRequires:  pkgconfig(libvirt) >= 1.2.8
 BuildRequires:  pkgconfig(libvirt-glib-1.0) >= 1.2.8
+BuildRequires:  pkgconfig(rest-0.7)
 # Our Runtime requirements
 Requires:       netcat
 

++++++ gcc-warnings-as-errors.patch ++++++
../src/remote-viewer.c: In function ???authenticate_cb???:
../src/remote-viewer.c:350:9: error: ???rest_proxy_auth_cancel??? is deprecated 
[-Werror=deprecated-declarations]
  350 |         rest_proxy_auth_cancel(rstauth);
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/rest-1.0/rest/rest-proxy.h:28,
                 from /usr/include/govirt-1.0/govirt/ovirt-proxy.h:25,
                 from /usr/include/govirt-1.0/govirt/ovirt-options.h:22,
                 from /usr/include/govirt-1.0/govirt/govirt.h:34,
                 from ../src/remote-viewer.c:33:
/usr/include/rest-1.0/rest/rest-proxy-auth.h:72:6: note: declared here
   72 | void rest_proxy_auth_cancel (RestProxyAuth *auth);
      |      ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

--- virt-viewer-11.0/src/remote-viewer.c.orig   2022-10-05 16:44:04.225890908 
-0600
+++ virt-viewer-11.0/src/remote-viewer.c        2022-10-05 16:46:09.009896475 
-0600
@@ -311,6 +311,7 @@ parse_ovirt_uri(const gchar *uri_str, ch
     return TRUE;
 }
 
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 static gboolean
 authenticate_cb(RestProxy *proxy, RestProxyAuth *rstauth,
                 G_GNUC_UNUSED gboolean retrying, gpointer user_data)

Reply via email to