[Bug 236910] error when installing scipy by pip on FreeBSD 12.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 31 02:31:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236910

            Bug ID: 236910
           Summary: error when  installing scipy by pip  on FreeBSD 12.0
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: skywalk163 at vip.qq.com

error when  installing scipy by pip  on FreeBSD 12.0


[py37] pywork at localhost:~ % pip install scipy -i
https://pypi.mirrors.ustc.edu.cn/simple/

    c++: scipy/sparse/sparsetools/bsr.cxx
    In file included from scipy/sparse/sparsetools/bsr.cxx:4:
    In file included from scipy/sparse/sparsetools/sparsetools.h:5:
    In file included from
/home/pywork/py37/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
    In file included from
/home/pywork/py37/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
   
/home/pywork/py37/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2:
warning: "Using deprecated NumPy API, disable it with "          "#define
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it with " \
     ^
    c++: error: unable to execute command: Killed
    c++: error: clang frontend command failed due to signal (use -v to see
invocation)
    FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM
6.0.1)
    Target: x86_64-unknown-freebsd12.0
    Thread model: posix
    InstalledDir: /usr/bin
    c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
    c++: note: diagnostic msg:
    ********************

    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    c++: note: diagnostic msg: /tmp/bsr-5fdd84.cpp
    c++: note: diagnostic msg: /tmp/bsr-5fdd84.sh
    c++: note: diagnostic msg:

    ********************
    error: Command "c++ -pthread -Wno-unused-result -Wsign-compare
-Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing
-fPIC -D__STDC_FORMAT_MACROS=1 -Iscipy/sparse/sparsetools
-I/home/pywork/py37/lib/python3.7/site-packages/numpy/core/include
-I/home/pywork/py37/include -I/usr/local/include/python3.7m -c
scipy/sparse/sparsetools/bsr.cxx -o
build/temp.freebsd-12.0-RELEASE-p3-amd64-3.7/scipy/sparse/sparsetools/bsr.o
-MMD -MF
build/temp.freebsd-12.0-RELEASE-p3-amd64-3.7/scipy/sparse/sparsetools/bsr.o.d"
failed with exit status 254

    ----------------------------------------
Command "/home/pywork/py37/bin/python3.7 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-install-1evu1sbq/scipy/setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-viqw4giu/install-record.txt --single-version-externally-managed
--compile --install-headers /home/pywork/py37/include/site/python3.7/scipy"
failed with error code 1 in /tmp/pip-install-1evu1sbq/scipy/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list