add -Dgit_werror=disabled (see package virt-viewer) to solve error: ‘rest_proxy_auth_cancel’ is deprecated
Search Criteria
Package Details: virt-viewer-git 10.0.37.g40eec08-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/virt-viewer-git.git (read-only, click to copy) |
---|---|
Package Base: | virt-viewer-git |
Description: | A lightweight interface for interacting with the graphical display of virtualized guest OS |
Upstream URL: | https://virt-manager.org |
Licenses: | GPL |
Conflicts: | virt-viewer, virtviewer |
Provides: | virt-viewer, virtviewer |
Submitter: | pmattern |
Maintainer: | pmattern |
Last Packager: | pmattern |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-26 13:17 (UTC) |
Last Updated: | 2021-09-19 12:40 (UTC) |
Dependencies (11)
- bash-completion (bash-completion-gitAUR)
- gobject-introspection (gobject-introspection-gitAUR)
- gtk-vnc (gtk-vnc-gtk2AUR)
- libgovirt
- libvirt-glib
- spice-gtk (spice-gtk-gitAUR)
- vte3 (vte3-notificationAUR, vte3-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- intltool (make)
- meson (meson-gitAUR) (make)
- spice-protocol-gitAUR (make)
Required by (1)
- pve-spice-connect-git (requires virt-viewer)
Sources (1)
Latest Comments
c0d3z3r0 commented on 2023-10-03 12:38 (UTC)
C_Schmidpeter commented on 2023-02-27 09:30 (UTC)
Missing dependency: pod2man
Program pod2man found: NO meson.build:14:0: ERROR: Program 'pod2man' not found or not executable
Then build fails still with:
../virt-viewer/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 ../virt-viewer/src/remote-viewer.c:33: /usr/include/rest-1.0/rest/rest-proxy-auth.h:72:6: note: decla
Ashark commented on 2022-12-20 18:05 (UTC)
Still fails.
pmattern commented on 2022-03-06 14:07 (UTC)
There seem to be issues compiling virt-viewer against current meson releases. Will investigate and report back here.
EndlessEden commented on 2021-09-19 05:47 (UTC)
missing depend; libgovirt, bash-completion
Ashark commented on 2021-08-17 22:30 (UTC)
/home/user/.cache/yay/virt-viewer-git/PKGBUILD: line 25: ./autogen.sh: No such file or directory
Like with spice-protocol-git (a dependency of this package), I used non-git version code to be able to build this one.
build() {
# cd virt-viewer-${pkgver}
cd $_pkgname
arch-meson build \
-Dlibvirt=enabled \
-Dvnc=enabled \
-Dspice=enabled \
-Dovirt=enabled \
-Dvte=enabled \
-Dbash_completion=enabled
ninja -C build
}
check() {
# cd virt-viewer-${pkgver}
cd $_pkgname
ninja -C build test
}
package() {
# cd virt-viewer-${pkgver}
cd $_pkgname
DESTDIR="${pkgdir}" ninja -C build install
}
also need to add meson and bash-completion to makedepends.
Pinned Comments
pmattern commented on 2022-03-06 14:07 (UTC)
There seem to be issues compiling virt-viewer against current meson releases. Will investigate and report back here.