Package: libpython2.7-stdlib Version: 2.7.13-3 Severity: important Control: affects -1 src:gnucash X-Debbugs-CC: [email protected]
Hi, Attempting to import "test_support" from the "test" module is broken in 2.7.13-3. It worked correctly in 2.7.13-2. This bug causes gnucash to FTBFS on mips (where the newer version of python2.7 successfully built). > $ python2 > Python 2.7.13+ (default, Jun 8 2017, 16:45:33) > [GCC 6.3.0 20170516] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> from test import test_support > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.7/test/test_support.py", line 2, in <module> > import test.support > ImportError: No module named support Looking at the upstream patches applied in 2.7.13-3, there should be a new support subdirectory in /usr/lib/python2.7/test/, but it appears to be missing from the Debian package. > $ ls -al /usr/lib/python2.7/test/ > total 224 > drwxr-xr-x 2 root root 200 Jul 12 16:31 . > drwxr-xr-x 1 root root 8880 Jul 12 16:31 .. > -rw-r--r-- 1 root root 47 Jun 8 16:45 __init__.py > -rw-r--r-- 1 root root 122 Jul 12 16:31 __init__.pyc > -rwxr-xr-x 1 root root 7366 Jun 8 16:45 pystone.py > -rw-r--r-- 1 root root 7989 Jul 12 16:31 pystone.pyc > -rwxr-xr-x 1 root root 62310 Jun 8 16:45 regrtest.py > -rw-r--r-- 1 root root 51804 Jul 12 16:31 regrtest.pyc > -rw-r--r-- 1 root root 79 Jun 8 16:45 test_support.py > -rw-r--r-- 1 root root 255 Jul 12 16:31 test_support.pyc Thanks, James
signature.asc
Description: OpenPGP digital signature

