<div dir="ltr"><div><div>I will try it out. Please open a new account here:<br></div><a href="http://redports.org">http://redports.org</a>, and that should be sufficient enough. It will build on new commits, and I can help with the port.<br>
<br></div><div>I can also help justify the account, if that is needed.<br></div><div>Thanks!<br></div>-jgh<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 29, 2013 at 2:59 PM, Doug Goldstein <span dir="ltr"><<a href="mailto:cardoe@gentoo.org" target="_blank">cardoe@gentoo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Dec 29, 2013 at 12:42 PM, Jason Helfman <<a href="mailto:jgh@freebsd.org">jgh@freebsd.org</a>> wrote:<br>

> Any ideas?<br>
<br>
I just posted a patch with the subject of "[PATCH python] define<br>
__GNUC_PREREQ macro before using it" [1]. Give it a shot and let me<br>
know if that fixes the issue.<br>
<br>
Additionally, if you can potentially provide a FreeBSD machine that we<br>
can use as a BuildBot [2] for libvirt-python, that would likely<br>
prevent problems in the future. You can see the BB here [3].<br>
<br>
[1] <a href="https://www.redhat.com/archives/libvir-list/2013-December/msg01317.html" target="_blank">https://www.redhat.com/archives/libvir-list/2013-December/msg01317.html</a><br>
[2] <a href="http://buildbot.net" target="_blank">http://buildbot.net</a><br>
[3] <a href="http://bb.cardoe.com/libvirt-python/" target="_blank">http://bb.cardoe.com/libvirt-python/</a><br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Clang: FreeBSD clang version 3.1<br>
><br>
> creating build/temp.freebsd-9.1-RELEASE-p4-i386-2.7<br>
> creating build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/build<br>
> clang -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing<br>
> -fPIC -I. -I/usr/local/include/python2.7 -c libvirt-override.c -o<br>
> build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/libvirt-override.o<br>
> -I/usr/local/include<br>
> In file included from libvirt-override.c:26:<br>
> ./libvirt-utils.h:87:22: error: token is not a valid binary operator in a<br>
> preprocessor subexpression<br>
> #   if __GNUC_PREREQ (3, 3)<br>
>        ~~~~~~~~~~~~~ ^<br>
> ./libvirt-utils.h:99:22: error: token is not a valid binary operator in a<br>
> preprocessor subexpression<br>
> #   if __GNUC_PREREQ (3, 4)<br>
>        ~~~~~~~~~~~~~ ^<br>
> 2 errors generated.<br>
> error: command 'clang' failed with exit status 1<br>
> *** [do-build] Error code 1<br>
><br>
> Stop in /usr/home/jgh/workspace/ports/devel/py-libvirt.<br>
><br>
><br>
> Gcc: gcc (GCC) 4.2.1 20070831<br>
> gcc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing<br>
> -fPIC -I. -I/usr/local/include/python2.7 -c libvirt-override.c -o<br>
> build/temp.freebsd-9.1-RELEASE-p4-i386-2.7/libvirt-override.o<br>
> -I/usr/local/include<br>
> In file included from libvirt-override.c:26:<br>
> libvirt-utils.h:87:22: error: missing binary operator before token "("<br>
> libvirt-utils.h:99:22: error: missing binary operator before token "("<br>
> error: command 'gcc' failed with exit status 1<br>
> *** [do-build] Error code 1<br>
><br>
><br>
> Thanks!<br>
> -jgh<br>
> --<br>
> Jason Helfman          | FreeBSD Committer<br>
> jgh@FreeBSD.org     | <a href="http://people.freebsd.org/~jgh" target="_blank">http://people.freebsd.org/~jgh</a>  | The Power to Serve<br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> libvir-list mailing list<br>
> <a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br>
<br>
--<br>
Doug Goldstein<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jason Helfman          | FreeBSD Committer<br>jgh@FreeBSD.org     | <a href="http://people.freebsd.org/%7Ejgh" target="_blank">http://people.freebsd.org/~jgh</a>  | The Power to Serve<br>
</div>
</div>