Bug 1102447

Summary: libguestfs 1.27.13 does not build due to libxml library order
Product: [Community] Virtualization Tools Reporter: Joseph Wang <joequant>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, joequant, mbooth, ptoscano
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-11 13:53:43 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
patch to allow builds with gcc xml none

Description Joseph Wang 2014-05-29 01:20:01 UTC
Created attachment 900196 [details]
patch to allow builds with gcc xml

Description of problem:

virt-p2v in 1.27.13 fails to build with gcc 4.9 because the libxml is before the list of internal libraries


Version-Release number of selected component (if applicable):

1.27.13


How reproducible:

Try to build it with gcc 4.9


Steps to Reproduce:
1. build with gcc 4.9
2. watch it fail
3.

Actual results:


Expected results:


Additional info:

Attached is a patch that will fix the build issue

Comment 1 Pino Toscano 2014-05-29 07:44:32 UTC
Can you provide a full build log showing the build failure?

Also, instead of moving libxml at the end, can you please try whether moving libutils.la as first item works too?

Comment 2 Richard W.M. Jones 2014-05-29 07:51:56 UTC
What is the error without this patch?  We use gcc 4.9 and have
not seen this problem.

Comment 3 Richard W.M. Jones 2014-08-11 13:53:43 UTC
I pushed this patch which should fix this bug:

https://github.com/libguestfs/libguestfs/commit/bbae6136abe6432648be94decedc6c96cbe63328