+ 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/wmmixer-1.9/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmmixer-1.9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for wmmixer-1.9
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.9\" -DPACKAGE_STRING=\"wmmixer\ 1.9\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.9\" -I.    -I/usr/include -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.cc
mv -f .deps/exception.Tpo .deps/exception.Po
g++ -DPACKAGE_NAME=\"wmmixer\" -DPACKAGE_TARNAME=\"wmmixer\" -DPACKAGE_VERSION=\"1.9\" -DPACKAGE_STRING=\"wmmixer\ 1.9\" -DPACKAGE_BUGREPORT=\"wmaker-dev@googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"wmmixer\" -DVERSION=\"1.9\" -I.    -I/usr/include -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/usr/include -I/opt/local/include -MT mixctl.o -MD -MP -MF .deps/mixctl.Tpo -c -o mixctl.o mixctl.cc
mixctl.cc: In constructor 'MixCtl::MixCtl(char*)':
mixctl.cc:25:27: error: 'SOUND_MIXER_NRDEVICES' was not declared in this scope
   25 |       num_devices_      = SOUND_MIXER_NRDEVICES;
      |                           ^~~~~~~~~~~~~~~~~~~~~
mixctl.cc:26:33: error: 'SOUND_DEVICE_NAMES' was not declared in this scope
   26 |       const char *devnames[]  = SOUND_DEVICE_NAMES;
      |                                 ^~~~~~~~~~~~~~~~~~
mixctl.cc:27:33: error: 'SOUND_DEVICE_LABELS' was not declared in this scope
   27 |       const char *devlabels[] = SOUND_DEVICE_LABELS;
      |                                 ^~~~~~~~~~~~~~~~~~~
mixctl.cc:28:20: error: 'SOUND_MIXER_READ_DEVMASK' was not declared in this scope
   28 |       ioctl(mixfd, SOUND_MIXER_READ_DEVMASK, &devmask);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc:29:20: error: 'SOUND_MIXER_READ_STEREODEVS' was not declared in this scope
   29 |       ioctl(mixfd, SOUND_MIXER_READ_STEREODEVS, &stmask);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc:30:20: error: 'SOUND_MIXER_READ_RECMASK' was not declared in this scope
   30 |       ioctl(mixfd, SOUND_MIXER_READ_RECMASK, &recmask);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc:31:20: error: 'SOUND_MIXER_READ_CAPS' was not declared in this scope
   31 |       ioctl(mixfd, SOUND_MIXER_READ_CAPS, &caps);
      |                    ^~~~~~~~~~~~~~~~~~~~~
mixctl.cc: In member function 'void MixCtl::doStatus()':
mixctl.cc:90:16: error: 'SOUND_MIXER_READ_RECSRC' was not declared in this scope
   90 |   ioctl(mixfd, SOUND_MIXER_READ_RECSRC, &recsrc);
      |                ^~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc:95:17: error: 'MIXER_READ' was not declared in this scope
   95 |    ioctl(mixfd, MIXER_READ(i), &mixer_devices_[i].value);
      |                 ^~~~~~~~~~
mixctl.cc: In member function 'int MixCtl::readVol(int, bool)':
mixctl.cc:109:20: error: 'MIXER_READ' was not declared in this scope
  109 |       ioctl(mixfd, MIXER_READ(dev), &mixer_devices_[dev].value);
      |                    ^~~~~~~~~~
mixctl.cc: In member function 'void MixCtl::writeVol(int)':
mixctl.cc:133:16: error: 'MIXER_WRITE' was not declared in this scope
  133 |   ioctl(mixfd, MIXER_WRITE(dev), &mixer_devices_[dev].value);
      |                ^~~~~~~~~~~
mixctl.cc: In member function 'bool MixCtl::readRec(int, bool)':
mixctl.cc:174:20: error: 'SOUND_MIXER_READ_RECSRC' was not declared in this scope
  174 |       ioctl(mixfd, SOUND_MIXER_READ_RECSRC, &recsrc);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc: In member function 'void MixCtl::writeRec()':
mixctl.cc:183:16: error: 'SOUND_MIXER_WRITE_RECSRC' was not declared in this scope
  183 |   ioctl(mixfd, SOUND_MIXER_WRITE_RECSRC, &recsrc);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
mixctl.cc: In member function 'void MixCtl::setRec(int, bool)':
mixctl.cc:192:17: error: 'SOUND_CAP_EXCL_INPUT' was not declared in this scope
  192 |       if(caps & SOUND_CAP_EXCL_INPUT)
      |                 ^~~~~~~~~~~~~~~~~~~~
mixctl.cc: In member function 'bool MixCtl::hasChanged()':
mixctl.cc:246:17: error: 'SOUND_MIXER_NRDEVICES' was not declared in this scope
  246 |   for(int i=0;i<SOUND_MIXER_NRDEVICES;i++)
      |                 ^~~~~~~~~~~~~~~~~~~~~
*** [mixctl.o] Error code 1

bmake: stopped in /home/pbulk/build/audio/wmmixer/work/wmmixer-1.9
1 error

bmake: stopped in /home/pbulk/build/audio/wmmixer/work/wmmixer-1.9
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/audio/wmmixer
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/audio/wmmixer