Source: gvb
Version: 1.2-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
pacakge failed to build from source. Here's relevant part of the build
log:

[...]
running install_data
creating /tmp/buildd/gvb-1.2/debian/gvb/usr/local/share
creating /tmp/buildd/gvb-1.2/debian/gvb/usr/local/share/gvb
creating /tmp/buildd/gvb-1.2/debian/gvb/usr/local/share/gvb/stuff
[...]
running install_egg_info
Writing 
/tmp/buildd/gvb-1.2/debian/gvb/usr/local/lib/python2.6/dist-packages/gvb-1.2.egg-info
ERROR: Cannot parse /tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-C.omf. 
 Is it valid?
ERROR: Cannot parse 
/tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-it.omf.  Is it valid?
cd help; for i in *; do scrollkeeper-preinstall 
/usr/share/gnome/help/gvb/$i/gvb.xml \
           /tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-$i.omf \
           /tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-$i.omf; done
ERROR: Cannot parse /tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-C.omf. 
 Is it valid?
ERROR: Cannot parse 
/tmp/buildd/gvb-1.2/debian/gvb/usr/share/omf/gvb/gvb-it.omf.  Is it valid?
make: *** [install] Error 2

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-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to