Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573222 - dev-python/numpy-1.10.4 - python_xerbla.o: file not recognized: File truncated
Summary: dev-python/numpy-1.10.4 - python_xerbla.o: file not recognized: File truncated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 573148
  Show dependency tree
 
Reported: 2016-01-28 16:00 UTC by Martin von Gagern
Modified: 2016-02-04 10:08 UTC (History)
1 user (show)

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


Attachments
build log (dev-python:numpy-1.10.4:20160128-122215.log,444.98 KB, application/octet-stream)
2016-01-28 16:00 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2016-01-28 16:00:08 UTC
Created attachment 424096 [details]
build log

I have here what appears to be some kind of race condition:

x86_64-pc-linux-gnu-gcc: numpy/linalg/lapack_lite/python_xerbla.c
x86_64-pc-linux-gnu-gcc -march=amdfam10 -O2 -ggdb -pipe -shared -Wl,--as-needed -shared -march=amdfam10 -O2 -ggdb -pipe -fno-strict-aliasing /var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/temp.linux-x86_64-3.5/numpy/linalg/lapack_litemodule.o /var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/temp.linux-x86_64-3.5/numpy/linalg/lapack_lite/python_xerbla.o -L/usr/lib64 -L/usr/lib64 -L/var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/temp.linux-x86_64-3.5 -latlcblas -latllapack -lf77blas -latlcblas -lf77blas -lpython3.5m -o /var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/lib/numpy/linalg/lapack_lite.cpython-35m-x86_64-linux-gnu.so
/var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/temp.linux-x86_64-3.5/numpy/linalg/lapack_lite/python_xerbla.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
/var/tmp/portage/dev-python/numpy-1.10.4/work/numpy-1.10.4-python3_5/build/temp.linux-x86_64-3.5/numpy/linalg/lapack_lite/python_xerbla.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status

Merging again with MAKEOPTS=-j1 worked fine. I'm not sure whether the MAKEOPTS has any effect, since it doesn't look like a lot of makefiles in there. Might have been pure luck.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-01-29 09:09:56 UTC
commit 8e19a0a69461674621297d0d902507ed7976fdff
Author: Justin Lecher <jlec@gentoo.org>
Date:   Fri Jan 29 10:09:07 2016 +0100

    dev-python/numpy: Build sequential if python3.5 is involved

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573222

    Package-Manager: portage-2.2.27
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e19a0a69461674621297d0d902507ed7976fdff