[DebianGIS-dev] Bug#557288: libkml: manipulates site-packages/ directly, failing with Python 2.6

Jakub Wilk ubanus at users.sf.net
Sat Nov 21 00:09:19 UTC 2009


tags 557288 + patch
thanks

* Jonathan Wiltshire <debian at jwiltshire.org.uk>, 2009-11-20, 23:10:
>Package fails to build from source with python2.6, here's the build log tail:
>
>| # removes build-time rpaths
>| for version in python2.5 python2.4; \
>| 	do \
>| 		chrpath --delete /tmp/buildd/libkml-1.0.1/debian/python-kml/usr/lib/$version/site-packages/*.so ; \
>| 	done
>| open: No such file or directory
>| elf_open: Invalid argument
>| make: *** [binary-install/python-kml] Error 1

Of course, the other problem is that the package hardcodes Python 
versions despite depending on python-all-dev.

The attached patch fixed both issues.

>(debian-python: caution, this package has large build-dependencies and takes a
>very long time to build)

Indeed.

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libkml-557288.diff
Type: text/x-diff
Size: 1093 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20091121/4db8a3f3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20091121/4db8a3f3/attachment.pgp>


More information about the Pkg-grass-devel mailing list