+ 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/harvid-0.8.3nb6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/harvid-0.8.3nb6/work.log
===> Building for harvid-0.8.3nb6
/opt/pkg/bin/gmake -C libharvid all
gmake[1]: Entering directory '/home/pbulk/build/multimedia/harvid/work/harvid-0.8.3/libharvid'
export PKG_CONFIG_PATH=;\
gcc -c -o decoder_ctrl.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` decoder_ctrl.c
export PKG_CONFIG_PATH=;\
gcc -c -o ffdecoder.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` ffdecoder.c
ffdecoder.c: In function 'ff_picture_bytesize':
ffdecoder.c:91:3: warning: 'avpicture_get_size' is deprecated [-Wdeprecated-declarations]
   91 |   const int bs = avpicture_get_size(render_fmt, w, h);
      |   ^~~~~
In file included from ffcompat.h:32,
                 from ffdecoder.c:33:
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3778:5: note: declared here
 3778 | int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
      |     ^~~~~~~~~~~~~~~~~~
ffdecoder.c: In function 'ff_init_moviebuffer':
ffdecoder.c:261:3: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations]
  261 |   avpicture_fill((AVPicture *)ff->pFrameFMT, ff->buffer, ff->render_fmt, ff->out_width, ff->out_height);
      |   ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3763:5: note: declared here
 3763 | int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
      |     ^~~~~~~~~~~~~~
ffdecoder.c: In function 'ff_initialize':
ffdecoder.c:266:3: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
  266 |   av_register_all();
      |   ^~~~~~~~~~~~~~~
In file included from ffcompat.h:33:
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:1955:6: note: declared here
 1955 | void av_register_all(void);
      |      ^~~~~~~~~~~~~~~
ffdecoder.c:267:3: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations]
  267 |   avcodec_register_all();
      |   ^~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:2767:6: note: declared here
 2767 | void avcodec_register_all(void);
      |      ^~~~~~~~~~~~~~~~~~~~
ffdecoder.c: In function 'ff_set_framerate':
ffdecoder.c:321:5: warning: 'av_stream_get_r_frame_rate' is deprecated [-Wdeprecated-declarations]
  321 |     AVRational fr = av_stream_get_r_frame_rate (av_stream);
      |     ^~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:1124:12: note: declared here
 1124 | AVRational av_stream_get_r_frame_rate(const AVStream *s);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
ffdecoder.c: In function 'ff_open_movie':
ffdecoder.c:410:5: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  410 |     if(ff->pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
      |     ^~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
ffdecoder.c:461:3: warning: 'codec' is deprecated [-Wdeprecated-declarations]
  461 |   ff->pCodecCtx = ff->pFormatCtx->streams[ff->videoStream]->codec;
      |   ^~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:888:21: note: declared here
  888 |     AVCodecContext *codec;
      |                     ^~~~~
ffdecoder.c: In function 'parse_pts_from_frame':
ffdecoder.c:538:5: warning: 'av_frame_get_best_effort_timestamp' is deprecated [-Wdeprecated-declarations]
  538 |     pts = av_frame_get_best_effort_timestamp (f);
      |     ^~~
In file included from /home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:38:
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavutil/frame.h:706:9: note: declared here
  706 | int64_t av_frame_get_best_effort_timestamp(const AVFrame *frame);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffdecoder.c:550:5: warning: 'pkt_pts' is deprecated [-Wdeprecated-declarations]
  550 |     pts = f->pkt_pts;
      |     ^~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavutil/frame.h:419:13: note: declared here
  419 |     int64_t pkt_pts;
      |             ^~~~~~~
ffdecoder.c: In function 'my_seek_frame':
ffdecoder.c:620:9: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
  620 |         av_free_packet (packet);
      |         ^~~~~~~~~~~~~~
In file included from /home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/bsf.h:30,
                 from /home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:44:
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:569:6: note: declared here
  569 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
ffdecoder.c:627:7: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
  627 |       av_free_packet (packet);
      |       ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:569:6: note: declared here
  569 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
ffdecoder.c:635:5: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
  635 |     err = avcodec_decode_video2 (ff->pCodecCtx, ff->pFrame, &frameFinished, packet);
      |     ^~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3096:5: note: declared here
 3096 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
      |     ^~~~~~~~~~~~~~~~~~~~~
ffdecoder.c:637:5: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
  637 |     av_free_packet (packet);
      |     ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/packet.h:569:6: note: declared here
  569 | void av_free_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
ffdecoder.c: In function 'ff_set_bufferptr':
ffdecoder.c:773:3: warning: 'avpicture_fill' is deprecated [-Wdeprecated-declarations]
  773 |   avpicture_fill((AVPicture *)ff->pFrameFMT, ff->buffer, ff->render_fmt, ff->out_width, ff->out_height);
      |   ^~~~~~~~~~~~~~
/home/pbulk/build/multimedia/harvid/work/.buildlink/include/ffmpeg4/libavcodec/avcodec.h:3763:5: note: declared here
 3763 | int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
      |     ^~~~~~~~~~~~~~
export PKG_CONFIG_PATH=;\
gcc -c -o frame_cache.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` frame_cache.c
export PKG_CONFIG_PATH=;\
gcc -c -o image_cache.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` image_cache.c
export PKG_CONFIG_PATH=;\
gcc -c -o timecode.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` timecode.c
export PKG_CONFIG_PATH=;\
gcc -c -o vinfo.o -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include   `pkg-config --cflags libavcodec libavformat libavutil libswscale` vinfo.c
ar cru libharvid.a decoder_ctrl.o ffdecoder.o frame_cache.o image_cache.o timecode.o vinfo.o
ranlib libharvid.a
gmake[1]: Leaving directory '/home/pbulk/build/multimedia/harvid/work/harvid-0.8.3/libharvid'
/opt/pkg/bin/gmake -C src all
gmake[1]: Entering directory '/home/pbulk/build/multimedia/harvid/work/harvid-0.8.3/src'
xxd -i ../doc/harvid.jpg > logo.c
xxd -i ../doc/seek.js > seek.c
export PKG_CONFIG_PATH=;\
gcc -o harvid -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include/freetype2 -I/usr/include -I../libharvid/   `pkg-config --cflags libavcodec libavformat libavutil libpng libswscale` -DICSVERSION="\"0.8.3\"" -DICSARCH="\"SunOS\"" -DXXDI harvid.c daemon_log.c daemon_util.c fileindex.c htmlseek.c httprotocol.c ics_handler.c image_format.c socket_server.c ../libharvid/libharvid.a logo.c seek.c -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib/ffmpeg4 -Wl,-R/opt/pkg/lib/ffmpeg4 -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lrt -lpthread `pkg-config --libs libavcodec libavformat libavutil libpng libswscale` -ljpeg -lz -lm
socket_server.c: In function 'setnonblock':
socket_server.c:105:18: error: 'FIONBIO' undeclared (first use in this function)
  105 |   if(ioctl(sock, FIONBIO, &l)<0)
      |                  ^~~~~~~
socket_server.c:105:18: note: each undeclared identifier is reported only once for each function it appears in
gmake[1]: *** [Makefile:74: harvid] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/multimedia/harvid/work/harvid-0.8.3/src'
gmake: *** [Makefile:7: src] Error 2
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/harvid