Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284720 - dev-python/dap-2.2.6.7 does not install
Summary: dev-python/dap-2.2.6.7 does not install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-12 19:11 UTC by Lukasz Ligowski
Modified: 2009-09-14 02:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,10.28 KB, text/plain)
2009-09-13 18:34 UTC, Lukasz Ligowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Ligowski 2009-09-12 19:11:29 UTC
during install ebuild tries to execute following command:
       sed -i -e '1idap' \
               "${D}"/usr/$(get_libdir)/python*/site-packages/dap-*.egg-info/namespace_packages.txt || die

and fails because there is no such file as namespace_packages.txt and dap-*.egg-info is a file and not a directory

Reproducible: Always

Steps to Reproduce:
1.emerge -av dev-python/dap

Actual Results:  
installation fails

Expected Results:  
installs cleanly

after commenting out this command package installs fine and works (at least as a dependency for dev-python/basemap)
Comment 1 Patrick Lauer gentoo-dev 2009-09-12 19:34:30 UTC
Removing that sed seems to confuse the generation of 
./usr/lib64/python2.6/site-packages/dap-2.2.6.7-py2.6.egg-info

There's an empty file and 
/usr/lib64/python2.6/site-packages/._cfg0000_dap-2.2.6.7-py2.6.egg-info
with the content that should be in the file. very strange :)
Comment 2 Lukasz Ligowski 2009-09-12 20:15:10 UTC
(In reply to comment #1)
> Removing that sed seems to confuse the generation of 
> ./usr/lib64/python2.6/site-packages/dap-2.2.6.7-py2.6.egg-info
> 
> There's an empty file and 
> /usr/lib64/python2.6/site-packages/._cfg0000_dap-2.2.6.7-py2.6.egg-info
> with the content that should be in the file. very strange :)
> 

(i've got python-2.6.2-r1 and setuptools-0.6.1)

I re-run original version of ebuild: and that's relevant error info:
Writing /var/tmp/portage/dev-python/dap-2.2.6.7/image/usr/lib64/python2.6/site-packages/dap-2.2.6.7-py2.6.egg-info
sed: can't read /var/tmp/portage/dev-python/dap-2.2.6.7/image//usr/lib64/python*/site-packages/dap-*.egg-info/namespace_packages.txt: No such file or directory

there is a file named:
/var/tmp/portage/dev-python/dap-2.2.6.7/image/usr/lib64/python2.6/site-packages/dap-2.2.6.7-py2.6.egg-info

and it looks like this:
silownik site-packages # head dap-2.2.6.7-py2.6.egg-info
Metadata-Version: 1.0
Name: dap
Version: 2.2.6.7
Summary: DAP (Data Access Protocol) client and server for Python.
Home-page: http://pydap.org/
Author: Roberto De Almeida
Author-email: rob@pydap.org
License: MIT
Description: Implementation of the `Data Access Protocol <http://opendap.org>`_.

hope that helps...
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-13 17:22:33 UTC
can't reproduce here. could you provide the build log?
Comment 4 Lukasz Ligowski 2009-09-13 18:34:35 UTC
Created attachment 203958 [details]
build log

here you are
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-14 00:36:06 UTC
I also can't reproduce this bug...
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-14 02:48:50 UTC
I changed the sed line to a non-generated flag so that you should not encounter the failing sed anymore.
Meanwhile you should check your python setup and may be run python-updater. The build log shows some suspicious lines in the beginning.