Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386847 - dev-python/numpy-1.5.1 fails test
Summary: dev-python/numpy-1.5.1 fails test
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 22:04 UTC by Markus Walter
Modified: 2012-12-07 09:35 UTC (History)
1 user (show)

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


Attachments
build log (build.log,569.88 KB, text/plain)
2011-10-11 22:04 UTC, Markus Walter
Details
emerge --info (info.txt,5.40 KB, text/plain)
2011-10-11 22:04 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-10-11 22:04:21 UTC
Created attachment 289619 [details]
build log

On my hardened ~amd64 machine with gcc 4.6.1 I see the following failure in the numpy-testsuite. I'm not convinced that this is a failure, but it looks more like a bug in the testsuite itself. Here we go:

======================================================================
ERROR: Failure: OSError (/var/tmp/portage/dev-python/numpy-1.5.1/work/numpy-1.5.1/test-3.2/lib/python/numpy/core/multiarray.p
yd: cannot open shared object file: No such file or directory)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/site-packages/nose/failure.py", line 37, in runTest
    raise self.exc_class(self.exc_val).with_traceback(self.tb)
  File "/usr/lib64/python3.2/site-packages/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib64/python3.2/site-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib64/python3.2/site-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/var/tmp/portage/dev-python/numpy-1.5.1/work/numpy-1.5.1/test-3.2/lib/python/numpy/tests/test_ctypeslib.py", line 8, 
in <module>
    cdll = load_library('multiarray', np.core.multiarray.__file__)
  File "/var/tmp/portage/dev-python/numpy-1.5.1/work/numpy-1.5.1/test-3.2/lib/python/numpy/ctypeslib.py", line 122, in load_library
    raise exc
  File "/var/tmp/portage/dev-python/numpy-1.5.1/work/numpy-1.5.1/test-3.2/lib/python/numpy/ctypeslib.py", line 119, in load_library
    return ctypes.cdll[libpath]
  File "/usr/lib64/python3.2/ctypes/__init__.py", line 415, in __getitem__
    return getattr(self, name)
  File "/usr/lib64/python3.2/ctypes/__init__.py", line 410, in __getattr__
    dll = self._dlltype(name)
  File "/usr/lib64/python3.2/ctypes/__init__.py", line 340, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /var/tmp/portage/dev-python/numpy-1.5.1/work/numpy-1.5.1/test-3.2/lib/python/numpy/core/multiarray.pyd: cannot open shared object file: No such file or directory

----------------------------------------------------------------------
Ran 3000 tests in 123.416s

FAILED (KNOWNFAIL=5, SKIP=5, errors=1)
Comment 1 Markus Walter 2011-10-11 22:04:45 UTC
Created attachment 289621 [details]
emerge --info
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-10-16 08:12:28 UTC

*** This bug has been marked as a duplicate of bug 351057 ***
Comment 3 Markus Walter 2012-02-18 18:33:20 UTC
The bug to which this one was resolved is marked as fixed, but I still see this behavior. So I reopened.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-02-18 18:38:36 UTC
(In reply to comment #3)

Do you use dev-python/numpy-1.6.1-r1?
Comment 5 Markus Walter 2012-02-18 18:46:37 UTC
No, I still use numpy-1.5.1 since sage needs it and no higher version.
Comment 6 François Bissey 2012-02-18 20:55:20 UTC
sorry about sage still using 1.5.1. It is becoming a pain in the ass. But I now think the thing preventing the upgrade may be a bug in numpy-1.6.x.
See http://trac.sagemath.org/sage_trac/ticket/11334 for details.
Comment 7 Markus Walter 2012-02-21 17:53:00 UTC
Another data point: numpy-1.6.1-r1 merges fine. A pity, that sage doesn't like it.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2012-12-07 09:35:23 UTC
+  07 Dec 2012; Justin Lecher <jlec@gentoo.org> -numpy-1.5.1.ebuild,
+  -numpy-1.6.0.ebuild, -numpy-1.6.1.ebuild:
+  Drop old, fixes #404435, #386847
+