Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213348

Summary: dev-python/pygsl-0.9.0 requires either numeric or nummarray (missing dep)
Product: Gentoo Linux Reporter: Markus Rothe (RETIRED) <corsair>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED INVALID    
Severity: normal CC: ppc64
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Rothe (RETIRED) gentoo-dev 2008-03-14 08:03:59 UTC
while installing dev-python/pygsl-0.9.0 I ran into the following problem:

>>> Unpacking pygsl-0.9.0.tar.gz to /var/tmp/portage/dev-python/pygsl-0.9.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pygsl-0.9.0/work/pygsl-0.9.0 ...
No Numobj was selected, trying to find one.
Traceback (most recent call last):
  File "setup.py", line 47, in <module>
    import gsl_numobj
  File "/var/tmp/portage/dev-python/pygsl-0.9.0/work/pygsl-0.9.0/gsl_numobj.py", line 232, in <module>
    nummodule = build_guess()
  File "/var/tmp/portage/dev-python/pygsl-0.9.0/work/pygsl-0.9.0/gsl_numobj.py", line 210, in build_guess
    nummodule = switchpreference(tmp)
  File "/var/tmp/portage/dev-python/pygsl-0.9.0/work/pygsl-0.9.0/gsl_numobj.py", line 107, in switchpreference
    raise  DistutilsModuleError, "I need either Numeric or nummarray!"
distutils.errors.DistutilsModuleError: I need either Numeric or nummarray!


It seems like a dependency for either numeric or nummarray is missing. There is no package called nummarray in the tree so I'm going to compile numeric now and see if this fixes the problem. (I guess so)
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2008-03-14 08:06:12 UTC
# emerge numeric -vp

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/numeric-24.2-r6  USE="-doc -lapack" 727 kB 

Total: 1 package (1 reinstall), Size of downloads: 727 kB


Guess it doesn't find the package then... I don't have time looking deeper into this currently.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2008-03-14 09:31:38 UTC
I think I found the error. And it sits between keyboard and chair.... I forget to run python-updater. It's running now. Will report back if this fixed it.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2008-03-14 09:45:48 UTC
Hi Markus,

pygsl should not depend on either numeric or numarray, but numpy only. We are trying to slowly remove any numeric or numarray dep, they are not maintained upstream anymore. So even if it compiles, let me know if it uses numeric.

Thanks-
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-03-15 10:00:30 UTC
yes, pygsl uses numpy and the error went away when python-updater finished.

added ~ppc64 by the way.