|
|
|
|
|
|
|
|
|
|
xen-bugs
[Xen-bugs] [Bug 346] New: pygrub breaks build with python2.2
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=346
Summary: pygrub breaks build with python2.2
Product: Xen
Version: unstable
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: mulix@xxxxxxxxx
CC: hohnbaum@xxxxxxxxxx
pygrub's setup.py relies on distutils.UnixCCompiler.has_function(),
which does not exist with python2.2, causing the following build
error:
make[2]: Entering directory `/home/muli/xen/x86.hg/tools/pygrub'
CFLAGS=" -m32 -march=i686" python setup.py build
Traceback (most recent call last):
File "setup.py", line 15, in ?
if cc.has_function("ext2fs_open2"):
AttributeError: UnixCCompiler instance has no attribute 'has_function'
The following patch gets it to build, but is pretty ugly. A proper fix
would be to do the check for ext2fs_open2() in a way that is backward
compatible with python2.2.
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-bugs] [Bug 346] New: pygrub breaks build with python2.2,
bugzilla-daemon <=
|
|
|
|
|