[Pkg-trac-devel] Bug#493079: source package can't be build with python2.4

Kenny Bohle kennybohle at yahoo.de
Thu Jul 31 08:01:13 UTC 2008


Package: trac
Version: 0.11-3

When building the source package without having python2.5 installed the dpkg-buildpackage commands exits with an error:

$ dpkg-buildpackage -rfakeroot -uc -b 
...
...
Copying Trac.egg-info to ~/debs/trac-0.11/debian/trac/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg-info
running install_scripts
Installing trac-admin script to ~/debs/trac-0.11/debian/trac/usr/bin
Installing tracd script to~/debs/trac-0.11/debian/trac/usr/bin
chmod +x ~/debs/trac-0.11/debian/trac/usr/lib/python2.5/site-packages/trac/admin/templates/deploy_trac.wsgi
chmod: cannot access `~/debs/trac-0.11/debian/trac/usr/lib/python2.5/site-packages/trac/admin/templates/deploy_trac.wsgi': No such file or directory
make: *** [install] Error 1

Apparently this is caused by the following line inside the debian/rules file:

chmod +x $(CURDIR)/debian/trac/usr/lib/python2.5/site-packages/trac/admin/templates/deploy_trac.wsgi

The chmod command currently uses a static path for python2.5. It should rather use the correct python version (2.5 or 2.4) which was used during the build process. 


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com





More information about the Pkg-trac-devel mailing list