Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55115 - [ffmpeg] fails to build with openjpeg-2.2

Attached to Project: Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Saturday, 12 August 2017, 13:02 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 15 August 2017, 15:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If openjpeg (not openjpeg2!) is not installed, ffmpeg build using stock PKGBUILD fails. Thus, ffmpeg should also depend on openjpeg (like ffmpeg2.8 does).

Additional info:

ffmpeg 1:3.3.3-1
openjpeg 1.5.2-1
openjpeg2 2.2.0-1

Steps to reproduce:

Try to compile ffmpeg from stock PKGBUILD on a system without openjpeg installed (for instance, in OBS), and error will be triggered stating that libopenjpeg cannot be found. Installing openjpeg package fixes this issue.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 15 August 2017, 15:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thx, patch slightly modified and applied.
Comment by Jan de Groot (JGC) - Saturday, 12 August 2017, 22:00 GMT
ffmpeg searches for openjpeg-2.1, 2.0 and 1.5. The openjpeg2 package was updated 2 days ago and bumps the version to 2.2 with include paths in /usr/include/openjpeg-2.2, so ffmpeg will not look for it, causing the failure.

simply depending on openjpeg 1.x is not the correct fix, ffmpeg should compile against 2.2.
Comment by Jan de Groot (JGC) - Saturday, 12 August 2017, 22:02 GMT

Loading...