Summary: | sci-libs/scipy-1.1.0 python-3.7 "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nowa Ammerlaan <nowa> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aklhfex, audvare, email200202, frp.bissey, gentoo, harrisl, mgorny, nowa, python, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 676316 | ||
Attachments: |
build.log.bz2
emergeinfo emergepqv |
Description
Nowa Ammerlaan
2019-01-28 15:55:08 UTC
Created attachment 563068 [details]
build.log.bz2
Created attachment 563070 [details]
emergeinfo
Created attachment 563072 [details]
emergepqv
(In reply to Andrew Ammerlaan from comment #3) > Created attachment 563072 [details] > emergepqv MAKEOPTS="-j1" emerge --ignore-default-opts --jobs=1 sci-libs/scipy ? (In reply to Aweal from comment #4) > (In reply to Andrew Ammerlaan from comment #3) > > Created attachment 563072 [details] > > emergepqv > > MAKEOPTS="-j1" emerge --ignore-default-opts --jobs=1 sci-libs/scipy > > ? That worked :D Thanks, Is this just an issue with parallel jobs then? i thought the ebuild had stuff to prevent parallel build in it now. python 3.5+ (I think) can do parallel build. But it seems resolution for fortran objects, at least, is spotty and you can end trying to link with an object for which the compilation hasn't finished. We have plagued by this problem for a little while now. I have also encountered this issue and can confirm that building with MAKEOPTS="-j1" emerge --ignore-default-opts --jobs=1 sci-libs/scipy fixes the problem. I can confirm the problem and it is solved by the above workaround. I think I saw in the past another bug related with parallel building working with some python versions but not others... but I am unsure about what was the proper fix there... maybe someone in python team will remember better :/ If the code that's apparently supposed to prevent parallel build is commented out, it obviously can't help preventing the issue. I can confirm the problem and it is solved by the above workaround. *** This bug has been marked as a duplicate of bug 614464 *** |