x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -O2 -pedantic -Wall -pthread -I/usr/include/aacplus -I/usr/include/alsa -D_REENTRANT -Werror=terminate -O2 -pipe -march=native -c -o darkice-VorbisLibEncoder.o `test -f 'VorbisLibEncoder.cpp' || echo './'`VorbisLibEncoder.cpp VorbisLibEncoder.cpp: In member function ‘virtual unsigned int VorbisLibEncoder::write(const void*, unsigned int)’: VorbisLibEncoder.cpp:340:62: error: invalid conversion from ‘const float*’ to ‘float*’ [-fpermissive] src_short_to_float_array (shortBuffer, converterData.data_in, totalSamples); ~~~~~~~~~~~~~~^~~~~~~ In file included from VorbisLibEncoder.h:56:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: desktop-libressl_20170604-185115 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 477546 [details] emerge-info.txt
Created attachment 477548 [details] emerge-history.txt
Created attachment 477550 [details] environment
Created attachment 477552 [details] etc.portage.tbz2
Created attachment 477554 [details] logs.tbz2
Created attachment 477556 [details] media-sound:darkice-1.3:20170621-183852.log
Created attachment 477558 [details] temp.tbz2
it compiles ok for me, can you retry?
it is still an issue at unstable amd64 tinderbox image 17.1_desktop_plasma-20190802-131642
Created attachment 585872 [details] emerge-info.txt
Created attachment 585874 [details] emerge-history.txt
Created attachment 585876 [details] environment
Created attachment 585878 [details] etc.portage.tbz2
Created attachment 585880 [details] logs.tbz2
Created attachment 585882 [details] media-sound:darkice-1.3:20190805-221445.log
Created attachment 585884 [details] temp.tbz2
I hit this myself, but found it would build if I set USE=-libsamplerate. In the `darkice` sources, there's `#ifdef HAVE_SRC_LIB` which is defined when libsamplerate is detected/used. My system has media-libs/libsamplerate-0.1.9 installed. Maybe the API changed from previous releases?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2616e64355661652ef1d01fadc915b916bd6c36 commit f2616e64355661652ef1d01fadc915b916bd6c36 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2020-10-04 17:26:04 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2020-10-04 17:26:04 +0000 media-sound/darkice: removed obsolete 1.3 Closes: https://bugs.gentoo.org/622406 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> media-sound/darkice/Manifest | 1 - media-sound/darkice/darkice-1.3.ebuild | 54 ---------------------------------- 2 files changed, 55 deletions(-)