+ 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/mkvserver_mk2-0.0.0.20200117nb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mkvserver_mk2-0.0.0.20200117nb7/work.log ===> Building for mkvserver_mk2-0.0.0.20200117nb7 --- segment.o --- --- buffer.o --- --- publisher.o --- --- segment.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c segment.c --- buffer.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c buffer.c --- publisher.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ffmpeg4 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -c publisher.c --- server --- cc -L/opt/pkg/lib/ffmpeg4 -Wl,-R/opt/pkg/lib/ffmpeg4 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wall `pkg-config --cflags libavformat libavcodec libavutil` -pthread -o server segment.o buffer.o publisher.o server2.c `pkg-config --libs libavformat libavcodec libavutil` server2.c: In function 'accept_thread': server2.c:301:66: error: passing argument 4 of 'av_opt_get' from incompatible pointer type [-Wincompatible-pointer-types] 301 | av_opt_get(client, "method", AV_OPT_SEARCH_CHILDREN, &method); | ^~~~~~~ | | | char ** In file included from server2.c:8: /home/pbulk/build/net/mkvserver_mk2/work/.buildlink/include/ffmpeg4/libavutil/opt.h:757:84: note: expected 'uint8_t **' {aka 'unsigned char **'} but argument is of type 'char **' 757 | int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val); | ~~~~~~~~~~~~^~~~~~~ server2.c:302:68: error: passing argument 4 of 'av_opt_get' from incompatible pointer type [-Wincompatible-pointer-types] 302 | av_opt_get(client, "resource", AV_OPT_SEARCH_CHILDREN, &resource); | ^~~~~~~~~ | | | char ** /home/pbulk/build/net/mkvserver_mk2/work/.buildlink/include/ffmpeg4/libavutil/opt.h:757:84: note: expected 'uint8_t **' {aka 'unsigned char **'} but argument is of type 'char **' 757 | int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val); | ~~~~~~~~~~~~^~~~~~~ server2.c: In function 'main': server2.c:440:5: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations] 440 | av_register_all(); | ^~~~~~~~~~~~~~~ In file included from server2.c:9: /home/pbulk/build/net/mkvserver_mk2/work/.buildlink/include/ffmpeg4/libavformat/avformat.h:1955:6: note: declared here 1955 | void av_register_all(void); | ^~~~~~~~~~~~~~~ *** [server] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/mkvserver_mk2/work/mkvserver_mk2-c62abc30f4cca6147ddc732570b30fcb4bee30ec bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/mkvserver_mk2/work/mkvserver_mk2-c62abc30f4cca6147ddc732570b30fcb4bee30ec *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mkvserver_mk2 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mkvserver_mk2