* Package: app-text/bact-0.13-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bact-0.13.tar.gz to /var/tmp/portage/app-text/bact-0.13-r2/work >>> Source unpacked in /var/tmp/portage/app-text/bact-0.13-r2/work >>> Preparing source in /var/tmp/portage/app-text/bact-0.13-r2/work/bact-0.13 ... * Applying bact-0.13-makefile.patch ... [ ok ] * Applying bact-0.13-cpp14.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-text/bact-0.13-r2/work/bact-0.13 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/bact-0.13-r2/work/bact-0.13 ... make -j4 clang++ -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wno-deprecated -c -o str2node.o str2node.cpp clang++ -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wno-deprecated -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bact_learn.cpp str2node.o -o bact_learn clang++ -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wno-deprecated -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bact_mkmodel.cpp str2node.o -o bact_mkmodel clang++ -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wno-deprecated -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bact_classify.cpp str2node.o -o bact_classify bact_classify.cpp:50:34: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'? 50 | struct pair_2nd_cmp: public std::binary_function { | ~~~~~^~~~~~~~~~~~~~~ | __binary_function /usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here 49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg... | ^ bact_mkmodel.cpp:36:34: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'? 36 | struct pair_2nd_cmp: public std::binary_function { | ~~~~~^~~~~~~~~~~~~~~ | __binary_function /usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here 49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg... | ^ bact_mkmodel.cpp:99:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 99 | if (tokenize (buf, "\t ", column, 2) != 2) { | ^ bact_classify.cpp:231:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 231 | if (2 != tokenize ((char *)line.c_str(), "\t ", column, 2)) { | ^ bact_learn.cpp:124:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 124 | if (2 != tokenize (line, "\t ", column, 2)) { | ^ bact_learn.cpp:187:29: warning: '&&' within '||' [-Wlogical-op-parentheses] 187 | if (g > tau || g == tau && size < rule.size) { | ~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ bact_learn.cpp:187:29: note: place parentheses around the '&&' expression to silence this warning 187 | if (g > tau || g == tau && size < rule.size) { | ^ | ( ) bact_learn.cpp:409:59: error: no member named 'bind2nd' in namespace 'std' 409 | std::transform (w.begin(), w.end(), w.begin(), std::bind2nd(std::d... | ~~~~~^ 1 warning and 1 error generated. 1 warning and 1 error generated. make: *** [: bact_classify] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: bact_mkmodel] Error 1 2 warnings and 1 error generated. make: *** [: bact_learn] Error 1 * ERROR: app-text/bact-0.13-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/bact-0.13-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/bact-0.13-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-text:bact-0.13-r2:20231213-091344.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/bact-0.13-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/bact-0.13-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-text/bact-0.13-r2/work/bact-0.13' * S: '/var/tmp/portage/app-text/bact-0.13-r2/work/bact-0.13'