Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646328 - sci-libs/scipy-1.0.0 gfortran failed with exit status 1
Summary: sci-libs/scipy-1.0.0 gfortran failed with exit status 1
Status: RESOLVED DUPLICATE of bug 614464
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-01 17:13 UTC by Anton Kochkov
Modified: 2018-06-26 12:41 UTC (History)
5 users (show)

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


Attachments
full build log (scipy-build.log.gz,97.95 KB, application/gzip)
2018-02-01 17:13 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,6.17 KB, text/x-log)
2018-02-01 17:13 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2018-02-01 17:13:13 UTC
Created attachment 517398 [details]
full build log

"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
"object of type 'type' has no len()" in evaluating 'len(list)' (available names: [])
error: Command "/usr/bin/gfortran -Wall -g -Wl,-O1 -Wl,--as-needed -shared /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/src.linux-x86_64-3.6/src.linux-x86_64-3.6/scipy/linalg/_fblasmodule.o /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/src.linux-x86_64-3.6/src.linux-x86_64-3.6/scipy/linalg/fortranobject.o /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/scipy/_build_utils/src/wrap_dummy_g77_abi.o /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/scipy/_build_utils/src/wrap_dummy_accelerate.o /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/src.linux-x86_64-3.6/src.linux-x86_64-3.6/scipy/linalg/_fblas-f2pywrappers.o -L/usr/lib64 -L/usr/lib64 -L/var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/temp.linux-x86_64-3.6 -lrefblas -lreflapack -lgslcblas -lrefblas -lpython3.6m -lgfortran -o /var/tmp/portage/sci-libs/scipy-1.0.0/work/scipy-1.0.0-python3_6/build/lib/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so" failed with exit status 1
 [31;01m*[0m ERROR: sci-libs/scipy-1.0.0::gentoo failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  124:  Called src_compile
 [31;01m*[0m   environment, line 4134:  Called distutils-r1_src_compile
 [31;01m*[0m   environment, line 1192:  Called _distutils-r1_run_foreach_impl 'python_compile'
 [31;01m*[0m   environment, line  377:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 [31;01m*[0m   environment, line 3580:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 [31;01m*[0m   environment, line 2721:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 [31;01m*[0m   environment, line 2719:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 [31;01m*[0m   environment, line  842:  Called distutils-r1_run_phase 'python_compile'
 [31;01m*[0m   environment, line 1185:  Called python_compile
 [31;01m*[0m   environment, line 3168:  Called distutils-r1_python_compile '-j' '5' 'config_fc' '--noopt' '--noarch'
 [31;01m*[0m   environment, line 1060:  Called esetup.py 'build' '-j' '5' 'config_fc' '--noopt' '--noarch'
 [31;01m*[0m   environment, line 1745:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${@}" || die "${die_args[@]}";
 [31;01m*[0m
Comment 1 Anton Kochkov 2018-02-01 17:13:30 UTC
Created attachment 517400 [details]
emerge --info output
Comment 2 Sasha Medvedev 2018-02-16 13:00:25 UTC
I've just encountered the same bug for scipy-1.0.0 and scipy-0.19.1. Building with MAKEOPTS=-j1 is a workaround. Guys from funtoo seem to fix the problem: https://bugs.funtoo.org/browse/FL-4393?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
Comment 3 giskard 2018-04-08 12:26:09 UTC
(In reply to Sasha Medvedev from comment #2)
> I've just encountered the same bug for scipy-1.0.0 and scipy-0.19.1.
> Building with MAKEOPTS=-j1 is a workaround. Guys from funtoo seem to fix the
> problem:
> https://bugs.funtoo.org/browse/FL-4393?page=com.atlassian.jira.plugin.system.
> issuetabpanels%3Aall-tabpanel

thank you so much! same problem, this works for me too!
Comment 4 Lukasz Ligowski 2018-05-13 05:40:34 UTC
same here
Comment 5 Zentoo 2018-05-25 07:25:43 UTC
I confirm emerge failure too on ~amd64.
Comment 6 Jouni Kosonen 2018-05-30 21:03:59 UTC
Same here, while migrating to python 3.6. Took me a while to stop looking for a local error and to go find bug #614464.
Comment 7 Neil 2018-06-15 08:53:32 UTC
Problem still persists in the newly updated =sci-libs/scipy-1.1.0 that hit ~amd64 overnight.
Comment 8 Pacho Ramos gentoo-dev 2018-06-26 12:41:44 UTC

*** This bug has been marked as a duplicate of bug 614464 ***