Your message dated Sun, 06 Nov 2011 18:38:19 +0100
with message-id <2flobwpywvo....@diskless.uio.no>
and subject line Do a versioned close of this bug to keep libguestfs in testing
has caused the Debian Bug report #646360,
regarding guestfs: python bindings don't appear to work with python 3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
646360: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646360
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: guestfs
Version: 1.12.8-1
Severity: serious
Tags: sid
Justification: fails to build from source

While building on Ubuntu, I'm getting the following from the build system.

""Function `PyString_AsString' implicitly converted to pointer at
.../../../python/guestfs-py.c:56
Function `PyInt_FromLong' implicitly converted to pointer at ../../../python
/guestfs-py.c:616
Function `PyInt_FromLong' implicitly converted to pointer at ../../../python
/guestfs-py-byhand.c:171
Function `PyString_AsString' implicitly converted to pointer at ../../../python
/guestfs-py.c:56
Function `PyInt_FromLong' implicitly converted to pointer at ../../../python
/guestfs-py.c:616
Function `PyInt_FromLong' implicitly converted to pointer at ../../../python
/guestfs-py-byhand.c:171

Our automated build log filter detected the problem(s) above that will
likely cause your package to segfault on architectures where the size of
a pointer is greater than the size of an integer, such as ia64 and amd64.

This is often due to a missing function prototype definition.

Since use of implicitly converted pointers is always fatal to the application
on ia64, they are errors. Please correct them for your next upload.

More information can be found at:
http://wiki.debian.org/ImplicitPointerConversions";

Looking at the python 3 bindings it looks like all these function prototypes do
not exist in the API - they've all been replaced with equivalent Unicode
functions.

This build log (https://launchpadlibrarian.net/83488108/buildlog_ubuntu-natty-
amd64.libguestfs_1.12.8-1~natty1~ppa1_FAILEDTOBUILD.txt.gz) shows that much of
the compilation of the python 3.1 and 3.2 bindings failed to obtain the correct
prototypes, e.g.

"../../../python/guestfs-py.c: In function 'get_string_list':
.../../../python/guestfs-py.c:56:5: warning: implicit declaration of function
'PyString_AsString'
.../../../python/guestfs-py.c:56:10: warning: assignment makes pointer from
integer without a cast
Function `PyString_AsString' implicitly converted to pointer at ../../../python
/guestfs-py.c:56
"

A cursory glance at the generators suggest that there is a fair bit of work to
make this python 3 compatible.




-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Version: 1.14.1-2

According to Hilko Bengen, this problem is fixed.  Closing it with a
version to make sure BTS know which versions are fixed and which are
not.

This should keep the package in testing, as it was scheduled for removal
by the release managers because this bug is still open in unstable.
-- 
Happy hacking
Petter Reinholdtsen


--- End Message ---

Reply via email to