Re: warning: symbol PyLong_FromUnsignedLong...

2012-04-11 Thread Paul Wise
On Wed, Apr 11, 2012 at 11:43 PM, Mathieu Malaterre wrote:

>  I am trying to remove the remaining warnings from the gdcm/python
> package. They can be seen here:

That is pretty normal for plugins on Linux; the symbols are provided
by the program that loads the plugins and the plugins do not reference
where they get those symbols from.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6gkzs6dqjrgervvo4mig8wobl7fzsqqcalkehy2iwx...@mail.gmail.com



Re: [Python-modules-team] numpy 1.6.1 into unstable?

2012-04-11 Thread Julian Taylor
On 04/11/2012 12:03 AM, Sandro Tosi wrote:
> On Tue, Apr 10, 2012 at 19:30, Julian Taylor
>  wrote:
> 
>> 640940 [0] and 665998 should probably still be resolved in the upload to
>> unstable.
> 
> you didn't seem to have addressed Jakub reply in 640940...
> 
>> ftw. numpy 1.6 has been uploaded in ubuntu precise three weeks ago and
>> the world did not fall apart yet. I also expect a smooth transition
>> thanks to the excellent preparation by you and jakub.
>>
>> [0] crappy patch for it:
>> http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/python-numpy/precise/view/head:/debian/patches/search-multiarch-paths.patch
> 
> ...or better you did for ubuntu but didn't communicate it back to
> Debian, not helping, sorry.
> 
> Cheers,

no reason to get so hostile.
You didn't reply to Jakub either so I wrongly assumed your rejection of
the gcc type patch still stood.

what about bug 665998 (dh_numpy3)?
I guess a sed s/python/python3/ dh_numpy > dh_numpy3 would probably be
enough?
Or should that better be solved with a single helper?
I think it should be fixed before other packages start adding
unnecessary manual depends.

Cheers,
Julian


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f85bea5.4080...@googlemail.com



warning: symbol PyLong_FromUnsignedLong...

2012-04-11 Thread Mathieu Malaterre
[CC me please]

Hi there,

  I am trying to remove the remaining warnings from the gdcm/python
package. They can be seen here:

https://buildd.debian.org/status/fetch.php?pkg=gdcm&arch=powerpc&ver=2.2.0-10&stamp=1334158394

copied here for convenience:

...
dpkg-shlibdeps: warning:
debian/python-gdcm/usr/lib/python2.7/dist-packages/_gdcmswig.so
contains an unresolvable reference to symbol PyObject_IsTrue: it's
probably a plugin.
dpkg-shlibdeps: warning: 86 other similar warnings have been skipped
(use -v to see them all).
dpkg-shlibdeps: warning: Can't extract name and version from library
name `libKitware.mummy.Runtime.Unmanaged.so'
dpkg-shlibdeps: warning: Can't extract name and version from library
name `libKitware.mummy.Runtime.Unmanaged.so'
dpkg-shlibdeps: warning: symbol PyLong_FromUnsignedLong used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol Py_InitModule4 used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyInt_FromLong used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol _Py_NoneStruct used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyErr_Occurred used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyString_FromString used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyFloat_FromDouble used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyModule_GetDict used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol PyDict_SetItemString used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
dpkg-shlibdeps: warning: symbol Py_FatalError used by
debian/python-vtkgdcm/usr/lib/libvtkgdcmPythonD.so found in none of
the libraries.
...

  I could not figure out what I was missing in my package for remove
those false positive.

Thanks much,


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+7wusypvjcxmn7x5btjhchhmm3gsqa7z7dwes-ec9tjr6b...@mail.gmail.com



Re: Bug#625481: About #625481 and uploading python-mocker to Sid.

2012-04-11 Thread Charles Plessy
Version 1.0-2

Le Thu, Apr 05, 2012 at 08:33:45PM +0200, Jakub Wilk a écrit :
> 
> This is a very common problem with (packages using) setuptools. The
> idiomatic solution is to nuke the whole *.egg-info directory in the
> clean target, or add it extend-diff-ignore.

Thanks a lot, that solved the problem.

Among all the changes between 1.0-1 and 1.0-2, one fixed the original problem
(cannot represent change to mocker-1.0/.coverage: binary file contents
changed).  I could not trace which change in particular did.  Or maybe the
toolchain evolved ?  Anyway, I am closing this bug.

Have a nice day,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120411141947.ga11...@plessy.org



Re: About #625481 and uploading python-mocker to Sid.

2012-04-11 Thread Charles Plessy
Dear Andrew and everybody,

I just uploaded mocker 1.0-2 to unstable.  The source package is available
at the followign URLs:

  Vcs-Svn: svn://svn.debian.org/python-modules/packages/mocker/trunk/
  Vcs-Browser: 
http://anonscm.debian.org/viewvc/python-modules/packages/mocker/trunk/

The upload closed #625481, but I am not sure which change solved the problem.

The next task is cloud-init.  Would there be a volunteer ?

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120411140434.gb16...@falafel.plessy.net