https://bugzilla.redhat.com/show_bug.cgi?id=1102773
Bug ID: 1102773
Summary: FTBFS with Python3 >= 3.4
Product: Fedora
Version: rawhide
Component: python-scikit-learn
Assignee: sergio.pasra(a)gmail.com
Reporter: bjoern.esser(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: bjoern.esser(a)gmail.com, chrisdersch(a)gmail.com,
ml(a)lists.fedoraproject.org, sergio.pasra(a)gmail.com
FTBFS with the following log output [1]:
building 'sklearn.cluster._k_means' extension
compiling C sources
C compiler: gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -fPIC
compile options: '-DATLAS_INFO="\"3.10.1\""
-I/usr/lib64/python3.4/site-packages/numpy/core/include -I/usr/include
-I/usr/lib64/python3.4/site-packages/numpy/core/include
-I/usr/include/python3.4m -c'
gcc: sklearn/cluster/_k_means.c
In file included from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from sklearn/cluster/_k_means.c:315:
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: #warning "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
sklearn/cluster/_k_means.c: In function '__Pyx_TraceSetupAndCall':
sklearn/cluster/_k_means.c:7955:17: error: 'PyFrameObject' has no member named
'f_tstate'
(*frame)->f_tstate = tstate;
^
In file included from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ufuncobject.h:327:0,
from sklearn/cluster/_k_means.c:316:
sklearn/cluster/_k_means.c: At top level:
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1:
warning: '_import_umath' defined but not used [-Wunused-function]
_import_umath(void)
^
Partial import of sklearn during the build process.
In file included from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from sklearn/cluster/_k_means.c:315:
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: #warning "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
sklearn/cluster/_k_means.c: In function '__Pyx_TraceSetupAndCall':
sklearn/cluster/_k_means.c:7955:17: error: 'PyFrameObject' has no member named
'f_tstate'
(*frame)->f_tstate = tstate;
^
In file included from
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/ufuncobject.h:327:0,
from sklearn/cluster/_k_means.c:316:
sklearn/cluster/_k_means.c: At top level:
/usr/lib64/python3.4/site-packages/numpy/core/include/numpy/__ufunc_api.h:241:1:
warning: '_import_umath' defined but not used [-Wunused-function]
_import_umath(void)
^
error: Command "gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -fPIC -DATLAS_INFO="\"3.10.1\""
-I/usr/lib64/python3.4/site-packages/numpy/core/include -I/usr/include
-I/usr/lib64/python3.4/site-packages/numpy/core/include
-I/usr/include/python3.4m -c sklearn/cluster/_k_means.c -o
build/temp.linux-x86_64-3.4/sklearn/cluster/_k_means.o" failed with exit status
1
error: Bad exit status from /var/tmp/rpm-tmp.QmYtJ0 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.QmYtJ0 (%build)
Child return code was: 1
[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=520315
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=6k59h1kGcW&a=cc_unsubscribe