Bug 1102773
| Summary: | FTBFS with Python3 >= 3.4 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Björn Esser (besser82) <besser82> |
| Component: | python-scikit-learn | Assignee: | Sergio Pascual <sergio.pasra> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | besser82, lupinix.fedora, ml, sergio.pasra |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-04 08:37:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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