[libvirt] [PATCH] build: restore mingw build
Eric Blake
eblake at redhat.com
Thu Jan 13 02:41:41 UTC 2011
On 01/12/2011 05:50 PM, Eric Blake wrote:
> On 01/12/2011 05:44 PM, Eric Blake wrote:
>> * bootstrap.conf (gnulib_modules): Add chmod.
>> ---
>>
>> Pushing under the build-breaker rule; ./autobuild.sh failed to
>> cross-compile to mingw due to commit d596c6d requiring chown().
>> The gnulib function is just an always-failing stub on mingw,
>> but at least it lets things link again.
>
> Aargh - emailed the wrong version of the patch.
Also attributed the wrong commit. The link failure was:
CC libvirt_driver_security_la-security_manager.lo
cc1: warnings being treated as errors
security/security_dac.c: In function 'virSecurityDACSetOwnership':
security/security_dac.c:101:5: error: implicit declaration of function
'chown' [-Wimplicit-function-declaration]
which implies commit d6623003c6 was to blame (and fortunately, that this
is not a released build regression, since 0.8.7 did not contain that
commit.)
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110112/06796af6/attachment-0001.sig>
More information about the libvir-list
mailing list