Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2019 02:31:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236910] error when  installing scipy by pip  on FreeBSD 12.0
Message-ID:  <bug-236910-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236910

            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@FreeBSD.org
          Reporter: skywalk163@vip.qq.com

error when  installing scipy by pip  on FreeBSD 12.0


[py37] pywork@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/ndar=
rayobject.h:12:
    In file included from
/home/pywork/py37/lib/python3.7/site-packages/numpy/core/include/numpy/ndar=
raytypes.h:1822:
=20=20=20
/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 L=
LVM
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, preproces=
sed
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=3D1 -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__=3D'/tmp/pip-install-1evu1sbq/scipy/setup.py';f=3Dgetattr(=
tokenize,
'open', open)(__file__);code=3Df.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
/tmp/pip-record-viqw4giu/install-record.txt --single-version-externally-man=
aged
--compile --install-headers /home/pywork/py37/include/site/python3.7/scipy"
failed with error code 1 in /tmp/pip-install-1evu1sbq/scipy/

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236910-7788>