+ 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/mapm-4.9.5a/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mapm-4.9.5a/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mapm-4.9.5a
--- mapmhasn.o ---
--- mapmhsin.o ---
--- mapmhasn.o ---
gcc -c -Wall -O2 mapmhasn.c
--- mapmhsin.o ---
gcc -c -Wall -O2 mapmhsin.c
--- mapm_pow.o ---
gcc -c -Wall -O2 mapm_pow.c
--- mapm_log.o ---
gcc -c -Wall -O2 mapm_log.c
--- mapm_lg2.o ---
gcc -c -Wall -O2 mapm_lg2.c
--- mapm_lg4.o ---
gcc -c -Wall -O2 mapm_lg4.c
--- mapm_exp.o ---
gcc -c -Wall -O2 mapm_exp.c
--- mapm_lg3.o ---
gcc -c -Wall -O2 mapm_lg3.c
--- mapmasin.o ---
gcc -c -Wall -O2 mapmasin.c
--- mapmasn0.o ---
gcc -c -Wall -O2 mapmasn0.c
--- mapm_sin.o ---
gcc -c -Wall -O2 mapm_sin.c
--- mapm5sin.o ---
gcc -c -Wall -O2 mapm5sin.c
--- mapmrsin.o ---
gcc -c -Wall -O2 mapmrsin.c
--- mapm_cpi.o ---
gcc -c -Wall -O2 mapm_cpi.c
--- mapmsqrt.o ---
gcc -c -Wall -O2 mapmsqrt.c
--- mapmcbrt.o ---
gcc -c -Wall -O2 mapmcbrt.c
--- mapmgues.o ---
gcc -c -Wall -O2 mapmgues.c
--- mapmfact.o ---
--- mapm_gcd.o ---
--- mapmfact.o ---
gcc -c -Wall -O2 mapmfact.c
--- mapm_gcd.o ---
gcc -c -Wall -O2 mapm_gcd.c
--- mapmipwr.o ---
gcc -c -Wall -O2 mapmipwr.c
--- mapmpwr2.o ---
gcc -c -Wall -O2 mapmpwr2.c
--- mapm_rnd.o ---
--- mapm_flr.o ---
--- mapm_rnd.o ---
gcc -c -Wall -O2 mapm_rnd.c
--- mapm_flr.o ---
gcc -c -Wall -O2 mapm_flr.c
--- mapm_fpf.o ---
gcc -c -Wall -O2 mapm_fpf.c
--- mapm_rcp.o ---
gcc -c -Wall -O2 mapm_rcp.c
--- mapmstck.o ---
gcc -c -Wall -O2 mapmstck.c
--- mapm_div.o ---
gcc -c -Wall -O2 mapm_div.c
--- mapm_mul.o ---
gcc -c -Wall -O2 mapm_mul.c
--- mapmfmul.o ---
gcc -c -Wall -O3 mapmfmul.c
--- mapm_fft.o ---
gcc -c -Wall -O2 mapm_fft.c
--- mapm_add.o ---
gcc -c -Wall -O2 mapm_add.c
--- mapmistr.o ---
gcc -c -Wall -O2 mapmistr.c
--- mapm_set.o ---
gcc -c -Wall -O2 mapm_set.c
--- mapm_fam.o ---
--- mapmutil.o ---
--- mapm_fam.o ---
gcc -c -Wall -O2 mapm_fam.c
--- mapmutil.o ---
gcc -c -Wall -O3 mapmutil.c
--- mapmutl2.o ---
gcc -c -Wall -O2 mapmutl2.c
--- mapmutl1.o ---
gcc -c -Wall -O2 mapmutl1.c
--- mapmcnst.o ---
gcc -c -Wall -O2 mapmcnst.c
--- calc.o ---
gcc -c -Wall -O2 calc.c
--- primenum.o ---
gcc -c -Wall -O2 primenum.c
--- validate.o ---
gcc -c -Wall -O2 validate.c
--- cpp_demo.o ---
g++ -c -Wall -O2 cpp_demo.cpp
cpp_demo.cpp:169:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  169 |         compare("x+0       "fmt,x+0,m+0);
      |                 ^
cpp_demo.cpp:170:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  170 |         compare("x+1       "fmt,x+1,m+1);
      |                 ^
cpp_demo.cpp:171:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  171 |         compare("3+x       "fmt,3+x,3+m);
      |                 ^
cpp_demo.cpp:172:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  172 |         compare("2+(-x)    "fmt,2+(-x),2+(-m));
      |                 ^
cpp_demo.cpp:173:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  173 |         compare("x-3.2     "fmt,x-3.2,m-3.2);
      |                 ^
cpp_demo.cpp:174:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  174 |         compare("x-3.2 (as string) "fmt,x-3.2,m-"3.2");
      |                 ^
cpp_demo.cpp:175:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  175 |         compare("3.2+(-x)  "fmt,3.2+(-x),3.2+(-m));
      |                 ^
cpp_demo.cpp:176:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  176 |         compare("1.5*x     "fmt,1.5*x,1.5*m);
      |                 ^
cpp_demo.cpp:177:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  177 |         compare("2/x       "fmt,2/x,2/m);
      |                 ^
cpp_demo.cpp:180:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  180 |         compare("y=6+10*x  "fmt,y,n);
      |                 ^
