[Bug 271123] multimedia/mlt7 does not build on current 1400086
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 29 08:14:24 BST 2023
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271123
--- Comment #2 from pr at aoek.com ---
(In reply to Tobias C. Berner from comment #1)
Hahaha, I'm aging: I copied from the wrong window. Here is the correct one,
sorry.
[ 47% 108/229] /ccache/libexec/ccache/cc -DAVDEVICE -DAVFILTER -DCODECS
-DFILTERS -DSWRESAMPLE -Dmltavformat_EXPORTS
-I/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/framework/.. -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -DNDEBUG -std=gnu11 -fPIC -ffast-math -pthread -MD -MT
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o -MF
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o.d -o
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o -c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c
FAILED: src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o
/ccache/libexec/ccache/cc -DAVDEVICE -DAVFILTER -DCODECS -DFILTERS -DSWRESAMPLE
-Dmltavformat_EXPORTS
-I/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/framework/.. -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -DNDEBUG -std=gnu11 -fPIC -ffast-math -pthread -MD -MT
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o -MF
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o.d -o
src/modules/avformat/CMakeFiles/mltavformat.dir/factory.c.o -c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:96:3:
warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if ( type == mlt_service_link_type )
^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:193:21:
warning: implicit conversion from 'long' to 'double' changes value from
9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
if ( opt->max != INT64_MAX )
~~ ^~~~~~~~~
/usr/include/x86/_stdint.h:88:19: note: expanded from macro 'INT64_MAX'
#define INT64_MAX 0x7fffffffffffffff
^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:310:30:
warning: passing 'const AVClass *const *' (aka 'const struct AVClass *const *')
to parameter of type 'void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
add_parameters( params, &f->priv_class,
flags, NULL, f->name, NULL );
^~~~~~~~~~~~~~
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:102:58:
note: passing argument to parameter 'object' here
static void add_parameters( mlt_properties params, void *object, int req_flags,
const char *unit, const char *subclass, const char *id_prefix )
^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:318:30:
warning: passing 'const AVClass *const *' (aka 'const struct AVClass *const *')
to parameter of type 'void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
add_parameters( params, &f->priv_class,
flags, NULL, f->name, NULL );
^~~~~~~~~~~~~~
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:102:58:
note: passing argument to parameter 'object' here
static void add_parameters( mlt_properties params, void *object, int req_flags,
const char *unit, const char *subclass, const char *id_prefix )
^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:326:29:
warning: passing 'const AVClass *const *' (aka 'const struct AVClass *const *')
to parameter of type 'void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
add_parameters( params, &c->priv_class, flags,
NULL, c->name, NULL );
^~~~~~~~~~~~~~
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:102:58:
note: passing argument to parameter 'object' here
static void add_parameters( mlt_properties params, void *object, int req_flags,
const char *unit, const char *subclass, const char *id_prefix )
^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:453:36:
error: incompatible pointer to integer conversion passing 'const AVFilterPad
*const' (aka 'const struct AVFilterPad *const') to parameter of type 'int'
[-Wint-conversion]
if (avfilter_filter_pad_count(f, f->inputs) == 1 &&
^~~~~~~~~
/usr/local/include/libavfilter/avfilter.h:382:64: note: passing argument to
parameter 'is_output' here
unsigned avfilter_filter_pad_count(const AVFilter *filter, int is_output);
^
/wrkdirs/usr/ports/multimedia/mlt7/work/mlt-7.14.0/src/modules/avformat/factory.c:454:36:
error: incompatible pointer to integer conversion passing 'const AVFilterPad
*const' (aka 'const struct AVFilterPad *const') to parameter of type 'int'
[-Wint-conversion]
avfilter_filter_pad_count(f, f->outputs) == 1 &&
^~~~~~~~~~
/usr/local/include/libavfilter/avfilter.h:382:64: note: passing argument to
parameter 'is_output' here
unsigned avfilter_filter_pad_count(const AVFilter *filter, int is_output);
^
5 warnings and 2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make: stopped in /usr/ports/multimedia/mlt7
=>> Cleaning up wrkdir
===> Cleaning for mlt7-7.14.0_3
build of multimedia/mlt7 | mlt7-7.14.0_3 ended at Fri Apr 28 15:29:23 CEST 2023
build time: 00:07:05
!!! build failure encountered !!!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list