Source: xmms2tray
Version: 0.5-1
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: python2.6 usr-local ftbfs

Hello,

Starting from Python 2.6, the installation paths for distutils have
changed. /usr/local is now used by default.

When rebuilt against python-all{,-dev,-dbg} (and thus python2.6) from
Debian experimental (and with python2.6 as the default one), your
package failed to build from source. Here's relevant part of the build
log:

[...]
python setup.py install --root=/tmp/buildd/xmms2tray-0.5/debian/xmms2tray
[...]
running install_data
creating /tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share
creating /tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/doc
creating 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/doc/xmms2tray
copying README -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/doc/xmms2tray
copying COPYING -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/doc/xmms2tray
copying ChangeLog -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/doc/xmms2tray
creating /tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray
creating 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_simple.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_glossy.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_glossy_24.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_simple_64.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_64.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
copying data/xmms2_24.png -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data
creating 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data/po
creating 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data/po/LC_MESSAGES
creating 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data/po/LC_MESSAGES/xmms2tray.mo
copying data/po/de/LC_MESSAGES/xmms2tray.mo -> 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/share/xmms2tray/data/po/LC_MESSAGES/xmms2tray.mo
running install_egg_info
Writing 
/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/local/lib/python2.6/dist-packages/xmms2tray-0.5.egg-info
rm /tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/share/doc/xmms2tray/COPYING
rm: cannot remove 
`/tmp/buildd/xmms2tray-0.5/debian/xmms2tray/usr/share/doc/xmms2tray/COPYING': 
No such file or directory
make: *** [install] Error 1

How to fix it?
==============
* try to pass "--prefix=/usr" to setup.py call, check if it's enough,
* add --install-layout=deb to setup.py call and bump minimum required
  python{,-all,all-dev} build dependency to 2.5.4-1~, check if it's enough
* ask for help on #debian-python or debian-pyt...@lists.debian.org

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to