[Pkg-utopia-maintainers] Bug#707139: dbus-python: FTBFS: mv: `debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings.so' and `debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings.so' are the same file

Jakub Wilk jwilk at debian.org
Tue May 7 18:45:23 UTC 2013


Source: dbus-python
Version: 1.1.1-1
Severity: serious
Tags: sid jessie
User: debian-python at lists.debian.org
Usertags: python3.3

dbus-python FTBFS:
| set -e && for x in 3.2 3.3; do \
| 		PYTHON=/usr/bin/python$x \
| 		dh_auto_install \
| 			--arch \
| 			--builddirectory=build-$x \
| 			--destdir=debian/tmp \
| 			; \
| 		so=`/usr/bin/python$x -c "print(__import__('sysconfig').get_config_var('SO'))"`; \
| 		mv debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings.so \
| 			debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings$so; \
| 		mv debian/tmp/usr/lib/python3/dist-packages/_dbus_glib_bindings.so \
| 			debian/tmp/usr/lib/python3/dist-packages/_dbus_glib_bindings$so; \
| 		PYTHON=/usr/bin/python$x-dbg \
| 		dh_auto_install \
| 			--arch \
| 			--builddirectory=build-$x-dbg \
| 			--destdir=debian/tmp-dbg \
| 			; \
| 		so=`/usr/bin/python$x-dbg -c "print(__import__('sysconfig').get_config_var('SO'))"`; \
| 		mv debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_bindings.so \
| 			debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_bindings$so; \
| 		mv debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_glib_bindings.so \
| 			debian/tmp-dbg/usr/lib/python3/dist-packages/_dbus_glib_bindings$so; \
| 	done
| make[2]: Entering directory `/build/dbus-python-6IHdXr/dbus-python-1.1.1/build-3.2'
[...]
| mv: `debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings.so' and `debian/tmp/usr/lib/python3/dist-packages/_dbus_bindings.so' are the same file
| make[1]: *** [override_dh_auto_install-arch] Error 1
| make[1]: Leaving directory `/build/dbus-python-6IHdXr/dbus-python-1.1.1'
| make: *** [binary] Error 2

Apparently in Python 3.3 get_config_var('SO') returns just '.so', and 
get_config_var('EXT_SUFFIX') should be used instead. See bug #707084.

-- 
Jakub Wilk



More information about the Pkg-utopia-maintainers mailing list