tag 681744 confirmed thanks On Mon, Jul 16, 2012 at 08:49:45AM +0200, Jakub Wilk wrote: > Source: python-apt > Version: 0.8.6 > Severity: important > User: debian-pyt...@lists.debian.org > Usertags: python3.3 > > python-apt FTBFS when built against Python 3.3: > | running build_ext > | building 'apt_pkg' extension > | creating build/temp.linux-i686-3.3-pydebug > | creating build/temp.linux-i686-3.3-pydebug/python > | gcc -pthread -g -O0 -Wall -Wstrict-prototypes -Wno-write-strings > -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.3dm -c python/acquire.cc -o > build/temp.linux-i686-3.3-pydebug/python/acquire.o > | cc1plus: warning: command line option '-Wstrict-prototypes' is valid for > C/ObjC but not for C++ [enabled by default] > | In file included from python/acquire.cc:25:0: > | python/generic.h: In function 'const char* PyUnicode_AsString(PyObject*)': > | python/generic.h:85:62: error: '_PyUnicode_AsDefaultEncodedString' was not > declared in this scope > | error: command 'gcc' failed with exit status 1 > | [102069 refs] > | dh_auto_build: python3.3-dbg setup.py build --force returned exit code 1 > | make[1]: *** [override_dh_auto_build] Error 1
Thanks, this is known. We use a Python-internal function for encoding unicode strings that was dropped in 3.3 with the unicode changes. We will switch the code to use PyUnicode_AsUTF8() now that it is finally available in Python. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org