It seems to be broken !
OTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-menu and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.
If you suspect a bug, please read DOCS/HTML/ cs de en es fr hu it pl ru zh_CN/bugreports.html.
cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -fpie -DPIC -D_REENTRANT -I/usr/include/ -D_REENTRANT -I/usr/include/opus -I/usr/include/bs2b -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o libvo/vo_aa.o libvo/vo_aa.c
In file included from ffmpeg/libavutil/common.h:402,
from ffmpeg/libavutil/avutil.h:271,
from ffmpeg/libswscale/swscale.h:37,
from libvo/vo_aa.c:42:
ffmpeg/libavutil/mem.h:149:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes]
149 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^~~~~~~~~~~~~
In file included from ffmpeg/libavutil/avutil.h:278:
ffmpeg/libavutil/pixfmt.h:248:5: warning: "AV_HAVE_INCOMPATIBLE_LIBAV_ABI" is not defined, evaluates to 0 [-Wundef]
248 | #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_aa.c: In function 'draw_frame':
libvo/vo_aa.c:358:17: error: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types]
358 | sws_scale(sws,src,stride,0,src_height,image,image_stride);
| ^~~
| |
| uint8_t ** {aka unsigned char **}
ffmpeg/libswscale/swscale.h:226:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'}
226 | scale(struct SwsContext *c, const uint8_t *const srcSlice[],
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
libvo/vo_aa.c: In function 'draw_slice':
libvo/vo_aa.c:378:17: error: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types]
378 | sws_scale(sws,src,stride,y,h,image,image_stride);
| ^~~
| |
| uint8_t ** {aka unsigned char **}
ffmpeg/libswscale/swscale.h:226:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'}
226 | scale(struct SwsContext *c, const uint8_t *const srcSlice[],
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
libvo/vo_aa.c: In function 'preinit':
libvo/vo_aa.c:670:17: warning: variable 'major' set but not used [-Wunused-but-set-variable]
670 | int fd, vt, major, minor;
| ^~~~~
make: *** [Makefile:760: libvo/vo_aa.o] Error 1
Pinned Comments
ryshglene commented on 2020-04-02 20:52 (UTC) (edited on 2020-09-19 15:49 (UTC) by ryshglene)
It seems the last packager has lost interest on this package, so I've taken maintainership of it now.
I've added new patches to get it building again in this repository. I've changed the sources to use new mirrors. And I've also tweaked a few things in the
PKGBUILD
, because some of the dependencies have become missing and/or unneeded.The package is now building again. Though, if new issues arise, feel free to email me at the URL linked in the PKGBUILD. You can also flag this package instead, if you want, then explain in the comments what's wrong.
NOTE: This package uses GPG keys for verification.
To avoid build failures, make sure to run the following command before you install:
For more information, see the Arch Wiki article on makepkg verification.