Package: python-lxml
Version: 3.4.2-1
Severity: normal
Now installing build-depends on a development box would remove cython. I found
in changelog a note from 6 years ago I guess for that reason:
lxml (2.1.4-1) unstable; urgency=low
* New upstream version.
* Remove the build dependency on cython, because cython doesn't have
support for python debug builds.
-- Matthias Klose <[email protected]> Sun, 04 Jan 2009 15:01:17 +0000
but now we do have cython-dbg so python-dbg I believe should be supported
> python-dbg -c 'import Cython; print Cython'
<module 'Cython' from '/usr/lib/python2.7/dist-packages/Cython/__init__.pyc'>
[22012 refs]
and lxml seems to build fine for me with python-dbg without pyrex but
cython installed:
$> virtualenv --system-site-packages --python=python-dbg venv-pydbg-lxml
Running virtualenv with interpreter /usr/bin/python-dbg
New python executable in venv-pydbg-lxml/bin/python-dbg
Also creating executable in venv-pydbg-lxml/bin/python
[18124 refs]
Installing setuptools, pip...done.
[42058 refs]
$> venv-pydbg-lxml/bin/pip install --upgrade lxml
Downloading/unpacking lxml from
https://pypi.python.org/packages/source/l/lxml/lxml-3.4.4.tar.gz#md5=a9a65972afc173ec7a39c585f4eea69c
Downloading lxml-3.4.4.tar.gz (3.5MB): 3.5MB downloaded
Running setup.py (path:/home/yoh/.tmp/pip-build-AB7Ny9/lxml/setup.py)
egg_info for package lxml
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution
option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.28
warning: no previously-included files found matching '*.py'
[88273 refs]
Installing collected packages: lxml
Found existing installation: lxml 3.4.2
Not uninstalling lxml at /usr/lib/python2.7/dist-packages, outside
environment /tmp/venv-pydbg-lxml
Running setup.py install for lxml
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution
option: 'bugtrack_url'
warnings.warn(msg)
Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.28
building 'lxml.etree' extension
x86_64-linux-gnu-gcc -pthread -g -O0 -Wall -Wstrict-prototypes
-fno-strict-aliasing -g -O0 -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -I/usr/include/libxml2
-I/tmp/pip-build-AB7Ny9/lxml/src/lxml/includes -I/usr/include/python2.7_d -c
src/lxml/lxml.etree.c -o
build/temp.linux-x86_64-2.7-pydebug/src/lxml/lxml.etree.o -w
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-z,relro -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes -g -O0
-fstack-protector-strong -Wformat -Werror=format-security -g -O0
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O0
-fstack-protector-strong -Wformat -Werror=format-security
build/temp.linux-x86_64-2.7-pydebug/src/lxml/lxml.etree.o -lxslt -lexslt -lxml2
-lz -lm -o build/lib.linux-x86_64-2.7-pydebug/lxml/etree_d.so
building 'lxml.objectify' extension
x86_64-linux-gnu-gcc -pthread -g -O0 -Wall -Wstrict-prototypes
-fno-strict-aliasing -g -O0 -fstack-protector-strong -Wformat
-Werror=format-security -fPIC -I/usr/include/libxml2
-I/tmp/pip-build-AB7Ny9/lxml/src/lxml/includes -I/usr/include/python2.7_d -c
src/lxml/lxml.objectify.c -o
build/temp.linux-x86_64-2.7-pydebug/src/lxml/lxml.objectify.o -w
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
-Wl,-z,relro -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes -g -O0
-fstack-protector-strong -Wformat -Werror=format-security -g -O0
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O0
-fstack-protector-strong -Wformat -Werror=format-security
build/temp.linux-x86_64-2.7-pydebug/src/lxml/lxml.objectify.o -lxslt -lexslt
-lxml2 -lz -lm -o build/lib.linux-x86_64-2.7-pydebug/lxml/objectify_d.so
[150565 refs]
Successfully installed lxml
Cleaning up...
[177735 refs]
venv-pydbg-lxml/bin/pip install --upgrade lxml 14.21s user 0.39s system 97%
cpu 15.047 total
Cheers
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-lxml depends on:
ii libc6 2.19-18
ii libxml2 2.9.1+dfsg1-5
ii libxslt1.1 1.1.28-2+b2
ii python 2.7.9-1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages python-lxml recommends:
ii python-bs4 4.3.2-2
ii python-html5lib 0.999-3
Versions of packages python-lxml suggests:
ii python-lxml-dbg 3.4.2-1
pn python-lxml-doc <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]