fails to build:
13%] Building C object libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c: In function ‘init_output’:
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:99:17: error: ‘av_stream_get_side_data’ is deprecated [-Werror=deprecated-declarations]
99 | const uint8_t *const content_src = av_stream_get_side_data(
| ^~~~~
In file included from /home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:24:
/usr/include/libavformat/avformat.h:1917:10: note: declared here
1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:103:25: error: ‘av_stream_new_side_data’ is deprecated [-Werror=deprecated-declarations]
103 | uint8_t *const content_dst = av_stream_new_side_data(
| ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: declared here
1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:115:17: error: ‘av_stream_get_side_data’ is deprecated [-Werror=deprecated-declarations]
115 | const uint8_t *const mastering_src = av_stream_get_side_data(
| ^~~~~
/usr/include/libavformat/avformat.h:1917:10: note: declared here
1917 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/zangoku/.cache/paru/clone/obs-studio-git/src/obs-studio-git/libobs/media-io/media-remux.c:119:25: error: ‘av_stream_new_side_data’ is deprecated [-Werror=deprecated-declarations]
119 | uint8_t *const mastering_dst = av_stream_new_side_data(
| ^~~~~~~
/usr/include/libavformat/avformat.h:1902:10: note: declared here
1902 | uint8_t *av_stream_new_side_data(AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:776: libobs/CMakeFiles/libobs.dir/media-io/media-remux.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1218: libobs/CMakeFiles/libobs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'obs-studio-git-30.0.0.beta3-2':
error: packages failed to build: obs-studio-git-30.0.0.beta3-2
Pinned Comments
thotypous commented on 2021-02-05 14:12 (UTC)
If you don't want to build this package yourself, hourly builds are available at https://aur.chaotic.cx
benklett commented on 2016-02-06 23:11 (UTC) (edited on 2016-08-10 14:01 (UTC) by benklett)