+ 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/mcpp-2.7.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mcpp-2.7.2/work.log ===> Building for mcpp-2.7.2 --- all-recursive --- Making all in src --- all --- /opt/pkg/bin/bmake all-am --- mbchar.lo --- --- mcpp-main_libmcpp.o --- --- main.lo --- --- directive.lo --- --- mbchar.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o mbchar.lo mbchar.c --- mcpp-main_libmcpp.o --- gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o mcpp-main_libmcpp.o `test -f 'main_libmcpp.c' || echo './'`main_libmcpp.c --- main.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o main.lo main.c --- directive.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o directive.lo directive.c --- eval.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o eval.lo eval.c --- directive.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c directive.c -fPIC -DPIC -o .libs/directive.o --- mbchar.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c mbchar.c -fPIC -DPIC -o .libs/mbchar.o --- main.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c -fPIC -DPIC -o .libs/main.o --- eval.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c eval.c -fPIC -DPIC -o .libs/eval.o --- main.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c -o main.o >/dev/null 2>&1 --- mbchar.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c mbchar.c -o mbchar.o >/dev/null 2>&1 --- expand.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o expand.lo expand.c --- support.lo --- /usr/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -o support.lo support.c --- directive.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c directive.c -o directive.o >/dev/null 2>&1 --- expand.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c expand.c -fPIC -DPIC -o .libs/expand.o --- support.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c support.c -fPIC -DPIC -o .libs/support.o --- expand.lo --- expand.c: In function 'replace': expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types] 713 | m_inf->args = m_inf->loc_args = NULL; /* Default args */ | ^ expand.c: In function 'rescan': expand.c:1975:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1975 | mgc_cleared = remove_magics( | ^ --- support.lo --- support.c: In function 'get_ch': support.c:1590:19: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1590 | free( file->src_dir); | ~~~~^~~~~~~~~ In file included from /usr/include/stdlib.h:41, from configed.H:374, from system.H:45, from support.c:76: /usr/include/iso/stdlib_iso.h:138:18: note: expected 'void *' but argument is of type 'const char *' 138 | extern void free(void *); | ^~~~~~ support.c:1596:19: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1596 | free( file->src_dir); /* Free src_dir */ | ~~~~^~~~~~~~~ /usr/include/iso/stdlib_iso.h:138:18: note: expected 'void *' but argument is of type 'const char *' 138 | extern void free(void *); | ^~~~~~ support.c:1599:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1599 | cur_fullname = infile->full_fname; | ^ --- eval.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c eval.c -o eval.o >/dev/null 2>&1 --- support.lo --- support.c: In function 'get_file': support.c:2301:21: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2301 | strcpy( file->src_dir, src_dir); | ~~~~^~~~~~~~~ In file included from /usr/include/string.h:35, from configed.H:373: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'const char *' 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ --- expand.lo --- *** [expand.lo] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/devel/mcpp/work/mcpp-2.7.2/src --- support.lo --- libtool: compile: gcc -DHAVE_CONFIG_H -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c support.c -o support.o >/dev/null 2>&1 bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/devel/mcpp/work/mcpp-2.7.2/src *** [all] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/build/devel/mcpp/work/mcpp-2.7.2/src bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/devel/mcpp/work/mcpp-2.7.2/src bmake: stopped making "all" in /home/pbulk/build/devel/mcpp/work/mcpp-2.7.2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mcpp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mcpp