Opened 7 years ago

Closed 7 years ago

#55389 closed defect (fixed)

gegl-devel fails to build against ffmpeg-devel

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

Description

On a fresh High Sierra installation, gegl-devel fails to build against ffmpeg-devel:

:info:build ./ff-save.c:293:17: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
:info:build     c->flags |= CODEC_FLAG_GLOBAL_HEADER;
:info:build                 ^
:info:build ./ff-save.c:634:18: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
:info:build      c->flags |= CODEC_FLAG_GLOBAL_HEADER;
:info:build                  ^
:info:build ./ff-save.c:702:30: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
:info:build   if (!(oc->oformat->flags & AVFMT_RAWPICTURE))
:info:build                              ^
:info:build ./ff-save.c:806:28: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
:info:build   if (oc->oformat->flags & AVFMT_RAWPICTURE)
:info:build                            ^
:info:build 4 errors generated.

gegl-devel builds against ffmpeg.

Change History (8)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Port: gegl-devel, ffmpeg-develgegl-devel ffmpeg-devel

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: jeremyhu added; devans@… removed
Owner: set to dbevans
Status: newassigned

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

Is this still a problem? Both gegl-devel and ffmpeg-devel have been updated since this ticket has been filed.

comment:4 Changed 7 years ago by Liontooth (David Liontooth)

I don't know, I'm not currently using ffmpeg-devel. I suggest we close as obsolete.

comment:5 Changed 7 years ago by dbevans (David B. Evans)

Status: assignedaccepted

Sorry for overlooking this. This issue is similar to #55894 and probably effects bpth gegl-0.3 and gegl-devel. The AVFMT_RAWPICTURE error involves an obsolete API that doesn't really work properly in ffmpeg and has been completely removed in ffmpeg-devel.

comment:6 Changed 7 years ago by dbevans (David B. Evans)

gegl 0.3.30 has just been released so I'll deal with this issue during its upgrade.

comment:7 Changed 7 years ago by dbevans (David B. Evans)

In a4e5c9633791d949ab1e707bdcaab01740a6b9c0/macports-ports:

gegl-0.3: update to version 0.3.30

For now, disable external operation ff-save which fails to build
with ffmpeg-devel.

See #55389

comment:8 Changed 7 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: acceptedclosed

In dc41bf211af623462182967f53755eebe5a8f2ce/macports-ports:

gegl-devel: update to version 0.3.31 git master as of 20180323

For now, disable external operation ff-save which fails to build
with ffmpeg-devel.

Closes #55389

Note: See TracTickets for help on using tickets.