+ 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/libyang2-2.1.128/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libyang2-2.1.128/work.log ===> Building for libyang2-2.1.128 [ 0%] Building C object CMakeFiles/yangobj.dir/src/common.c.o [ 1%] Building C object tests/fuzz/CMakeFiles/fuzz_regression_test.dir/fuzz_regression_test.c.o [ 2%] Building C object CMakeFiles/yangobj.dir/src/log.c.o [ 2%] Building C object CMakeFiles/yangobj.dir/src/hash_table.c.o /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c: In function 'ly_log_location': /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c:456:19: error: implicit declaration of function 'strdup'; did you mean 'strndup'? [-Wimplicit-function-declaration] 456 | char *s = strdup(path); | ^~~~~~ | strndup /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c:456:19: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c: In function 'log_vprintf': /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c:664:82: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 664 | if (log_store(ctx, level, no, vecode, msg, path, apptag ? strdup(apptag) : NULL)) { | ^ /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c: In function '_lyplg_ext_compile_log_err': /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c:985:107: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 985 | ly_ext_log(ext->module->ctx, ext->def->plugin->id, err->level, err->no, err->path ? strdup(err->path) : NULL, "%s", ap); | ^ /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c: In function '_ly_err_print': /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/src/log.c:1008:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1008 | path_dup = strdup(eitem->path); | ^ --- CMakeFiles/yangobj.dir/src/log.c.o --- *** [CMakeFiles/yangobj.dir/src/log.c.o] Error code 1 bmake[2]: stopped making "CMakeFiles/yangobj.dir/build" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build [ 2%] Linking C executable ../../fuzz_regression_test --- tests/fuzz/CMakeFiles/fuzz_regression_test.dir/all --- *** [tests/fuzz/CMakeFiles/fuzz_regression_test.dir/all] Error code 6 bmake[1]: stopped making "all" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build bmake[2]: 1 error bmake[2]: stopped making "CMakeFiles/yangobj.dir/build" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build --- CMakeFiles/yangobj.dir/all --- *** [CMakeFiles/yangobj.dir/all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build bmake[1]: 2 errors bmake[1]: stopped making "all" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/devel/libyang2/work/libyang-2.1.128/cmake-pkgsrc-build *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libyang2 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libyang2