Opened 7 years ago

Closed 7 years ago

#55023 closed defect (fixed)

ffmpeg @3.3.4 fatal error: 'openjpeg-2.2/openjpeg.h' file not found

Reported by: 1-61803 Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), arietis (Sergei Guselnikov), diochnos
Port: ffmpeg

Attachments (2)

config.log (508.2 KB) - added by 1-61803 7 years ago.
log.log (573.3 KB) - added by mrkapqa 7 years ago.

Download all attachments as: .zip

Change History (14)

Changed 7 years ago by 1-61803

Attachment: config.log added

comment:1 Changed 7 years ago by kencu (Ken)

Cc: dbevans jeremyhu removed
Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: ffmpeg @3.3.4 fails to configureffmpeg @3.3.4 fatal error: 'openjpeg-2.2/openjpeg.h' file not found

comment:2 Changed 7 years ago by kencu (Ken)

Cc: jeremyhu added
Owner: changed from MarcusCalhoun-Lopez to dbevans

comment:3 Changed 7 years ago by jmroot (Joshua Root)

Why not use pkg-config instead of patching in yet another hardcoded path?

comment:4 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

See #54613 for the original issue

comment:5 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

Changed 7 years ago by mrkapqa

Attachment: log.log added

comment:6 Changed 7 years ago by mrkapqa

i am also having this error on SnowLeopard10.6 please see attached log.log thanks

comment:7 in reply to:  6 ; Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mrkapqa:

i am also having this error on SnowLeopard10.6 please see attached log.log thanks

No need for additional logs. We already know all users will experience this problem until we fix it.

Replying to jmroot:

Why not use pkg-config instead of patching in yet another hardcoded path?

Here's a thread from the ffmpeg-devel list from 2012 where this was suggested, and an implementation was provided. It looks like they rejected it.

comment:8 in reply to:  7 Changed 7 years ago by jmroot (Joshua Root)

Replying to ryandesign:

Replying to jmroot:

Why not use pkg-config instead of patching in yet another hardcoded path?

Here's a thread from the ffmpeg-devel list from 2012 where this was suggested, and an implementation was provided. It looks like they rejected it.

They seem to have been concerned about breaking compatibility with older versions that didn't provide a .pc file. We don't have that problem.

comment:9 Changed 7 years ago by arietis (Sergei Guselnikov)

Cc: arietis added

comment:10 Changed 7 years ago by kencu (Ken)

see <https://github.com/macports/macports-ports/pull/904> for a PR that appears to update this for openjpeg-2.3, if that is what we decide to do here.

comment:11 Changed 7 years ago by diochnos

Cc: diochnos added

comment:12 Changed 7 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In f6f39602d1594f4a2c0c558d6ddf0df9f52739e9/macports-ports:

ffmpeg: change patch to build against openjpeg 2.3

closes: #55023

Note: See TracTickets for help on using tickets.