On Fri, Sep 24, 2010 at 07:28:08PM +0100, Steven Chamberlain wrote: > On 24/09/10 18:33, Steven Chamberlain wrote: > >>python/acquire.cc: In function 'PyObject* PkgAcquireNew(PyTypeObject*, > >>PyObject*, PyObject*)': > >>python/acquire.cc:331: warning: > >>'pkgAcquire::pkgAcquire(pkgAcquireStatus*)' is deprecated (declared at > >>/usr/include/apt-pkg/acquire.h:352) > > Actually, here's our culprint: > > >python/acquire-item.cc: In function 'PyObject* acquireitem_repr(PyObject*)': > >python/acquire-item.cc:170: warning: format '%lu' expects type 'long > >unsigned int', but argument 7 has type 'long long unsigned int' [..] > Please try rebuilding python-apt with my patch to fix this, attached. [..] > It's working for me on the same 32-bit squeeze OpenVZ VE that I > reproduced the bug on, and I've also tested this on a native amd64 > system to ensure the patched version still works on that > architecture too. > > Thank you everyone for your help to reproduce and debug this. [..]
You rock! Thanks a lot for this patch, I commit it to the python-apt bzr repository now and it will be part of the next upload. Thanks! Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org