Bug 277971 - emulators/vice: configure fails with FFMPEG option set
Summary: emulators/vice: configure fails with FFMPEG option set
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 08:12 UTC by Ale
Modified: 2024-03-27 18:27 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ale 2024-03-26 08:12:24 UTC
checking for FFMPEG support... checking pkg-config is at least version 0.9.0... yes
via pkg-config
checking for FFMPEG_AV... yes
checking for libavformat/avformat.h... yes
checking for FFMPEG_SWSCALE... yes
checking for FFMPEG_SWRESAMPLE... yes
configure: error: ffmpeg version is not compatible. Use 4.x
===>  Script "configure" failed unexpectedly.

It seems that vice wants ffmpeg 4.x but configure finds compiler and linker flags for ffmpeg which is ffmpeg 6.x (multimedia/ffmpeg and multimedia/ffmpeg4 ports are both installed).
Also note that multimedia/ffmpeg is unconditionally listed in LIB_DEPENDS.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-27 14:42:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b23f3c86cb474dc98e2edc9cbef2743c27302f2

commit 3b23f3c86cb474dc98e2edc9cbef2743c27302f2
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-03-27 14:42:17 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-03-27 14:42:17 +0000

    emulators/vice: fix option FFMPEG

    PR: 277971

 emulators/vice/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2024-03-27 18:27:52 UTC
Thanks for the report.
The option FFMPEG was disabled on my testbuilds.