[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681744: python-apt: FTBFS with Python 3.3: error: '_PyUnicode_AsDefaultEncodedString' was not declared in this scope



Source: python-apt
Version: 0.8.6
Severity: important
User: debian-python@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

--
Jakub Wilk


Reply to: