Opened 11 years ago

Closed 11 years ago

#39227 closed defect (fixed)

baresip: build fails using ffmpeg 1.2.1.

Reported by: dbevans (David B. Evans) Owned by: alfredh (Alfred E. Heggestad)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: ffmpeg Cc: libre@…
Port: baresip

Description

Build fails due to use of outdated ffmpeg API. Updating to latest baresip 0.4.4 doesn't help.

Issues:

  • In modules/avcodec/avcodec.c: FF_I_TYPE is now AV_PICTURE_TYPE_I
  • In modules/avformat/avf.c: AVFormatParameters has been removed and is no longer needed.

See attached build log and patch

Attachments (2)

build.log (74.3 KB) - added by dbevans (David B. Evans) 11 years ago.
Build log showing initial failure (FF_I_TYPE)
patch-baresip.diff (1.9 KB) - added by dbevans (David B. Evans) 11 years ago.
Proposed patch for Portfile

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: build.log added

Build log showing initial failure (FF_I_TYPE)

Changed 11 years ago by dbevans (David B. Evans)

Attachment: patch-baresip.diff added

Proposed patch for Portfile

comment:1 Changed 11 years ago by alfredh (Alfred E. Heggestad)

I just compiled baresip v0.4.4 with latest ffmpeg-devel and it seems to work fine. The issues with FFmpeg API have been fixed in latest baresip.

$ port installed | grep -i ffmpeg
  ffmpeg-devel @20130514_1+gpl2 (active)

I suggest upgrading Portfile to latest baresip 0.4.4, and librem/libre v0.4.3

/alfred

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

OK, if you'll post your updated Portfiles, I'll give it a try. However, when I tried building 0.4.4 myself, the build failed on Mac OS X 10.8.3 (for reasons that seemed not to be ffmpeg related). Also, please test building with both ffmpeg and ffmpeg-devel as the latter has additional API changes and is not ABI compatible with ffmpeg 1.2.1.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

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

Resolution: fixed
Status: newclosed

Fix committed as suggested by maintainer:

libre updated to 0.4.3 in r108746
librem updated to 0.4.3 in r108747
baresip updated to 0.4.4 in r108749

Note: See TracTickets for help on using tickets.