+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/svmlin-1.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/svmlin-1.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for svmlin-1.0 --- check_mkc_err_msg --- --- svmlin.o --- --- ssl.o --- --- svmlin.o --- c++ -I/usr/pkg/share/mk-configure/features -pipe -O2 -I/usr/pkg/share/mk-configure/features -c -o svmlin.o svmlin.cpp --- ssl.o --- c++ -I/usr/pkg/share/mk-configure/features -pipe -O2 -I/usr/pkg/share/mk-configure/features -c -o ssl.o ssl.cpp --- svmlin.o --- svmlin.cpp:74:25: error: reference to 'data' is ambiguous 74 | struct data *Data = new data[1]; | ^~~~ In file included from /usr/include/c++/11/string:54, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from svmlin.cpp:21: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template<class _Tp> constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template<class _Tp, long unsigned int _Nm> constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template<class _Container> constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template<class _Container> constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ In file included from svmlin.cpp:26: ssl.h:44:8: note: 'struct data' 44 | struct data | ^~~~ svmlin.cpp: In function 'void Read(char*, data*, const vector_int*)': svmlin.cpp:264:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | fscanf(fpin,"%d:%lf",&C[j],&VAL[j]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svmlin.cpp: In function 'void Read(char*, vector_double*)': svmlin.cpp:343:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | fscanf(fpwts,"%lf\n",&Weights->vec[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [svmlin.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/svmlin/work/svmlin-v1.0 --- ssl.o --- ssl.cpp: In function 'int CGLS(const data*, const options*, const vector_int*, vector_double*, vector_double*)': ssl.cpp:109:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 109 | for(register int j=0; j < active; j++) | ^ ssl.cpp:112:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 112 | for(register int i=row[ii]; i < row[ii+1]; i++) | ^ ssl.cpp:138:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 138 | register int i,j; | ^ ssl.cpp:138:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 138 | register int i,j; | ^ ssl.cpp:164:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 164 | for(register int j=0; j < active; j++) | ^ ssl.cpp:168:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 168 | for(register int i=row[ii]; i < row[ii+1]; i++) | ^ ssl.cpp: In function 'int L2_SVM_MFN(const data*, options*, vector_double*, vector_double*, int)': ssl.cpp:279:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 279 | for(register int i=active; i < m; i++) | ^ ssl.cpp:283:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 283 | for(register int j=row[ii]; j < row[ii+1]; j++) | ^ ssl.cpp: In function 'int TSVM_MFN(const data*, options*, vector_double*, vector_double*)': ssl.cpp:455:35: error: reference to 'data' is ambiguous 455 | struct data *Data_Labeled = new data[1]; | ^~~~ In file included from /usr/include/c++/11/string:54, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/ostream:38, from /usr/include/c++/11/iostream:39, from ssl.cpp:21: /usr/include/c++/11/bits/range_access.h:319:5: note: candidates are: 'template<class _Tp> constexpr const _Tp* std::data(std::initializer_list<_Tp>)' 319 | data(initializer_list<_Tp> __il) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:310:5: note: 'template<class _Tp, long unsigned int _Nm> constexpr _Tp* std::data(_Tp (&)[_Nm])' 310 | data(_Tp (&__array)[_Nm]) noexcept | ^~~~ /usr/include/c++/11/bits/range_access.h:300:5: note: 'template<class _Container> constexpr decltype (__cont.data()) std::data(const _Container&)' 300 | data(const _Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ /usr/include/c++/11/bits/range_access.h:290:5: note: 'template<class _Container> constexpr decltype (__cont.data()) std::data(_Container&)' 290 | data(_Container& __cont) noexcept(noexcept(__cont.data())) | ^~~~ In file included from ssl.cpp:27: ssl.h:44:8: note: 'struct data' 44 | struct data | ^~~~ ssl.cpp: In function 'int optimize_w(const data*, const double*, options*, vector_double*, vector_double*, int)': ssl.cpp:804:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 804 | for(register int i=active; i < m; i++) | ^ ssl.cpp:808:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 808 | for(register int j=row[ii]; j < row[ii+1]; j++) | ^ ssl.cpp: In function 'void ssl_predict(char*, const vector_double*, vector_double*)': ssl.cpp:1133:17: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1133 | fscanf(fpin,"%d:%lf",&colind,&val); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [ssl.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/svmlin/work/svmlin-v1.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/math/svmlin/work/svmlin-v1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/svmlin *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/svmlin