Fails with error in to_chars, not sure if this is a GCC 10 issue. Reproducible: Always Steps to Reproduce: 1. emerge media-sound/easyeffects-6.2.5 2. Fail Actual Results: [48/140] x86_64-pc-linux-gnu-g++ -Isrc/easyeffects.p -Isrc -I../easyeffects-6.2.5/src -I../easyeffects-6.2.5/include -I. -I../easyeffects-6.2.5 -Idata -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libadwaita-1 -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -I/usr/include/lilv-0 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/bs2b -I/usr/include/opus -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++20 -O0 '-DG_LOG_DOMAIN="easyeffects"' -march=native -O2 -pipe -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -D_REENTRANT -MD -MQ src/easyeffects.p/convolver.cpp.o -MF src/easyeffects.p/convolver.cpp.o.d -o src/easyeffects.p/convolver.cpp.o -c ../easyeffects-6.2.5/src/convolver.cpp FAILED: src/easyeffects.p/convolver.cpp.o x86_64-pc-linux-gnu-g++ -Isrc/easyeffects.p -Isrc -I../easyeffects-6.2.5/src -I../easyeffects-6.2.5/include -I. -I../easyeffects-6.2.5 -Idata -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libadwaita-1 -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -I/usr/include/lilv-0 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/bs2b -I/usr/include/opus -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++20 -O0 '-DG_LOG_DOMAIN="easyeffects"' -march=native -O2 -pipe -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -D_REENTRANT -MD -MQ src/easyeffects.p/convolver.cpp.o -MF src/easyeffects.p/convolver.cpp.o.d -o src/easyeffects.p/convolver.cpp.o -c ../easyeffects-6.2.5/src/convolver.cpp In file included from ../easyeffects-6.2.5/include/pipe_manager.hpp:34, from ../easyeffects-6.2.5/include/plugin_base.hpp:28, from ../easyeffects-6.2.5/include/convolver.hpp:27, from ../easyeffects-6.2.5/src/convolver.cpp:20: ../easyeffects-6.2.5/include/util.hpp: In instantiation of ‘std::string util::to_string(const T&, std::string) [with T = float; std::string = std::__cxx11::basic_string<char>]’: ../easyeffects-6.2.5/src/convolver.cpp:256:82: required from here ../easyeffects-6.2.5/include/util.hpp:148:36: error: call of overloaded ‘to_chars(char* const&, char*, const float&)’ is ambiguous 148 | const auto result = std::to_chars(p_init, p_init + max, num); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../easyeffects-6.2.5/include/util.hpp:26, from ../easyeffects-6.2.5/include/pipe_manager.hpp:34, from ../easyeffects-6.2.5/include/plugin_base.hpp:28, from ../easyeffects-6.2.5/include/convolver.hpp:27, from ../easyeffects-6.2.5/src/convolver.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:364:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, char, int)’ 364 | _GLIBCXX_TO_CHARS(char) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:365:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, signed char, int)’ 365 | _GLIBCXX_TO_CHARS(signed char) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:366:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned char, int)’ 366 | _GLIBCXX_TO_CHARS(unsigned char) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:367:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short int, int)’ 367 | _GLIBCXX_TO_CHARS(signed short) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:368:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, short unsigned int, int)’ 368 | _GLIBCXX_TO_CHARS(unsigned short) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:369:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, int, int)’ 369 | _GLIBCXX_TO_CHARS(signed int) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:370:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, unsigned int, int)’ 370 | _GLIBCXX_TO_CHARS(unsigned int) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:371:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long int, int)’ 371 | _GLIBCXX_TO_CHARS(signed long) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:372:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long unsigned int, int)’ 372 | _GLIBCXX_TO_CHARS(unsigned long) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:373:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long int, int)’ 373 | _GLIBCXX_TO_CHARS(signed long long) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:374:1: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, long long unsigned int, int)’ 374 | _GLIBCXX_TO_CHARS(unsigned long long) | ^~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.1/include/g++-v10/charconv:395:19: note: candidate: ‘std::to_chars_result std::to_chars(char*, char*, bool, int)’ (deleted) 395 | to_chars_result to_chars(char*, char*, bool, int = 10) = delete; | ^~~~~~~~ [49/140] x86_64-pc-linux-gnu-g++ -Isrc/easyeffects.p -Isrc -I../easyeffects-6.2.5/src -I../easyeffects-6.2.5/include -I. -I../easyeffects-6.2.5 -Idata -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/libadwaita-1 -I/usr/include/sigc++-3.0 -I/usr/lib64/sigc++-3.0/include -I/usr/include/lilv-0 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/bs2b -I/usr/include/opus -I/usr/include/ -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++20 -O0 '-DG_LOG_DOMAIN="easyeffects"' -march=native -O2 -pipe -pthread -mfpmath=sse -msse -msse2 -mfpmath=sse -msse -msse2 -D_REENTRANT -MD -MQ src/easyeffects.p/compressor_ui.cpp.o -MF src/easyeffects.p/compressor_ui.cpp.o.d -o src/easyeffects.p/compressor_ui.cpp.o -c ../easyeffects-6.2.5/src/compressor_ui.cpp ninja: build stopped: subcommand failed. * ERROR: media-sound/easyeffects-6.2.5::gentoo failed (compile phase): * compile failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2973: Called meson_src_compile * environment, line 2256: Called die * The specific snippet of code: * "$@" || die "compile failed" * * If you need support, post the output of `emerge --info '=media-sound/easyeffects-6.2.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/easyeffects-6.2.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-sound/easyeffects-6.2.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/easyeffects-6.2.5/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/easyeffects-6.2.5/work/easyeffects-6.2.5' * S: '/var/tmp/portage/media-sound/easyeffects-6.2.5/work/easyeffects-6.2.5' Expected Results: Emerge complete
Created attachment 781367 [details] Debug logs
Well, upstream has made their stance pretty clear on this... I'll add a compiler-version guard to the newer easyeffects ebuilds, and probably keep <=6.2.4 in the tree for longer.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef1288b2f659e19eb6656d28cc89d4606fefc24 commit eef1288b2f659e19eb6656d28cc89d4606fefc24 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-05-31 22:09:07 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-05-31 22:11:21 +0000 media-sound/easyeffects-6.2.5: die if <=gcc-10 is used Upstream has made a conscious decision not to support older gcc version any more, see the comments in https://github.com/wwmm/easyeffects/issues/1510 . Closes: https://bugs.gentoo.org/848072 Signed-off-by: Marek Szuba <marecki@gentoo.org> media-sound/easyeffects/easyeffects-6.2.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)