+ 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/gmplayer-1.5.0.38680/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gmplayer-1.5.0.38680/work.log ===> Building for gmplayer-1.5.0.38680 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=c11 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -c -o command.o command.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -c -o m_property.o m_property.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -c -o mixer.o mixer.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -c -o mp_fifo.o mp_fifo.c gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/SDL -I/opt/pkg/include/libdrm -I/usr/include -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/freetype2 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/harfbuzz -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/ffmpeg7 -I/opt/pkg/include/ffmpeg7 -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -c -o mplayer.o mplayer.c m_property.c: In function 'm_property_flag_ro': m_property.c:267:24: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 267 | *(char**)arg = strdup((var > prop->min) ? MSGTR_Enabled : MSGTR_Disabled); | ^~~~~~ | strcmp m_property.c:267:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 267 | *(char**)arg = strdup((var > prop->min) ? MSGTR_Enabled : MSGTR_Disabled); | ^ m_property.c: In function 'm_property_string_ro': m_property.c:382:42: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 382 | *(char**)arg = str ? strdup(str) : NULL; | ^ gmake: *** [Makefile:729: m_property.o] Error 1 gmake: *** Waiting for unfinished jobs.... command.c: In function 'mp_property_loop': command.c:246:28: error: implicit declaration of function 'strdup'; did you mean 'strsep'? [-Wimplicit-function-declaration] 246 | *(char**)arg = strdup("off"); | ^~~~~~ | strsep command.c:246:26: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 246 | *(char**)arg = strdup("off"); | ^ command.c:248:26: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 248 | *(char**)arg = strdup("inf"); | ^ command.c: In function 'mp_property_mute': command.c:741:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 741 | *(char **) arg = strdup(MSGTR_EnabledEdl); | ^ command.c: In function 'mp_property_channels': command.c:829:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 829 | *(char **) arg = strdup("mono"); | ^ command.c:832:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 832 | *(char **) arg = strdup("stereo"); | ^ command.c: In function 'mp_property_balance': command.c:864:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 864 | *str = strdup("center"); | ^ command.c:866:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 866 | *str = strdup("left only"); | ^ command.c:868:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 868 | *str = strdup("right only"); | ^ command.c: In function 'mp_property_audio': command.c:916:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 916 | *(char **) arg = strdup(MSGTR_Disabled); | ^ command.c: In function 'mp_property_video': command.c:978:28: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 978 | *(char **) arg = strdup(MSGTR_Disabled); | ^ command.c: In function 'mp_property_framedropping': command.c:1262:24: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1262 | *(char **) arg = strdup(frame_dropping == 1 ? MSGTR_Enabled : | ^ command.c: In function 'mp_property_video_format': command.c:1348:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1348 | meta = strdup ("mpeg1"); break; | ^ command.c:1350:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1350 | meta = strdup ("mpeg2"); break; | ^ command.c:1352:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1352 | meta = strdup ("mpeg4"); break; | ^ command.c:1354:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1354 | meta = strdup ("h264"); break; | ^ command.c: In function 'mp_property_sub_alignment': command.c:1831:24: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1831 | *(char **) arg = strdup(name[sub_alignment]); | ^ command.c: In function 'run_command': command.c:3236:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3236 | inf = strdup(""); | ^ command.c:3245:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3245 | inf = strdup(""); | ^ command.c:3254:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3254 | inf = strdup(""); | ^ command.c:3264:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3264 | inf = strdup(""); | ^ command.c:3273:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3273 | inf = strdup(""); | ^ command.c:3282:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3282 | inf = strdup(""); | ^ command.c:3291:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3291 | inf = strdup(""); | ^ command.c:3300:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3300 | inf = strdup(""); | ^ command.c:3309:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3309 | inf = strdup(""); | ^ command.c:3318:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3318 | inf = strdup(""); | ^ command.c:3327:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3327 | inf = strdup(""); | ^ command.c:3336:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3336 | inf = strdup(""); | ^ command.c:3345:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3345 | inf = strdup(""); | ^ command.c:3456:29: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3456 | char* af_args = strdup(cmd->args[0].v.s); | ^~~~~~ gmake: *** [Makefile:729: command.o] Error 1 In file included from cfg-mplayer.h:27, from mplayer.c:336: 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}, | ^ 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-mplayer.h:354:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-mplayer.h:361:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:362:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:363:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:365:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~ mplayer.c: In function 'get_demuxer_info': mplayer.c:435:30: error: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 435 | return info[2 * n + 1] ? strdup(info[2 * n + 1]) : NULL; | ^~~~~~ | strcmp mplayer.c:435:54: error: pointer/integer type mismatch in conditional expression [-Wint-conversion] 435 | return info[2 * n + 1] ? strdup(info[2 * n + 1]) : NULL; | ^ mplayer.c: In function 'get_metadata': mplayer.c:448:16: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 448 | return strdup(mp_basename(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:452:20: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 452 | return strdup("mpeg1"); | ^~~~~~~~~~~~~~~ mplayer.c:454:20: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 454 | return strdup("mpeg2"); | ^~~~~~~~~~~~~~~ mplayer.c:456:20: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 456 | return strdup("mpeg4"); | ^~~~~~~~~~~~~~~ mplayer.c:458:20: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 458 | return strdup("h264"); | ^~~~~~~~~~~~~~ mplayer.c:471:20: error: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 471 | return strdup(codec_idx2str(sh_audio->codec->name_idx)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'exit_sighandler': mplayer.c:806:9: error: implicit declaration of function 'kill' [-Wimplicit-function-declaration] 806 | kill(getpid(), SIGKILL); | ^~~~ mplayer.c: In function 'load_per_file_config': mplayer.c:968:14: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 968 | char cfg[PATH_MAX]; | ^~~~~~~~ | AF_MAX mplayer.c:968:14: note: each undeclared identifier is reported only once for each function it appears in mplayer.c: In function 'add_subtitles': mplayer.c:1082:82: warning: passing argument 3 of 'ass_read_stream' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1082 | asst = ass_read_stream(ass_library, filename, (enca_sub_cp ? enca_sub_cp : sub_cp)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from ./libmpdemux/demuxer.h:28, from ./mp_core.h:27, from gui/interface.h:23, from mplayer.c:73: ./sub/ass_mp.h:51:75: note: expected 'char *' but argument is of type 'const char *' 51 | ASS_Track* ass_read_stream(ASS_Library* library, const char *fname, char *charset); | ~~~~~~^~~~~~~ mplayer.c: In function 'main': mplayer.c:2884:18: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 2884 | char cwd[PATH_MAX + 2]; | ^~~~~~~~ | AF_MAX mplayer.c:3215:25: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 3215 | vo_wintitle = strdup(mp_basename(filename)); | ^ mplayer.c:4006:38: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 4006 | edl_filename = strdup(cmd->args[0].v.s); | ^ gmake: *** [Makefile:729: mplayer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gmplayer *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gmplayer