+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qalculate-gtk-3.5.0nb26/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qalculate-gtk-3.5.0nb26/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for qalculate-gtk-3.5.0nb26 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0' Making all in data gmake[2]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/data' LC_ALL=C /home/pbulk/build/math/qalculate-gtk/work/.tools/bin/intltool-merge -x -u -c ../po/.intltool-merge-cache ../po qalculate-gtk.appdata.xml.in qalculate-gtk.appdata.xml Generating and caching the translation database Merging translations into qalculate-gtk.appdata.xml. CREATED qalculate-gtk.appdata.xml LC_ALL=C /home/pbulk/build/math/qalculate-gtk/work/.tools/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po qalculate-gtk.desktop.in qalculate-gtk.desktop Found cached translation database Merging translations into qalculate-gtk.desktop. gmake[2]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/data' Making all in src gmake[2]: Entering directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/src' g++ -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/opt/pkg/share"\" -DPACKAGE_DOC_DIR=\""/opt/pkg/share/doc/qalculate-gtk"\" -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/atk-1.0 -pthread -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/pixman-1 -D_REENTRANT -I/opt/pkg/include/libdrm -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/libdrm -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc In file included from main.cc:25: callbacks.h:63:40: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^ In file included from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:26, from main.h:33, from callbacks.h:27: /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | callbacks.h:64:44: error: macro "DECLARE_BUILTIN_FUNCTION" requires 2 arguments, but only 1 given 64 | DECLARE_BUILTIN_FUNCTION(ExpressionFunction) | ^ /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/BuiltinFunctions.h:39: note: macro "DECLARE_BUILTIN_FUNCTION" defined here 39 | #define DECLARE_BUILTIN_FUNCTION(x, i) class x : public MathFunction { \ | callbacks.h:37:9: error: 'string' does not name a type; did you mean 'GString'? 37 | string name; | ^~~~~~ | GString callbacks.h:63:1: error: 'DECLARE_BUILTIN_FUNCTION' does not name a type 63 | DECLARE_BUILTIN_FUNCTION(AnswerFunction) | ^~~~~~~~~~~~~~~~~~~~~~~~ callbacks.h:81:21: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:21: note: suggested alternatives: In file included from /opt/tools/gcc13/include/c++/13.2.0/string:41, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/includes.h:18, from /home/pbulk/build/math/qalculate-gtk/work/.buildlink/include/libqalculate/qalculate.h:15: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:81:34: error: 'string' was not declared in this scope 81 | bool string_is_less(string str1, string str2); | ^~~~~~ callbacks.h:81:34: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:81:45: error: expression list treated as compound expression in initializer [-fpermissive] 81 | bool string_is_less(string str1, string str2); | ^ callbacks.h:132:180: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:201: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:132:211: error: 'string' has not been declared 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: error: 'string' was not declared in this scope 132 | void execute_expression(bool force = true, bool do_mathoperation = false, MathOperation op = OPERATION_ADD, MathFunction *f = NULL, bool do_stack = false, size_t stack_index = 0, string execute_str = string(), string str = string(), bool check_exrates = true); | ^~~~~~ callbacks.h:132:224: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:133:114: error: 'string' has not been declared 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^~~~~~ callbacks.h:133:193: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 133 | void setResult(Prefix *prefix = NULL, bool update_history = true, bool update_parse = false, bool force = false, string transformation = "", size_t stack_index = 0, bool register_moved = false); | ^ | | | const char* callbacks.h:138:6: error: variable or field 'RPNRegisterAdded' declared void 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~~~~~~~~~~~ callbacks.h:138:23: error: 'string' was not declared in this scope 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~~ callbacks.h:138:23: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:138:41: error: expected primary-expression before 'index' 138 | void RPNRegisterAdded(string text, gint index = 0); | ^~~~~ callbacks.h:140:6: error: variable or field 'RPNRegisterChanged' declared void 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~~~~~~~~~~~~~ callbacks.h:140:25: error: 'string' was not declared in this scope 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~~ callbacks.h:140:25: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ callbacks.h:140:43: error: expected primary-expression before 'index' 140 | void RPNRegisterChanged(string text, gint index); | ^~~~~ main.cc:29:1: error: 'string' does not name a type; did you mean 'GString'? 29 | string *parsed_to_str; | ^~~~~~ | GString main.cc:32:1: error: 'string' does not name a type; did you mean 'GString'? 32 | string selected_function_category; | ^~~~~~ | GString main.cc:35:1: error: 'string' does not name a type; did you mean 'GString'? 35 | string selected_variable_category; | ^~~~~~ | GString main.cc:37:1: error: 'string' does not name a type; did you mean 'GString'? 37 | string result_text, parsed_text; | ^~~~~~ | GString main.cc:39:1: error: 'string' does not name a type; did you mean 'GString'? 39 | string selected_unit_category; | ^~~~~~ | GString main.cc:40:1: error: 'string' does not name a type; did you mean 'GString'? 40 | string selected_unit_selector_category; | ^~~~~~ | GString main.cc:47:8: error: 'vector' does not name a type; did you mean 'Vector'? 47 | extern vector recent_functions_pre; | ^~~~~~ | Vector main.cc:48:8: error: 'vector' does not name a type; did you mean 'Vector'? 48 | extern vector recent_variables_pre; | ^~~~~~ | Vector main.cc:49:8: error: 'vector' does not name a type; did you mean 'Vector'? 49 | extern vector recent_units_pre; | ^~~~~~ | Vector main.cc:64:1: error: 'string' does not name a type; did you mean 'GString'? 64 | string calc_arg; | ^~~~~~ | GString main.cc: In function 'void create_application(GtkApplication*)': main.cc:120:9: error: 'parsed_to_str' was not declared in this scope; did you mean 'parsed_tostruct'? 120 | parsed_to_str = new string; | ^~~~~~~~~~~~~ | parsed_tostruct main.cc:120:29: error: 'string' does not name a type; did you mean 'GString'? 120 | parsed_to_str = new string; | ^~~~~~ | GString main.cc:135:12: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 135 | if(calc_arg.empty() && first_time) { | ^~~~~~~~ | va_arg main.cc:167:9: error: 'string' was not declared in this scope 167 | string ans_str = _("ans"); | ^~~~~~ main.cc:167:9: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ main.cc:168:111: error: 'ans_str' was not declared in this scope 168 | vans[0] = (KnownVariable*) CALCULATOR->addVariable(new KnownVariable(CALCULATOR->temporaryCategory(), ans_str, m_undefined, _("Last Answer"), false)); | ^~~~~~~ main.cc:181:48: error: expected type-specifier before 'AnswerFunction' 181 | f_answer = CALCULATOR->addFunction(new AnswerFunction()); | ^~~~~~~~~~~~~~ main.cc:182:52: error: expected type-specifier before 'ExpressionFunction' 182 | f_expression = CALCULATOR->addFunction(new ExpressionFunction()); | ^~~~~~~~~~~~~~~~~~ main.cc:197:9: error: 'selected_function_category' was not declared in this scope; did you mean 'selected_function'? 197 | selected_function_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | selected_function main.cc:200:9: error: 'selected_variable_category' was not declared in this scope; did you mean 'selected_variable'? 200 | selected_variable_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | selected_variable main.cc:203:9: error: 'selected_unit_category' was not declared in this scope 203 | selected_unit_category = _("All"); | ^~~~~~~~~~~~~~~~~~~~~~ main.cc:206:9: error: 'result_text' was not declared in this scope 206 | result_text = "0"; | ^~~~~~~~~~~ main.cc:207:9: error: 'parsed_text' was not declared in this scope; did you mean 'parsed_mstruct'? 207 | parsed_text = "0"; | ^~~~~~~~~~~ | parsed_mstruct main.cc:237:28: error: 'recent_functions_pre' was not declared in this scope 237 | for(int i = ((int) recent_functions_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~~~~~ main.cc:240:28: error: 'recent_variables_pre' was not declared in this scope 240 | for(int i = ((int) recent_variables_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~~~~~ main.cc:243:28: error: 'recent_units_pre' was not declared in this scope 243 | for(int i = ((int) recent_units_pre.size()) - 1; i >= 0; i--) { | ^~~~~~~~~~~~~~~~ main.cc:251:27: error: 'ViewThread' does not name a type; did you mean 'Thread'? 251 | view_thread = new ViewThread; | ^~~~~~~~~~ | Thread main.cc:255:13: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 255 | if(!calc_arg.empty()) { | ^~~~~~~~ | va_arg main.cc:261:26: error: invalid conversion from 'const char*' to 'int' [-fpermissive] 261 | setResult(NULL, false, false, false); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const char* main.cc: In function 'gint qalculate_handle_local_options(GtkApplication*, GVariantDict*)': main.cc:336:17: error: 'string' was not declared in this scope 336 | string stmp, svar; | ^~~~~~ main.cc:336:17: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ main.cc:340:25: error: 'stmp' was not declared in this scope; did you mean 'tm'? 340 | stmp = line; | ^~~~ | tm main.cc:342:61: error: 'string' is not a class, namespace, or enumeration 342 | if((i = stmp.find_first_of("=")) != string::npos) { | ^~~~~~ main.cc:343:33: error: 'svar' was not declared in this scope 343 | svar = stmp.substr(0, i); | ^~~~ main.cc:346:47: error: expected ';' before 'svalue' 346 | string svalue = stmp.substr(i + 1, stmp.length() - (i + 1)); | ^~~~~~~ | ; main.cc:347:59: error: 'svalue' was not declared in this scope; did you mean 'GValue'? 347 | remove_blank_ends(svalue); | ^~~~~~ | GValue main.cc: In function 'gint qalculate_command_line(GtkApplication*, GApplicationCommandLine*)': main.cc:369:9: error: 'calc_arg' was not declared in this scope; did you mean 'va_arg'? 369 | calc_arg = ""; | ^~~~~~~~ | va_arg main.cc: In function 'int main(int, char**)': main.cc:408:9: error: 'string' was not declared in this scope 408 | string stmp; | ^~~~~~ main.cc:408:9: note: suggested alternatives: /opt/tools/gcc13/include/c++/13.2.0/bits/stringfwd.h:77:33: note: 'std::string' 77 | typedef basic_string string; | ^~~~~~ /opt/tools/gcc13/include/c++/13.2.0/string:66:11: note: 'std::pmr::string' 66 | using string = basic_string; | ^~~~~~ gmake[2]: *** [Makefile:515: main.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0/src' gmake[1]: *** [Makefile:442: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/math/qalculate-gtk/work/qalculate-gtk-3.5.0' gmake: *** [Makefile:374: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/qalculate-gtk *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/qalculate-gtk