[DRE-maint] Bug#560541: libsvm-ruby: FTBFS: main.cpp:18:17: error: svm.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Dec 11 08:30:44 UTC 2009


Source: libsvm-ruby
Version: 2.8.5-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I.   -fPIC -g -O2 -g -Wall -O2 -Wall -O3  -DHAVE_DEFINE_ALLOC_FUNCTION   -c main.cpp
> main.cpp:18:17: error: svm.h: No such file or directory
> main.cpp:27: error: field 'prob' has incomplete type
> main.cpp:37: error: field 'p' has incomplete type
> main.cpp: In function 'svm_node* rubyArrayToNodelist(VALUE)':
> main.cpp:52: error: invalid application of 'sizeof' to incomplete type 'svm_node' 
> main.cpp:54: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:54: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:55: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:55: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:57: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:57: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:58: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp:58: error: invalid use of incomplete type 'struct svm_node'
> main.cpp:46: error: forward declaration of 'struct svm_node'
> main.cpp: In function 'VALUE svmpa_svm_dump(VALUE, VALUE)':
> main.cpp:71: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:72: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:73: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:74: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:75: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:76: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:77: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:78: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:79: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:80: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:81: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_svm_load(VALUE, VALUE)':
> main.cpp:97: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:99: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:100: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:101: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:102: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:103: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:105: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:106: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:107: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:108: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:109: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_gamma(VALUE)':
> main.cpp:120: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_gammaeq(VALUE, VALUE)':
> main.cpp:129: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_coef0(VALUE)':
> main.cpp:138: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_coef0eq(VALUE, VALUE)':
> main.cpp:147: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_cache_size(VALUE)':
> main.cpp:157: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_cache_sizeeq(VALUE, VALUE)':
> main.cpp:166: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_eps(VALUE)':
> main.cpp:175: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_epseq(VALUE, VALUE)':
> main.cpp:184: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_C(VALUE)':
> main.cpp:193: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_Ceq(VALUE, VALUE)':
> main.cpp:202: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_nu(VALUE)':
> main.cpp:212: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_nueq(VALUE, VALUE)':
> main.cpp:221: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_p(VALUE)':
> main.cpp:231: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_peq(VALUE, VALUE)':
> main.cpp:240: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_degree(VALUE)':
> main.cpp:250: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_degreeeq(VALUE, VALUE)':
> main.cpp:259: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_kernel_type(VALUE)':
> main.cpp:273: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_kernel_typeeq(VALUE, VALUE)':
> main.cpp:286: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_svm_type(VALUE)':
> main.cpp:301: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpa_svm_typeeq(VALUE, VALUE)':
> main.cpp:315: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'RSVM_Parameter* newParameter()':
> main.cpp:323: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:323: error: 'C_SVC' was not declared in this scope
> main.cpp:324: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:324: error: 'RBF' was not declared in this scope
> main.cpp:325: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:326: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:327: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:328: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:329: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:330: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:331: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:332: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:333: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:334: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'RSVM_Problem* newProblem()':
> main.cpp:344: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:345: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:346: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp: In function 'void syncProblem(RSVM_Problem*)':
> main.cpp:363: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:364: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:365: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp: In function 'void svmpm_free(void*)':
> main.cpp:374: error: 'svm_destroy_model' was not declared in this scope
> main.cpp: In function 'void svmpr_free(void*)':
> main.cpp:395: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:396: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp: In function 'VALUE svmpm_new(VALUE, VALUE, VALUE)':
> main.cpp:457: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:460: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:461: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:462: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp:462: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp:462: error: 'svm_train' was not declared in this scope
> main.cpp:464: error: 'struct RSVM_Parameter' has no member named 'p'
> main.cpp: In function 'VALUE svmpm_predict_values(VALUE, VALUE)':
> main.cpp:477: error: 'svm_get_nr_class' was not declared in this scope
> main.cpp:481: error: 'svm_predict_values' was not declared in this scope
> main.cpp: In function 'VALUE svmpm_predict_probability(VALUE, VALUE)':
> main.cpp:499: error: 'svm_get_nr_class' was not declared in this scope
> main.cpp:500: error: 'svm_predict_probability' was not declared in this scope
> main.cpp: In function 'VALUE svmpm_predict(VALUE, VALUE)':
> main.cpp:518: error: 'svm_predict' was not declared in this scope
> main.cpp: In function 'VALUE svmpr_size(VALUE)':
> main.cpp:555: error: 'struct RSVM_Problem' has no member named 'prob'
> main.cpp: At global scope:
> main.cpp:587: error: field 'param' has incomplete type
> main.cpp: In function 'void Init_SVM()':
> main.cpp:629: error: 'C_SVC' was not declared in this scope
> main.cpp:630: error: 'NU_SVC' was not declared in this scope
> main.cpp:631: error: 'ONE_CLASS' was not declared in this scope
> main.cpp:632: error: 'EPSILON_SVR' was not declared in this scope
> main.cpp:633: error: 'NU_SVR' was not declared in this scope
> main.cpp:634: error: 'LINEAR' was not declared in this scope
> main.cpp:635: error: 'POLY' was not declared in this scope
> main.cpp:636: error: 'RBF' was not declared in this scope
> main.cpp:637: error: 'SIGMOID' was not declared in this scope
> main.cpp: At global scope:
> main.cpp:526: warning: 'VALUE svmpm_init(VALUE)' defined but not used
> main.cpp:534: warning: 'VALUE svmpa_init(VALUE)' defined but not used
> make[1]: *** [main.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/12/10/libsvm-ruby_2.8.5-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |






More information about the Pkg-ruby-extras-maintainers mailing list