cpp_demo.cpp:181:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  181 |         compare("y div 2   "fmt,y/2,n.div(2));
      |                 ^
cpp_demo.cpp:182:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  182 |         compare("y mod 2   "fmt,y%2,n.rem(2));
      |                 ^
cpp_demo.cpp:183:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  183 |         compare("y div -3  "fmt,y/-3,n.div(-3));
      |                 ^
cpp_demo.cpp:184:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  184 |         compare("y mod -3  "fmt,y%-3,n.rem(-3));
      |                 ^
cpp_demo.cpp:185:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  185 |         compare("-y div 3  "fmt,(-y)/-3,(-n).div(-3));
      |                 ^
cpp_demo.cpp:186:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  186 |         compare("-y mod 3  "fmt,(-y)%-3,(-n).rem(-3));
      |                 ^
cpp_demo.cpp:188:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  188 |         compare("fabs(x)   "fmt,fabs(x),fabs(m));
      |                 ^
cpp_demo.cpp:189:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  189 |         compare("sin(x)    "fmt,sin(x),sin(m));
      |                 ^
cpp_demo.cpp:190:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  190 |         compare("x.sin()   "fmt,sin(x),m.sin());
      |                 ^
cpp_demo.cpp:191:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  191 |         compare("cos(x)    "fmt,cos(x),cos(m));
      |                 ^
cpp_demo.cpp:192:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  192 |         compare("tan(x)    "fmt,tan(x),tan(m));
      |                 ^
cpp_demo.cpp:193:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  193 |         compare("cbrt(x)   "fmt,cbrt_local(x),cbrt(m));
      |                 ^
cpp_demo.cpp:194:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  194 |         compare("sinh(x)   "fmt,sinh(x),sinh(m));
      |                 ^
cpp_demo.cpp:195:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  195 |         compare("cosh(x)   "fmt,cosh(x),cosh(m));
      |                 ^
cpp_demo.cpp:196:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  196 |         compare("tanh(x)   "fmt,tanh(x),tanh(m));
      |                 ^
cpp_demo.cpp:197:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  197 |         compare("asinh(x)  "fmt,asinh_local(x),asinh(m));
      |                 ^
cpp_demo.cpp:201:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  201 |            compare("asin(x)   "fmt,asin(x),asin(m));
      |                    ^
cpp_demo.cpp:202:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  202 |            compare("acos(x)   "fmt,acos(x),acos(m));
      |                    ^
cpp_demo.cpp:203:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  203 |            compare("atan(x)   "fmt,atan(x),atan(m));
      |                    ^
cpp_demo.cpp:204:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  204 |            compare("atan2(x,-0.5)"fmt,atan2(x,-0.5),atan2(m,-0.5));
      |                    ^
cpp_demo.cpp:205:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  205 |            compare("atanh(x)  "fmt,atanh_local(x),atanh(m));
      |                    ^
cpp_demo.cpp:209:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  209 |            compare("acosh(x)  "fmt,acosh_local(x),acosh(m));
      |                    ^
cpp_demo.cpp:213:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  213 |            compare("sqrt(x)   "fmt,sqrt(x),sqrt(m));
      |                    ^
cpp_demo.cpp:214:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  214 |            compare("log(x)    "fmt,log(x),log(m));
      |                    ^
cpp_demo.cpp:215:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  215 |            compare("pow(x,-2.93)"fmt,pow(x,-2.93),pow(m,-2.93));
      |                    ^
cpp_demo.cpp:216:20: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  216 |            compare("x.pow(-2.93)"fmt,pow(x,-2.93),m.pow(-2.93));
      |                    ^
cpp_demo.cpp:219:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  219 |         compare("x.pow(2)  "fmt,pow(x,2),m.ipow(2));
      |                 ^
cpp_demo.cpp:220:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  220 |         compare("x.pow(-3) "fmt,pow(x,-3),m.ipow(-3));
      |                 ^
cpp_demo.cpp:221:17: warning: C++11 requires a space between string literal and macro [-Wc++11-compat]
  221 |         compare("exp(x)    "fmt,exp(x),exp(m));
      |                 ^
--- libmapm.a ---
rm -f libmapm.a
ar rc libmapm.a mapmhasn.o  mapmhsin.o  mapm_pow.o  mapm_log.o  mapm_lg2.o  mapm_lg4.o  mapm_exp.o  mapm_lg3.o  mapmasin.o  mapmasn0.o  mapm_sin.o  mapm5sin.o  mapmrsin.o  mapm_cpi.o  mapmsqrt.o  mapmcbrt.o  mapmgues.o  mapmfact.o  mapm_gcd.o  mapmipwr.o  mapmpwr2.o  mapm_rnd.o  mapm_flr.o  mapm_fpf.o  mapm_rcp.o  mapmstck.o  mapm_div.o  mapm_mul.o  mapmfmul.o  mapm_fft.o  mapm_add.o  mapmistr.o  mapm_set.o  mapm_fam.o  mapmutil.o  mapmutl2.o  mapmutl1.o  mapmcnst.o
--- calc ---
gcc -s -static -o calc calc.o libmapm.a -lm
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
*** [calc] Error code 1

bmake: stopped making "all" in /home/pbulk/build/math/mapm/work/mapm_4.9.5a
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/math/mapm/work/mapm_4.9.5a
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/mapm
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/math/mapm