+ 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/minidlna-1.3.0nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/minidlna-1.3.0nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for minidlna-1.3.0nb10
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0/missing aclocal-1.16 -I m4
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0/missing autoconf
WARNING: 'autoconf' is missing on your system.  You should only need it if
         you modified 'configure.ac'.  You might want to install the
         Autoconf and GNU m4 packages.  Grab them from any GNU
         archive site.
(CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/bash /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0/missing autoheader)
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.ac'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch ./config.h.in
/usr/bin/bash ./config.status --recheck
cd . && /usr/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/opt/pkg/bin/bmake  all-recursive
Making all in po
test ! -f ./minidlna.pot ||  test -z "da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo ko.gmo nb.gmo nl.gmo pl.gmo ru.gmo sl.gmo sv.gmo" || /opt/pkg/bin/bmake da.gmo de.gmo es.gmo fr.gmo it.gmo ja.gmo ko.gmo nb.gmo nl.gmo pl.gmo ru.gmo sl.gmo sv.gmo
rm -f de.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po: 23 translated messages.
rm -f es.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o es.gmo es.po
es.po: 23 translated messages.
rm -f fr.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po
fr.po: 23 translated messages.
rm -f it.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o it.gmo it.po
it.po: 23 translated messages.
rm -f ja.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
ja.po: 23 translated messages.
rm -f ko.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o ko.gmo ko.po
ko.po: 23 translated messages.
rm -f nb.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o nb.gmo nb.po
nb.po: 23 translated messages.
rm -f nl.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o nl.gmo nl.po
nl.po: 23 translated messages.
rm -f pl.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o pl.gmo pl.po
pl.po: 23 translated messages.
rm -f ru.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o ru.gmo ru.po
ru.po: 23 translated messages.
rm -f sl.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o sl.gmo sl.po
sl.po: 23 translated messages.
rm -f sv.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
sv.po: 23 translated messages.
rm -f da.gmo && /home/pbulk/build/multimedia/minidlna/work/.tools/bin/msgfmt -c --statistics --verbose -o da.gmo da.po
da.po: 23 translated messages.
touch stamp-po
 cd . && /usr/bin/bash /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0/missing automake-1.16 --gnu
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
/usr/bin/bash ./config.status --recheck
  CC       minidlna.o
In file included from minidlna.c:89:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
minidlna.c: In function '_get_dbtime':
minidlna.c:313:41: warning: '/files.db' directive output may be truncated writing 9 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
  313 |         snprintf(path, sizeof(path), "%s/files.db", db_path);
      |                                         ^~~~~~~~~
minidlna.c:313:9: note: 'snprintf' output between 10 and 1033 bytes into a destination of size 1024
  313 |         snprintf(path, sizeof(path), "%s/files.db", db_path);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minidlna.c: In function 'open_db':
minidlna.c:325:41: warning: '/files.db' directive output may be truncated writing 9 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
  325 |         snprintf(path, sizeof(path), "%s/files.db", db_path);
      |                                         ^~~~~~~~~
minidlna.c:325:9: note: 'snprintf' output between 10 and 1033 bytes into a destination of size 1024
  325 |         snprintf(path, sizeof(path), "%s/files.db", db_path);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
minidlna.c: In function 'check_db.constprop':
minidlna.c:405:64: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1008 and 2031 [-Wformat-truncation=]
  405 |                 snprintf(cmd, sizeof(cmd), "rm -rf %s/files.db %s/art_cache", db_path, db_path);
      |                                                                ^~                      ~~~~~~~
minidlna.c:405:17: note: 'snprintf' output between 28 and 2074 bytes into a destination of size 2048
  405 |                 snprintf(cmd, sizeof(cmd), "rm -rf %s/files.db %s/art_cache", db_path, db_path);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpyt',
    inlined from 'init' at minidlna.c:639:4,
    inlined from 'main' at minidlna.c:1119:8:
