archlinuxcn / repo

Arch Linux CN Repository
1.54k stars 295 forks source link

ffmpeg4.0 is broken #1988

Closed DDoSolitary closed 3 years ago

DDoSolitary commented 3 years ago

问题类型 / Type of issues

受影响的软件包 / Affected packages

Currently it is impossible to install ffmpeg4.0 due to out-dated library dependencies:

$ sudo pacman -S ffmpeg4.0
resolving dependencies...
warning: cannot resolve "libx264.so=157-64", a dependency of "ffmpeg4.0"
warning: cannot resolve "libx265.so=169-64", a dependency of "ffmpeg4.0"
:: The following package cannot be upgraded due to unresolvable dependencies:
      ffmpeg4.0

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libx264.so=157-64' required by ffmpeg4.0
:: unable to satisfy dependency 'libx265.so=169-64' required by ffmpeg4.0

BTW, I also tried to build it locally but got the following error:

libavcodec/libaomenc.c:703:109: error: ‘AOM_ERROR_RESILIENT_PARTITIONS’ undeclared here (not in a function); did you mean ‘AOM_ERROR_RESILIENT_DEFAULT’?
  703 |                          " is still done over the partition boundary.",       0, AV_OPT_TYPE_CONST, {.i64 = AOM_ERROR_RESILIENT_PARTITIONS}, 0, 0, VE, "er"},
      |                                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                             AOM_ERROR_RESILIENT_DEFAULT
make: *** [ffbuild/common.mak:60: libavcodec/libaomenc.o] Error 1

It seems that the official aom package is too new for this old version of ffmpeg. I think either we need to package an older version of aom, or we have to drop this package.

lilacbot commented 3 years ago

build log for auto building out-of-date packages:

[2019-04-07 18:13:15] ffmpeg4.0 1:4.0.3-1 [1:4.0.3-1] successful after 163s
ykelvis commented 3 years ago

i'll start drop procedure later. it seems the package is broken & without maintain for a while.

ykelvis commented 3 years ago

b8008b3