+ 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/uisp-20040311/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/uisp-20040311/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for uisp-20040311
--- all-recursive ---
Making all in src
--- all ---
/usr/pkg/bin/bmake  all-am
--- Avr.o ---
--- AvrAtmel.o ---
--- Avr.o ---
if c++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -Werror -pipe -O2 -MT Avr.o -MD -MP -MF ".deps/Avr.Tpo"  -c -o Avr.o `test -f 'Avr.C' || echo './'`Avr.C;  then mv -f ".deps/Avr.Tpo" ".deps/Avr.Po";  else rm -f ".deps/Avr.Tpo"; exit 1;  fi
--- AvrAtmel.o ---
if c++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -Werror -pipe -O2 -MT AvrAtmel.o -MD -MP -MF ".deps/AvrAtmel.Tpo"  -c -o AvrAtmel.o `test -f 'AvrAtmel.C' || echo './'`AvrAtmel.C;  then mv -f ".deps/AvrAtmel.Tpo" ".deps/AvrAtmel.Po";  else rm -f ".deps/AvrAtmel.Tpo"; exit 1;  fi
--- AvrDummy.o ---
if c++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -Werror -pipe -O2 -MT AvrDummy.o -MD -MP -MF ".deps/AvrDummy.Tpo"  -c -o AvrDummy.o `test -f 'AvrDummy.C' || echo './'`AvrDummy.C;  then mv -f ".deps/AvrDummy.Tpo" ".deps/AvrDummy.Po";  else rm -f ".deps/AvrDummy.Tpo"; exit 1;  fi
In file included from AvrDummy.h:31,
                 from AvrDummy.C:38:
Global.h: In member function 'void TPt<TRec>::MkRef()':
Global.h:43:26: error: 'NULL' was not declared in this scope
   void MkRef(){if (Addr!=NULL){Addr->CRef++;}}
                          ^~~~
Global.h:43:26: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
Global.h:32:1:
+#include <cstddef>
 
Global.h:43:26:
   void MkRef(){if (Addr!=NULL){Addr->CRef++;}}
                          ^~~~
Global.h: In member function 'void TPt<TRec>::UnRef()':
Global.h:44:26: error: 'NULL' was not declared in this scope
   void UnRef(){if (Addr!=NULL){Addr->CRef--;if (Addr->CRef==0){delete Addr;}}}
                          ^~~~
Global.h:44:26: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
Global.h: In constructor 'TPt<TRec>::TPt()':
Global.h:46:14: error: 'NULL' was not declared in this scope
   TPt():Addr(NULL){}
              ^~~~
Global.h:46:14: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
In file included from Global.h:31,
                 from AvrDummy.h:31,
                 from AvrDummy.C:38:
Global.h: In member function 'TRec* TPt<TRec>::operator->() const':
Global.h:57:42: error: 'NULL' was not declared in this scope
   TRec* operator->() const {assert(Addr!=NULL); return Addr;}
                                          ^~~~
Global.h:57:42: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
Global.h: In member function 'TRec& TPt<TRec>::operator*() const':
Global.h:58:41: error: 'NULL' was not declared in this scope
   TRec& operator*() const {assert(Addr!=NULL); return *Addr;}
                                         ^~~~
Global.h:58:41: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
Global.h: In member function 'TRec& TPt<TRec>::operator[](int) const':
Global.h:59:50: error: 'NULL' was not declared in this scope
   TRec& operator[](int RecN) const {assert(Addr!=NULL); return Addr[RecN];}
                                                  ^~~~
Global.h:59:50: note: 'NULL' is defined in header '<cstddef>'; did you forget to '#include <cstddef>'?
--- DAPA.o ---
if c++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -Werror -pipe -O2 -MT DAPA.o -MD -MP -MF ".deps/DAPA.Tpo"  -c -o DAPA.o `test -f 'DAPA.C' || echo './'`DAPA.C;  then mv -f ".deps/DAPA.Tpo" ".deps/DAPA.Po";  else rm -f ".deps/DAPA.Tpo"; exit 1;  fi
--- AvrDummy.o ---
*** [AvrDummy.o] Error code 1

bmake[2]: stopped making "all-am" in /home/pbulk/build/cross/uisp/work/uisp-20040311/src
--- DAPA.o ---
DAPA.C: In constructor 'TDAPA::TDAPA()':
DAPA.C:1053:9: error: ignoring return value of 'int setgid(__gid_t)', declared with attribute warn_unused_result [-Werror=unused-result]
   setgid(getgid());
   ~~~~~~^~~~~~~~~~
DAPA.C:1054:9: error: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Werror=unused-result]
   setuid(getuid());
   ~~~~~~^~~~~~~~~~
cc1plus: all warnings being treated as errors
*** [DAPA.o] Error code 1

bmake[2]: stopped making "all-am" in /home/pbulk/build/cross/uisp/work/uisp-20040311/src
bmake[2]: 2 errors

bmake[2]: stopped making "all-am" in /home/pbulk/build/cross/uisp/work/uisp-20040311/src
*** [all] Error code 2

bmake[1]: stopped making "all" in /home/pbulk/build/cross/uisp/work/uisp-20040311/src
bmake[1]: 1 error

bmake[1]: stopped making "all" in /home/pbulk/build/cross/uisp/work/uisp-20040311/src
*** [all-recursive] Error code 1

bmake: stopped making "all" in /home/pbulk/build/cross/uisp/work/uisp-20040311
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/cross/uisp/work/uisp-20040311
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cross/uisp
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cross/uisp