+ 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/mencoder-1.5nb5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mencoder-1.5nb5/work.log ===> Building for mencoder-1.5nb5 help/help_create.sh help/help_mp-en.h UTF-8 gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o mencoder.o mencoder.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o parser-mecmd.o parser-mecmd.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o xvid_vbr.o xvid_vbr.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae.o libmpcodecs/ae.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c In file included from cfg-mencoder.h:34, from mencoder.c:245: cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve.o libmpcodecs/ve.c cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-common.h:506:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~ cfg-common.h:509:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, | ^ cfg-common.h:519:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | ^~~~~~~ cfg-common.h:525:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~ cfg-common.h:547:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ cfg-common.h:548:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-mencoder.h:190:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:191:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:194:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~ cfg-mencoder.h:221:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mencoder.h:229:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ mencoder.c: In function 'main': mencoder.c:828:80: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 828 | vobsub_writer=vobsub_out_open(vobsub_out, stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, | ^ gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer.o libmpdemux/muxer.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c libmpcodecs/ve_raw.c: In function 'vf_open': libmpcodecs/ve_raw.c:166:19: error: assignment to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)'} from incompatible pointer type 'int (*)(struct vf_instance *, mp_image_t *, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double)'} [-Wincompatible-pointer-types] 166 | vf->put_image = put_image; | ^ gmake: *** [Makefile:730: libmpcodecs/ve_raw.o] Error 1 gmake: *** Waiting for unfinished jobs.... libmpdemux/muxer_avi.c: In function 'write_avi_chunk': libmpdemux/muxer_avi.c:145:30: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 145 | stream_write_buffer(stream, &le_id, 4); | ^~~~~~ | | | int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:146:30: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 146 | stream_write_buffer(stream, &le_len, 4); | ^~~~~~~ | | | int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'write_avi_list': libmpdemux/muxer_avi.c:179:31: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 179 | stream_write_buffer(stream, &list_id, 4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:180:31: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 180 | stream_write_buffer(stream, &le_len, 4); | ^~~~~~~ | | | int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:181:31: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 181 | stream_write_buffer(stream, &le_id, 4); | ^~~~~~ | | | int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff': libmpdemux/muxer_avi.c:202:40: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 202 | stream_write_buffer(muxer->stream, riff, 12); | ^~~~ | | | uint32_t * {aka unsigned int *} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_write_header': libmpdemux/muxer_avi.c:254:45: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 254 | stream_write_buffer(muxer->stream,&rifflen,4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:259:49: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 259 | stream_write_buffer(muxer->stream,&movilen,4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:272:39: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 272 | stream_write_buffer(muxer->stream,&riff,12); | ^~~~~ | | | uint32_t (*)[3] {aka unsigned int (*)[3]} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]' {aka 'unsigned int (*)[3]'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:409:45: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 409 | stream_write_buffer(muxer->stream,idxhdr,sizeof(idxhdr)); | ^~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:417:49: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 417 | stream_write_buffer(muxer->stream,data,sizeof(data)); | ^~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 433 | info[0].text=mencoder_version; | ^ libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index': libmpdemux/muxer_avi.c:645:44: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 645 | stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr)); | ^~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:651:48: error: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 651 | stream_write_buffer(muxer->stream, entry, sizeof(entry)); | ^~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ gmake: *** [Makefile:730: libmpdemux/muxer_avi.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/mencoder *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/mencoder