[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711953: pyatspi: FTBFS: cannot stat `debian/tmp/usr/lib/python3': No such file or directory



Source: pyatspi
Version: 2.9.2+dfsg-1
Severity: serious
Justification: fails to build from source

pyatspi FTBFS:
| checking whether /usr/bin/python3.2 version is >= 2.6... yes
| checking for /usr/bin/python3.2 version... 3.2
| checking for /usr/bin/python3.2 platform... linux2
| checking for /usr/bin/python3.2 script directory... ${prefix}/lib/python3.2/site-packages
| checking for /usr/bin/python3.2 extension module directory... ${exec_prefix}/lib/python3.2/site-packages
[...]
| checking whether /usr/bin/python3.3 version is >= 2.6... yes
| checking for /usr/bin/python3.3 version... 3.3
| checking for /usr/bin/python3.3 platform... linux
| checking for /usr/bin/python3.3 script directory... ${prefix}/lib/python3.3/site-packages
| checking for /usr/bin/python3.3 extension module directory... ${exec_prefix}/lib/python3.3/site-packages
[...]
| Making install in pyatspi
| make[3]: Entering directory `/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/build-3.2/pyatspi'
| make[4]: Entering directory `/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/build-3.2/pyatspi'
| make[4]: Nothing to be done for `install-exec-am'.
|  /bin/mkdir -p '/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/debian/tmp/usr/lib/python3.2/site-packages/pyatspi'
|  /usr/bin/install -c -m 644 ../../pyatspi/Accessibility.py ../../pyatspi/appevent.py ../../pyatspi/constants.py ../../pyatspi/deviceevent.py ../../pyatspi/enum.py ../../pyatspi/__init__.py ../../pyatspi/action.py ../../pyatspi/application.py ../../pyatspi/collection.py ../../pyatspi/component.py ../../pyatspi/document.py ../../pyatspi/editabletext.py ../../pyatspi/hypertext.py ../../pyatspi/image.py ../../pyatspi/interface.py ../../pyatspi/registry.py ../../pyatspi/role.py ../../pyatspi/selection.py ../../pyatspi/state.py ../../pyatspi/table.py ../../pyatspi/text.py ../../pyatspi/utils.py ../../pyatspi/value.py '/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/debian/tmp/usr/lib/python3.2/site-packages/pyatspi'
[...]
| Making install in pyatspi
| make[3]: Entering directory `/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/build-3.3/pyatspi'
| make[4]: Entering directory `/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/build-3.3/pyatspi'
| make[4]: Nothing to be done for `install-exec-am'.
|  /bin/mkdir -p '/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/debian/tmp/usr/lib/python3.3/site-packages/pyatspi'
|  /usr/bin/install -c -m 644 ../../pyatspi/Accessibility.py ../../pyatspi/appevent.py ../../pyatspi/constants.py ../../pyatspi/deviceevent.py ../../pyatspi/enum.py ../../pyatspi/__init__.py ../../pyatspi/action.py ../../pyatspi/application.py ../../pyatspi/collection.py ../../pyatspi/component.py ../../pyatspi/document.py ../../pyatspi/editabletext.py ../../pyatspi/hypertext.py ../../pyatspi/image.py ../../pyatspi/interface.py ../../pyatspi/registry.py ../../pyatspi/role.py ../../pyatspi/selection.py ../../pyatspi/state.py ../../pyatspi/table.py ../../pyatspi/text.py ../../pyatspi/utils.py ../../pyatspi/value.py '/build/pyatspi-YZ6me6/pyatspi-2.9.2+dfsg/debian/tmp/usr/lib/python3.3/site-packages/pyatspi'
[...]
|    dh_install
| cp: cannot stat `debian/tmp/usr/lib/python3': No such file or directory
| dh_install: cp -a debian/tmp/usr/lib/python3 debian/python3-pyatspi//usr/lib/ returned exit code 1
| make: *** [binary] Error 2

Apparently dh_install expects Python modules in /usr/lib/python3/, but the upstream build systems installs them into /usr/lib/python3.X/site-packages/.

--
Jakub Wilk


Reply to: