Package: m2crypto
Version: 0.21.1-1
Severity: normal

Regression tests fail when SSLv2 is disabled, which is the case in Sid (openssl
1.0.0d-3).

Here is a build log extract:

python setup.py test
running test
running egg_info
writing M2Crypto.egg-info/PKG-INFO
writing top-level names to M2Crypto.egg-info/top_level.txt
writing dependency_links to M2Crypto.egg-info/dependency_links.txt
reading manifest file 'M2Crypto.egg-info/SOURCES.txt'
writing manifest file 'M2Crypto.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-2.6/M2Crypto/__m2crypto.so -> M2Crypto
Traceback (most recent call last):
  File "setup.py", line 167, in <module>
    cmdclass = {'build_ext': _M2CryptoBuildExt}
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.6/dist-packages/setuptools/command/test.py", line 137, 
in run
    self.with_project_on_sys_path(self.run_tests)
  File "/usr/lib/python2.6/dist-packages/setuptools/command/test.py", line 117, 
in with_project_on_sys_path
    func()
  File "/usr/lib/python2.6/dist-packages/setuptools/command/test.py", line 146, 
in run_tests
    testLoader = loader_class()
  File "/usr/lib/python2.6/unittest.py", line 816, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python2.6/unittest.py", line 843, in parseArgs
    self.createTests()
  File "/usr/lib/python2.6/unittest.py", line 849, in createTests
    self.module)
  File "/usr/lib/python2.6/unittest.py", line 613, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python2.6/unittest.py", line 598, in loadTestsFromName
    test = obj()
  File "/«PKGBUILDDIR»/tests/alltests.py", line 4, in suite
    from M2Crypto import m2
  File "/«PKGBUILDDIR»/M2Crypto/__init__.py", line 22, in <module>
    import __m2crypto
ImportError: /«PKGBUILDDIR»/M2Crypto/__m2crypto.so: undefined symbol: 
SSLv2_method
make: *** [build/python-m2crypto] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

In the short term, I will keep the regression tests disabled.

-- Charles Plessy, Tsurumi, Kanagawa, Japan

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (910, 'stable'), (900, 'testing'), (800, 'unstable'), (500, 
'proposed-updates'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to