[Build-common-hackers] Bug#507966: *.egg-info directory -> FTBFS

Jakub Wilk ubanus at users.sf.net
Fri Oct 23 19:46:43 UTC 2009


found 507966 0.4.62
severity 507966 important
thanks

Unfortunately, fix for this bug was invalid and made things only worse. 
Example:

$ apt-get source python-pipeline
[...]
dpkg-source: info: extracting python-pipeline in python-pipeline-0.1.1
dpkg-source: info: unpacking python-pipeline_0.1.1.orig.tar.gz
dpkg-source: info: applying python-pipeline_0.1.1-1.diff.gz

$ cd python-pipeline-0.1.1/

$ dpkg-buildpackage 
[...]
  fakeroot debian/rules clean
[...]
find . -name '*.pyc' -exec rm '{}' ';'
find . -name '*.egg-info' -exec rm -rf '{}' ';'
find: `./python_pipeline.egg-info': No such file or directory
make: *** [clean] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2


The attached patch should fix this bug.

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 507966.diff
Type: text/x-diff
Size: 605 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20091023/ffba596b/attachment.diff>


More information about the Build-common-hackers mailing list