+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdav-1.4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdav-1.4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for bsdav-1.4
--- all-lib ---
all ===> lib
--- bsdav_audio_hw.o ---
--- bsdav_audio_hw.po ---
--- bsdav_audio_hw.so ---
--- bsdav_frames.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_frames.c
--- bsdav_audio_hw.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_audio_hw.c -o bsdav_audio_hw.so
--- bsdav_audio_hw.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_audio_hw.c
--- bsdav_audio_hw.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_audio_hw.c -o bsdav_audio_hw.po
--- bsdav_frames.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_frames.c -o bsdav_frames.po
--- bsdav_frames.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_frames.c -o bsdav_frames.so
--- bsdav_ratios.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_ratios.c
--- bsdav_ratios.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_ratios.c -o bsdav_ratios.po
--- bsdav_ratios.o ---
In file included from bsdav_ratios.c:21:
bsdav_ratios.c: In function 'bsdav_parse_ratio':
includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
bsdav_ratios.c:63:27: note: in expansion of macro 'strtonum'
   63 |  ratio->n = (unsigned int)strtonum(q, 0, UINT_MAX, &errstr);
      |                           ^~~~~~~~
bsdav_ratios.c: In function 'bsdav_parse_crop':
bsdav_ratios.c:125:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  125 |  if (crops[0] != '\0') {
      |               ^~
bsdav_ratios.c:125:6: note: did you mean to dereference the pointer?
  125 |  if (crops[0] != '\0') {
      |      ^
bsdav_ratios.c:136:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  136 |  if (crops[2] != '\0') {
      |               ^~
bsdav_ratios.c:136:6: note: did you mean to dereference the pointer?
  136 |  if (crops[2] != '\0') {
      |      ^
bsdav_ratios.c:147:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  147 |  if (crops[1] != '\0') {
      |               ^~
bsdav_ratios.c:147:6: note: did you mean to dereference the pointer?
  147 |  if (crops[1] != '\0') {
      |      ^
bsdav_ratios.c:158:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  158 |  if (crops[3] != '\0') {
      |               ^~
bsdav_ratios.c:158:6: note: did you mean to dereference the pointer?
  158 |  if (crops[3] != '\0') {
      |      ^
--- bsdav_ratios.po ---
In file included from bsdav_ratios.c:21:
bsdav_ratios.c: In function 'bsdav_parse_ratio':
includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
bsdav_ratios.c:63:27: note: in expansion of macro 'strtonum'
   63 |  ratio->n = (unsigned int)strtonum(q, 0, UINT_MAX, &errstr);
      |                           ^~~~~~~~
bsdav_ratios.c: In function 'bsdav_parse_crop':
bsdav_ratios.c:125:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  125 |  if (crops[0] != '\0') {
      |               ^~
bsdav_ratios.c:125:6: note: did you mean to dereference the pointer?
  125 |  if (crops[0] != '\0') {
      |      ^
bsdav_ratios.c:136:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  136 |  if (crops[2] != '\0') {
      |               ^~
bsdav_ratios.c:136:6: note: did you mean to dereference the pointer?
  136 |  if (crops[2] != '\0') {
      |      ^
--- bsdav_ratios.so ---
--- bsdav_ratios.po ---
bsdav_ratios.c:147:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  147 |  if (crops[1] != '\0') {
      |               ^~
bsdav_ratios.c:147:6: note: did you mean to dereference the pointer?
  147 |  if (crops[1] != '\0') {
      |      ^
bsdav_ratios.c:158:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  158 |  if (crops[3] != '\0') {
      |               ^~
bsdav_ratios.c:158:6: note: did you mean to dereference the pointer?
  158 |  if (crops[3] != '\0') {
      |      ^
--- bsdav_ratios.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_ratios.c -o bsdav_ratios.so
--- bsdav_ringbuf.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_ringbuf.c
--- bsdav_ringbuf.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_ringbuf.c -o bsdav_ringbuf.po
--- bsdav_ratios.so ---
In file included from bsdav_ratios.c:21:
bsdav_ratios.c: In function 'bsdav_parse_ratio':
includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
bsdav_ratios.c:63:27: note: in expansion of macro 'strtonum'
   63 |  ratio->n = (unsigned int)strtonum(q, 0, UINT_MAX, &errstr);
      |                           ^~~~~~~~
bsdav_ratios.c: In function 'bsdav_parse_crop':
bsdav_ratios.c:125:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  125 |  if (crops[0] != '\0') {
      |               ^~
bsdav_ratios.c:125:6: note: did you mean to dereference the pointer?
  125 |  if (crops[0] != '\0') {
      |      ^
bsdav_ratios.c:136:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  136 |  if (crops[2] != '\0') {
      |               ^~
bsdav_ratios.c:136:6: note: did you mean to dereference the pointer?
  136 |  if (crops[2] != '\0') {
      |      ^
bsdav_ratios.c:147:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  147 |  if (crops[1] != '\0') {
      |               ^~
bsdav_ratios.c:147:6: note: did you mean to dereference the pointer?
  147 |  if (crops[1] != '\0') {
      |      ^
bsdav_ratios.c:158:15: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  158 |  if (crops[3] != '\0') {
      |               ^~
bsdav_ratios.c:158:6: note: did you mean to dereference the pointer?
  158 |  if (crops[3] != '\0') {
      |      ^
--- bsdav_ringbuf.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_ringbuf.c -o bsdav_ringbuf.so
--- bsdav_streams.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_streams.c
--- bsdav_streams.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_streams.c -o bsdav_streams.po
--- bsdav_streams.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_streams.c -o bsdav_streams.so
--- bsdav_tables.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_tables.c
--- bsdav_tables.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_tables.c -o bsdav_tables.po
--- bsdav_tables.so ---
--- bsdav_utils.o ---
--- bsdav_tables.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_tables.c -o bsdav_tables.so
--- bsdav_utils.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_utils.c
--- bsdav_utils.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_utils.c -o bsdav_utils.po
--- bsdav_utils.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_utils.c -o bsdav_utils.so
--- bsdav_video_hw.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdav_video_hw.c
--- bsdav_video_hw.po ---
--- bsdav_video_hw.so ---
--- bsdav_video_hw.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg bsdav_video_hw.c -o bsdav_video_hw.po
--- bsdav_video_hw.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC bsdav_video_hw.c -o bsdav_video_hw.so
--- strtonum.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c strtonum.c
--- strtonum.po ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -pg strtonum.c -o strtonum.po
--- strtonum.so ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c -fPIC -DPIC strtonum.c -o strtonum.so
--- libbsdav.a ---
building standard bsdav library
ar cq libbsdav.a `NM=nm lorder bsdav_audio_hw.o bsdav_frames.o bsdav_ratios.o bsdav_ringbuf.o bsdav_streams.o bsdav_tables.o bsdav_utils.o bsdav_video_hw.o strtonum.o | tsort -q`
--- libbsdav_p.a ---
building profiled bsdav library
ar cq libbsdav_p.a `NM=nm lorder bsdav_audio_hw.po bsdav_frames.po bsdav_ratios.po bsdav_ringbuf.po bsdav_streams.po bsdav_tables.po bsdav_utils.po bsdav_video_hw.po strtonum.po | tsort -q`
--- libbsdav_pic.a ---
building shared object bsdav library
ar cq libbsdav_pic.a `NM=nm lorder bsdav_audio_hw.so bsdav_frames.so bsdav_ratios.so bsdav_ringbuf.so bsdav_streams.so bsdav_tables.so bsdav_utils.so bsdav_video_hw.so strtonum.so | tsort -q`
--- libbsdav.a ---
ranlib libbsdav.a
--- libbsdav_p.a ---
ranlib libbsdav_p.a
--- libbsdav_pic.a ---
ranlib libbsdav_pic.a
--- libbsdav.so.2.0 ---
building shared bsdav library (version 2.0)
ld -shared -soname libbsdav.so.2 -o libbsdav.so.2.0    --whole-archive libbsdav_pic.a --no-whole-archive   
ln -sf libbsdav.so.2.0 libbsdav.so.2.tmp
mv -f libbsdav.so.2.tmp libbsdav.so.2
ln -sf libbsdav.so.2.0 libbsdav.so.tmp
mv -f libbsdav.so.tmp libbsdav.so
--- all-bin ---
all ===> bin
--- audiorec.o ---
--- bktrrec.o ---
--- bsdavdemux.o ---
--- bsdavrec.o ---
--- bktrrec.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bktrrec.c
--- audiorec.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c audiorec.c
--- bsdavrec.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdavrec.c
--- bsdavdemux.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c bsdavdemux.c
--- audiorec.o ---
In file included from audiorec.c:21:
audiorec.c: In function 'main':
/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib/includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
audiorec.c:298:20: note: in expansion of macro 'strtonum'
  298 |    channels = (int)strtonum(optarg, 0, 2, &errstr);
      |                    ^~~~~~~~
--- bsdavrec.o ---
In file included from bsdavrec.c:21:
bsdavrec.c: In function 'main':
/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib/includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
bsdavrec.c:630:24: note: in expansion of macro 'strtonum'
  630 |    aud_channels = (int)strtonum(optarg, 0, 2, &errstr);
      |                        ^~~~~~~~
--- bktrrec.o ---
In file included from bktrrec.c:21:
bktrrec.c: In function 'main':
/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib/includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
bktrrec.c:425:23: note: in expansion of macro 'strtonum'
  425 |    rb.num_bufs = (int)strtonum(optarg, 5, 20, &errstr);
      |                       ^~~~~~~~
--- tunerctl.o ---
cc -pipe -O2 -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2    -I/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -c tunerctl.c
--- bsdavdemux ---
cc -Wl,-zrelro -Wl,-R/usr/pkg/lib    -o bsdavdemux bsdavdemux.o  -L/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -lbsdav
--- audiorec ---
cc -Wl,-zrelro -Wl,-R/usr/pkg/lib    -o audiorec audiorec.o  -L/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -lbsdav
--- tunerctl.o ---
In file included from tunerctl.c:21:
tunerctl.c: In function 'do_ioctls':
/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib/includes.h:4:18: warning: implicit declaration of function 'bsdav_strtonum' [-Wimplicit-function-declaration]
    4 | #define strtonum bsdav_strtonum
      |                  ^~~~~~~~~~~~~~
tunerctl.c:333:13: note: in expansion of macro 'strtonum'
  333 |    i = (int)strtonum(arg, fields[index].valmin,
      |             ^~~~~~~~
--- bktrrec ---
cc -Wl,-zrelro -Wl,-R/usr/pkg/lib    -o bktrrec bktrrec.o  -L/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -lbsdav
--- bsdavrec ---
cc -Wl,-zrelro -Wl,-R/usr/pkg/lib    -o bsdavrec bsdavrec.o  -L/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -lbsdav
--- tunerctl ---
cc -Wl,-zrelro -Wl,-R/usr/pkg/lib    -o tunerctl tunerctl.o  -L/home/pbulk/build/multimedia/bsdav/work/bsdav-1.4/lib -lbsdav