Bug 1135685

Summary: Multiple Libvirt Compilation Errors
Product: [Community] Virtualization Tools Reporter: jean-christophe manciot <actionmystique>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, pkrempa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-02 09:56:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Compilation Errors none

Description jean-christophe manciot 2014-08-30 10:38:35 UTC
Created attachment 932891 [details]
Compilation Errors

Libvirt 1.2.7 Sources

Description of problem:
----------------------
./configure --with-apparmor --with-apparmor-mount --with-secdriver-apparmor --with-apparmor-profiles

1. Blocking <uuid/uuid.h> Error
-------------------------------
make check
...
CC       libxl/libvirt_driver_libxl_impl_la-libxl_conf.lo
In file included from /usr/include/libxl.h:286:0,
                 from libxl/libxl_conf.c:30:
/usr/include/libxl_uuid.h:27:23: fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>
                       ^
compilation terminated.
make[3]: *** [libxl/libvirt_driver_libxl_impl_la-libxl_conf.lo] Error 1

===> installed <uuid-dev> package which solved this error.

2. Other Non-Blocking Compilation Errors (Docs)
-----------------------------------------------
make
...
make[5]: Entering directory `/home/actionmystique/Program-Files/Ubuntu/Libvirt/libvirt-1.2.7/docs'
Generating 404.html.tmp
I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
404.html.in:2: warning: failed to load external entity "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

If I try to access this URL manually inside a browser, it is successful but after a significant time: several seconds (~10 s). It seems that "make" is not that patient!

cf. attached file for the whole list

Comment 1 Peter Krempa 2014-09-02 09:56:28 UTC
You need to install the DTD files locally. Ubuntu should provide them in "w3c-dtd-xhtml" package. On fedora the package is called "xhtml1-dtds".

Closing as NOTABUG. Please reopen this bug if installing DTDs for XHTML doesn't help.

Comment 2 jean-christophe manciot 2014-09-03 05:40:47 UTC
Libcurl4-gnutls-dev did the trick instead.