Advertisement
Alucard

moc-unstable_2

May 9th, 2022
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.09 KB | None | 0 0
  1. ==> Making package: moc-unstable 1:2.6_alpha3-1 (Mon 09 May 2022 04:12:46 PM CEST)
  2. ==> Checking runtime dependencies...
  3. ==> Checking buildtime dependencies...
  4. ==> Retrieving sources...
  5. -> Found moc-2.6-alpha3.tar.xz
  6. -> Found moc-2.6-alpha3.tar.asc
  7. -> Found moc-ffmpeg4.patch
  8. -> Found moc-https.patch
  9. ==> Validating source files with sha1sums...
  10. moc-2.6-alpha3.tar.xz ... Passed
  11. moc-2.6-alpha3.tar.asc ... Skipped
  12. moc-ffmpeg4.patch ... Passed
  13. moc-https.patch ... Passed
  14. ==> Verifying source file signatures with gpg...
  15. moc-2.6-alpha3.tar ... Passed
  16. ==> Extracting sources...
  17. -> Extracting moc-2.6-alpha3.tar.xz with bsdtar
  18. ==> Starting prepare()...
  19. patching file decoder_plugins/ffmpeg/ffmpeg.c
  20. patching file files.c
  21. Hunk #1 succeeded at 85 (offset -8 lines).
  22. ==> Removing existing $pkgdir/ directory...
  23. ==> Starting build()...
  24. checking for a BSD-compatible install... /usr/bin/install -c
  25. checking whether build environment is sane... yes
  26. checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
  27. checking for gawk... gawk
  28. checking whether make sets $(MAKE)... yes
  29. checking build system type... x86_64-unknown-linux-gnu
  30. checking host system type... x86_64-unknown-linux-gnu
  31. checking for style of include used by make... GNU
  32. checking for gcc... gcc
  33. checking whether the C compiler works... yes
  34. checking for C compiler default output file name... a.out
  35. checking for suffix of executables...
  36. checking whether we are cross compiling... no
  37. checking for suffix of object files... o
  38. checking whether we are using the GNU C compiler... yes
  39. checking whether gcc accepts -g... yes
  40. checking for gcc option to accept ISO C89... none needed
  41. checking dependency style of gcc... gcc3
  42. checking for gcc option to accept ISO C99... none needed
  43. checking for g++... g++
  44. checking whether we are using the GNU C++ compiler... yes
  45. checking whether g++ accepts -g... yes
  46. checking dependency style of g++... gcc3
  47. checking how to run the C preprocessor... gcc -E
  48. checking for grep that handles long lines and -e... /usr/bin/grep
  49. checking for egrep... /usr/bin/grep -E
  50. checking for gawk... (cached) gawk
  51. checking for a sed that does not truncate output... /usr/bin/sed
  52. checking for fgrep... /usr/bin/grep -F
  53. checking for ld used by gcc... /usr/bin/ld
  54. checking if the linker (/usr/bin/ld) is GNU ld... yes
  55. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  56. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  57. checking whether ln -s works... yes
  58. checking the maximum length of command line arguments... 1572864
  59. checking whether the shell understands some XSI constructs... yes
  60. checking whether the shell understands "+="... yes
  61. checking for /usr/bin/ld option to reload object files... -r
  62. checking for objdump... objdump
  63. checking how to recognize dependent libraries... pass_all
  64. checking for ar... ar
  65. checking for strip... strip
  66. checking for ranlib... ranlib
  67. checking command to parse /usr/bin/nm -B output from gcc object... ok
  68. checking for ANSI C header files... yes
  69. checking for sys/types.h... yes
  70. checking for sys/stat.h... yes
  71. checking for stdlib.h... yes
  72. checking for string.h... yes
  73. checking for memory.h... yes
  74. checking for strings.h... yes
  75. checking for inttypes.h... yes
  76. checking for stdint.h... yes
  77. checking for unistd.h... yes
  78. checking for dlfcn.h... yes
  79. checking whether we are using the GNU C++ compiler... (cached) yes
  80. checking whether g++ accepts -g... (cached) yes
  81. checking dependency style of g++... (cached) gcc3
  82. checking how to run the C++ preprocessor... g++ -E
  83. checking for objdir... .libs
  84. checking if gcc supports -fno-rtti -fno-exceptions... no
  85. checking for gcc option to produce PIC... -fPIC -DPIC
  86. checking if gcc PIC flag -fPIC -DPIC works... yes
  87. checking if gcc static flag -static works... yes
  88. checking if gcc supports -c -o file.o... yes
  89. checking if gcc supports -c -o file.o... (cached) yes
  90. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  91. checking whether -lc should be explicitly linked in... no
  92. checking dynamic linker characteristics... GNU/Linux ld.so
  93. checking how to hardcode library paths into programs... immediate
  94. checking for shl_load... no
  95. checking for shl_load in -ldld... no
  96. checking for dlopen... yes
  97. checking whether a program can dlopen itself... yes
  98. checking whether a statically linked program can dlopen itself... no
  99. checking whether stripping libraries is possible... yes
  100. checking if libtool supports shared libraries... yes
  101. checking whether to build shared libraries... yes
  102. checking whether to build static libraries... no
  103. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  104. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  105. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  106. checking for g++ option to produce PIC... -fPIC -DPIC
  107. checking if g++ PIC flag -fPIC -DPIC works... yes
  108. checking if g++ static flag -static works... yes
  109. checking if g++ supports -c -o file.o... yes
  110. checking if g++ supports -c -o file.o... (cached) yes
  111. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  112. checking dynamic linker characteristics... GNU/Linux ld.so
  113. checking how to hardcode library paths into programs... immediate
  114. checking which extension is used for runtime loadable modules... .so
  115. checking which variable specifies run-time module search path... LD_LIBRARY_PATH
  116. checking for the default library search path... /lib /usr/lib /usr/lib/libfakeroot /usr/lib32 /usr/lib/openmpi
  117. checking for library containing dlopen... none required
  118. checking for dlerror... yes
  119. checking for shl_load... (cached) no
  120. checking for shl_load in -ldld... (cached) no
  121. checking for dld_link in -ldld... no
  122. checking for _ prefix in compiled symbols... no
  123. checking whether deplibs are loaded by dlopen... yes
  124. checking for argz.h... yes
  125. checking for error_t... yes
  126. checking for argz_add... yes
  127. checking for argz_append... yes
  128. checking for argz_count... yes
  129. checking for argz_create_sep... yes
  130. checking for argz_insert... yes
  131. checking for argz_next... yes
  132. checking for argz_stringify... yes
  133. checking if argz actually works... yes
  134. checking whether libtool supports -dlopen/-dlpreopen... yes
  135. checking for ltdl.h... yes
  136. checking whether lt_dlinterface_register is declared... yes
  137. checking for lt_dladvise_preload in -lltdl... yes
  138. checking where to find libltdl headers...
  139. checking where to find libltdl library... -lltdl
  140. checking for unistd.h... (cached) yes
  141. checking for dl.h... no
  142. checking for sys/dl.h... no
  143. checking for dld.h... no
  144. checking for mach-o/dyld.h... no
  145. checking for dirent.h... yes
  146. checking for closedir... yes
  147. checking for opendir... yes
  148. checking for readdir... yes
  149. checking for strlcat... no
  150. checking for strlcpy... no
  151. checking if function and data pointer sizes match... yes
  152. checking for strings.h... (cached) yes
  153. checking sys/un.h usability... yes
  154. checking sys/un.h presence... yes
  155. checking for sys/un.h... yes
  156. checking sys/ioctl.h usability... yes
  157. checking sys/ioctl.h presence... yes
  158. checking for sys/ioctl.h... yes
  159. checking sys/param.h usability... yes
  160. checking sys/param.h presence... yes
  161. checking for sys/param.h... yes
  162. checking byteswap.h usability... yes
  163. checking byteswap.h presence... yes
  164. checking for byteswap.h... yes
  165. checking langinfo.h usability... yes
  166. checking langinfo.h presence... yes
  167. checking for langinfo.h... yes
  168. checking nl_types.h usability... yes
  169. checking nl_types.h presence... yes
  170. checking for nl_types.h... yes
  171. checking for nl_langinfo... yes
  172. checking for nl_langinfo(CODESET)... yes
  173. checking whether byte ordering is bigendian... no
  174. checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
  175. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  176. checking for shared library run path origin... done
  177. checking for iconv... yes
  178. checking for working iconv... yes
  179. checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  180. checking for an ANSI C-conforming const... yes
  181. checking for intptr_t... yes
  182. checking CFLAGS for gcc -Wall... -Wall
  183. checking CFLAGS for gcc -W... -W
  184. checking for pkg-config... /usr/bin/pkg-config
  185. checking pkg-config is at least version 0.20... yes
  186. checking sys/soundcard.h usability... yes
  187. checking sys/soundcard.h presence... yes
  188. checking for sys/soundcard.h... yes
  189. checking soundcard.h usability... no
  190. checking soundcard.h presence... no
  191. checking for soundcard.h... no
  192. checking for _oss_ioctl in -lossaudio... no
  193. checking sndio.h usability... yes
  194. checking sndio.h presence... yes
  195. checking for sndio.h... yes
  196. checking for sio_open in -lsndio... yes
  197. checking for ALSA... yes
  198. checking for JACK... yes
  199. checking for library containing jack_client_open... -ljack
  200. checking for stdlib.h... (cached) yes
  201. checking for GNU libc compatible malloc... yes
  202. checking for localtime_r... yes
  203. checking for nanosleep... yes
  204. checking for strcasecmp... yes
  205. checking for strdup... yes
  206. checking for strncasecmp... yes
  207. checking for wcswidth... yes
  208. checking whether strerror_r is declared... yes
  209. checking for strerror_r... yes
  210. checking whether strerror_r returns char *... no
  211. checking for sched_get_priority_max... yes
  212. checking for syslog... yes
  213. checking for clock_gettime in -lrt... yes
  214. checking whether strcasestr is declared... no
  215. checking for strcasestr... yes
  216. checking for magic_open in -lmagic... yes
  217. checking for stdlib.h... (cached) yes
  218. checking for unistd.h... (cached) yes
  219. checking for sys/param.h... (cached) yes
  220. checking for getpagesize... yes
  221. checking for working mmap... yes
  222. checking if compiler needs -Werror to reject unknown flags... no
  223. checking for the pthreads library -lpthreads... no
  224. checking whether pthreads work without any flags... yes
  225. checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
  226. checking if more special flags are required for pthreads... no
  227. checking for PTHREAD_PRIO_INHERIT... yes
  228. checking for getrlimit... yes
  229. checking for pthread_attr_getstacksize in -lpthread... yes
  230. checking for __attribute__... yes
  231. checking for __attribute__((format))... yes
  232. checking for __attribute__((noreturn))... yes
  233. checking for __attribute__((aligned))... yes
  234. checking for __attribute__((unused))... yes
  235. checking for library containing poptGetContext... -lpopt
  236. checking for ncursesw via pkg-config... yes
  237. checking for working ncursesw/curses.h... no
  238. checking for working ncursesw.h... no
  239. checking for working ncurses.h... yes
  240. checking for set_escdelay in -lm... yes
  241. checking for samplerate... yes
  242. checking for gzopen in -lz... yes
  243. checking for id3_file_open in -lid3tag... yes
  244. checking id3tag.h usability... yes
  245. checking id3tag.h presence... yes
  246. checking for id3tag.h... yes
  247. checking for NeAACDecInit in -lfaad... yes
  248. checking neaacdec.h usability... yes
  249. checking neaacdec.h presence... yes
  250. checking for neaacdec.h... yes
  251. checking for ffmpeg... yes
  252. checking for struct AVProbeData.mime_type... yes
  253. checking libavutil/channel_layout.h usability... yes
  254. checking libavutil/channel_layout.h presence... yes
  255. checking for libavutil/channel_layout.h... yes
  256. checking for library containing av_packet_alloc... none required
  257. checking for library containing av_frame_alloc... none required
  258. checking for LIBFLAC... yes
  259. checking for modplug... yes
  260. checking for mad_stream_init in -lmad... yes
  261. checking mad.h usability... yes
  262. checking mad.h presence... yes
  263. checking for mad.h... yes
  264. checking mpc/mpcdec.h usability... yes
  265. checking mpc/mpcdec.h presence... yes
  266. checking for mpc/mpcdec.h... yes
  267. checking for taglib-config... yes
  268. checking taglib version... 1.12, OK
  269. checking tag_c.h usability... yes
  270. checking tag_c.h presence... yes
  271. checking for tag_c.h... yes
  272. checking for sidplay2... no
  273. checking for sidutils... no
  274. checking for sndfile... yes
  275. checking for speex... yes
  276. checking for timidity... no
  277. checking for OGG_VORBIS... yes
  278. checking for WAVPACK... yes
  279. checking for CURL... yes
  280. checking for svnversion... no
  281. configure: creating ./config.status
  282. config.status: creating decoder_plugins/aac/Makefile
  283. config.status: creating decoder_plugins/ffmpeg/Makefile
  284. config.status: creating decoder_plugins/flac/Makefile
  285. config.status: creating decoder_plugins/modplug/Makefile
  286. config.status: creating decoder_plugins/mp3/Makefile
  287. config.status: creating decoder_plugins/musepack/Makefile
  288. config.status: creating decoder_plugins/sidplay2/Makefile
  289. config.status: creating decoder_plugins/sndfile/Makefile
  290. config.status: creating decoder_plugins/speex/Makefile
  291. config.status: creating decoder_plugins/timidity/Makefile
  292. config.status: creating decoder_plugins/vorbis/Makefile
  293. config.status: creating decoder_plugins/wavpack/Makefile
  294. config.status: creating decoder_plugins/Makefile
  295. config.status: creating Makefile
  296. config.status: creating themes/Makefile
  297. config.status: creating config.example
  298. config.status: creating config.h
  299. config.status: config.h is unchanged
  300. config.status: executing depfiles commands
  301. config.status: executing libtool commands
  302.  
  303. -----------------------------------------------------------------------
  304. MOC will be compiled with:
  305.  
  306. Decoder plugins: aac ffmpeg flac modplug mp3 musepack sndfile speex
  307. vorbis wavpack
  308. Sound Drivers: OSS SNDIO ALSA JACK
  309. DEBUG: no
  310. RCC: no
  311. Network streams: yes
  312. Resampling: yes
  313. MIME magic: yes
  314. -----------------------------------------------------------------------
  315.  
  316. make all-recursive
  317. make[1]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3'
  318. Making all in themes
  319. make[2]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/themes'
  320. make[2]: Nothing to be done for 'all'.
  321. make[2]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/themes'
  322. Making all in decoder_plugins
  323. make[2]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins'
  324. Making all in mp3
  325. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/mp3'
  326. make[3]: Nothing to be done for 'all'.
  327. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/mp3'
  328. Making all in aac
  329. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/aac'
  330. make[3]: Nothing to be done for 'all'.
  331. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/aac'
  332. Making all in musepack
  333. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/musepack'
  334. make[3]: Nothing to be done for 'all'.
  335. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/musepack'
  336. Making all in vorbis
  337. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/vorbis'
  338. make[3]: Nothing to be done for 'all'.
  339. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/vorbis'
  340. Making all in flac
  341. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/flac'
  342. make[3]: Nothing to be done for 'all'.
  343. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/flac'
  344. Making all in wavpack
  345. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/wavpack'
  346. make[3]: Nothing to be done for 'all'.
  347. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/wavpack'
  348. Making all in sndfile
  349. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/sndfile'
  350. make[3]: Nothing to be done for 'all'.
  351. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/sndfile'
  352. Making all in modplug
  353. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/modplug'
  354. make[3]: Nothing to be done for 'all'.
  355. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/modplug'
  356. Making all in ffmpeg
  357. make[3]: Entering directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/ffmpeg'
  358. /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -W -D_REENTRANT -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c -o libffmpeg_decoder_la-ffmpeg.lo `test -f 'ffmpeg.c' || echo './'`ffmpeg.c
  359. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I../.. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wall -W -D_REENTRANT -MT libffmpeg_decoder_la-ffmpeg.lo -MD -MP -MF .deps/libffmpeg_decoder_la-ffmpeg.Tpo -c ffmpeg.c -fPIC -DPIC -o .libs/libffmpeg_decoder_la-ffmpeg.o
  360. ffmpeg.c:69:9: error: unknown type name ‘AVCodecContext’
  361. 69 | AVCodecContext *enc;
  362. | ^~~~~~~~~~~~~~
  363. ffmpeg.c: In function ‘find_first_audio’:
  364. ffmpeg.c:198:40: error: ‘AVStream’ has no member named ‘codec’
  365. 198 | if (ic->streams[result]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
  366. | ^~
  367. ffmpeg.c: At top level:
  368. ffmpeg.c:295:43: warning: ‘enum AVLockOp’ declared inside parameter list will not be visible outside of this definition or declaration
  369. 295 | static int locking_cb (void **mutex, enum AVLockOp op)
  370. | ^~~~~~~~
  371. ffmpeg.c:295:52: error: parameter 2 (‘op’) has incomplete type
  372. 295 | static int locking_cb (void **mutex, enum AVLockOp op)
  373. | ~~~~~~~~~~~~~~^~
  374. ffmpeg.c: In function ‘locking_cb’:
  375. ffmpeg.c:300:14: error: ‘AV_LOCK_CREATE’ undeclared (first use in this function); did you mean ‘AV_LOG_TRACE’?
  376. 300 | case AV_LOCK_CREATE:
  377. | ^~~~~~~~~~~~~~
  378. | AV_LOG_TRACE
  379. ffmpeg.c:300:14: note: each undeclared identifier is reported only once for each function it appears in
  380. ffmpeg.c:304:14: error: ‘AV_LOCK_OBTAIN’ undeclared (first use in this function)
  381. 304 | case AV_LOCK_OBTAIN:
  382. | ^~~~~~~~~~~~~~
  383. ffmpeg.c:307:14: error: ‘AV_LOCK_RELEASE’ undeclared (first use in this function)
  384. 307 | case AV_LOCK_RELEASE:
  385. | ^~~~~~~~~~~~~~~
  386. ffmpeg.c:310:14: error: ‘AV_LOCK_DESTROY’ undeclared (first use in this function)
  387. 310 | case AV_LOCK_DESTROY:
  388. | ^~~~~~~~~~~~~~~
  389. ffmpeg.c:295:52: warning: unused parameter ‘op’ [-Wunused-parameter]
  390. 295 | static int locking_cb (void **mutex, enum AVLockOp op)
  391. | ~~~~~~~~~~~~~~^~
  392. ffmpeg.c: In function ‘ffmpeg_init’:
  393. ffmpeg.c:379:9: warning: implicit declaration of function ‘avcodec_register_all’ [-Wimplicit-function-declaration]
  394. 379 | avcodec_register_all ();
  395. | ^~~~~~~~~~~~~~~~~~~~
  396. ffmpeg.c:380:9: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
  397. 380 | av_register_all ();
  398. | ^~~~~~~~~~~~~~~
  399. ffmpeg.c:386:14: warning: implicit declaration of function ‘av_lockmgr_register’ [-Wimplicit-function-declaration]
  400. 386 | rc = av_lockmgr_register (locking_cb);
  401. | ^~~~~~~~~~~~~~~~~~~
  402. ffmpeg.c: In function ‘fmt_from_sample_fmt’:
  403. ffmpeg.c:472:26: error: request for member ‘sample_fmt’ in something not a structure or union
  404. 472 | switch (data->enc->sample_fmt) {
  405. | ^~
  406. ffmpeg.c: In function ‘is_seek_broken’:
  407. ffmpeg.c:522:13: warning: implicit declaration of function ‘avcodec_version’; did you mean ‘avformat_version’? [-Wimplicit-function-declaration]
  408. 522 | if (avcodec_version () < AV_VERSION_INT(55,8,100))
  409. | ^~~~~~~~~~~~~~~
  410. | avformat_version
  411. ffmpeg.c: In function ‘set_downmixing’:
  412. ffmpeg.c:538:57: error: request for member ‘channel_layout’ in something not a structure or union
  413. 538 | if (av_get_channel_layout_nb_channels (data->enc->channel_layout) <= 2)
  414. | ^~
  415. ffmpeg.c:541:18: error: request for member ‘request_channel_layout’ in something not a structure or union
  416. 541 | data->enc->request_channel_layout = AV_CH_LAYOUT_STEREO;
  417. | ^~
  418. ffmpeg.c: In function ‘ffmpeg_open_internal’:
  419. ffmpeg.c:676:33: error: ‘AVStream’ has no member named ‘codec’
  420. 676 | data->enc = data->stream->codec;
  421. | ^~
  422. ffmpeg.c:678:54: error: request for member ‘codec_id’ in something not a structure or union
  423. 678 | data->codec = avcodec_find_decoder (data->enc->codec_id);
  424. | ^~
  425. ffmpeg.c:709:26: error: request for member ‘flags’ in something not a structure or union
  426. 709 | data->enc->flags |= AV_CODEC_FLAG_TRUNCATED;
  427. | ^~
  428. ffmpeg.c:709:37: error: ‘AV_CODEC_FLAG_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_CAP_TRUNCATED’?
  429. 709 | data->enc->flags |= AV_CODEC_FLAG_TRUNCATED;
  430. | ^~~~~~~~~~~~~~~~~~~~~~~
  431. | AV_CODEC_CAP_TRUNCATED
  432. ffmpeg.c:711:13: warning: implicit declaration of function ‘avcodec_open2’; did you mean ‘avio_open2’? [-Wimplicit-function-declaration]
  433. 711 | if (avcodec_open2 (data->enc, data->codec, NULL) < 0)
  434. | ^~~~~~~~~~~~~
  435. | avio_open2
  436. ffmpeg.c:721:65: error: request for member ‘sample_fmt’ in something not a structure or union
  437. 721 | av_get_sample_fmt_name (data->enc->sample_fmt));
  438. | ^~
  439. ffmpeg.c:722:17: warning: implicit declaration of function ‘avcodec_close’; did you mean ‘avio_close’? [-Wimplicit-function-declaration]
  440. 722 | avcodec_close (data->enc);
  441. | ^~~~~~~~~~~~~
  442. | avio_close
  443. ffmpeg.c: In function ‘ffmpeg_can_decode’:
  444. ffmpeg.c:806:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  445. 806 | fmt = av_probe_input_format (&probe_data, 1);
  446. | ^
  447. ffmpeg.c: In function ‘decode_packet’:
  448. ffmpeg.c:980:23: warning: implicit declaration of function ‘avcodec_decode_audio4’ [-Wimplicit-function-declaration]
  449. 980 | len = avcodec_decode_audio4 (data->enc, frame, &got_frame, pkt);
  450. | ^~~~~~~~~~~~~~~~~~~~~
  451. ffmpeg.c:1002:63: error: request for member ‘sample_fmt’ in something not a structure or union
  452. 1002 | is_planar = av_sample_fmt_is_planar (data->enc->sample_fmt);
  453. | ^~
  454. ffmpeg.c:1005:60: error: request for member ‘channels’ in something not a structure or union
  455. 1005 | * data->enc->channels;
  456. | ^~
  457. ffmpeg.c:1007:43: error: request for member ‘channels’ in something not a structure or union
  458. 1007 | if (is_planar && data->enc->channels > 1) {
  459. | ^~
  460. ffmpeg.c:1013:60: error: request for member ‘channels’ in something not a structure or union
  461. 1013 | for (ch = 0; ch < data->enc->channels; ch += 1)
  462. | ^~
  463. ffmpeg.c:1014:77: error: request for member ‘channels’ in something not a structure or union
  464. 1014 | memcpy (packed + (sample * data->enc->channels + ch)
  465. | ^~
  466. ffmpeg.c: In function ‘seek_in_stream’:
  467. ffmpeg.c:1073:25: error: ‘AVStream’ has no member named ‘cur_dts’
  468. 1073 | if (data->stream->cur_dts > seek_ts)
  469. | ^~
  470. ffmpeg.c:1082:9: warning: implicit declaration of function ‘avcodec_flush_buffers’ [-Wimplicit-function-declaration]
  471. 1082 | avcodec_flush_buffers (data->stream->codec);
  472. | ^~~~~~~~~~~~~~~~~~~~~
  473. ffmpeg.c:1082:44: error: ‘AVStream’ has no member named ‘codec’
  474. 1082 | avcodec_flush_buffers (data->stream->codec);
  475. | ^~
  476. ffmpeg.c: In function ‘ffmpeg_decode’:
  477. ffmpeg.c:1114:43: error: request for member ‘channels’ in something not a structure or union
  478. 1114 | sound_params->channels = data->enc->channels;
  479. | ^~
  480. ffmpeg.c:1115:39: error: request for member ‘sample_rate’ in something not a structure or union
  481. 1115 | sound_params->rate = data->enc->sample_rate;
  482. | ^~
  483. ffmpeg.c: In function ‘ffmpeg_our_format_mime’:
  484. ffmpeg.c:1283:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  485. 1283 | fmt = av_guess_format (NULL, NULL, mime_type);
  486. | ^
  487. make[3]: *** [Makefile:412: libffmpeg_decoder_la-ffmpeg.lo] Error 1
  488. make[3]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins/ffmpeg'
  489. make[2]: *** [Makefile:365: all-recursive] Error 1
  490. make[2]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3/decoder_plugins'
  491. make[1]: *** [Makefile:715: all-recursive] Error 1
  492. make[1]: Leaving directory '/home/alucard/.cache/yay/moc-unstable/src/moc-2.6-alpha3'
  493. make: *** [Makefile:472: all] Error 2
  494. ==> ERROR: A failure occurred in build().
  495. Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement