Advertisement
Guest User

mpv-vittgam 5 build log

a guest
May 30th, 2018
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.47 KB | None | 0 0
  1. ==> Starting build()...
  2. Setting top to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0
  3. Setting out to : /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/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-win32, os-cygwin
  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-win32, os-cygwin
  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-win32, os-cygwin
  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-lazy, vapoursynth
  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-win32, os-cygwin
  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 dxva2-hwaccel, d3d11va-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-win32, os-cygwin
  181. Checking for Apple Remote support : cocoa not found
  182. Writing configuration header: : config.h
  183. 'configure' finished successfully (10.535s)
  184. Waf: Entering directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build'
  185. [ 1/473] Compiling version.sh
  186. [ 14/473] Compiling audio/audio.c
  187. [ 15/473] Compiling audio/audio_buffer.c
  188. [ 16/473] Compiling audio/chmap.c
  189. [ 17/473] Compiling audio/chmap_sel.c
  190. [ 18/473] Compiling audio/fmt-conversion.c
  191. [ 19/473] Compiling audio/format.c
  192. [ 20/473] Compiling audio/mixer.c
  193. [ 21/473] Compiling audio/decode/ad_lavc.c
  194. [ 22/473] Compiling audio/decode/ad_spdif.c
  195. ../audio/decode/ad_lavc.c: In function ‘init’:
  196. ../audio/decode/ad_lavc.c:102:5: warning: ‘refcounted_frames’ is deprecated [-Wdeprecated-declarations]
  197. lavc_context->refcounted_frames = 1;
  198. ^~~~~~~~~~~~
  199. In file included from ../audio/decode/ad_lavc.c:24:
  200. /usr/include/libavcodec/avcodec.h:2344:9: note: declared here
  201. int refcounted_frames;
  202. ^~~~~~~~~~~~~~~~~
  203. ../audio/decode/ad_lavc.c: In function ‘decode_packet’:
  204. ../audio/decode/ad_lavc.c:231:5: warning: ‘pkt_pts’ is deprecated [-Wdeprecated-declarations]
  205. double out_pts = mp_pts_from_av(priv->avframe->pkt_pts, &priv->codec_timebase);
  206. ^~~~~~
  207. In file included from /usr/include/libavcodec/avcodec.h:38,
  208. from ../audio/decode/ad_lavc.c:24:
  209. /usr/include/libavutil/frame.h:319:13: note: declared here
  210. int64_t pkt_pts;
  211. ^~~~~~~
  212.  
  213. [ 23/473] Compiling audio/decode/dec_audio.c
  214. ../audio/decode/ad_spdif.c: In function ‘determine_codec_profile’:
  215. ../audio/decode/ad_spdif.c:120:5: warning: ‘avcodec_decode_audio4’ is deprecated [-Wdeprecated-declarations]
  216. if (avcodec_decode_audio4(ctx, frame, &got_frame, pkt) < 1 || !got_frame)
  217. ^~
  218. In file included from /usr/include/libavformat/avformat.h:319,
  219. from ../audio/decode/ad_spdif.c:23:
  220. /usr/include/libavcodec/avcodec.h:4706:5: note: declared here
  221. int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
  222. ^~~~~~~~~~~~~~~~~~~~~
  223.  
  224. [ 24/473] Compiling audio/filter/af.c
  225. [ 25/473] Compiling audio/filter/af_channels.c
  226. [ 26/473] Compiling audio/filter/af_delay.c
  227. [ 27/473] Compiling audio/filter/af_drc.c
  228. [ 28/473] Compiling audio/filter/af_equalizer.c
  229. [ 29/473] Compiling audio/filter/af_format.c
  230. [ 30/473] Compiling audio/filter/af_lavcac3enc.c
  231. [ 31/473] Compiling audio/filter/af_lavfi.c
  232. ../audio/filter/af_lavcac3enc.c: In function ‘filter_out’:
  233. ../audio/filter/af_lavcac3enc.c:228:5: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  234. int lavc_ret = avcodec_encode_audio2(s->lavc_actx, &pkt, frame, &ok);
  235. ^~~
  236. In file included from ../audio/filter/af_lavcac3enc.c:28:
  237. /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
  238. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  239. ^~~~~~~~~~~~~~~~~~~~~
  240.  
  241. [ 32/473] Compiling audio/filter/af_lavrresample.c
  242. ../audio/filter/af_lavfi.c: In function ‘get_metadata_from_av_frame’:
  243. ../audio/filter/af_lavfi.c:253:5: warning: ‘av_frame_get_metadata’ is deprecated [-Wdeprecated-declarations]
  244. mp_tags_copy_from_av_dictionary(p->metadata, av_frame_get_metadata(frame));
  245. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  246. In file included from /usr/include/libavfilter/avfilter.h:44,
  247. from ../audio/filter/af_lavfi.c:32:
  248. /usr/include/libavutil/frame.h:629:15: note: declared here
  249. AVDictionary *av_frame_get_metadata (const AVFrame *frame);
  250. ^~~~~~~~~~~~~~~~~~~~~
  251.  
  252. [ 33/473] Compiling audio/filter/af_pan.c
  253. [ 34/473] Compiling audio/filter/af_rubberband.c
  254. [ 35/473] Compiling audio/filter/af_scaletempo.c
  255. [ 36/473] Compiling audio/filter/af_volume.c
  256. [ 37/473] Compiling audio/filter/tools.c
  257. [ 38/473] Compiling audio/out/ao.c
  258. [ 39/473] Compiling audio/out/ao_alsa.c
  259. [ 40/473] Compiling audio/out/ao_jack.c
  260. [ 41/473] Compiling audio/out/ao_lavc.c
  261. ../audio/out/ao_lavc.c: In function ‘init’:
  262. ../audio/out/ao_lavc.c:121:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  263. ac->stream->codec->time_base.num = 1;
  264. ^~
  265. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  266. from ../audio/out/ao_lavc.c:39:
  267. /usr/include/libavformat/avformat.h:877:21: note: declared here
  268. AVCodecContext *codec;
  269. ^~~~~
  270. ../audio/out/ao_lavc.c:122:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  271. ac->stream->codec->time_base.den = ao->samplerate;
  272. ^~
  273. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  274. from ../audio/out/ao_lavc.c:39:
  275. /usr/include/libavformat/avformat.h:877:21: note: declared here
  276. AVCodecContext *codec;
  277. ^~~~~
  278. ../audio/out/ao_lavc.c:124:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  279. ac->stream->codec->sample_rate = ao->samplerate;
  280. ^~
  281. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  282. from ../audio/out/ao_lavc.c:39:
  283. /usr/include/libavformat/avformat.h:877:21: note: declared here
  284. AVCodecContext *codec;
  285. ^~~~~
  286. ../audio/out/ao_lavc.c:131:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  287. ac->stream->codec->channels = ao->channels.num;
  288. ^~
  289. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  290. from ../audio/out/ao_lavc.c:39:
  291. /usr/include/libavformat/avformat.h:877:21: note: declared here
  292. AVCodecContext *codec;
  293. ^~~~~
  294. ../audio/out/ao_lavc.c:132:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  295. ac->stream->codec->channel_layout = mp_chmap_to_lavc(&ao->channels);
  296. ^~
  297. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  298. from ../audio/out/ao_lavc.c:39:
  299. /usr/include/libavformat/avformat.h:877:21: note: declared here
  300. AVCodecContext *codec;
  301. ^~~~~
  302. ../audio/out/ao_lavc.c:134:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  303. ac->stream->codec->sample_fmt = AV_SAMPLE_FMT_NONE;
  304. ^~
  305. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  306. from ../audio/out/ao_lavc.c:39:
  307. /usr/include/libavformat/avformat.h:877:21: note: declared here
  308. AVCodecContext *codec;
  309. ^~~~~
  310. ../audio/out/ao_lavc.c:139:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  311. ac->stream->codec->sample_fmt = af_to_avformat(ao->format);
  312. ^~
  313. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  314. from ../audio/out/ao_lavc.c:39:
  315. /usr/include/libavformat/avformat.h:877:21: note: declared here
  316. AVCodecContext *codec;
  317. ^~~~~
  318. ../audio/out/ao_lavc.c:140:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  319. ac->stream->codec->bits_per_raw_sample = ac->sample_size * 8;
  320. ^~
  321. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  322. from ../audio/out/ao_lavc.c:39:
  323. /usr/include/libavformat/avformat.h:877:21: note: declared here
  324. AVCodecContext *codec;
  325. ^~~~~
  326. ../audio/out/ao_lavc.c:146:5: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  327. if (ac->stream->codec->frame_size <= 1)
  328. ^~
  329. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  330. from ../audio/out/ao_lavc.c:39:
  331. /usr/include/libavformat/avformat.h:877:21: note: declared here
  332. AVCodecContext *codec;
  333. ^~~~~
  334. ../audio/out/ao_lavc.c:147:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  335. ac->pcmhack = av_get_bits_per_sample(ac->stream->codec->codec_id) / 8;
  336. ^~
  337. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  338. from ../audio/out/ao_lavc.c:39:
  339. /usr/include/libavformat/avformat.h:877:21: note: declared here
  340. AVCodecContext *codec;
  341. ^~~~~
  342. ../audio/out/ao_lavc.c:154:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  343. ac->aframesize = ac->stream->codec->frame_size;
  344. ^~
  345. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  346. from ../audio/out/ao_lavc.c:39:
  347. /usr/include/libavformat/avformat.h:877:21: note: declared here
  348. AVCodecContext *codec;
  349. ^~~~~
  350. ../audio/out/ao_lavc.c:158:27: error: ‘FF_MIN_BUFFER_SIZE’ undeclared (first use in this function); did you mean ‘AVUTIL_BUFFER_H’?
  351. if (ac->buffer_size < FF_MIN_BUFFER_SIZE)
  352. ^~~~~~~~~~~~~~~~~~
  353. AVUTIL_BUFFER_H
  354. ../audio/out/ao_lavc.c:158:27: note: each undeclared identifier is reported only once for each function it appears in
  355. ../audio/out/ao_lavc.c: In function ‘encode’:
  356. ../audio/out/ao_lavc.c:255:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  357. frame->pts = floor(apts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
  358. ^~~~~
  359. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  360. from ../audio/out/ao_lavc.c:39:
  361. /usr/include/libavformat/avformat.h:877:21: note: declared here
  362. AVCodecContext *codec;
  363. ^~~~~
  364. ../audio/out/ao_lavc.c:255:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  365. frame->pts = floor(apts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
  366. ^~~~~
  367. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  368. from ../audio/out/ao_lavc.c:39:
  369. /usr/include/libavformat/avformat.h:877:21: note: declared here
  370. AVCodecContext *codec;
  371. ^~~~~
  372. ../audio/out/ao_lavc.c:258:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  373. frame->pts = floor(realapts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
  374. ^~~~~
  375. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  376. from ../audio/out/ao_lavc.c:39:
  377. /usr/include/libavformat/avformat.h:877:21: note: declared here
  378. AVCodecContext *codec;
  379. ^~~~~
  380. ../audio/out/ao_lavc.c:258:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  381. frame->pts = floor(realapts * ac->stream->codec->time_base.den / ac->stream->codec->time_base.num + 0.5);
  382. ^~~~~
  383. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  384. from ../audio/out/ao_lavc.c:39:
  385. /usr/include/libavformat/avformat.h:877:21: note: declared here
  386. AVCodecContext *codec;
  387. ^~~~~
  388. ../audio/out/ao_lavc.c:261:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  389. int64_t frame_pts = av_rescale_q(frame->pts, ac->stream->codec->time_base, ac->worst_time_base);
  390. ^~~~~~~
  391. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  392. from ../audio/out/ao_lavc.c:39:
  393. /usr/include/libavformat/avformat.h:877:21: note: declared here
  394. AVCodecContext *codec;
  395. ^~~~~
  396. ../audio/out/ao_lavc.c:268:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  397. frame->pts = av_rescale_q(frame_pts, ac->worst_time_base, ac->stream->codec->time_base);
  398. ^~~~~
  399. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  400. from ../audio/out/ao_lavc.c:39:
  401. /usr/include/libavformat/avformat.h:877:21: note: declared here
  402. AVCodecContext *codec;
  403. ^~~~~
  404. ../audio/out/ao_lavc.c:272:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  405. frame->quality = ac->stream->codec->global_quality;
  406. ^~~~~
  407. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  408. from ../audio/out/ao_lavc.c:39:
  409. /usr/include/libavformat/avformat.h:877:21: note: declared here
  410. AVCodecContext *codec;
  411. ^~~~~
  412. ../audio/out/ao_lavc.c:273:9: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  413. status = avcodec_encode_audio2(ac->stream->codec, &packet, frame, &gotpacket);
  414. ^~~~~~
  415. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:26,
  416. from ../audio/out/ao_lavc.c:39:
  417. /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
  418. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  419. ^~~~~~~~~~~~~~~~~~~~~
  420. ../audio/out/ao_lavc.c:273:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  421. status = avcodec_encode_audio2(ac->stream->codec, &packet, frame, &gotpacket);
  422. ^~~~~~
  423. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  424. from ../audio/out/ao_lavc.c:39:
  425. /usr/include/libavformat/avformat.h:877:21: note: declared here
  426. AVCodecContext *codec;
  427. ^~~~~
  428. ../audio/out/ao_lavc.c:284:9: warning: ‘avcodec_encode_audio2’ is deprecated [-Wdeprecated-declarations]
  429. status = avcodec_encode_audio2(ac->stream->codec, &packet, NULL, &gotpacket);
  430. ^~~~~~
  431. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:26,
  432. from ../audio/out/ao_lavc.c:39:
  433. /usr/include/libavcodec/avcodec.h:5347:5: note: declared here
  434. int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
  435. ^~~~~~~~~~~~~~~~~~~~~
  436. ../audio/out/ao_lavc.c:284:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  437. status = avcodec_encode_audio2(ac->stream->codec, &packet, NULL, &gotpacket);
  438. ^~~~~~
  439. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  440. from ../audio/out/ao_lavc.c:39:
  441. /usr/include/libavformat/avformat.h:877:21: note: declared here
  442. AVCodecContext *codec;
  443. ^~~~~
  444. ../audio/out/ao_lavc.c:310:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  445. packet.pts = av_rescale_q(packet.pts, ac->stream->codec->time_base,
  446. ^~~~~~
  447. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  448. from ../audio/out/ao_lavc.c:39:
  449. /usr/include/libavformat/avformat.h:877:21: note: declared here
  450. AVCodecContext *codec;
  451. ^~~~~
  452. ../audio/out/ao_lavc.c:314:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  453. packet.dts = av_rescale_q(packet.dts, ac->stream->codec->time_base,
  454. ^~~~~~
  455. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  456. from ../audio/out/ao_lavc.c:39:
  457. /usr/include/libavformat/avformat.h:877:21: note: declared here
  458. AVCodecContext *codec;
  459. ^~~~~
  460. ../audio/out/ao_lavc.c:318:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  461. packet.duration = av_rescale_q(packet.duration, ac->stream->codec->time_base,
  462. ^~~~~~
  463. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  464. from ../audio/out/ao_lavc.c:39:
  465. /usr/include/libavformat/avformat.h:877:21: note: declared here
  466. AVCodecContext *codec;
  467. ^~~~~
  468. ../audio/out/ao_lavc.c: In function ‘play’:
  469. ../audio/out/ao_lavc.c:381:9: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  470. if (ac->stream->codec->time_base.num * (double) ac->stream->time_base.den >=
  471. ^~
  472. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  473. from ../audio/out/ao_lavc.c:39:
  474. /usr/include/libavformat/avformat.h:877:21: note: declared here
  475. AVCodecContext *codec;
  476. ^~~~~
  477. ../audio/out/ao_lavc.c:382:17: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  478. ac->stream->time_base.num * (double) ac->stream->codec->time_base.den) {
  479. ^~
  480. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  481. from ../audio/out/ao_lavc.c:39:
  482. /usr/include/libavformat/avformat.h:877:21: note: declared here
  483. AVCodecContext *codec;
  484. ^~~~~
  485. ../audio/out/ao_lavc.c:383:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  486. MP_VERBOSE(ao, "NOTE: using codec time base (%d/%d) for pts "
  487. ^~~~~~~~~~
  488. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  489. from ../audio/out/ao_lavc.c:39:
  490. /usr/include/libavformat/avformat.h:877:21: note: declared here
  491. AVCodecContext *codec;
  492. ^~~~~
  493. ../audio/out/ao_lavc.c:383:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  494. MP_VERBOSE(ao, "NOTE: using codec time base (%d/%d) for pts "
  495. ^~~~~~~~~~
  496. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  497. from ../audio/out/ao_lavc.c:39:
  498. /usr/include/libavformat/avformat.h:877:21: note: declared here
  499. AVCodecContext *codec;
  500. ^~~~~
  501. ../audio/out/ao_lavc.c:389:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  502. ac->worst_time_base = ac->stream->codec->time_base;
  503. ^~
  504. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  505. from ../audio/out/ao_lavc.c:39:
  506. /usr/include/libavformat/avformat.h:877:21: note: declared here
  507. AVCodecContext *codec;
  508. ^~~~~
  509. ../audio/out/ao_lavc.c:392:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  510. MP_WARN(ao, "NOTE: not using codec time base (%d/%d) for pts "
  511. ^~~~~~~
  512. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  513. from ../audio/out/ao_lavc.c:39:
  514. /usr/include/libavformat/avformat.h:877:21: note: declared here
  515. AVCodecContext *codec;
  516. ^~~~~
  517. ../audio/out/ao_lavc.c:392:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations]
  518. MP_WARN(ao, "NOTE: not using codec time base (%d/%d) for pts "
  519. ^~~~~~~
  520. In file included from /home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/common/encode_lavc.h:27,
  521. from ../audio/out/ao_lavc.c:39:
  522. /usr/include/libavformat/avformat.h:877:21: note: declared here
  523. AVCodecContext *codec;
  524. ^~~~~
  525.  
  526. Waf: Leaving directory `/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build'
  527. Build failed
  528. -> task in 'objects' failed (exit status 1):
  529. {task 140495887976712: c ao_lavc.c -> ao_lavc.c.14.o}
  530. ['/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', '-pthread', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build', '-I/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0', '-I/usr/include/uchardet', '-I/usr/include/samba-4.0', '-I/usr/include/lua5.2', '-I/usr/include/alsa', '-I/usr/include/libxml2', '-I/usr/include/uuid', '-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/fribidi', '-I/usr/include/libdrm', '-DHAVE_VAAPI=1', '-DHAVE_LCMS2=1', '-DHAVE_UCHARDET=1', '-DHAVE_LIBAVFILTER=1', '-DHAVE_CDDA=1', '-DHAVE_VDPAU=1', '-DHAVE_LIBSMBCLIENT=1', '-DHAVE_LIBAVDEVICE=1', '-DHAVE_LIBSWRESAMPLE=1', '-DPATH_DEV_DSP="/dev/dsp"', '-DPATH_DEV_MIXER="/dev/mixer"', '-DHAVE_CACA=1', '-DHAVE_GL_WAYLAND=1', '-DHAVE_LIBV4L2=1', '-DHAVE_XEXT=1', '-DHAVE_52ARCH=1', '-DHAVE_XV=1', '-DHAVE_PULSE=1', '-D_REENTRANT', '-DHAVE_VAAPI_WAYLAND=1', '-DHAVE_VAAPI_DRM=1', '-DHAVE_DVDREAD=1', '-DHAVE_EGL_X11=1', '-DHAVE_WAYLAND=1', '-DHAVE_VAAPI_X11=1', '-DHAVE_ALSA=1', '-DHAVE_JACK=1', '-DHAVE_EGL_DRM=1', '-DHAVE_X11=1', '-DHAVE_XSS=1', '-DHAVE_XRANDR=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_RUBBERBAND=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBAV=1', '-DHAVE_XINERAMA=1', '-DHAVE_DRM=1', '-DHAVE_GBM=1', '-DHAVE_DVDNAV=1', '../audio/out/ao_lavc.c', '-c', '-o', '/home/hamid/Documents/builds/mpv-vittgam/src/mpv-vittgam-ba7e9cc32172b5c56cbe88ceec46035918408da0/build/audio/out/ao_lavc.c.14.o']
  531. ==> ERROR: A failure occurred in build().
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement