Public bug reported: 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/ ** Affects: audacity (Ubuntu) Importance: Undecided Status: New ** Affects: audacity (Debian) Importance: Unknown Status: Unknown ** Tags: ftbfs update-excuse ** Bug watch added: Debian Bug tracker #1004598 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004598 ** Also affects: audacity (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004598 Importance: Unknown Status: Unknown -- 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: Unknown 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