[Python-modules-team] Bug#686871: python-kyotocabinet: FTBFS with Python 3.3: cannot stat `debian/tmp/kyotocabinet.cpython-32mu.so': No such file or directory

Jakub Wilk jwilk at debian.org
Thu Sep 6 21:15:33 UTC 2012


Source: python-kyotocabinet
Version: 1.22-1
Severity: important
User: debian-python at lists.debian.org
Usertags: python3.3

python-kyotocabinet FTBFS if built against Python 3.3:
| performing copy and merge:
| Traceback (most recent call last):
|   File "kctest.py", line 1015, in <module>
|     exit(main())
|   File "kctest.py", line 37, in main
|     rv = runmisc()
|   File "kctest.py", line 164, in runmisc
|     rv = procmisc(path)
|   File "kctest.py", line 982, in procmisc
|     shutil.rmtree(copypath, True)
|   File "/usr/lib/python3.3/shutil.py", line 456, in rmtree
|     "Not a directory: '{}'".format(path))
| NotADirectoryError: [Errno 20] Not a directory: 'casket.kch.1.kch'
| make[2]: *** [check-each] Error 1

This appears to be a regression in the Python interpreter:
http://bugs.python.org/issue15872

However, if I work-around this issue (see the attachment), the package 
still FTBFS:
| dh binary --with python3 --parallel
|    dh_testroot -O--parallel
|    dh_prep -O--parallel
|    dh_installdirs -O--parallel
|    dh_install -O--parallel
| cp: cannot stat `debian/tmp/kyotocabinet.cpython-32mu.so': No such file or directory
| dh_install: cp -a debian/tmp/kyotocabinet.cpython-32mu.so debian/python3-kyotocabinet/usr/lib/python3/dist-packages// returned exit code 1

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue15872.diff
Type: text/x-diff
Size: 417 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20120906/fb69b669/attachment.diff>


More information about the Python-modules-team mailing list