Source: audacity Version: 2.4.2~dfsg0-5 Severity: important X-Debbugs-Cc: sramac...@debian.org Tags: sid bookworm ftbfs Usertags: ffmpeg5.0
audacity FTBFS with ffmpeg 5.0 (available in experimental): | cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/ccache /usr/lib/ccache/c++ -DAudacity_EXPORTS -DBUILDING_AUDACITY -DCMAKE -DHAVE_LRINT -DHAVE_LRINTF -DHAVE_MLOCK -DWXINTL_NO_GETTEXT_MACRO -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/private" -I"/<<PKGBUILDDIR>>/include" -I"/<<PKGBUILDDIR>>/src" -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -I"/<<PKGBUILDDIR>>/lib-src/libnyquist" -I"/<<PKGBUILDDIR>>/lib-src/portmixer/include" -isystem /usr/include/opus -isystem /usr/include/lilv-0 -isystem /usr/include/sratom-0 -isystem /usr/include/sord-0 -isystem /usr/include/serd-0 -isystem /usr/include/suil-0 -isystem /usr/include/portSMF -isystem /usr/include/soundtouch -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/fribidi -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -std=gnu++14 -MD -MT src/CMakeFiles/Audacity.dir/AutoRecoveryDialog.cpp.o -MF CMakeFiles/Audacity.dir/AutoRecoveryDialog.cpp.o.d -o CMakeFiles/Audacity.dir/AutoRecoveryDialog.cpp.o -c "/<<PKGBUILDDIR>>/src/AutoRecoveryDialog.cpp" | In file included from /<<PKGBUILDDIR>>/include/audacity/Types.h:49, | from /<<PKGBUILDDIR>>/src/AudacityApp.h:18, | from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:19: | /<<PKGBUILDDIR>>/include/audacity/Types.h: In member function ‘size_t sampleCount::as_size_t() const’: | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:75: error: ‘numeric_limits’ is not a member of ‘std’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~~~~~~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:96: error: expected primary-expression before ‘>’ token | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:99: error: ‘::max’ has not been declared; did you mean ‘std::max’? | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | In file included from /usr/include/c++/11/algorithm:62, | from /<<PKGBUILDDIR>>/include/audacity/Types.h:45, | from /<<PKGBUILDDIR>>/src/AudacityApp.h:18, | from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:19: | /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here | 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | | ^~~ | 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, | from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:82: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | In file included from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:82: | /<<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); | | ~~~~~~~~~~~~~~^~~~~~~ | In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45, | from /<<PKGBUILDDIR>>/src/FFmpeg.h:53, | from /<<PKGBUILDDIR>>/src/AudacityApp.cpp:82: | /usr/include/x86_64-linux-gnu/libavcodec/packet.h:506:6: note: declared here | 506 | void av_init_packet(AVPacket *pkt); | | ^~~~~~~~~~~~~~ | make[3]: *** [src/CMakeFiles/Audacity.dir/build.make:135: src/CMakeFiles/Audacity.dir/AudacityApp.cpp.o] Error 1 | make[3]: *** Waiting for unfinished jobs.... | /<<PKGBUILDDIR>>/src/AboutDialog.cpp:755:64: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] | 755 | AddBuildinfoRow(&informationStr, XO("Program build date:"), __TDATE__); | | ^~~~~~~~~ | In file included from /usr/include/wx-3.0/wx/defs.h:745, | from /usr/include/wx-3.0/wx/string.h:24, | from /<<PKGBUILDDIR>>/src/AudioIOBase.h:22, | from /<<PKGBUILDDIR>>/src/AudioIOBase.cpp:12: | /<<PKGBUILDDIR>>/include/audacity/Types.h: In member function ‘size_t sampleCount::as_size_t() const’: | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:75: error: ‘numeric_limits’ is not a member of ‘std’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~~~~~~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:96: error: expected primary-expression before ‘>’ token | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:99: error: ‘::max’ has not been declared; did you mean ‘std::max’? | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | In file included from /usr/include/c++/11/algorithm:62, | from /<<PKGBUILDDIR>>/src/Envelope.h:15, | from /<<PKGBUILDDIR>>/src/AudioIOBase.cpp:19: | /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here | 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | | ^~~ | make[3]: *** [src/CMakeFiles/Audacity.dir/build.make:205: src/CMakeFiles/Audacity.dir/AudioIOBase.cpp.o] Error 1 | In file included from /<<PKGBUILDDIR>>/include/audacity/Types.h:49, | from /<<PKGBUILDDIR>>/src/xml/XMLTagHandler.h:25, | from /<<PKGBUILDDIR>>/src/AutoRecovery.h:14, | from /<<PKGBUILDDIR>>/src/AutoRecovery.cpp:22: | /<<PKGBUILDDIR>>/include/audacity/Types.h: In member function ‘size_t sampleCount::as_size_t() const’: | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:75: error: ‘numeric_limits’ is not a member of ‘std’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~~~~~~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:96: error: expected primary-expression before ‘>’ token | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:99: error: ‘::max’ has not been declared; did you mean ‘std::max’? | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~ | /usr/include/wx-3.0/wx/debug.h:280:42: note: in definition of macro ‘wxASSERT_MSG’ | 280 | if ( wxTheAssertHandler && !(cond) && \ | | ^~~~ | /<<PKGBUILDDIR>>/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ | 630 | wxASSERT(static_cast<std::make_unsigned<type>::type>(value) <= std::numeric_limits<size_t>::max()); | | ^~~~~~~~ | In file included from /usr/include/c++/11/algorithm:62, | from /<<PKGBUILDDIR>>/include/audacity/Types.h:45, | from /<<PKGBUILDDIR>>/src/xml/XMLTagHandler.h:25, | from /<<PKGBUILDDIR>>/src/AutoRecovery.h:14, | from /<<PKGBUILDDIR>>/src/AutoRecovery.cpp:22: | /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here | 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | | ^~~ | make[3]: *** [src/CMakeFiles/Audacity.dir/build.make:219: src/CMakeFiles/Audacity.dir/AutoRecovery.cpp.o] Error 1 Cheers -- Sebastian Ramacher
signature.asc
Description: PGP signature