Package Details: libvirt-git 10.2.0.rc2.r1.g32d836bc6f-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: https://libvirt.org/
Keywords: git library management virtualization
Licenses: GPL3, LGPL
Conflicts: libvirt
Provides: libvirt, libvirt-admin.so, libvirt-lxc.so, libvirt-qemu.so, libvirt.so
Submitter: xtfxme
Maintainer: sirspudd
Last Packager: sirspudd
Votes: 10
Popularity: 0.000000
First Submitted: 2009-12-06 07:37 (UTC)
Last Updated: 2024-03-29 21:10 (UTC)

Required by (78)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

FredBezies commented on 2020-01-07 12:25 (UTC) (edited on 2020-01-07 12:32 (UTC) by FredBezies)

Cannot be built:

autoreconf: Leaving directory `.'
./bootstrap: ln -fs ../.gnulib/build-aux/install-sh build-aux/install-sh
./bootstrap: ln -fs ../.gnulib/build-aux/depcomp build-aux/depcomp
./bootstrap: ln -fs ../.gnulib/build-aux/config.guess build-aux/config.guess
./bootstrap: ln -fs ../.gnulib/build-aux/config.sub build-aux/config.sub
./bootstrap: ln -fs .gnulib/doc/INSTALL INSTALL
./bootstrap: done.  Now you can run 'mkdir build && cd build && ../configure'.
configure: error: Build directory must be different from source directory

You need to add:

mkdir build && cd build

before:

[ -f Makefile ] || ../configure --prefix=/usr --libexec=/usr/lib/"${pkgname/-git/}" --sbindir=/usr/bin \

Also, rs2html5 from python-docutils is needed:

checking for rst2html5... no
checking for rst2html5.py... no
checking for rst2html5-3... no
checking for rst2html... no
checking for rst2html.py... no
checking for rst2html-3... no
configure: error: "rst2html5/rst2html is required to build libvirt"

eschwartz commented on 2019-09-19 15:52 (UTC)

This is the Arch Linux distribution. There is no such thing as a "wireshark development package", the "wireshark-cli" base package provides the headers.

config.h is not an official wireshark header. The wireshark developers do not install any such file, however, software developed by Debian or Fedora developers may rely on broken packaging by other distros, which erroneously ship a false header that must not be used.

See https://bugs.archlinux.org/task/63828

sniper7kills commented on 2019-07-21 03:47 (UTC)

For those interested and running into the <wireshark/config.h> issue.

I had to manually install the libwireshark-dev package from debian. (Extract the .deb file, then extract the data.tar.xz file; and then copy the usr contents accordingly.)

It looks like the wireshark-cli contains most of the source files; but not all of them. (so this may be an issue that needs to be brought up in the wireshark-cli package?) If you don't have wireshark-cli installed you should be able to use debtap to install the libwireshark-dev package from debian.

ArthurBorsboom commented on 2019-07-20 13:49 (UTC)

According to other bug reports, it seems that the wireshark development package has become a dependency.

Sources https://github.com/panda-re/panda/issues/299 https://github.com/demirten/twamp-dissector/issues/1 https://aur.archlinux.org/packages/libvirt-apparmor/

I cannot find a wireshark development package in both the Arch official repository and the AUR.

Does anybody have a suggestion for this package?

sniper7kills commented on 2019-07-19 20:55 (UTC)

Running into the following build error.

wireshark/src/packet-libvirt.c:21:10: fatal error: wireshark/config.h: No such file or directory
   21 | #include <wireshark/config.h>

CyberShadow commented on 2018-05-15 05:07 (UTC)

Fails to build:

==> Starting build()...
Updating submodules...
Submodule 'gnulib' (<https://git.savannah.gnu.org/git/gnulib.git/>) registered for path '.gnulib'
Submodule 'keycodemapdb' (<https://gitlab.com/keycodemap/keycodemapdb.git>) registered for path 'src/keycodemapdb'
Cloning into '/build/libvirt-git/src/libvirt/.gnulib'...
Cloning into '/build/libvirt-git/src/libvirt/src/keycodemapdb'...
Submodule path '.gnulib': checked out 'd6397dde2e127e246e3eeb5254a21f42cac783c8'
Submodule path 'src/keycodemapdb': checked out '16e5b0787687d8904dad2c026107409eb9bfcb95'
Running bootstrap...
./bootstrap: line 221: rpcgen: command not found
./bootstrap: Error: 'rpcgen' not found

rpcgen doesn't seem to be in core/glibc any more, but apparently it's provided by extra/rpcsvc-proto. Perhaps that should be added as a dependency?

ArthurBorsboom commented on 2018-04-11 19:58 (UTC)

Good one. Thanks for providing the easy fix!

Fixed.

CyberShadow commented on 2018-04-11 19:19 (UTC)

pacman now has a tmpfiles hook, so I think the systemd-tmpfiles invocation in the .install script is no longer necessary.

It was already removed in the community libvirt package back in 2016: https://git.archlinux.org/svntogit/community.git/diff/libvirt/trunk/libvirt.install?id=9a07ef3771d570995415fa1737548d84cc17cecb

z3ntu commented on 2018-03-25 14:04 (UTC)

According to the changelog (https://libvirt.org/news.html), python2 can be replaced with python(3).

ArthurBorsboom commented on 2018-03-06 18:45 (UTC)

The package has been updated, including the two fixes for the daemon (thanks @calzonealamuerte).

@okle100: I also had set the --with-numad flag, however this resulted in an error message while preparing (configure) the package:

"You must install numad package to manage CPU and memory placement dynamically"

My guess is that the NUMA option only works on NUMA enabled systems, which is just a limited amount of systems (Xeon, Opteron, etc). On the other hand, I believe this flag will be set automatically, if NUMA is detected. Please let me know if I am wrong, or if you have suggestions to make it work for everybody.