Package Details: libvirt-git pkgver=1.3.3.178.g727a3c5-1

Git Clone URL: https://aur.archlinux.org/libvirt-git.git (read-only)
Package Base: libvirt-git
Description: API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
Upstream URL: http://libvirt.org/
Keywords: library management virtualization
Licenses: LGPL
Conflicts: libvirt
Provides: libvirt
Submitter: xtfxme
Maintainer: ArthurBorsboom
Last Packager: ArthurBorsboom
Votes: 8
Popularity: 0.000285
First Submitted: 2009-12-06 07:37
Last Updated: 2016-04-17 10:13

Dependencies (48)

Required by (29)

Sources (5)

Latest Comments

tritron commented on 2016-05-22 15:02

I just compiled latest libvirtd and is crashing
[498]: segfault at 4 ip 00007fce99fc8bbb sp 00007fce92206b30 error 4 in libvirt.so.0.1003.5[7fce99e99000+371000]
I wonder if anyone knows why

ArthurBorsboom commented on 2016-04-17 10:14

@zman0900:

I have 95% aligned of the libvirt-git package with the libvirt package.
Can you test if it works for you?

ArthurBorsboom commented on 2016-01-18 20:20

I don't mind to follow the arch package; in fact I think it is a good idea.

The only thing I need is that it keeps working on my Xen server.
One of the requirements is the removal of this option "--without-xen", which is in the Arch package.

Besides that there are some small differences, due to the fact that this is a git package. So, I guess we can match 95% of the Arch package.

If I have a bit of time, I will give it a try. If I can't get it to work, worst case I revert back to the current package. Best case, we have a package almost similar to the Arch package with Xen support.

zman0900 commented on 2016-01-18 16:35

My reasoning for matching the main arch package was so this package can work as a drop in replacement for it - so someone can easily switch between libvirt and libvirt-git and have the same features be available. Besides, the package as it is right now doesn't actually have any of the dependencies or config flags specified for xen support either, so the xen support being built is just a side effect of it being installed on your build system. If you tried to install the package you built on another system, it wouldn't work properly since some dependencies wouldn't get installed.

Would you consider making this package like the main arch package and adding a second similar package (libvirt-xen-git?) that is just a copy with the extra stuff enabled for xen?

ArthurBorsboom commented on 2016-01-17 09:49

The main reason why I don't like the libvirt package is that it builds without Xen support, since I need that.

I could try to match the libvirt package as close a possible without disabling the Xen support, but it takes a bit of effort I guess. (lazy mode...) ;-)

zman0900 commented on 2016-01-16 22:13

Ok, I got a build working successfully in clean chroot by modifying the package to be more like the main Arch package. Feel free to copy it from here: https://github.com/zman0900/aur-libvirt-git

This is the command I was using to build:
extra-x86_64-build -r /tmp/chroot -- -I /path/to/xhtml-docs-1.1-4-any.pkg.tar.xz

ArthurBorsboom commented on 2016-01-16 22:04

It works on my system, however I am all open to suggestions and improvements. :)

zman0900 commented on 2016-01-16 18:44

Hmm... Looks like the problem is because some of the code uses python 2 specific syntax but this package depends on python 3. Why is that? The main arch package uses python 2 and has a prepare() function that ensures the python2 binary is called.

zman0900 commented on 2016-01-16 18:14

This package fails to build in a clean chroot with extra-x86_64-build, so there are probably some missing dependencies.

Full output: http://pastebin.com/s6qUzyBM
I added -j1 to make in the PKGBUILD to get less confusing error output.

Relevant error:

Making all in src
make[2]: Entering directory '/build/libvirt-git/src/libvirt/src'
/usr/bin/mkdir -p util/
GEN util/virkeymaps.h
File "./util/virkeycode-mapgen.py", line 50
'''
^
SyntaxError: Missing parentheses in call to 'print'
Makefile:10339: recipe for target 'util/virkeymaps.h' failed
make[2]: *** [util/virkeymaps.h] Error 1
make[2]: Leaving directory '/build/libvirt-git/src/libvirt/src'
Makefile:2002: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/libvirt-git/src/libvirt'
Makefile:1897: recipe for target 'all' failed
make: *** [all] Error 2

ArthurBorsboom commented on 2016-01-03 19:24

Okay, got it.

I have added chown and chmod statements (copied from the libvirt package from the arch package repository). I have also removed any installation instructions belonging to initd.

Would you mind to test and report back?

All comments