Package Details: libvirt-git 7.0.0.r36.gb5f15b9db1-1

Git Clone URL: https://aur.archlinux.org/libvirt-git.git (read-only, click to copy)
Package Base: libvirt-git
Description: API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
Upstream URL: http://libvirt.org/
Keywords: git library management virtualization
Licenses: GPL3, LGPL
Conflicts: libvirt
Provides: libvirt
Submitter: xtfxme
Maintainer: sirspudd
Last Packager: sirspudd
Votes: 11
Popularity: 0.56
First Submitted: 2009-12-06 07:37
Last Updated: 2021-01-19 02:11

Dependencies (38)

Required by (64)

Sources (4)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

rageltman commented on 2021-01-15 01:14

Appears to fail pretty badly building in a chroot (same chroot base builds ~1k other packages fine):

[2021-01-14T21:19:56.240Z] ==> Starting build()...
[2021-01-14T21:19:56.240Z] The Meson build system
[2021-01-14T21:19:56.240Z] Version: 0.56.2
[2021-01-14T21:19:56.240Z] Source dir: /build/libvirt-git/src/libvirt
[2021-01-14T21:19:56.240Z] Build dir: /build/libvirt-git/src/libvirt/build
[2021-01-14T21:19:56.240Z] Build type: native build
[2021-01-14T21:19:56.240Z] Project name: libvirt
[2021-01-14T21:19:56.240Z] Project version: 7.0.0
[2021-01-14T21:19:56.240Z] Using 'CFLAGS' from environment with value: '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
[2021-01-14T21:19:56.240Z] Using 'LDFLAGS' from environment with value: '-lX11'
[2021-01-14T21:19:56.240Z] Using 'CPPFLAGS' from environment with value: '-D_FORTIFY_SOURCE=2'
[2021-01-14T21:19:56.240Z] 
[2021-01-14T21:19:56.240Z] ../meson.build:1:0: ERROR: Compiler cc can not compile programs.
[2021-01-14T21:19:56.240Z] 
[2021-01-14T21:19:56.240Z] A full log can be found at /build/libvirt-git/src/libvirt/build/meson-logs/meson-log.txt
[2021-01-14T21:19:56.240Z] ==> ERROR: A failure occurred in build().
[2021-01-14T21:19:56.240Z]     Aborting...
script returned exit code 255

sirspudd commented on 2020-11-06 18:55

@honsunrise: Good question; that seems like an oversight (I just adopted this recipe)

Corrected

honsunrise commented on 2020-11-06 18:48

Why does this package need to depend on libvirt?

sirspudd commented on 2020-10-30 07:01

@nullbyte4532: Thank you, incorporated your fix to avoid the /usr/sbin symlink being replace in situ

nullbyte4532 commented on 2020-10-07 08:26

I just got an error saying that /usr/sbin already exists in filesystem. In my system (i have manjaro installed, not vanilla arch) /usr/sbin is a symlink to /usr/bin This seemed to help:

@@ -132,7 +132,7 @@ build() {
   #sed -i 's|libsystemd-daemon|libsystemd|g' configure
   mkdir build && cd build

-  meson --prefix=/usr --libexec=/usr/lib/$_pkgname --sysconfdir=/etc 
+  meson --prefix=/usr --libexec=/usr/lib/$_pkgname --sysconfdir=/etc --sbindir=/usr/bin
   ninja
 }

afzalarsalan commented on 2020-09-16 03:39

@hakayova Your issue revolves around the build process of libvirt detecting that you have Wireshark on your system and trying to build in a specific Wireshark library which doesn't get packaged on Arch even though it gets packaged on Fedora. There used to be a work around on the old build system but I'm not quite sure what equivalent of "--without-wireshark-dissector" is for meson. For now, the easiest workaround is to uninstall wireshark while building this package or to build this package in a clean chroot.

hakayova commented on 2020-09-07 16:04

@FredBezies: I am still getting the same error. Please see the screenshot at https://pasteboard.co/JpZZU7f.png Perhaps I should uninstall and reinstall...

mskrip commented on 2020-09-07 14:40

@FredBezies Issue seems fixed with latest version. Thank you.

FredBezies commented on 2020-09-07 14:25

@mskrip: I think I fixed the lib64 bug. Please try again.

mskrip commented on 2020-09-07 13:43

I'm not sure why, but installing this package changes my /usr/lib64 from symlink to /usr/lib to an actual folder. This results in an issue when, after rebuilding the kernel, I cannot even boot the system. I had to manually change the folder to the symlink, then rebuild the kernel with mkinitcpio -P to fix the booting the issue.

Also after uninstalling the package, the /usr/lib64 gets removed altogether.