Bug#798943: 64bit builds raise a lot of compiler warnings

2015-10-05 Thread Matthias Klose

Control: tags -1 + patch

>>> import dulwich._objects
Traceback (most recent call last):
  File "", line 1, in 
ImportError: 
/usr/lib/python3/dist-packages/dulwich/_objects.cpython-34m-x86_64-linux-gnu.so: 
undefined symbol: PyString_FromStringAndSize



please don't ship non-working extension modules.

patch at
http://launchpadlibrarian.net/220370260/dulwich_0.11.2-1_0.11.2-1ubuntu1.diff.gz



Bug#798943: 64bit builds raise a lot of compiler warnings

2015-09-14 Thread Matthias Klose
Package: src:dulwich
Version: 0.11.1-1
Severity: important
Tags: sid stretch

seen on every 64bit architecture:

https://buildd.debian.org/status/fetch.php?pkg=dulwich=ppc64el=0.11.1-1=1442171901

dulwich/_objects.c: In function 'init_objects':
dulwich/_objects.c:256:6: warning: implicit declaration of function
'Py_InitModule3' [-Wimplicit-function-declaration]
  m = Py_InitModule3("_objects", py_objects_methods, NULL);
  ^
dulwich/_objects.c:256:4: warning: assignment makes pointer from integer without
a cast [-Wint-conversion]
  m = Py_InitModule3("_objects", py_objects_methods, NULL);
^

as a side note, the packaging doesn't seem to be correct, if multiple python3
versions are supported:

see
https://launchpadlibrarian.net/217905805/buildlog_ubuntu-wily-amd64.dulwich_0.11.1-1_BUILDING.txt.gz

the 3.5 binaries are here built in the install target, and not tested.