proposed-migration for moc 1:2.6.0~svn-r3005-3build2

Bug #2034944 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moc (Debian)
Fix Released
Unknown
moc (Ubuntu)
New
Undecided
Unassigned

Bug Description

moc 1:2.6.0~svn-r3005-3build2 is stuck in -proposed.

The build is failing on all arches:

ffmpeg.c:765:41: error: ‘AV_CODEC_CAP_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_TRUNCATED’?
  765 | if (data->codec->capabilities & AV_CODEC_CAP_TRUNCATED)
      | ^~~~~~~~~~~~~~~~~~~~~~
      | AV_CODEC_FLAG_TRUNCATED
ffmpeg.c:765:41: note: each undeclared identifier is reported only once for each function it appears in
ffmpeg.c:67:34: error: ‘CODEC_FLAG_TRUNCATED’ undeclared (first use in this function); did you mean ‘AV_CODEC_FLAG_TRUNCATED’?
   67 | # define AV_CODEC_FLAG_TRUNCATED CODEC_FLAG_TRUNCATED
      | ^~~~~~~~~~~~~~~~~~~~
ffmpeg.c:766:37: note: in expansion of macro ‘AV_CODEC_FLAG_TRUNCATED’
  766 | data->enc->flags |= AV_CODEC_FLAG_TRUNCATED;
      | ^~~~~~~~~~~~~~~~~~~~~~~

Full build log on amd64: https://launchpadlibrarian.net/683921969/buildlog_ubuntu-mantic-amd64.moc_1%3A2.6.0~svn-r3005-3build2_BUILDING.txt.gz

Nick Rosbrook (enr0n)
Changed in moc (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
Revision history for this message
Nick Rosbrook (enr0n) wrote :

This was triggered by a no-change rebuild against libavcodec60 from src:ffmpeg, and indeed the AV_CODEC_FLAG_TRUNCATED has been dropped from libavcodec. In src:moc, decoder_plugins/ffmpeg/ffmpeg.c is hitting this:

 #ifndef AV_CODEC_FLAG_TRUNCATED
 # define AV_CODEC_FLAG_TRUNCATED CODEC_FLAG_TRUNCATED
 #endif

but CODE_FLAG_TRUNCATED is not defined either. It looks like this may have once been defined by libavcode, too.

description: updated
Nick Rosbrook (enr0n)
no longer affects: ffmpeg (Ubuntu)
Changed in moc (Debian):
status: Unknown → Confirmed
Changed in moc (Debian):
status: Confirmed → Fix Released
Nick Rosbrook (enr0n)
Changed in moc (Ubuntu):
assignee: Nick Rosbrook (enr0n) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.