+ 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/snns-4.3nb2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/snns-4.3nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for snns-4.3nb2 --- compile-kernel --- --- compile-tools --- --- compile-kernel --- cd kernel/sources && /usr/pkg/bin/bmake --- compile-tools --- cd tools/sources && /usr/pkg/bin/bmake --- compile-kernel --- --- kernel.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kernel.c --- compile-tools --- --- ../../kernel/sources/libfunc.a --- need to (re)make kernel libraries first... cd ../../kernel/sources && /usr/pkg/bin/bmake --- kr_io.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_io.c --- compile-kernel --- --- kr_mem.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_mem.c --- compile-tools --- --- kr_ui.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_ui.c --- compile-kernel --- --- kr_inversion.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_inversion.c kr_inversion.c: In function 'kr_inv_forwardPass': kr_inversion.c:146:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] kr_PythonActFunction(unit_ptr->python_act_func, ^~~~~~~~~~~~~~~~~~~~ kr_PythonOutFunction --- art_ui.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c art_ui.c --- kr_art.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_art.c --- kr_art1.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_art1.c --- compile-tools --- --- kr_art2.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_art2.c --- compile-kernel --- --- kr_amap.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_amap.c --- compile-tools --- --- kr_pat_parse.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_pat_parse.c --- kr_newpattern.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_newpattern.c --- compile-kernel --- --- kr_JordElm.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_JordElm.c --- compile-tools --- --- kr_rand.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_rand.c --- func_tbl.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c func_tbl.c --- init_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c init_f.c --- compile-kernel --- --- kr_td.o --- --- compile-tools --- init_f.c: In function 'RbfInitNetwork': init_f.c:882:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] kr_PythonActFunction(h_unit_ptr->python_act_func, ^~~~~~~~~~~~~~~~~~~~ kr_PythonOutFunction --- compile-kernel --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_td.c --- kr_funcs.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_funcs.c --- learn_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c learn_f.c learn_f.c: In function 'propagateNetForward': learn_f.c:144:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] kr_PythonActFunction(unit_ptr->python_act_func, ^~~~~~~~~~~~~~~~~~~~ kr_PythonOutFunction --- compile-tools --- --- prun_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c prun_f.c --- tbl_func.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c tbl_func.c --- trans_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c trans_f.c --- compile-kernel --- --- update_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c update_f.c --- compile-tools --- --- remap_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c remap_f.c --- matrix.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c matrix.c --- compile-kernel --- --- arttr_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c arttr_f.c --- compile-tools --- --- cc_learn.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c cc_learn.c In file included from cc_learn.c:41: cc_learn.c: In function 'cc_trainOutputUnits': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^~~~~ cc_learn.c:316:12: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' PROPAGATE_THROUGH_OUTPUT_LAYER(UnitPtr,dummy,p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compile-kernel --- --- cc_prune.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c cc_prune.c --- cc_modify.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c cc_modify.c --- cc_glob.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c cc_glob.c In file included from cc_glob.c:43: cc_glob.c: In function 'cc_getErr': cc_mac.h:273:4: warning: implicit declaration of function 'kr_PythonActFunction'; did you mean 'kr_PythonOutFunction'? [-Wimplicit-function-declaration] kr_PythonActFunction(outputUnitPtr->python_act_func, \ ^~~~~~~~~~~~~~~~~~~~ cc_mac.h:240:43: note: in definition of macro 'CALCULATE_ACTIVATION_AND_OUTPUT' (UnitPtr->act = value) : \ ^~~~~ cc_glob.c:110:2: note: in expansion of macro 'PROPAGATE_THROUGH_OUTPUT_LAYER' PROPAGATE_THROUGH_OUTPUT_LAYER(OutputUnitPtr,dummy,p); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compile-tools --- --- cc_display.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c cc_display.c --- compile-kernel --- --- tacoma_learn.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c tacoma_learn.c --- compile-tools --- --- tacoma_learn.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c tacoma_learn.c tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] krui_err tac_initXiAndRis(StartPattern,EndPattern) ^~~~~~~~~~~~~~~~ tacoma_learn.c:475:10: warning: type of 'EndPattern' defaults to 'int' [-Wimplicit-int] --- compile-kernel --- tacoma_learn.c: In function 'tac_initXiAndRis': tacoma_learn.c:475:10: warning: type of 'StartPattern' defaults to 'int' [-Wimplicit-int] krui_err tac_initXiAndRis(StartPattern,EndPattern) ^~~~~~~~~~~~~~~~ tacoma_learn.c:475:10: warning: type of 'EndPattern' defaults to 'int' [-Wimplicit-int] --- dlvq_learn.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c dlvq_learn.c --- compile-tools --- --- stochastic_learn_f.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c stochastic_learn_f.c --- scaled_conj_grad.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c scaled_conj_grad.c --- compile-kernel --- --- scaled_conj_grad.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c scaled_conj_grad.c --- kr_pat_scan.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_pat_scan.c --- compile-tools --- --- kr_pat_scan.o --- cc -fPIC -I../.. -pipe -O2 -I/usr/pkg/include -c kr_pat_scan.c --- compile-kernel --- --- libfunc.a --- --- compile-tools --- --- libfunc.a --- --- compile-kernel --- ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o --- compile-tools --- ar rc libfunc.a func_tbl.o init_f.o kr_td.o kr_funcs.o learn_f.o prun_f.o tbl_func.o trans_f.o update_f.o remap_f.o matrix.o arttr_f.o cc_learn.o cc_prune.o cc_modify.o cc_glob.o cc_display.o tacoma_learn.o dlvq_learn.o stochastic_learn_f.o scaled_conj_grad.o Ignore possible error messages for the following command: ranlib libfunc.a --- compile-kernel --- Ignore possible error messages for the following command: ranlib libfunc.a --- compile-tools --- ranlib: libfunc.a: Error reading cc_modify.o: File truncated END OF COMMANDS THAT MAY FAIL --- libkernel.a --- --- compile-kernel --- END OF COMMANDS THAT MAY FAIL --- libkernel.a --- --- compile-tools --- ar rc libkernel.a kr_pat_scan.o kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o kr_rand.o --- compile-kernel --- ar rc libkernel.a kr_pat_scan.o kernel.o kr_io.o kr_mem.o kr_ui.o kr_inversion.o art_ui.o kr_art.o kr_art1.o kr_art2.o kr_amap.o kr_pat_parse.o kr_newpattern.o kr_JordElm.o kr_rand.o Ignore possible error messages for the following command: ranlib libkernel.a --- compile-tools --- Ignore possible error messages for the following command: ranlib libkernel.a END OF COMMANDS THAT MAY FAIL end of (re)making kernel libraries --- compile-kernel --- END OF COMMANDS THAT MAY FAIL --- compile-tools --- --- analyze.o --- --- compile-xgui --- --- compile-tools --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c analyze.c --- compile-xgui --- cd xgui/sources && /usr/pkg/bin/bmake --- ui_xWidgets.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_xWidgets.c --- compile-tools --- analyze.c: In function 'get_options': analyze.c:298:17: warning: implicit declaration of function 'getopt'; did you mean 'getsubopt'? [-Wimplicit-function-declaration] while ((c = getopt (argc, argv, "awruvcme:i:o:h:l:sS:")) != -1) ^~~~~~ getsubopt analyze.c: In function 'read_file_header': analyze.c:404:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%s %s %s", str1, str2, str3) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:411:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %*s %*s %*s %*s") ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:412:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(file_header_info->no_of_patterns)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:414:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %*s %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(file_header_info->no_of_input_units)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:416:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %*s %*s %*s %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(file_header_info->no_of_output_units)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:418:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(file_header_info->startpattern)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:420:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s %*s %d", &(file_header_info->endpattern)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:426:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%s", str1) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:429:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%s %s %s", str2, str3, str1) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:439:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(in_file, "%s %s %s", str2, str3, str1) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c: In function 'main': analyze.c:545:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*f") ; ^~~~~~~~~~~~~~~~~~~~~~~ analyze.c:549:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%f", &teaching_output[i]) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:552:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%f", &output[i]) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:652:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf (in_file, "%*s") ; ^~~~~~~~~~~~~~~~~~~~~~~ --- pat_sel_simple.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c pat_sel_simple.c --- mkhead.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c mkhead.c --- mkout.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c mkout.c --- mkpat.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c mkpat.c --- snns2c.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c snns2c.c --- compile-xgui --- --- ui_confirmer.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_confirmer.c --- ui_main.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_main.c In file included from ui_main.c:80: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^~~~~~ ui_main.c: In function 'ui_init': ui_main.c:113:12: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void) getcwd( ui_pathname, MAXPATHLEN ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ui_mainP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_mainP.c ui_mainP.c: In function 'ui_guiQuit': ui_mainP.c:1600:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system (cmdLine); ^~~~~~~~~~~~~~~~ ui_mainP.c: In function 'ui_guiDoQuit': ui_mainP.c:1629:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system (cmdLine); ^~~~~~~~~~~~~~~~ --- compile-tools --- --- snns2clib.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c snns2clib.c --- pat_sel.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c pat_sel.c pat_sel.c: In function 'main': pat_sel.c:126:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(in_no_file, "%d", &pat_no[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compile-xgui --- --- ui_status.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_status.c --- compile-tools --- --- netlearn.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c netlearn.c netlearn.c: In function 'main': netlearn.c:57:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", file_name); ^~~~~~~~~~~~~~~~~~~~~~ netlearn.c:74:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:89:6: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%f", &learn_parameters[ i ] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:93:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^~~~~~~~~~~~~~~ netlearn.c:100:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^~~~~~~~~~~~~~~~~~~~~~~~ netlearn.c:160:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^~~~~~~~~~~~~~~~~~~~~~~~ --- td_bignet.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c td_bignet.c --- compile-xgui --- --- ui_info.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_info.c --- compile-tools --- --- ff_bignet.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c ff_bignet.c --- compile-xgui --- --- ui_infoP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_infoP.c --- ui_maspar.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_maspar.c --- ui_control.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_control.c In file included from /usr/include/stdio.h:873, from ui_control.c:23: In function 'sprintf', inlined from 'ui_xCreateControlPanel' at ui_control.c:328:2: /usr/include/bits/stdio2.h:36:10: warning: '__builtin___sprintf_chk' writing 24 bytes into a region of size 20 overflows the destination [-Wstringop-overflow=] return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'ui_xCreateControlPanel' at ui_control.c:371:2: /usr/include/bits/stdio2.h:36:10: warning: '__builtin___sprintf_chk' writing 26 bytes into a region of size 20 overflows the destination [-Wstringop-overflow=] return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ --- compile-tools --- --- netperf.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c netperf.c netperf.c: In function 'main': netperf.c:93:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", file_name); ^~~~~~~~~~~~~~~~~~~~~~ netperf.c:110:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", file_name ); ^~~~~~~~~~~~~~~~~~~~~~~~ netperf.c:128:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%d", &choose_me ); ^~~~~~~~~~~~~~~~~~~~~~~~~ netperf.c:150:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^~~~~~~~~~~~~~~ netperf.c:187:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf( "%f", &learn_parameters[ i ] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compile-xgui --- --- ui_controlP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_controlP.c --- compile-tools --- --- snnsbat.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c snnsbat.c --- compile-xgui --- In file included from ui_controlP.c:66: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^~~~~~ --- compile-tools --- --- feedback-gennet.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c feedback-gennet.c feedback-gennet.c: In function 'main': feedback-gennet.c:60:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nin); ^~~~~~~~~~~~~~~~ feedback-gennet.c:62:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nhid); ^~~~~~~~~~~~~~~~~ feedback-gennet.c:64:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nout); ^~~~~~~~~~~~~~~~~ feedback-gennet.c:66:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&out2out); ^~~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:68:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&out2hid); ^~~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:70:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%c",&linout); ^~~~~~~~~~~~~~~~~~~~~ feedback-gennet.c:72:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("\n%s",netname); ^~~~~~~~~~~~~~~~~~~~~ --- compile-xgui --- --- ui_file.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_file.c --- compile-tools --- --- convert2snns.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c convert2snns.c --- compile-xgui --- ui_file.c: In function 'ui_expandPath': ui_file.c:207:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, SELECTED_NAME_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui_file.c: In function 'ui_checkPath': ui_file.c:234:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(cwd, SELECTED_NAME_LENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- compile-tools --- convert2snns.c: In function 'control': convert2snns.c:122:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",key); ^~~~~~~~~~~~~~~~~~~ convert2snns.c:128:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case XSIZE : fscanf(fp,"%d",&xsize); break; ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:129:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case YSIZE : fscanf(fp,"%d",&ysize); break; ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:130:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case COMPONENTS : fscanf(fp,"%d",&components); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:131:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case PATTERNS : fscanf(fp,"%d",&no_of_exemplars); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:132:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case WEIGHTFILE : fscanf(fp,"%s",weight_file); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:133:25: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] case PATTERNFILE: fscanf(fp,"%s",pattern_file); break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:138:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%[^\n]s",key); /* ignores comments at end of line */ ^~~~~~~~~~~~~~~~~~~~~~~~ convert2snns.c: In function 'create_network': convert2snns.c:265:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",string); ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:302:8: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", name); ^~~~~~~~~~~~~~~~~ convert2snns.c: In function 'create_patterns': convert2snns.c:343:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",string); ^~~~~~~~~~~~~~~~~~~~~~ convert2snns.c:357:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", name); ^~~~~~~~~~~~~~~~~ --- compile-xgui --- --- ui_fileP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_fileP.c In file included from ui_fileP.c:35: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^~~~~~ --- compile-tools --- --- isnns.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c isnns.c isnns.c: In function 'main': isnns.c:361:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%s", netfilename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isnns.c:435:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(infile, "%s", netfilename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- linknets.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c linknets.c --- compile-xgui --- --- ui_setup.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_setup.c --- ui_setupP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_setupP.c --- ui_xGraphic.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_xGraphic.c --- ui_netGraph.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_netGraph.c --- compile-tools --- --- batchman.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c batchman.c --- icopjmp.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c icopjmp.c --- compile-xgui --- --- ui_utilP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_utilP.c --- ui_netUpdate.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_netUpdate.c --- compile-tools --- --- ictab.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c ictab.c --- compile-xgui --- --- ui_event.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_event.c --- compile-tools --- --- symtab.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c symtab.c --- backpatch.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c backpatch.c --- compile-xgui --- --- ui_selection.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_selection.c --- compile-tools --- --- memory.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c memory.c --- ic_snns.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c ic_snns.c --- compile-xgui --- --- ui_action.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_action.c --- compile-tools --- --- error.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c error.c --- compile-xgui --- --- ui_key.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_key.c --- compile-tools --- --- arglist.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c arglist.c --- compile-xgui --- In file included from ui_key.c:54: o_graph.h:41:8: warning: type defaults to 'int' in declaration of 'SCALE_VALUE_TYPE' [-Wimplicit-int] extern SCALE_VALUE_TYPE; ^~~~~~~~~~~~~~~~ o_graph.h:43:8: warning: type defaults to 'int' in declaration of 'MPoint' [-Wimplicit-int] extern MPoint; ^~~~~~ --- compile-tools --- --- snns_intfce.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c snns_intfce.c --- special_jacket.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -pipe -O2 -I/usr/pkg/include -c special_jacket.c --- analyze --- cc analyze.o -lm -o analyze --- pat_sel_simple --- cc pat_sel_simple.o -lm -o pat_sel_simple --- compile-xgui --- --- ui_textP.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_textP.c --- compile-tools --- --- mkhead --- cc mkhead.o -lm -o mkhead --- compile-xgui --- --- ui_lists.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_lists.c --- compile-tools --- --- mkout --- cc mkout.o -lm -o mkout --- mkpat --- cc mkpat.o -lm -o mkpat --- compile-xgui --- --- ui_layer.o --- cc -fPIC -I/usr/pkg/include -I../.. -I../../kernel/sources -I../../xgui/iconsXgui -pipe -O2 -I/usr/pkg/include -c ui_layer.c --- compile-tools --- --- snns2c --- cc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib snns2c.o snns2clib.o ../../kernel/sources/libkernel.a ../../kernel/sources/libfunc.a -lm -ll -o snns2c /bin/ld: cannot find -ll collect2: error: ld returned 1 exit status *** [snns2c] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/math/snns/work/SNNSv4.3/tools/sources bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/math/snns/work/SNNSv4.3/tools/sources *** [compile-tools] Error code 2 bmake: stopped making "all" in /home/pbulk/build/math/snns/work/SNNSv4.3 --- compile-xgui --- *** [compile-xgui] Error code 6 bmake: stopped making "all" in /home/pbulk/build/math/snns/work/SNNSv4.3 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/math/snns/work/SNNSv4.3 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/snns *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/snns