[Python-apps-team] Bug#906699: cython: Fails to import with python2.7-dbg

Samuel Thibault sthibault at debian.org
Sun Aug 19 22:11:23 BST 2018


Package: cython
Version: 0.28.4-1
Severity: important

Hello,

$ python2.7-dbg
>>> from Cython.Compiler.Main import CompilationOptions
ImportError: /usr/lib/python2.7/dist-packages/Cython/Compiler/Scanning.x86_64-linux-gnu.so: undefined symbol: Py_InitModule4_64

indeed, /usr/bin/python2.7-dbg defines Py_InitModule4TraceRefs_64, not
Py_InitModule4_64. This is the same kind of issue which is making pyzmq
FTBFS on hurd-i386, see 
https://buildd.debian.org/status/fetch.php?pkg=pyzmq&arch=hurd-i386&ver=17.1.0-1&stamp=1534712112&raw=0

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cython depends on:
ii  libc6   2.27-5
ii  python  2.7.15-3

Versions of packages cython recommends:
ii  gcc         4:8.1.0-1
ii  python-dev  2.7.15-3

Versions of packages cython suggests:
pn  cython-doc  <none>

-- no debconf information

-- 
Samuel
`When you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, *for free*".'
(By Linus Torvalds)



More information about the Python-apps-team mailing list