Launchpad has imported 6 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=750889.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-11-02T17:24:31+00:00 Neil wrote: Description of problem: The python interface code is version 2 specific - many of the Api calls made are not available in the Python 3 libraries. Version-Release number of selected component (if applicable): How reproducible: Compile the code under the Python3 development environment. Actual results: ../../../python/guestfs-py.h: In function 'put_handle': ../../../python/guestfs-py.h:58:5: warning: implicit declaration of function 'PyCObject_FromVoidPtrAndDesc' [-Wimplicit-function-declaration] ../../../python/guestfs-py.h:57:3: warning: return makes pointer from integer without a cast [enabled by default] ../../../python/guestfs-py.c: In function 'get_string_list': ../../../python/guestfs-py.c:56:5: warning: implicit declaration of function 'PyString_AsString' [-Wimplicit-function-declaration] ../../../python/guestfs-py.c:56:10: warning: assignment makes pointer from integer without a cast [enabled by default] Function `PyString_AsString' implicitly converted to pointer at ../../../python/guestfs-py.c:56 ../../../python/guestfs-py.c: In function 'put_string_list': ../../../python/guestfs-py.c:73:5: warning: implicit declaration of function 'PyString_FromString' [-Wimplicit-function-declaration] ../../../python/guestfs-py.c:73:5: warning: passing argument 3 of 'PyList_SetItem' makes pointer from integer without a cast [enabled by default] /usr/include/python3.2mu/listobject.h:55:17: note: expected 'struct PyObject *' but argument is of type 'int' ../../../python/guestfs-py.c: In function 'put_table': ../../../python/guestfs-py.c:90:5: warning: passing argument 3 of 'PyTuple_SetItem' makes pointer from integer without a cast [enabled by default] /usr/include/python3.2mu/tupleobject.h:46:17: note: expected 'struct PyObject *' but argument is of type 'int' ../../../python/guestfs-py.c:91:5: warning: passing argument 3 of 'PyTuple_SetItem' makes pointer from integer without a cast [enabled by default] /usr/include/python3.2mu/tupleobject.h:46:17: note: expected 'struct PyObject *' but argument is of type 'int' ../../../python/guestfs-py.c: In function 'put_lvm_pv': ../../../python/guestfs-py.c:128:25: warning: passing argument 3 of 'PyDict_SetItemString' makes pointer from integer without a cast [enabled by default] /usr/include/python3.2mu/dictobject.h:156:17: note: expected 'struct PyObject *' but argument is of type 'int' etc, etc. Expected results: Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/1 ------------------------------------------------------------------------ On 2011-11-02T17:24:58+00:00 Neil wrote: See build log: https://launchpadlibrarian.net/84263658/buildlog_ubuntu-precise- amd64.libguestfs_1.14.0-1_FAILEDTOBUILD.txt.gz Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/2 ------------------------------------------------------------------------ On 2011-11-02T17:31:23+00:00 Richard wrote: These refs look useful ... http://docs.python.org/release/3.0.1/whatsnew/3.0.html http://python3porting.com/cextensions.html Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/3 ------------------------------------------------------------------------ On 2011-11-02T19:46:50+00:00 Richard wrote: These patches are not very heavily tested, but they fix Python 3 support for me at least ... http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=646142f5136da9cfe2b908703a822c53350f70e9 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=25454b83082a4cfed4f1664d2f9cdfcb222ba7c2 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=e2249b7ce1dd0a2f8f110e0e47aca397185a6373 http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=2116f79cbcd4605b4997931285f14dde1f72a992 Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/4 ------------------------------------------------------------------------ On 2011-11-03T09:50:28+00:00 Richard wrote: And this one too ... http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=31e5539a14f78d8815d0d930e91023a65b5395e7 Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/5 ------------------------------------------------------------------------ On 2012-05-02T15:49:04+00:00 Richard wrote: The fix has been included upstream for a while, closing. Reply at: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/comments/11 ** Changed in: libguestfs (Fedora) Status: Unknown => Won't Fix ** Changed in: libguestfs (Fedora) Importance: Unknown => Undecided -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/880386 Title: python bindings FTBFS with python 3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/880386/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
