Opened 2 years ago

Closed 2 years ago

#65703 closed defect (fixed)

ffmpeg @4.4.2_2: ERROR: sdl2 requested but not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: haspatch Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia), jmroot (Joshua Root), terrydop@…
Port: ffmpeg, ffmpeg-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

ffmpeg cannot find libsdl2 anymore:

ERROR: sdl2 requested but not found

libsdl2 was just updated from 2.0.22 to 2.24.0 and ffmpeg specifically requests a version of libsdl2 less than 2.1.0:

pkg-config --exists --print-errors sdl2 >= 2.0.1 sdl2 < 2.1.0
Requested 'sdl2 < 2.1.0' but version of sdl2 is 2.24.0

I assume that ffmpeg is not actually incompatible with this version, it was just unaware of the change in libsdl2's version numbering scheme, and that ffmpeg should change this version check. But since they haven't yet done that in their git repository and I can't find an upstream bug report, we should report it to the developers of ffmpeg.

Change History (4)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: ffmpeg-devel added

comment:2 in reply to:  description Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Replying to ryandesign:

But since they haven't yet done that in their git repository and I can't find an upstream bug report, we should report it to the developers of ffmpeg.

I didn't find the ticket because it had already been closed and fixed:

https://trac.ffmpeg.org/ticket/9768

and the patch is:

https://github.com/FFmpeg/FFmpeg/commit/e5163b1d34381a3319214a902ef1df923dd2eeba

comment:3 Changed 2 years ago by Christopher Nielsen <mascguy@…>

In bf68f58d4a183a94ccae6dd626842ab4abbcd17d/macports-ports (master):

ffmpeg-devel: libsdl2: support latest versions
See: #65703

comment:4 Changed 2 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In f2f078eb88ed64dfe8917d12b79ecda1124416f3/macports-ports (master):

ffmpeg: libsdl2: support latest versions
Fixes: #65703

Note: See TracTickets for help on using tickets.