← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1076928]

 

The relevant part of the build log is:

audacity-FFmpeg.o: In function `import_ffmpeg_decode_frame(_streamContext*,
bool)':
/home/gale/audacity/src/FFmpeg.cpp:364: undefined reference to `av_frame_alloc'
/home/gale/audacity/src/FFmpeg.cpp:414: undefined reference to `av_frame_free'
export/audacity-ExportFFmpeg.o: In function `encode_audio':
/home/gale/audacity/src/export/ExportFFmpeg.cpp:520: undefined reference to
`av_frame_alloc'
/home/gale/audacity/src/export/ExportFFmpeg.cpp:592: undefined reference to
`av_frame_free'
export/audacity-ExportFFmpegDialogs.o: In function
`ExportFFmpegOptions::FetchCodecList()':
/home/gale/audacity/src/export/ExportFFmpegDialogs.cpp:1281: undefined
reference to `av_codec_is_encoder'

I failed to reproduce the build failure. My guess is that the header files used
mismatch with the avcodec library that should be linked against. What FFmpeg
libraries do you have installed and where? Can you run these commands to shed
some light on it?

find /usr/ -name avcodec.h
find /usr/ /lib -name 'libavcodec*.so*'
grep -H av_codec_is_encoder $(find /usr/ -name avcodec.h)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to audacity in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1076928

Title:
  FTBFS with libav9

Status in Audacity:
  Confirmed
Status in “audacity” package in Ubuntu:
  Fix Released
Status in “audacity” source package in Trusty:
  Fix Released
Status in “audacity” package in Debian:
  Fix Released
Status in “audacity” package in Gentoo Linux:
  Won't Fix

Bug description:
  Imported from Debian bug http://bugs.debian.org/692809:

  Audacity currently FTBFS with libav 9:

  [Impact]
  Without libav support, you cannot import/export various audio file types (.ac3, .wma, .m4a, .opus, ...). Previous Ubuntu releases had libav support enabled.

  [Testcase]
  1) Create an .ac3 and/or .wma audio file.
  2) Open Audacity
  3) Select File -> Open -> Open the .ac3/.wma file.

  Audacity should open the .ac3 and .wma file instead of showing an
  error that Audacity does not support this file type.

  [Regression Potential]
  The patch re-introduces libav support again. Major changes in the FFmpeg module were needed to support libav 9 and newer. There could be (new) bugs in the libav import/export due to these changes. Because no other files were touched, there shouldn't be regressions in other parts of the program.

To manage notifications about this bug go to:
https://bugs.launchpad.net/audacity/+bug/1076928/+subscriptions