ffmpeg installation on armhf platform.
Attempting to install ffmpeg on the armhf platform , in a docker container of alpine 3.8 fails.
Here is the output of two attempts , one using apk add —no-cache and the other with apk update; apk add
<code class="text">
root@4252f2132a80:/$ apk add --no-cache ffmpeg
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/armhf/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
so:libx265.so.160 (missing):
required by: ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
root@4252f2132a80:/$ apk update ; apk add ffmpeg
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/armhf/APKINDEX.tar.gz
v3.8.0-95-g244b823930 [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
v3.8.0-95-g244b823930 [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
OK: 9320 distinct packages available
ERROR: unsatisfiable constraints:
so:libx265.so.160 (missing):
required by: ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
ffmpeg-libs-3.4.4-r0[so:libx265.so.160] ffmpeg-libs-3.4.4-r0[so:libx265.so.160]
</code>
It would appear it is linked to a version of x265 .160 , whereas 3.8 version of that lib is .151
(from redmine: issue id 9371, created on 2018-09-01, closed on 2019-02-25)
- Changesets:
- Revision 3c45f589 by Natanael Copa on 2018-09-03T17:59:32Z:
main/ffmpeg: trigger rebuild
armhf builder unintentionally built ffmpeg against edge version of
libx265 due to misconfiguration of builder. To fix this we bump pkgerl
to trigger a rebuild.
fixes #9371