On 27.09.2013 08:49, Jason Helfman wrote:
On Thu, Sep 26, 2013 at 12:24 AM, Michal Privoznik
<mprivozn(a)redhat.com
<mailto:mprivozn@redhat.com>> wrote:
On 26.09.2013 00 <tel:26.09.2013%2000>:37, Jason Helfman wrote:
> Libvirt no longer builds on FreeBSD 8.3. I had brought this up awhile
> ago, but didn't have the resources to get the requested information. A
> fellow committer was able to build, and send me an archive of the
> complete build failure for analysis.
>
> Here is a link to build archive for investigation.
>
http://people.freebsd.org/~jgh/files/libvirt_83amd64.tar.xz
D'oh! 403 - Forbidden
Michal
Fixed.
-jgh
So, I've downloaded the archive, unpacked it (had to change the path to
sed) and I see this error:
make[3]: Entering directory
`/home/zippy/work/tmp/a/libvirt-1.1.2/gnulib/lib'
CC allocator.lo
In file included from allocator.c:4:0:
./stdlib.h:76:8: error: redefinition of 'struct random_data'
struct random_data
^
In file included from ./stdlib.h:36:0,
from allocator.c:4:
/usr/include/stdlib.h:349:8: note: originally defined here
struct random_data
^
In file included from /usr/include/sys/types.h:220:0,
from ./sys/types.h:27,
from /usr/include/stdlib.h:320,
from ./stdlib.h:36,
from allocator.c:4:
There are a few more but of the same nature.
The problem is, gnulib's stdlib.h defines the struct random_data. And so
does the system's /usr/include/stdlib.h. Unfortunately, I'm not that
familiar with gnulib to fix the issue myself. Eric, any thoughts on
this? Is it possible that your recent gnulib update has fixed this?
Michal