On Fri, Mar 7, 2014 at 3:00 AM, Roman Bogorodskiy <bogorodskiy@gmail.com> wrote:
  Jason Helfman wrote:

> On Thu, Mar 6, 2014 at 5:22 AM, Eric Blake <eblake@redhat.com> wrote:
>
> > On 03/06/2014 12:02 AM, Jason Helfman wrote:
> > > On Sun, Mar 2, 2014 at 7:26 AM, Daniel Veillard <veillard@redhat.com>
> > wrote:
> > >
> > >>  As planned I have tagged libvirt-1.2.2 in git and it seem the git tree
> > >> finally updated despite the horrible network I get in china ATM, the
> > >> tarballs may finally arrive at some time too at the usual place after
> > >> working around the local infrastructure flaws... :
> > >>   ftp://libvirt.org/libvirt/
> > >>
> > >>  I am also pushing a libvirt-python-1.2.2 update at:
> > >>   ftp://libvirt.org/libvirt/libvirt/
> > >>
> > >>
> > > I get this breakage on libvirt 1.2.2 for FreeBSD.
> > >
> >
> > > gmake[3]: *** No rule to make target `test_libvirt_lockd.aug', needed by
> > > `all-am'.  Stop.
> >
> > >
> > > Any ideas?
> >
> > Known bug:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1071777
> >
> > --
> > Eric Blake   eblake redhat com    +1-919-301-3266
> > Libvirt virtualization library http://libvirt.org
> >
> >
> This works for build, but fails on install phase.
>
> https://redports.org/buildarchive/20140306201300-37125/

Hi Jason,

I've updated Makefile.in patch. I've done it in a way that it's ready to
be just placed into files/ directory of the port. It works for me (both
with qemu driver disabled and enabled).

Patch is attached.

Roman Bogorodskiy

I have a similar patch, as this one was rejected, but have attached a similar one that works. I'll attach it. Although, had runtime issues.

https://redports.org/buildarchive/20140307165901-15447/

[helfman@its-jhelfman02 ~/workspace/ports/devel/libvirt]$ virsh
/usr/local/lib/libvirt.so.1002: version LIBVIRT_PRIVATE_1.2.1 required by /usr/local/lib/libvirt-lxc.so.1002 not found
[helfman@its-jhelfman02 ~/workspace/ports/devel/libvirt]$ ldd /usr/local/bin/virsh
/usr/local/bin/virsh:
    libvirt.so.1002 => /usr/local/lib/libvirt.so.1002 (0x28800000)
    libvirt-lxc.so.1002 => /usr/local/lib/libvirt-lxc.so.1002 (0x28214000)
    libvirt-qemu.so.1002 => /usr/local/lib/libvirt-qemu.so.1002 (0x28218000)
    libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x2821c000)
    libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0x28263000)
    libcurl.so.7 => /usr/local/lib/libcurl.so.7 (0x28287000)
    libssl.so.6 => /usr/lib/libssl.so.6 (0x282e3000)
    libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x2832e000)
    libheimntlm.so.10 => /usr/lib/libheimntlm.so.10 (0x28337000)
    libkrb5.so.10 => /usr/lib/libkrb5.so.10 (0x2833c000)
    libhx509.so.10 => /usr/lib/libhx509.so.10 (0x2839c000)
    libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x283d2000)
    libcrypto.so.6 => /lib/libcrypto.so.6 (0x28b13000)
    libasn1.so.10 => /usr/lib/libasn1.so.10 (0x28c76000)
    libroken.so.10 => /usr/lib/libroken.so.10 (0x283d4000)
    libcrypt.so.5 => /lib/libcrypt.so.5 (0x28ced000)
    libthr.so.3 => /lib/libthr.so.3 (0x28d12000)
    libutil.so.9 => /lib/libutil.so.9 (0x283e4000)
    libxml2.so.5 => /usr/local/lib/libxml2.so.5 (0x28d33000)
    libz.so.6 => /lib/libz.so.6 (0x28e61000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x28e75000)
    libm.so.5 => /lib/libm.so.5 (0x28e98000)
    libreadline.so.8 => /lib/libreadline.so.8 (0x28eb3000)
    libintl.so.9 => /usr/local/lib/libintl.so.9 (0x283f7000)
    libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28ee8000)
    libc.so.7 => /lib/libc.so.7 (0x2806d000)
    libncurses.so.8 => /lib/libncurses.so.8 (0x28fe0000)
[helfman@its-jhelfman02 ~/workspace/ports/devel/libvirt]$ ls -al /usr/local/lib/libvirt-lxc.so.1002
-rwxr-xr-x  1 root  wheel  9700 Mar  7 10:36 /usr/local/lib/libvirt-lxc.so.1002

-jgh

--
Jason Helfman          | FreeBSD Committer
jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve