The good news on this problem is that the above mentioned wxwidgets
version is in Kinetic.

Here are the options, as I see them:

* Package latest upstream version 3.1.3 +
https://github.com/audacity/audacity/pull/3121 or Audacity 3.2.0 Beta -
this would be a hard sell from a Feature Freeze standpoint, and one
would need to demonstrate that the reduced telemetry plan discussed in
https://github.com/audacity/audacity/discussions/889 matches Ubuntu and
Debian expectations.  I think the answer is 'yes' though given they
mention CMake options, and the telemetry being off by default.  Still
needs verified.

* Package Audacity 3.0.2 and backport FFMPEG5 fixes - said to be the
last version before telemetry concerns.  I did a very quick backport
attempt to see the complexity involved, and it didn't look any easier
than backporting to 2.4.2.  And there is still the Feature Freeze
problem to consider.

* Backport FFMPEG5 fixes to version in the archive, 2.4.2.  I think this
is the best plan for retaining Audacity in Kinetic.  The backport is non
trivial as enough refactoring has gone in in the relevant code that this
will need to be tested very carefully.


Proposal for Kinetic
* Remove Audacity, despite rdepends, unless someone has the time to do the 
FFMPEG5 backport to 2.4.2.

Proposal for LL
* Verify telemetry included is appropriate, and package Audacity 3.2.0 for 
Debian and Ubuntu.

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


-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to