Bug 1102447 - libguestfs 1.27.13 does not build due to libxml library order
Summary: libguestfs 1.27.13 does not build due to libxml library order
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 01:20 UTC by Joseph Wang
Modified: 2014-08-11 13:53 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-11 13:53:43 UTC
Embargoed:


Attachments (Terms of Use)
patch to allow builds with gcc xml (413 bytes, patch)
2014-05-29 01:20 UTC, Joseph Wang
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.