Opened 4 years ago

Closed 4 years ago

#59802 closed defect (invalid)

ffmpeg +x11: libsdl2 must be installed with +x11

Reported by: l-g Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

% sudo port install ffmpeg +nonfree +x11

results in

--->  Fetching archive for ffmpeg
--->  Attempting to fetch ffmpeg-4.2.1_2+gpl2+nonfree+x11.darwin_19.x86_64.tbz2 from http://cph.dk.packages.macports.org/ffmpeg
--->  Attempting to fetch ffmpeg-4.2.1_2+gpl2+nonfree+x11.darwin_19.x86_64.tbz2 from http://nue.de.packages.macports.org/ffmpeg
--->  Attempting to fetch ffmpeg-4.2.1_2+gpl2+nonfree+x11.darwin_19.x86_64.tbz2 from https://packages.macports.org/ffmpeg
--->  Fetching distfiles for ffmpeg
--->  Verifying checksums for ffmpeg
--->  Extracting ffmpeg
--->  Applying patches to ffmpeg
--->  Configuring ffmpeg
Error: Failed to configure ffmpeg: libsdl2 must be installed with +x11.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ffmpeg failed

Log attached

Attachments (1)

main.log (130.2 KB) - added by l-g 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by l-g

Attachment: main.log added

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: jeremyhu added
Owner: set to dbevans
Status: newassigned
:error:configure Failed to configure ffmpeg: libsdl2 must be installed with +x11.

Apparently you're installing ffmpeg with +x11 but installed libsdl2 without it.

comment:2 Changed 4 years ago by l-g

Yes, but shouldn't it handle this in a more graceful way?

comment:3 Changed 4 years ago by l-g

Summary: ffmpeg fail to installffmpeg fails to install

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

Resolution: invalid
Status: assignedclosed
Summary: ffmpeg fails to installffmpeg +x11: libsdl2 must be installed with +x11

It is already being handled in the most graceful way currently available. If you have suggestions for better ways it could be handled, please discuss them with us on the macports-dev mailing list.

Note: See TracTickets for help on using tickets.