utils.h:56:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 199 [-Wstringop-truncation]
   56 |         strncpy(dst, src, --len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpyt',
    inlined from 'init' at minidlna.c:636:4,
    inlined from 'main' at minidlna.c:1119:8:
utils.h:56:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 199 [-Wstringop-truncation]
   56 |         strncpy(dst, src, --len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpyt',
    inlined from 'init' at minidlna.c:633:4,
    inlined from 'main' at minidlna.c:1119:8:
utils.h:56:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 199 [-Wstringop-truncation]
   56 |         strncpy(dst, src, --len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpyt',
    inlined from 'init' at minidlna.c:630:4,
    inlined from 'main' at minidlna.c:1119:8:
utils.h:56:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 199 [-Wstringop-truncation]
   56 |         strncpy(dst, src, --len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
minidlna.c: In function 'main':
minidlna.c:914:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=]
  914 |                         snprintf(buf, sizeof(buf), "rm -rf %s/files.db %s/art_cache", db_path, db_path);
      |                                                            ^~                         ~~~~~~~
In function 'init',
    inlined from 'main' at minidlna.c:1119:8:
minidlna.c:914:25: note: 'snprintf' output between 28 and 2074 bytes into a destination of size 1024
  914 |                         snprintf(buf, sizeof(buf), "rm -rf %s/files.db %s/art_cache", db_path, db_path);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpyt',
    inlined from 'init' at minidlna.c:1036:3,
    inlined from 'main' at minidlna.c:1119:8:
utils.h:56:9: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 199 [-Wstringop-truncation]
   56 |         strncpy(dst, src, --len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
  CC       upnphttp.o
In file included from upnphttp.c:74:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       upnpdescgen.o
  CC       upnpsoap.o
In file included from upnpsoap.c:66:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
upnpsoap.c: In function 'BrowseContentDirectory':
upnpsoap.c:1428:45: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
 1428 |                                 int limit = MAX(magic->max_count - StartingIndex, 0);
      |                                             ^~~
  CC       upnpreplyparse.o
  CC       minixml.o
  CC       clients.o
  CC       getifaddr.o
In file included from getifaddr.c:67:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
getifaddr.c: In function 'getifaddr.isra':
getifaddr.c:154:17: warning: 'memcpy' forming offset [16, 19] is out of the bounds [0, 16] of object 'addr' with type 'struct sockaddr_in' [-Warray-bounds=]
  154 |                 memcpy(&lan_addr[n_lan_addr].mask, &addr.sin_addr, sizeof(addr));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getifaddr.c:115:28: note: 'addr' declared here
  115 |         struct sockaddr_in addr;
      |                            ^~~~
  CC       process.o
  CC       upnpglobalvars.o
  CC       options.o
In file included from options.c:35:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       minissdp.o
In file included from minissdp.c:53:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       uuid.o
  CC       upnpevents.o
In file included from upnpevents.c:72:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       sql.o
  CC       utils.o
In file included from utils.c:35:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       metadata.o
metadata.c: In function 'GetVideoMetadata':
metadata.c:781:49: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  781 |                                                 if( lav_channels(astream) <= 2 &&
      |                                                 ^~
In file included from /home/pbulk/build/multimedia/minidlna/work/.buildlink/include/ffmpeg6/libavcodec/avcodec.h:53,
                 from libav.h:37,
                 from metadata.c:34:
/home/pbulk/build/multimedia/minidlna/work/.buildlink/include/ffmpeg6/libavcodec/codec_par.h:166:14: note: declared here
  166 |     int      channels;
      |              ^~~~~~~~
metadata.c:784:49: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  784 |                                                 else if( lav_channels(astream) <= 6 &&
      |                                                 ^~~~
/home/pbulk/build/multimedia/minidlna/work/.buildlink/include/ffmpeg6/libavcodec/codec_par.h:166:14: note: declared here
  166 |     int      channels;
      |              ^~~~~~~~
metadata.c:788:57: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  788 |                                                         DPRINTF(E_DEBUG, L_METADATA, "Unhandled AAC: %lld channels, %lld bitrate\n",
      |                                                         ^~~~~~~
/home/pbulk/build/multimedia/minidlna/work/.buildlink/include/ffmpeg6/libavcodec/codec_par.h:166:14: note: declared here
  166 |     int      channels;
      |              ^~~~~~~~
metadata.c:828:17: warning: 'channels' is deprecated [-Wdeprecated-declarations]
  828 |                 m.channels = lav_channels(astream);
      |                 ^
/home/pbulk/build/multimedia/minidlna/work/.buildlink/include/ffmpeg6/libavcodec/codec_par.h:166:14: note: declared here
  166 |     int      channels;
      |              ^~~~~~~~
  CC       scanner.o
In file included from scanner.c:43:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
  CC       monitor.o
In file included from monitor.c:47:
utils.h: In function 'strcatf':
utils.h:49:21: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
   49 |         str->off += MIN(ret, size);
      |                     ^~~
monitor.c: In function 'monitor_insert_directory':
monitor.c:555:26: error: 'struct dirent' has no member named 'd_type'
  555 |                 switch( e->d_type )
      |                          ^~
monitor.c:557:30: error: 'DT_DIR' undeclared (first use in this function)
  557 |                         case DT_DIR:
      |                              ^~~~~~
monitor.c:557:30: note: each undeclared identifier is reported only once for each function it appears in
monitor.c:558:30: error: 'DT_REG' undeclared (first use in this function)
  558 |                         case DT_REG:
      |                              ^~~~~~
monitor.c:559:30: error: 'DT_LNK' undeclared (first use in this function)
  559 |                         case DT_LNK:
      |                              ^~~~~~
monitor.c:560:30: error: 'DT_UNKNOWN' undeclared (first use in this function); did you mean 'GID_UNKNOWN'?
  560 |                         case DT_UNKNOWN:
      |                              ^~~~~~~~~~
      |                              GID_UNKNOWN
*** [monitor.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
1 error

bmake[2]: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
1 error

bmake[1]: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
1 error

bmake: stopped in /home/pbulk/build/multimedia/minidlna/work/minidlna-1.3.0
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/minidlna
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/minidlna