Bug 1262983 - python: Cannot compile pip module if installed libguestfs != pip guestfs version
Summary: python: Cannot compile pip module if installed libguestfs != pip guestfs version
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-14 19:46 UTC by Richard W.M. Jones
Modified: 2015-09-29 13:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-29 13:24:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2015-09-14 19:46:39 UTC
Description of problem:

The python bindings assume that the version of libguestfs they
will be compiled against is precisely the same version of libguestfs.
This is a fair assumption given that we bundle the python bindings
with libguestfs.

However it breaks when using the pip install method
(https://github.com/libguestfs/libguestfs/commit/fcbfc4775fa2a44020974073594a745ca420d614)
where the version of libguestfs installed is not the
same as the version of the bindings -- in fact they could
be very different.

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

1.31.6

How reproducible:

100%

Steps to Reproduce:
1. On RHEL 7, check out libguestfs from git (ie. libguestfs will be
much newer than the RHEL 7 version)
2. Follow the instructions in the link above to build Python bindings.

Actual results:

Many compilation failures for functions, macros and structs that
don't exist.

Comment 1 Richard W.M. Jones 2015-09-15 13:55:21 UTC
Patches posted:
https://www.redhat.com/archives/libguestfs/2015-September/msg00063.html


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