Source: cracklib2
Version: 2.8.19-1
Severity: important
User: [email protected]
Usertags: python3.3

cracklib2 FTBFS if built against Python 3.3:
| for i in 2.6 2.7 3.3; do \
|               cd 
/build/cracklib2-yqgv7c/cracklib2-2.8.19/debian/buildtmp/python$i/python/$(_py_=$i;
 python${_py_#python*} -c 'from distutils.command.build import build; from 
distutils.core import Distribution; b = build(Distribution()); 
b.finalize_options(); print(b.build_platlib)'); \
|               
LD_LIBRARY_PATH=/build/cracklib2-yqgv7c/cracklib2-2.8.19/debian/buildtmp/base/lib/.libs
 python$i \
|               -c 'import cracklib; 
cracklib.test(dictpath="/build/cracklib2-yqgv7c/cracklib2-2.8.19/debian/tmp/cracklib_dict")';
 \
|       done
| ...........
| ----------------------------------------------------------------------
| Ran 11 tests in 0.008s
|
| OK
| cracklib is installed in:
| cracklib version: 2.8.19
| 2.6.8 (unknown, Jun 28 2012, 18:14:12)
| [GCC 4.7.1]
| ...........
| ----------------------------------------------------------------------
| Ran 11 tests in 0.010s
|
| OK
| cracklib is installed in:
| cracklib version: 2.8.19
| 2.7.3 (default, Jul 13 2012, 22:29:01)
| [GCC 4.7.1]
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "<frozen importlib._bootstrap>", line 1294, in _find_and_load
|   File "<frozen importlib._bootstrap>", line 1261, in _find_and_load_unlocked
|   File "<frozen importlib._bootstrap>", line 432, in _check_name_wrapper
|   File "<frozen importlib._bootstrap>", line 778, in load_module
|   File "<frozen importlib._bootstrap>", line 759, in load_module
|   File "<frozen importlib._bootstrap>", line 408, in module_for_loader_wrapper
|   File "<frozen importlib._bootstrap>", line 647, in _load_module
|   File "./cracklib.py", line 28, in <module>
|     from _cracklib import FascistCheck
|   File "<frozen importlib._bootstrap>", line 1294, in _find_and_load
|   File "<frozen importlib._bootstrap>", line 1258, in _find_and_load_unlocked
| ImportError: No module named '_cracklib'
| make[1]: *** [override_dh_auto_test] Error 1
| make[1]: Leaving directory `/build/cracklib2-yqgv7c/cracklib2-2.8.19'
| make: *** [build] Error 2

I believe this is due to this change:
"The range of possible file names for C extensions has been narrowed. Very rarely used spellings have been suppressed: under POSIX, files named xxxmodule.so, xxxmodule.abi3.so and xxxmodule.cpython-*.so are no longer recognized as implementing the xxx module. If you had been generating such files, you have to switch to the other spellings (i.e., remove the module string from the file names)."

http://docs.python.org/dev/whatsnew/3.3.html#building-c-extensions

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to