[libvirt] Fwd: Re: ports/devel/libvirt Makefile distinfo ports/devel/libvirt/files patch-docs__apibuild.py patch-libvirtd.h

Matthias Bolte matthias.bolte at googlemail.com
Thu Jul 7 14:54:13 UTC 2011


2011/7/7 Jason Helfman <jhelfman at e-e.com>:
> Hey Guys,
>
> Any ideas on this one? I have no way to test this, at the moment.
>
> Thanks,
> Jason
>
> --
> Jason Helfman
> System Administrator
> experts-exchange.com
> http://www.experts-exchange.com/M_4830110.html
> E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
>
>
> ---------- Weitergeleitete Nachricht ----------
> From: Andrzej Tobola <ato at iem.pw.edu.pl>
> To: Beech Rintoul <beech at FreeBSD.org>
> Date: Thu, 7 Jul 2011 01:33:40 +0200
> Subject: Re: ports/devel/libvirt Makefile distinfo ports/devel/libvirt/files
> patch-docs__apibuild.py patch-libvirtd.h
> On Wed, Jul 06, 2011 at 10:34:54PM +0000, Beech Rintoul wrote:
>> beech       2011-07-06 22:34:54 UTC
>>
>>   FreeBSD ports repository
>>
>>   Modified files:
>>     devel/libvirt        Makefile distinfo
>>   Added files:
>>     devel/libvirt/files  patch-libvirtd.h
>>   Removed files:
>>     devel/libvirt/files  patch-docs__apibuild.py
>>   Log:
>>   - Update to 0.9.3
>>
>>   PR:             ports/158688
>>   Submitted by:   Jason Helfman <jhelfman at experts-exchange.com>
>> (maintainer)
>>
>>   Revision  Changes    Path
>>   1.6       +3 -2      ports/devel/libvirt/Makefile
>>   1.3       +2 -2      ports/devel/libvirt/distinfo
>>   1.2       +0 -8      ports/devel/libvirt/files/patch-docs__apibuild.py
>> (dead)
>>   1.1       +32 -0     ports/devel/libvirt/files/patch-libvirtd.h (new)
>
> Can't build on current-amd64:
>
> The following actions were NOT completed:
>  make -C /usr/ports/devel/libvirt > /log/port/libvirt-err
>
> 13:57,53 real 7:17,96 user 7:33,54 system 106%
> (1)
> volt% err /log/port/libvirt-err
> In file included from ../src/datatypes.h:27,
>                 from remote.c:35:
> ../src/driver.h:144: error: expected declaration specifiers or '...' before
> 'virTypedParameterPtr'
> volt% tail -90 /log/port/libvirt-err
> remote_dispatch.h:3518: warning: implicit declaration of function
> 'virDomainScreenshot'

I looks to me as the system has an older version of the libvirt
headers in /usr/local/include. Due to the way FreeBSD keeps normally
installed things in /usr/local (at least on my test FreeBSD system)
and a problem with the way gnutext.m4 does things GCC ends up pickung
up the old libvirt headers from /usr/local/include instead of the new
ones in the source tree.

I tried to fix this here, but didn't finish this yet:

https://www.redhat.com/archives/libvir-list/2011-May/msg01926.html

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list