Source: scikit-learn
Version: 0.5-1
Severity: serious
Justification: fails to build from source

scikit-learn failed to build from source in a clean sid+experimental chroot. The interesting parts of the build log:

| Package versions: [...] libsvm-dev_3.0-1 libsvm3_3.0-1 [...]
[...]
| running build_ext
| customize UnixCCompiler
| customize UnixCCompiler using build_ext
| customize UnixCCompiler
| customize UnixCCompiler using build_ext
| building 'scikits.learn.svm._libsvm' extension
| compiling C sources
| C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -g -O2 -fPIC
| | creating build/temp.linux-i686-2.5/scikits/learn/svm/src/libsvm
| compile options: '-I/usr/lib/pymodules/python2.5/numpy/core/include 
-I/usr/include/libsvm-2.0/libsvm 
-I/usr/lib/pymodules/python2.5/numpy/core/include -I/usr/include/python2.5 -c'
| gcc: scikits/learn/svm/src/libsvm/_libsvm.c
| scikits/learn/svm/src/libsvm/_libsvm.c:160:17: error: svm.h: No such file or 
directory
| In file included from scikits/learn/svm/src/libsvm/_libsvm.c:161:
| scikits/learn/svm/src/libsvm/libsvm_helper.c:19: error: field 'param' has 
incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c: In function 'dense_to_sparse':
| scikits/learn/svm/src/libsvm/libsvm_helper.c:66: error: invalid application of 'sizeof' to incomplete type 'struct svm_node' | scikits/learn/svm/src/libsvm/libsvm_helper.c:75: error: dereferencing pointer to incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:76: error: dereferencing pointer 
to incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:77: error: increment of pointer 
to unknown structure
| scikits/learn/svm/src/libsvm/libsvm_helper.c:77: error: arithmetic on pointer 
to an incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:83: error: dereferencing pointer 
to incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:84: error: increment of pointer 
to unknown structure
| scikits/learn/svm/src/libsvm/libsvm_helper.c:84: error: arithmetic on pointer 
to an incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:87: error: arithmetic on pointer 
to an incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:87: error: arithmetic on pointer 
to an incomplete type
| scikits/learn/svm/src/libsvm/libsvm_helper.c:88: error: invalid application of 'sizeof' to incomplete type 'struct svm_node' | scikits/learn/svm/src/libsvm/libsvm_helper.c:90: error: invalid application of 'sizeof' to incomplete type 'struct svm_node' [...and so on]
| dh_auto_build: python2.5 setup.py build returned exit code 1
| make: *** [build] Error 1

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to