Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 09:40:21 +0200
From:      Roger Pau =?iso-8859-1?Q?Monn=E9?= <royger@FreeBSD.org>
To:        Marcin Cieslak <saper@saper.info>
Cc:        freebsd-xen@FreeBSD.org, xen-devel@lists.xenproject.org, freebsd-virt@freebsd.org
Subject:   Re: HEADS UP: Imported Xen 4.7 and blkback changes
Message-ID:  <20160609074021.uqtjio2vn7wo5h4m@mac>
In-Reply-To: <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>
References:  <20160603120921.y5l362zgrhf4fdcb@mac> <alpine.BSF.2.11.1606082204080.2130@z.fncre.vasb>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 08, 2016 at 10:18:09PM +0000, Marcin Cieslak wrote:
> On Fri, 3 Jun 2016, Roger Pau Monné wrote:
> 
> > Hello,
> > 
> > First of all, this message is only relevant to those that use FreeBSD as 
> > Dom0 (host), not as a DomU (guest), so don't panic.
> > 
> > I've imported the latest Xen version (4.7-rc4) into the ports tree, it's 
> > still not the final version, but it's quite close, so we better start 
> > testing it to make sure it works fine with FreeBSD.
> 
> Thank you Roger, this is excellent. Are xen-tools-devel 4.5 now?
> Looks confusing.
> 
> I have also tried building xen-tools (4.7) without python
> and qemu configure reported this.

Python is required, you cannot get rid of it.
 
> Also got this:
> 
> ===>   Registering installation for xen-tools-4.7.0
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenctrl.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/python2.7/site-packages/xen/lowlevel/xc.so - required shared library libxenguest.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenctrl.so.4.5 not found
> (xen-tools-4.7.0) /usr/ports/sysutils/xen-tools/work/stage//usr/local/lib/xen/bin/qemu-system-i386 - required shared library libxenguest.so.4.5 not found
> Installing xen-tools-4.7.0...
> 
> Adding Python manually and rebuilding seems to fix those issues.

AFAICT, this is caused by compiling the new xen-tools-4.7 port while still 
having the xen-tools-4.5 port installed. Due to the ports build environment 
the first path searched for libraries is /usr/local/lib instead of the one 
passed on the command line by the Xen build system.

> It seems to work, I only wish we've had ports from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192012 committed...

My plate is completely full right now, so I cannot really pick this up. 
However if you manage to get the ports committed I should be able to add 
them to the xen-tools package.

Roger.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160609074021.uqtjio2vn7wo5h4m>