Guest User

mpv-vittgam 6 build log

a guest
May 30th, 2018
156
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==> Starting build()...
  2. Setting top to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c
  3. Setting out to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c/build
  4. Checking for waf version in 1.8.4-1.9.0 : ok
  5. Checking for program 'cc' : /usr/bin/cc
  6. Checking for program 'pkg-config' : /usr/bin/pkg-config
  7. Checking for program 'ar' : /usr/bin/ar
  8. Checking for program 'perl' : /usr/bin/perl
  9. Checking for program 'rst2html' : /usr/bin/rst2html
  10. Checking for program 'rst2man' : /usr/bin/rst2man
  11. Checking for program 'rst2pdf' : not found
  12. Checking for program 'windres' : not found
  13. Checking for 'gcc' (C compiler) : /usr/bin/cc
  14. Detected target OS: : os-linux
  15. Checking for compiler flags -Werror=implicit-function-declaration : yes
  16. Checking for compiler flags -Wno-error=deprecated-declarations : yes
  17. Checking for compiler flags -Wno-error=unused-function : yes
  18. Checking for compiler flags -Wempty-body : yes
  19. Checking for compiler flags -Wdisabled-optimization : yes
  20. Checking for compiler flags -Wstrict-prototypes : yes
  21. Checking for compiler flags -Wno-format-zero-length : yes
  22. Checking for compiler flags -Werror=format-security : yes
  23. Checking for compiler flags -Wno-redundant-decls : yes
  24. Checking for GPL3 license : disabled
  25. Checking for mpv CLI player : yes
  26. Checking for shared library : yes
  27. Checking for static library : disabled
  28. Checking for static build : disabled
  29. Checking for whether to include binary compile time : yes
  30. Checking for whether to optimize : yes
  31. Checking for whether to compile-in debugging information : yes
  32. Checking for manpage generation : yes
  33. Checking for html manual generation : disabled
  34. Checking for pdf manual generation : disabled
  35. Checking for dynamic loader : yes
  36. Checking for dlopen : yes
  37. Checking for compilation of default filters for vf_dlopen : disabled
  38. Checking for zsh completion : yes
  39. Checking for inline assembly (currently without effect) : yes
  40. Checking for test suite (using cmocka) : disabled
  41. Checking for generate a clang compilation database : disabled
  42. Checking for compiler support for noexecstack : yes
  43. Checking for linker support for --nxcompat --no-seh --dynamicbase : no
  44. Checking for -lm : yes
  45. Checking for MinGW : os-win32 not found
  46. Checking for POSIX environment : yes
  47. Checking for development environment : yes
  48. Checking for win32 : not found any of os-cygwin, os-win32
  49. Checking for internal pthread wrapper for win32 (Vista+) : win32 not found
  50. Checking for POSIX threads : yes
  51. Checking for stdatomic.h : yes
  52. Checking for compiler support for __atomic built-ins : stdatomic found
  53. Checking for compiler support for __sync built-ins : stdatomic found
  54. Checking for compiler support for usable thread synchronization built-ins : yes
  55. Checking for C11 TLS support : yes
  56. Checking for linking with -lrt : yes
  57. Checking for iconv : yes
  58. Checking for w32/dos paths : not found any of os-cygwin, os-win32
  59. Checking for termios : yes
  60. Checking for shm : yes
  61. Checking for nanosleep : yes
  62. Checking for POSIX spawnp()/kill() : yes
  63. Checking for posix_spawnp() or MinGW : yes
  64. Checking for glob() : yes
  65. Checking for glob() win32 replacement : not found any of os-cygwin, os-win32
  66. Checking for fchmod() : yes
  67. Checking for vt.h : yes
  68. Checking for gbm.h : yes
  69. Checking for GLIBC API for setting thread name : yes
  70. Checking for OSX API for setting thread name : glibc-thread-name found
  71. Checking for BSD API for setting thread name : glibc-thread-name found
  72. Checking for NetBSD API for setting thread name : glibc-thread-name found
  73. Checking for BSD's fstatfs() : no
  74. Checking for Linux's fstatfs() : yes
  75. Checking for Samba support : yes
  76. Checking for Lua : yes (version found: 52arch)
  77. Checking for SSA/ASS support : yes
  78. Checking for libass OSD support : yes
  79. Checking for dummy OSD support : libass-osd found
  80. Checking for zlib : yes
  81. Checking for Encoding : yes
  82. Checking for Bluray support : yes
  83. Checking for dvdread support : yes
  84. Checking for dvdnav support : yes
  85. Checking for cdda support (libcdio) : yes
  86. Checking for ENCA support : yes
  87. Checking for libguess support : no ('libguess >= 1.0' not found)
  88. Checking for uchardet support : yes
  89. Checking for librubberband support : yes
  90. Checking for LCMS2 support : yes
  91. Checking for VapourSynth filter bridge (Python) : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found)
  92. Checking for VapourSynth filter bridge (Lazy Lua) : no ('vapoursynth >= 24' not found)
  93. Checking for VapourSynth filter bridge (core) : not found any of vapoursynth, vapoursynth-lazy
  94. Checking for libarchive wrapper for reading zip files and more : disabled
  95. Checking for SDL2 : disabled
  96. Checking for SDL (1.x) : disabled
  97. Checking for OSS (implementation from opensound.com) : no
  98. Checking for OSS (platform-specific OSS implementation) : yes
  99. Checking for OSS (emulation on top of SunAudio) : oss-audio-native found
  100. Checking for OSS audio output : yes
  101. Checking for RSound audio output : no
  102. Checking for sndio audio input/output : disabled
  103. Checking for PulseAudio audio output : yes
  104. Checking for JACK audio output : yes
  105. Checking for OpenAL audio output : disabled
  106. Checking for OpenSL ES audio output : no
  107. Checking for ALSA audio output : yes
  108. Checking for CoreAudio audio output : no
  109. Checking for WASAPI audio output : win32 not found
  110. Checking for Cocoa : no
  111. Checking for DRM : yes
  112. Checking for GBM : yes
  113. Checking for Wayland : yes
  114. Checking for X11 : yes
  115. Checking for Xss screensaver extensions : yes
  116. Checking for X extensions : yes
  117. Checking for Xv video output : yes
  118. Checking for Xinerama : yes
  119. Checking for Xrandr : yes
  120. Checking for OpenGL Cocoa Backend : cocoa not found
  121. Checking for OpenGL X11 Backend : yes
  122. Checking for OpenGL X11 EGL Backend : yes
  123. Checking for OpenGL DRM EGL Backend : yes
  124. Checking for OpenGL Wayland Backend : yes
  125. Checking for OpenGL Win32 Backend : win32 not found
  126. Checking for OpenGL/DirectX Interop Backend : gl-win32 not found
  127. Checking for OpenGL Win32 ANGLE Backend : not found any of os-cygwin, os-win32
  128. Checking for VDPAU acceleration : yes
  129. Checking for VDPAU with OpenGL/X11 : yes
  130. Checking for VAAPI acceleration : yes
  131. Checking for VAAPI (X11 support) : yes
  132. Checking for VAAPI (Wayland support) : yes
  133. Checking for VAAPI (DRM/EGL support) : yes
  134. Checking for VAAPI GLX : yes
  135. Checking for VAAPI EGL on X11 : yes
  136. Checking for VAAPI EGL : yes
  137. Checking for CACA : yes
  138. Checking for JPEG support : yes
  139. Checking for Direct3D support : win32 not found
  140. Checking for Android support : no
  141. Checking for Raspberry Pi support : no
  142. Checking for Desktop standard OpengGL support : yes
  143. Checking for Android OpenGL ES support : android not found
  144. Checking for Any OpenGL (ES) support : yes
  145. Checking for OpenGL without platform-specific code (e.g. for libmpv) : yes
  146. Checking for OpenGL video outputs : yes
  147. Checking for EGL helper functions : yes
  148. Checking for libav/ffmpeg : yes
  149. Checking for libswresample : yes
  150. Checking for libavresample : libswresample found
  151. Checking for usable resampler found : yes
  152. Checking for libavfilter : yes
  153. Checking for libavdevice : yes
  154. Checking for libavcodec avcodec_enum_to_chroma_pos API : yes
  155. Checking for libavutil AVFrame metadata : yes
  156. Checking for libavutil AVFrame skip samples metadata : yes
  157. Checking for libavutil AV_PIX_FMT_MMAL : yes
  158. Checking for libavtuil av_version_info() : yes
  159. Checking for libavutil new pixdesc fields : yes
  160. Checking for libavcodec 64 bit AVPacket.duration : yes
  161. Checking for libavcodec AVSubtitleRect AVPicture removal : yes
  162. Checking for libavcodec avcodec_profile_name() : yes
  163. Checking for libavcodec decode/encode API : yes
  164. Checking for libavcodec AVCodecParameters API : yes
  165. Checking for libavcodec VAAPI hwaccel : yes
  166. Checking for libavcodec videotoolbox hwaccel : no
  167. Checking for Videotoolbox with OpenGL : videotoolbox-hwaccel, gl-cocoa not found
  168. Checking for libavcodec VDPAU hwaccel : yes
  169. Checking for libavcodec DXVA2 hwaccel : win32 not found
  170. Checking for libavcodec D3D11VA hwaccel : win32 not found
  171. Checking for Direct3D hwaccel : not found any of d3d11va-hwaccel, dxva2-hwaccel
  172. Checking for GCC SSE4 intrinsics for GPU memcpy : yes
  173. Checking for TV interface : yes
  174. Checking for videoio.h : no
  175. Checking for videodev2.h : yes
  176. Checking for Video4Linux2 TV interface : yes
  177. Checking for libv4l2 support : yes
  178. Checking for audio input support : yes
  179. Checking for DVB input module : yes
  180. Checking for w32 executable : not found any of os-cygwin, os-win32
  181. Checking for Apple Remote support : cocoa not found
  182. Writing configuration header: : config.h
  183. 'configure' finished successfully (10.140s)
  184. Waf: Entering directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c/build'
  185. [ 1/473] Compiling version.sh
  186. [ 2/473] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
  187. [ 3/473] Compiling video/out/x11_icon.bin
  188. [ 4/473] Compiling etc/input.conf
  189. [ 5/473] Compiling sub/osd_font.otf
  190. [ 6/473] Compiling video/out/opengl/nnedi3_weights.bin
  191. [ 7/473] Compiling player/lua/defaults.lua
  192. [ 8/473] Compiling player/lua/assdraw.lua
  193. [ 9/473] Compiling player/lua/options.lua
  194. [ 10/473] Compiling player/lua/osc.lua
  195. [ 11/473] Compiling player/lua/ytdl_hook.lua
  196. [ 12/473] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
  197. [ 13/473] Compiling demux/ebml.c
  198. [ 14/473] Compiling libmpv/mpv.def
  199. [ 15/473] Compiling libmpv/mpv.pc.in
  200. [ 16/473] Compiling DOCS/man/mpv.rst
  201. [ 17/473] Compiling player/video.c
  202. [ 18/473] Compiling demux/demux_mkv.c
  203. [ 19/473] Compiling common/encode_lavc.c
  204. [ 20/473] Compiling options/m_config.c
  205. ../common/encode_lavc.c: In function ‘encode_lavc_init’:
  206. ../common/encode_lavc.c:203:5: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  207. av_strlcpy(ctx->avc->filename, filename,
  208. ^~~~~~~~~~
  209. In file included from ../common/encode_lavc.h:27,
  210. from ../common/encode_lavc.c:24:
  211. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  212. char filename[1024];
  213. ^~~~~~~~
  214. ../common/encode_lavc.c:204:16: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  215. sizeof(ctx->avc->filename));
  216. ^~~~~~
  217. In file included from ../common/encode_lavc.h:27,
  218. from ../common/encode_lavc.c:24:
  219. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  220. char filename[1024];
  221. ^~~~~~~~
  222. ../common/encode_lavc.c:231:55: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  223. ctx->avc->filename, NULL,
  224. ^~~
  225. In file included from ../common/encode_lavc.h:27,
  226. from ../common/encode_lavc.c:24:
  227. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  228. char filename[1024];
  229. ^~~~~~~~
  230. ../common/encode_lavc.c:250:55: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  231. ctx->avc->filename, NULL,
  232. ^~~
  233. In file included from ../common/encode_lavc.h:27,
  234. from ../common/encode_lavc.c:24:
  235. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  236. char filename[1024];
  237. ^~~~~~~~
  238. ../common/encode_lavc.c: In function ‘encode_lavc_start’:
  239. ../common/encode_lavc.c:297:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  240. if (ctx->avc->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
  241. ^~
  242. In file included from ../common/encode_lavc.h:27,
  243. from ../common/encode_lavc.c:24:
  244. /usr/include/libavformat/avformat.h:877:21: note: declared here
  245. AVCodecContext *codec;
  246. ^~~~~
  247. ../common/encode_lavc.c:311:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  248. if (ctx->avc->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
  249. ^~
  250. In file included from ../common/encode_lavc.h:27,
  251. from ../common/encode_lavc.c:24:
  252. /usr/include/libavformat/avformat.h:877:21: note: declared here
  253. AVCodecContext *codec;
  254. ^~~~~
  255. ../common/encode_lavc.c:326:9: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  256. MP_INFO(ctx, "Opening output file: %s\n",
  257. ^~~~~~~
  258. In file included from ../common/encode_lavc.h:27,
  259. from ../common/encode_lavc.c:24:
  260. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  261. char filename[1024];
  262. ^~~~~~~~
  263. ../common/encode_lavc.c:329:9: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  264. if (avio_open(&ctx->avc->pb, ctx->avc->filename,
  265. ^~
  266. In file included from ../common/encode_lavc.h:27,
  267. from ../common/encode_lavc.c:24:
  268. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  269. char filename[1024];
  270. ^~~~~~~~
  271. ../common/encode_lavc.c:332:30: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  272. ctx->avc->filename);
  273. ^~~
  274. In file included from ../common/encode_lavc.h:27,
  275. from ../common/encode_lavc.c:24:
  276. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  277. char filename[1024];
  278. ^~~~~~~~
  279. ../common/encode_lavc.c: In function ‘encode_lavc_finish’:
  280. ../common/encode_lavc.c:391:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  281. switch (ctx->avc->streams[i]->codec->codec_type) {
  282. ^~~~~~
  283. In file included from ../common/encode_lavc.h:27,
  284. from ../common/encode_lavc.c:24:
  285. /usr/include/libavformat/avformat.h:877:21: note: declared here
  286. AVCodecContext *codec;
  287. ^~~~~
  288. ../common/encode_lavc.c:394:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  289. char *stats = ctx->avc->streams[i]->codec->stats_out;
  290. ^~~~
  291. In file included from ../common/encode_lavc.h:27,
  292. from ../common/encode_lavc.c:24:
  293. /usr/include/libavformat/avformat.h:877:21: note: declared here
  294. AVCodecContext *codec;
  295. ^~~~~
  296. ../common/encode_lavc.c:402:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  297. char *stats = ctx->avc->streams[i]->codec->stats_out;
  298. ^~~~
  299. In file included from ../common/encode_lavc.h:27,
  300. from ../common/encode_lavc.c:24:
  301. /usr/include/libavformat/avformat.h:877:21: note: declared here
  302. AVCodecContext *codec;
  303. ^~~~~
  304. ../common/encode_lavc.c:411:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  305. avcodec_close(ctx->avc->streams[i]->codec);
  306. ^~~~~~~~~~~~~
  307. In file included from ../common/encode_lavc.h:27,
  308. from ../common/encode_lavc.c:24:
  309. /usr/include/libavformat/avformat.h:877:21: note: declared here
  310. AVCodecContext *codec;
  311. ^~~~~
  312. ../common/encode_lavc.c:412:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  313. talloc_free(ctx->avc->streams[i]->codec->stats_in);
  314. ^~~~~~~~~~~
  315. In file included from ../common/encode_lavc.h:27,
  316. from ../common/encode_lavc.c:24:
  317. /usr/include/libavformat/avformat.h:877:21: note: declared here
  318. AVCodecContext *codec;
  319. ^~~~~
  320. ../common/encode_lavc.c:413:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  321. av_free(ctx->avc->streams[i]->codec);
  322. ^~~~~~~
  323. In file included from ../common/encode_lavc.h:27,
  324. from ../common/encode_lavc.c:24:
  325. /usr/include/libavformat/avformat.h:877:21: note: declared here
  326. AVCodecContext *codec;
  327. ^~~~~
  328. ../common/encode_lavc.c: In function ‘encode_2pass_prepare’:
  329. ../common/encode_lavc.c:468:9: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  330. char buf[sizeof(ctx->avc->filename) + 12];
  331. ^~~~
  332. In file included from ../common/encode_lavc.h:27,
  333. from ../common/encode_lavc.c:24:
  334. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  335. char filename[1024];
  336. ^~~~~~~~
  337. ../common/encode_lavc.c:471:9: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  338. snprintf(buf, sizeof(buf), "%s-%s-pass1.log", ctx->avc->filename,
  339. ^~~~~~~~
  340. In file included from ../common/encode_lavc.h:27,
  341. from ../common/encode_lavc.c:24:
  342. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  343. char filename[1024];
  344. ^~~~~~~~
  345. ../common/encode_lavc.c:479:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  346. stream->codec->flags &= ~CODEC_FLAG_PASS2;
  347. ^~~~~~
  348. In file included from ../common/encode_lavc.h:27,
  349. from ../common/encode_lavc.c:24:
  350. /usr/include/libavformat/avformat.h:877:21: note: declared here
  351. AVCodecContext *codec;
  352. ^~~~~
  353. ../common/encode_lavc.c:479:42: error: ‘CODEC_FLAG_PASS2’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_PASS2’?
  354. stream->codec->flags &= ~CODEC_FLAG_PASS2;
  355. ^~~~~~~~~~~~~~~~
  356. AV_CODEC_FLAG_PASS2
  357. ../common/encode_lavc.c:479:42: note: each undeclared identifier is reported only once for each function it appears in
  358. ../common/encode_lavc.c:485:21: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  359. MP_WARN(ctx, "%s: could not read '%s', "
  360. ^~~~~~~
  361. In file included from ../common/encode_lavc.h:27,
  362. from ../common/encode_lavc.c:24:
  363. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  364. char filename[1024];
  365. ^~~~~~~~
  366. ../common/encode_lavc.c:490:21: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  367. stream->codec->stats_in = content.start;
  368. ^~~~~~
  369. In file included from ../common/encode_lavc.h:27,
  370. from ../common/encode_lavc.c:24:
  371. /usr/include/libavformat/avformat.h:877:21: note: declared here
  372. AVCodecContext *codec;
  373. ^~~~~
  374. ../common/encode_lavc.c:499:17: warning: ‘filename’ is deprecated [-Wdeprecated-declarations]
  375. MP_WARN(ctx,
  376. ^~~~~~~
  377. In file included from ../common/encode_lavc.h:27,
  378. from ../common/encode_lavc.c:24:
  379. /usr/include/libavformat/avformat.h:1408:10: note: declared here
  380. char filename[1024];
  381. ^~~~~~~~
  382. ../common/encode_lavc.c: In function ‘encode_lavc_alloc_stream’:
  383. ../common/encode_lavc.c:523:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  384. if (ctx->avc->streams[i]->codec->codec_type == mt)
  385. ^~
  386. In file included from ../common/encode_lavc.h:27,
  387. from ../common/encode_lavc.c:24:
  388. /usr/include/libavformat/avformat.h:877:21: note: declared here
  389. AVCodecContext *codec;
  390. ^~~~~
  391. ../common/encode_lavc.c:541:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  392. if (ctx->avc->streams[i]->codec->codec_type == AVMEDIA_TYPE_UNKNOWN) // preallocated stream
  393. ^~
  394. In file included from ../common/encode_lavc.h:27,
  395. from ../common/encode_lavc.c:24:
  396. /usr/include/libavformat/avformat.h:877:21: note: declared here
  397. AVCodecContext *codec;
  398. ^~~~~
  399. ../common/encode_lavc.c:589:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  400. avcodec_get_context_defaults3(stream->codec, ctx->vc);
  401. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  402. In file included from ../common/encode_lavc.h:27,
  403. from ../common/encode_lavc.c:24:
  404. /usr/include/libavformat/avformat.h:877:21: note: declared here
  405. AVCodecContext *codec;
  406. ^~~~~
  407. ../common/encode_lavc.c:593:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  408. stream->codec->time_base = ctx->timebase;
  409. ^~~~~~
  410. In file included from ../common/encode_lavc.h:27,
  411. from ../common/encode_lavc.c:24:
  412. /usr/include/libavformat/avformat.h:877:21: note: declared here
  413. AVCodecContext *codec;
  414. ^~~~~
  415. ../common/encode_lavc.c:622:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  416. avcodec_get_context_defaults3(stream->codec, ctx->ac);
  417. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  418. In file included from ../common/encode_lavc.h:27,
  419. from ../common/encode_lavc.c:24:
  420. /usr/include/libavformat/avformat.h:877:21: note: declared here
  421. AVCodecContext *codec;
  422. ^~~~~
  423. ../common/encode_lavc.c:626:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  424. stream->codec->time_base = ctx->timebase;
  425. ^~~~~~
  426. In file included from ../common/encode_lavc.h:27,
  427. from ../common/encode_lavc.c:24:
  428. /usr/include/libavformat/avformat.h:877:21: note: declared here
  429. AVCodecContext *codec;
  430. ^~~~~
  431. ../common/encode_lavc.c: In function ‘encode_lavc_get_codec’:
  432. ../common/encode_lavc.c:660:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  433. switch (stream->codec->codec_type) {
  434. ^~~~~~
  435. In file included from ../common/encode_lavc.h:27,
  436. from ../common/encode_lavc.c:24:
  437. /usr/include/libavformat/avformat.h:877:21: note: declared here
  438. AVCodecContext *codec;
  439. ^~~~~
  440. ../common/encode_lavc.c: In function ‘encode_lavc_open_codec’:
  441. ../common/encode_lavc.c:678:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  442. switch (stream->codec->codec_type) {
  443. ^~~~~~
  444. In file included from ../common/encode_lavc.h:27,
  445. from ../common/encode_lavc.c:24:
  446. /usr/include/libavformat/avformat.h:877:21: note: declared here
  447. AVCodecContext *codec;
  448. ^~~~~
  449. ../common/encode_lavc.c:683:37: error: ‘CODEC_CAP_EXPERIMENTAL’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_EXPERIMENTAL’?
  450. if (ctx->vc->capabilities & CODEC_CAP_EXPERIMENTAL) {
  451. ^~~~~~~~~~~~~~~~~~~~~~
  452. AV_CODEC_CAP_EXPERIMENTAL
  453. ../common/encode_lavc.c:684:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  454. stream->codec->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
  455. ^~~~~~
  456. In file included from ../common/encode_lavc.h:27,
  457. from ../common/encode_lavc.c:24:
  458. /usr/include/libavformat/avformat.h:877:21: note: declared here
  459. AVCodecContext *codec;
  460. ^~~~~
  461. ../common/encode_lavc.c:704:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  462. ret = avcodec_open2(stream->codec, ctx->vc, &ctx->voptions);
  463. ^~~
  464. In file included from ../common/encode_lavc.h:27,
  465. from ../common/encode_lavc.c:24:
  466. /usr/include/libavformat/avformat.h:877:21: note: declared here
  467. AVCodecContext *codec;
  468. ^~~~~
  469. ../common/encode_lavc.c:719:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  470. stream->codec->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
  471. ^~~~~~
  472. In file included from ../common/encode_lavc.h:27,
  473. from ../common/encode_lavc.c:24:
  474. /usr/include/libavformat/avformat.h:877:21: note: declared here
  475. AVCodecContext *codec;
  476. ^~~~~
  477. ../common/encode_lavc.c:738:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  478. ret = avcodec_open2(stream->codec, ctx->ac, &ctx->aoptions);
  479. ^~~
  480. In file included from ../common/encode_lavc.h:27,
  481. from ../common/encode_lavc.c:24:
  482. /usr/include/libavformat/avformat.h:877:21: note: declared here
  483. AVCodecContext *codec;
  484. ^~~~~
  485. ../common/encode_lavc.c: In function ‘encode_lavc_write_stats’:
  486. ../common/encode_lavc.c:764:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  487. switch (stream->codec->codec_type) {
  488. ^~~~~~
  489. In file included from ../common/encode_lavc.h:27,
  490. from ../common/encode_lavc.c:24:
  491. /usr/include/libavformat/avformat.h:877:21: note: declared here
  492. AVCodecContext *codec;
  493. ^~~~~
  494. ../common/encode_lavc.c:767:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  495. if (stream->codec->stats_out)
  496. ^~
  497. In file included from ../common/encode_lavc.h:27,
  498. from ../common/encode_lavc.c:24:
  499. /usr/include/libavformat/avformat.h:877:21: note: declared here
  500. AVCodecContext *codec;
  501. ^~~~~
  502. ../common/encode_lavc.c:769:37: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  503. stream->codec->stats_out,
  504. ^~~~~~
  505. In file included from ../common/encode_lavc.h:27,
  506. from ../common/encode_lavc.c:24:
  507. /usr/include/libavformat/avformat.h:877:21: note: declared here
  508. AVCodecContext *codec;
  509. ^~~~~
  510. ../common/encode_lavc.c:770:37: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  511. strlen(stream->codec->stats_out));
  512. ^~~~~~
  513. In file included from ../common/encode_lavc.h:27,
  514. from ../common/encode_lavc.c:24:
  515. /usr/include/libavformat/avformat.h:877:21: note: declared here
  516. AVCodecContext *codec;
  517. ^~~~~
  518. ../common/encode_lavc.c:774:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  519. if (stream->codec->stats_out)
  520. ^~
  521. In file included from ../common/encode_lavc.h:27,
  522. from ../common/encode_lavc.c:24:
  523. /usr/include/libavformat/avformat.h:877:21: note: declared here
  524. AVCodecContext *codec;
  525. ^~~~~
  526. ../common/encode_lavc.c:776:37: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  527. stream->codec->stats_out,
  528. ^~~~~~
  529. In file included from ../common/encode_lavc.h:27,
  530. from ../common/encode_lavc.c:24:
  531. /usr/include/libavformat/avformat.h:877:21: note: declared here
  532. AVCodecContext *codec;
  533. ^~~~~
  534. ../common/encode_lavc.c:777:37: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  535. strlen(stream->codec->stats_out));
  536. ^~~~~~
  537. In file included from ../common/encode_lavc.h:27,
  538. from ../common/encode_lavc.c:24:
  539. /usr/include/libavformat/avformat.h:877:21: note: declared here
  540. AVCodecContext *codec;
  541. ^~~~~
  542. ../common/encode_lavc.c: In function ‘encode_lavc_write_frame’:
  543. ../common/encode_lavc.c:806:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  544. switch (ctx->avc->streams[packet->stream_index]->codec->codec_type) {
  545. ^~~~~~
  546. In file included from ../common/encode_lavc.h:27,
  547. from ../common/encode_lavc.c:24:
  548. /usr/include/libavformat/avformat.h:877:21: note: declared here
  549. AVCodecContext *codec;
  550. ^~~~~
  551. ../common/encode_lavc.c: In function ‘encode_lavc_showhelp’:
  552. ../common/encode_lavc.c:939:5: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  553. if (av_codec_next(NULL) == NULL)
  554. ^~
  555. In file included from ../common/encode_lavc.h:26,
  556. from ../common/encode_lavc.c:24:
  557. /usr/include/libavcodec/avcodec.h:4045:10: note: declared here
  558. AVCodec *av_codec_next(const AVCodec *c);
  559. ^~~~~~~~~~~~~
  560. ../common/encode_lavc.c:948:9: warning: ‘av_oformat_next’ is deprecated [-Wdeprecated-declarations]
  561. while ((c = av_oformat_next(c)))
  562. ^~~~~
  563. In file included from ../common/encode_lavc.h:27,
  564. from ../common/encode_lavc.c:24:
  565. /usr/include/libavformat/avformat.h:2070:17: note: declared here
  566. AVOutputFormat *av_oformat_next(const AVOutputFormat *f);
  567. ^~~~~~~~~~~~~~~
  568. ../common/encode_lavc.c:961:9: warning: ‘av_oformat_next’ is deprecated [-Wdeprecated-declarations]
  569. while ((format = av_oformat_next(format))) {
  570. ^~~~~
  571. In file included from ../common/encode_lavc.h:27,
  572. from ../common/encode_lavc.c:24:
  573. /usr/include/libavformat/avformat.h:2070:17: note: declared here
  574. AVOutputFormat *av_oformat_next(const AVOutputFormat *f);
  575. ^~~~~~~~~~~~~~~
  576. ../common/encode_lavc.c:983:9: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  577. while ((codec = av_codec_next(codec))) {
  578. ^~~~~
  579. In file included from ../common/encode_lavc.h:26,
  580. from ../common/encode_lavc.c:24:
  581. /usr/include/libavcodec/avcodec.h:4045:10: note: declared here
  582. AVCodec *av_codec_next(const AVCodec *c);
  583. ^~~~~~~~~~~~~
  584. ../common/encode_lavc.c:1015:9: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  585. while ((codec = av_codec_next(codec))) {
  586. ^~~~~
  587. In file included from ../common/encode_lavc.h:26,
  588. from ../common/encode_lavc.c:24:
  589. /usr/include/libavcodec/avcodec.h:4045:10: note: declared here
  590. AVCodec *av_codec_next(const AVCodec *c);
  591. ^~~~~~~~~~~~~
  592. ../common/encode_lavc.c:1039:9: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  593. while ((c = av_codec_next(c))) {
  594. ^~~~~
  595. In file included from ../common/encode_lavc.h:26,
  596. from ../common/encode_lavc.c:24:
  597. /usr/include/libavcodec/avcodec.h:4045:10: note: declared here
  598. AVCodec *av_codec_next(const AVCodec *c);
  599. ^~~~~~~~~~~~~
  600. ../common/encode_lavc.c:1052:9: warning: ‘av_codec_next’ is deprecated [-Wdeprecated-declarations]
  601. while ((c = av_codec_next(c))) {
  602. ^~~~~
  603. In file included from ../common/encode_lavc.h:26,
  604. from ../common/encode_lavc.c:24:
  605. /usr/include/libavcodec/avcodec.h:4045:10: note: declared here
  606. AVCodec *av_codec_next(const AVCodec *c);
  607. ^~~~~~~~~~~~~
  608. ../common/encode_lavc.c: In function ‘encode_lavc_getoffset’:
  609. ../common/encode_lavc.c:1069:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  610. switch (stream->codec->codec_type) {
  611. ^~~~~~
  612. In file included from ../common/encode_lavc.h:27,
  613. from ../common/encode_lavc.c:24:
  614. /usr/include/libavformat/avformat.h:877:21: note: declared here
  615. AVCodecContext *codec;
  616. ^~~~~
  617. ../common/encode_lavc.c: In function ‘encode_lavc_set_csp’:
  618. ../common/encode_lavc.c:1159:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  619. if (stream->codec->colorspace != mp_csp_to_avcol_spc(csp))
  620. ^~
  621. In file included from ../common/encode_lavc.h:27,
  622. from ../common/encode_lavc.c:24:
  623. /usr/include/libavformat/avformat.h:877:21: note: declared here
  624. AVCodecContext *codec;
  625. ^~~~~
  626. ../common/encode_lavc.c:1164:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  627. stream->codec->colorspace = mp_csp_to_avcol_spc(csp);
  628. ^~~~~~
  629. In file included from ../common/encode_lavc.h:27,
  630. from ../common/encode_lavc.c:24:
  631. /usr/include/libavformat/avformat.h:877:21: note: declared here
  632. AVCodecContext *codec;
  633. ^~~~~
  634. ../common/encode_lavc.c: In function ‘encode_lavc_set_csp_levels’:
  635. ../common/encode_lavc.c:1174:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  636. if (stream->codec->color_range != mp_csp_levels_to_avcol_range(lev))
  637. ^~
  638. In file included from ../common/encode_lavc.h:27,
  639. from ../common/encode_lavc.c:24:
  640. /usr/include/libavformat/avformat.h:877:21: note: declared here
  641. AVCodecContext *codec;
  642. ^~~~~
  643. ../common/encode_lavc.c:1179:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  644. stream->codec->color_range = mp_csp_levels_to_avcol_range(lev);
  645. ^~~~~~
  646. In file included from ../common/encode_lavc.h:27,
  647. from ../common/encode_lavc.c:24:
  648. /usr/include/libavformat/avformat.h:877:21: note: declared here
  649. AVCodecContext *codec;
  650. ^~~~~
  651. ../common/encode_lavc.c: In function ‘encode_lavc_get_csp’:
  652. ../common/encode_lavc.c:1188:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  653. return avcol_spc_to_mp_csp(stream->codec->colorspace);
  654. ^~~~~~
  655. In file included from ../common/encode_lavc.h:27,
  656. from ../common/encode_lavc.c:24:
  657. /usr/include/libavformat/avformat.h:877:21: note: declared here
  658. AVCodecContext *codec;
  659. ^~~~~
  660. ../common/encode_lavc.c: In function ‘encode_lavc_get_csp_levels’:
  661. ../common/encode_lavc.c:1196:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  662. return avcol_range_to_mp_csp_levels(stream->codec->color_range);
  663. ^~~~~~
  664. In file included from ../common/encode_lavc.h:27,
  665. from ../common/encode_lavc.c:24:
  666. /usr/include/libavformat/avformat.h:877:21: note: declared here
  667. AVCodecContext *codec;
  668. ^~~~~
  669.  
  670. Waf: Leaving directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c/build'
  671. Build failed
  672. -> task in 'mpv' failed (exit status 1):
  673. {task 140527487774056: c encode_lavc.c -> encode_lavc.c.16.o}
  674. ['/usr/bin/cc', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-O2', '-g', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-fPIC', '-pthread', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c/build', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c', '-I/usr/include/uchardet', '-I/usr/include/samba-4.0', '-I/usr/include/libdrm', '-I/usr/include/lua5.2', '-I/usr/include/uuid', '-I/usr/include/fribidi', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/libxml2', '-I/usr/include/alsa', '-DHAVE_UCHARDET=1', '-DHAVE_LIBAV=1', '-DHAVE_CACA=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '-DHAVE_X11=1', '-DHAVE_VAAPI_WAYLAND=1', '-DHAVE_EGL_DRM=1', '-DHAVE_VDPAU=1', '-DHAVE_XV=1', '-DHAVE_LIBSMBCLIENT=1', '-DHAVE_DRM=1', '-DHAVE_LIBSWRESAMPLE=1', '-DHAVE_LIBV4L2=1', '-DHAVE_EGL_X11=1', '-DHAVE_GL_WAYLAND=1', '-DHAVE_52ARCH=1', '-DHAVE_LIBAVFILTER=1', '-DHAVE_VAAPI_DRM=1', '-DHAVE_LCMS2=1', '-DHAVE_VAAPI_X11=1', '-DHAVE_PULSE=1', '-D_REENTRANT', '-DHAVE_DVDREAD=1', '-DHAVE_RUBBERBAND=1', '-DHAVE_XRANDR=1', '-DHAVE_VAAPI=1', '-DHAVE_XEXT=1', '-DHAVE_LIBAVDEVICE=1', '-DHAVE_DVDNAV=1', '-DHAVE_LIBASS=1', '-DHAVE_GBM=1', '-DHAVE_XSS=1', '-DHAVE_XINERAMA=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_CDDA=1', '-DHAVE_WAYLAND=1', '-DHAVE_JACK=1', '-DHAVE_ALSA=1', '../common/encode_lavc.c', '-c', '-o', '/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-da47e9ca22b4280c6132ee30f3710cdf416afc6c/build/common/encode_lavc.c.16.o']
  675. ==> ERROR: A failure occurred in build().
RAW Paste Data