Package: python-support
Version: 1.0.0
Severity: normal

at build time, relative symlinks (vide policy) to files that are
outside currently build package (i.e. outside debian/ directory)
are not pointing to the right files, so movemodules cannot calculate md5
sums:

| Traceback (most recent call last):
|   File "/usr/share/python-support/private/movemodules", line 181, in <module>
|     ("usr/local/lib", "dist-packages")])
|   File "/usr/share/python-support/private/movemodules", line 117, in do_move
|     file_dict.addsum(relfile,pyvers,md5(file(absfile).read()).digest())
| IOError: [Errno 2] No such file or directory: 
'debian/python-paste/usr/lib/python2.4/site-packages/paste/evalexception/mochikit/MochiKit.js'

to reproduce the problem:
* download paste 1.7.2-3 source package
* in debian/rules: remove lines 46-48 (the workaround)
* try to build it


I guess it's acceptable to simply copy symlinks without destination to
the pyshared (in case of relative symlinks: with fixing the number of
"../"s first, of course) without checking md5 sum (but only if symlink
points to the same destination in all Python versions) - this way in
paste package I will not have to build depend on libjs-mochikit



-- 
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