[Pkg-libvirt-maintainers] [libvirt] [PATCH/RFC] Add missing delta from Ubuntu to apparmor profiles
intrigeri
intrigeri at debian.org
Sun Oct 19 15:07:37 UTC 2014
Hi Stefan,
Stefan Bader wrote (19 Oct 2014 11:07:40 GMT) :
> Yeah, I actually did but it felt a bit hackish but then I am told anything looks
> a bit hackish when it involves autoconf. These are again against upstream
> libvirt mostly because the last touch timestamps always clash otherwise.
Cool, I've tested this. I've imported these two patches in Debian's
1.2.9-3 quilt series, made the build system use dh-autoreconf (the
build system in the tarball wants aclocal 1.13, while Debian sid has
1.14), and added a build-dep on libapparmor-dev to get the needed
pkg-config file.
Attempting to build the resulting source package in a clean sid chroot
fails here:
Making all in examples/apparmor
make[3]: Entering directory '/tmp/buildd/libvirt-1.2.9/debian/build/examples/apparmor'
make[3]: Circular ../../config.h <- ../../config.h dependency dropped.
./profile-preprocess ../../../../examples/apparmor/libvirt-qemu.in >libvirt-qemu
./profile-preprocess ../../../../examples/apparmor/libvirt-lxc.in >libvirt-lxc
./profile-preprocess ../../../../examples/apparmor/usr.lib.libvirt.virt-aa-helper.in >usr.lib.libvirt.virt-aa-helper
./profile-preprocess ../../../../examples/apparmor/usr.sbin.libvirtd.in >usr.sbin.libvirtd
make[3]: *** No rule to make target 'local-usr.sbin.libvirtd', needed by 'all-am'. Stop.
make[3]: *** Waiting for unfinished jobs....
/bin/bash: ./profile-preprocess: No such file or directory
/bin/bash: ./profile-preprocess: No such file or directory
Makefile:2068: recipe for target 'libvirt-qemu' failed
make[3]: *** [libvirt-qemu] Error 127
Makefile:2068: recipe for target 'libvirt-lxc' failed
make[3]: *** [libvirt-lxc] Error 127
/bin/bash: ./profile-preprocess: No such file or directory
/bin/bash: ./profile-preprocess: No such file or directory
Makefile:2068: recipe for target 'usr.lib.libvirt.virt-aa-helper' failed
make[3]: *** [usr.lib.libvirt.virt-aa-helper] Error 127
Makefile:2068: recipe for target 'usr.sbin.libvirtd' failed
make[3]: *** [usr.sbin.libvirtd] Error 127
make[3]: Leaving directory '/tmp/buildd/libvirt-1.2.9/debian/build/examples/apparmor'
Makefile:1979: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/buildd/libvirt-1.2.9/debian/build'
Makefile:1877: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/buildd/libvirt-1.2.9/debian/build'
dh_auto_build: make -j5 returned exit code 2
debian/rules:126: recipe for target 'build' failed
make: *** [build] Error 2
Any hint?
Cheers,
--
intrigeri
More information about the Pkg-libvirt-maintainers
mailing list