← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1983862] Re: FTBFS with ffmpeg 5.x

 

Note that there is a freeness concern with the new upstream version,
under new ownership AIUI - as shipped by upstream the code will phone
home to a third party without the user opting in to this behavior.
Please do not package the new upstream version of audacity for Ubuntu
without addressing this (preferably with Debian maintainer involvement).

-- 
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/1983862

Title:
  FTBFS with ffmpeg 5.x

Status in audacity package in Ubuntu:
  New
Status in audacity package in Debian:
  Confirmed

Bug description:
  https://launchpadlibrarian.net/615233650/buildlog_ubuntu-kinetic-
  amd64.audacity_2.4.2~dfsg0-5build1_BUILDING.txt.gz

  (...)
  In file included from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:82:
  /<<PKGBUILDDIR>>/src/FFmpeg.h: In constructor ‘AVPacketEx::AVPacketEx()’:
  /<<PKGBUILDDIR>>/src/FFmpeg.h:892:21: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
    892 |       av_init_packet(this);
        |       ~~~~~~~~~~~~~~^~~~~~
  In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                   from /<<PKGBUILDDIR>>/src/FFmpeg.h:53:
  /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
    506 | void av_init_packet(AVPacket *pkt);
        |      ^~~~~~~~~~~~~~
  /<<PKGBUILDDIR>>/src/FFmpeg.h: In member function ‘void AVPacketEx::reset()’:
  /<<PKGBUILDDIR>>/src/FFmpeg.h:919:7: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
    919 |       av_free_packet(this);
        |       ^~~~~~~~~~~~~~
        |       av_new_packet
  /<<PKGBUILDDIR>>/src/FFmpeg.h: In member function ‘void AVPacketEx::steal(AVPacketEx&&)’:
  /<<PKGBUILDDIR>>/src/FFmpeg.h:926:21: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
    926 |       av_init_packet(&that);
        |       ~~~~~~~~~~~~~~^~~~~~~
  /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here
    506 | void av_init_packet(AVPacket *pkt);
        |      ^~~~~~~~~~~~~~

  FFmpeg 5.0 changed the API and it required a big patch for audacity:
  https://github.com/audacity/audacity/pull/3121/files

  Note that patch is on top of master, and Debian/Ubuntu still carry old
  version 2.4.2. To fix this, the package needs to be first updated to
  3.1.3 (or later), and then have that patch applied.

  Upstream issue (now resolved): https://github.com/audacity/audacity/issues/2445
  Debian RC bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004598

  audacity was removed from debian testing today:
  https://tracker.debian.org/news/1352473/audacity-removed-from-testing/

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



References