+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xfce4-systemload-plugin-1.3.2nb9/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xfce4-systemload-plugin-1.3.2nb9/work.log ===> Building for xfce4-systemload-plugin-1.3.2nb9 /opt/local/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2' Making all in xfce4++ gmake[2]: Entering directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/xfce4++' CCLD libxfce4_pp.la gmake[2]: Leaving directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/xfce4++' Making all in xfce4++/util gmake[2]: Entering directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/xfce4++/util' CCLD libxfce4util_pp.la gmake[2]: Leaving directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/xfce4++/util' Making all in panel-plugin gmake[2]: Entering directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/panel-plugin' CXX libsystemload_la-memswap.lo CXX libsystemload_la-cpu.lo CXX libsystemload_la-network.lo cpu.cc:248:6: warning: no previous declaration for 'void init_stats()' [-Wmissing-declarations] 248 | void init_stats() | ^~~~~~~~~~ cpu.cc: In function 'gulong read_cpuload()': cpu.cc:271:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 271 | knp = kstat_data_lookup(ksp, "cpu_ticks_user"); | ^~~~~~~~~~~~~~~~ cpu.cc:271:35: error: invalid conversion from 'void*' to 'kstat_named_t*' {aka 'kstat_named*'} [-fpermissive] 271 | knp = kstat_data_lookup(ksp, "cpu_ticks_user"); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | void* cpu.cc:274:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 274 | knp = kstat_data_lookup(ksp, "cpu_ticks_kernel"); | ^~~~~~~~~~~~~~~~~~ cpu.cc:274:35: error: invalid conversion from 'void*' to 'kstat_named_t*' {aka 'kstat_named*'} [-fpermissive] 274 | knp = kstat_data_lookup(ksp, "cpu_ticks_kernel"); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void* cpu.cc:277:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 277 | knp = kstat_data_lookup(ksp, "cpu_ticks_idle"); | ^~~~~~~~~~~~~~~~ cpu.cc:277:35: error: invalid conversion from 'void*' to 'kstat_named_t*' {aka 'kstat_named*'} [-fpermissive] 277 | knp = kstat_data_lookup(ksp, "cpu_ticks_idle"); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ | | | void* gmake[2]: *** [Makefile:605: libsystemload_la-cpu.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... memswap.cc:483:6: warning: no previous declaration for 'void mem_init_stats()' [-Wmissing-declarations] 483 | void mem_init_stats() | ^~~~~~~~~~~~~~ memswap.cc: In function 'gint read_memswap(gulong*, gulong*, gulong*, gulong*, gulong*, gulong*)': memswap.cc:495:23: error: 'sysconf' was not declared in this scope; did you mean '_sysconf'? 495 | pagesize = (long)(sysconf(_SC_PAGESIZE)); | ^~~~~~~ | _sysconf memswap.cc:503:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | if (ksp = kstat_lookup(kc, "unix", 0, "system_pages")) | ^~~~~~ memswap.cc:503:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | if (ksp = kstat_lookup(kc, "unix", 0, "system_pages")) | ^~~~~~~~~~~~~~ memswap.cc:503:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | if (ksp = kstat_lookup(kc, "unix", 0, "system_pages")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memswap.cc:506:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 506 | knp = kstat_data_lookup(ksp, "physmem"); | ^~~~~~~~~ memswap.cc:506:32: error: invalid conversion from 'void*' to 'kstat_named_t*' {aka 'kstat_named*'} [-fpermissive] 506 | knp = kstat_data_lookup(ksp, "physmem"); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | void* memswap.cc:508:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 508 | knp = kstat_data_lookup(ksp, "freemem"); | ^~~~~~~~~ memswap.cc:508:32: error: invalid conversion from 'void*' to 'kstat_named_t*' {aka 'kstat_named*'} [-fpermissive] 508 | knp = kstat_data_lookup(ksp, "freemem"); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | | | void* memswap.cc: At global scope: memswap.cc:480:15: warning: 'SFree' defined but not used [-Wunused-variable] 480 | static size_t SFree = 0; | ^~~~~ memswap.cc:477:15: warning: 'MFree' defined but not used [-Wunused-variable] 477 | static size_t MFree = 0; | ^~~~~ gmake[2]: *** [Makefile:612: libsystemload_la-memswap.lo] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2/panel-plugin' gmake[1]: *** [Makefile:467: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/sysutils/xfce4-systemload-plugin/work/xfce4-systemload-plugin-1.3.2' gmake: *** [Makefile:399: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/xfce4-systemload-plugin *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/xfce4-systemload-plugin