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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to