* Package: media-sound/sndpeek-1.4 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 alsa amd64 elibc_glibc kernel_linux oss userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking sndpeek-1.4.tgz to /var/tmp/portage/media-sound/sndpeek-1.4/work >>> Source unpacked in /var/tmp/portage/media-sound/sndpeek-1.4/work >>> Preparing source in /var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4 ... * Applying sndpeek-1.3-makefile.patch ... [ ok ] * Applying sndpeek-1.4-gcc.patch ... [ ok ] * Applying sndpeek-1.4-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4 ... * Compiling against alsa make -j1 -f makefile.alsa CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c chuck_fft.c x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c RtAudio.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c Thread.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c sndpeek.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c Stk.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/Centroid.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/DownSampler.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/Flux.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/LPC.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/MFCC.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/RMS.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/Rolloff.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/System.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/fvec.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/AutoCorrelation.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/Communicator.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/Hamming.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/MagFFT.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/NormRMS.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/MarSignal.cpp x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_ALSA__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c ../marsyas/fmatrix.cpp x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o sndpeek chuck_fft.o RtAudio.o Thread.o sndpeek.o Stk.o Centroid.o DownSampler.o Flux.o LPC.o MFCC.o RMS.o Rolloff.o System.o fvec.o AutoCorrelation.o Communicator.o Hamming.o MagFFT.o NormRMS.o MarSignal.o fmatrix.o -L/usr/X11R6/lib -lpthread -lstdc++ -lglut -lGL -lGLU -lasound -lXmu -lX11 -lXext -lXi -lm -lsndfile make -j1 -f makefile.alsa clean rm -f sndpeek *~ *.o /var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4 * Compiling against oss make -j1 -f makefile.oss CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D__LINUX_OSS__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c chuck_fft.c x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -D__LINUX_OSS__ -D__LITTLE_ENDIAN__ -I../marsyas/ -c RtAudio.cpp RtAudio.cpp: In member function ‘virtual unsigned int RtApiOss::getDeviceCount()’: RtAudio.cpp:8538:3: error: ‘oss_sysinfo’ was not declared in this scope 8538 | oss_sysinfo sysinfo; | ^~~~~~~~~~~ RtAudio.cpp:8539:24: error: ‘SNDCTL_SYSINFO’ was not declared in this scope; did you mean ‘SNDCTL_SYNTH_INFO’? 8539 | if ( ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ) == -1 ) { | ^~~~~~~~~~~~~~ | SNDCTL_SYNTH_INFO RtAudio.cpp:8539:41: error: ‘sysinfo’ was not declared in this scope; did you mean ‘sysex_info’? 8539 | if ( ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ) == -1 ) { | ^~~~~~~ | sysex_info RtAudio.cpp:8547:10: error: ‘sysinfo’ was not declared in this scope; did you mean ‘sysex_info’? 8547 | return sysinfo.numaudios; | ^~~~~~~ | sysex_info RtAudio.cpp: In member function ‘virtual RtAudio::DeviceInfo RtApiOss::getDeviceInfo(unsigned int)’: RtAudio.cpp:8562:3: error: ‘oss_sysinfo’ was not declared in this scope 8562 | oss_sysinfo sysinfo; | ^~~~~~~~~~~ RtAudio.cpp:8563:32: error: ‘SNDCTL_SYSINFO’ was not declared in this scope; did you mean ‘SNDCTL_SYNTH_INFO’? 8563 | int result = ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ); | ^~~~~~~~~~~~~~ | SNDCTL_SYNTH_INFO RtAudio.cpp:8563:49: error: ‘sysinfo’ was not declared in this scope; did you mean ‘sysex_info’? 8563 | int result = ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ); | ^~~~~~~ | sysex_info RtAudio.cpp:8586:3: error: ‘oss_audioinfo’ was not declared in this scope 8586 | oss_audioinfo ainfo; | ^~~~~~~~~~~~~ RtAudio.cpp:8587:3: error: ‘ainfo’ was not declared in this scope; did you mean ‘info’? 8587 | ainfo.dev = device; | ^~~~~ | info RtAudio.cpp:8588:28: error: ‘SNDCTL_AUDIOINFO’ was not declared in this scope; did you mean ‘SNDCTL_MIDI_INFO’? 8588 | result = ioctl( mixerfd, SNDCTL_AUDIOINFO, &ainfo ); | ^~~~~~~~~~~~~~~~ | SNDCTL_MIDI_INFO RtAudio.cpp:8598:21: error: ‘PCM_CAP_OUTPUT’ was not declared in this scope; did you mean ‘PCM_ENABLE_OUTPUT’? 8598 | if ( ainfo.caps & PCM_CAP_OUTPUT ) info.outputChannels = ainfo.max_channels; | ^~~~~~~~~~~~~~ | PCM_ENABLE_OUTPUT RtAudio.cpp:8599:21: error: ‘PCM_CAP_INPUT’ was not declared in this scope; did you mean ‘SYNTH_CAP_INPUT’? 8599 | if ( ainfo.caps & PCM_CAP_INPUT ) info.inputChannels = ainfo.max_channels; | ^~~~~~~~~~~~~ | SYNTH_CAP_INPUT RtAudio.cpp:8600:21: error: ‘PCM_CAP_DUPLEX’ was not declared in this scope; did you mean ‘DSP_CAP_DUPLEX’? 8600 | if ( ainfo.caps & PCM_CAP_DUPLEX ) { | ^~~~~~~~~~~~~~ | DSP_CAP_DUPLEX RtAudio.cpp:8611:15: error: ‘AFMT_S32_LE’ was not declared in this scope; did you mean ‘AFMT_S16_LE’? 8611 | if ( mask & AFMT_S32_LE || mask & AFMT_S32_BE ) | ^~~~~~~~~~~ | AFMT_S16_LE RtAudio.cpp:8611:37: error: ‘AFMT_S32_BE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8611 | if ( mask & AFMT_S32_LE || mask & AFMT_S32_BE ) | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8613:15: error: ‘AFMT_FLOAT’ was not declared in this scope 8613 | if ( mask & AFMT_FLOAT ) | ^~~~~~~~~~ RtAudio.cpp:8615:15: error: ‘AFMT_S24_LE’ was not declared in this scope; did you mean ‘AFMT_S16_LE’? 8615 | if ( mask & AFMT_S24_LE || mask & AFMT_S24_BE ) | ^~~~~~~~~~~ | AFMT_S16_LE RtAudio.cpp:8615:37: error: ‘AFMT_S24_BE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8615 | if ( mask & AFMT_S24_LE || mask & AFMT_S24_BE ) | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp: In member function ‘virtual bool RtApiOss::probeDeviceOpen(unsigned int, RtApi::StreamMode, unsigned int, unsigned int, unsigned int, RtAudioFormat, unsigned int*, RtAudio::StreamOptions*)’: RtAudio.cpp:8671:3: error: ‘oss_sysinfo’ was not declared in this scope 8671 | oss_sysinfo sysinfo; | ^~~~~~~~~~~ RtAudio.cpp:8672:32: error: ‘SNDCTL_SYSINFO’ was not declared in this scope; did you mean ‘SNDCTL_SYNTH_INFO’? 8672 | int result = ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ); | ^~~~~~~~~~~~~~ | SNDCTL_SYNTH_INFO RtAudio.cpp:8672:49: error: ‘sysinfo’ was not declared in this scope; did you mean ‘sysex_info’? 8672 | int result = ioctl( mixerfd, SNDCTL_SYSINFO, &sysinfo ); | ^~~~~~~ | sysex_info RtAudio.cpp:8694:3: error: ‘oss_audioinfo’ was not declared in this scope 8694 | oss_audioinfo ainfo; | ^~~~~~~~~~~~~ RtAudio.cpp:8695:3: error: ‘ainfo’ was not declared in this scope 8695 | ainfo.dev = device; | ^~~~~ RtAudio.cpp:8696:28: error: ‘SNDCTL_AUDIOINFO’ was not declared in this scope; did you mean ‘SNDCTL_MIDI_INFO’? 8696 | result = ioctl( mixerfd, SNDCTL_AUDIOINFO, &ainfo ); | ^~~~~~~~~~~~~~~~ | SNDCTL_MIDI_INFO RtAudio.cpp:8705:44: error: ‘PCM_CAP_OUTPUT’ was not declared in this scope; did you mean ‘PCM_ENABLE_OUTPUT’? 8705 | if ( ( mode == OUTPUT && !( ainfo.caps & PCM_CAP_OUTPUT ) ) || | ^~~~~~~~~~~~~~ | PCM_ENABLE_OUTPUT RtAudio.cpp:8706:43: error: ‘PCM_CAP_INPUT’ was not declared in this scope; did you mean ‘SYNTH_CAP_INPUT’? 8706 | ( mode == INPUT && !( ainfo.caps & PCM_CAP_INPUT ) ) ) { | ^~~~~~~~~~~~~ | SYNTH_CAP_INPUT RtAudio.cpp:8724:28: error: ‘PCM_CAP_DUPLEX’ was not declared in this scope; did you mean ‘DSP_CAP_DUPLEX’? 8724 | if ( !( ainfo.caps & PCM_CAP_DUPLEX ) ) { | ^~~~~~~~~~~~~~ | DSP_CAP_DUPLEX RtAudio.cpp:8813:22: error: ‘AFMT_S16_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8813 | else if ( mask & AFMT_S16_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8820:17: error: ‘AFMT_S24_NE’ was not declared in this scope; did you mean ‘AFMT_S16_NE’? 8820 | if ( mask & AFMT_S24_NE ) { | ^~~~~~~~~~~ | AFMT_S16_NE RtAudio.cpp:8824:22: error: ‘AFMT_S24_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8824 | else if ( mask & AFMT_S24_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8831:17: error: ‘AFMT_S32_NE’ was not declared in this scope; did you mean ‘AFMT_S16_NE’? 8831 | if ( mask & AFMT_S32_NE ) { | ^~~~~~~~~~~ | AFMT_S16_NE RtAudio.cpp:8835:22: error: ‘AFMT_S32_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8835 | else if ( mask & AFMT_S32_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8848:22: error: ‘AFMT_S32_NE’ was not declared in this scope; did you mean ‘AFMT_S16_NE’? 8848 | else if ( mask & AFMT_S32_NE ) { | ^~~~~~~~~~~ | AFMT_S16_NE RtAudio.cpp:8852:22: error: ‘AFMT_S24_NE’ was not declared in this scope; did you mean ‘AFMT_S16_NE’? 8852 | else if ( mask & AFMT_S24_NE ) { | ^~~~~~~~~~~ | AFMT_S16_NE RtAudio.cpp:8856:22: error: ‘AFMT_S16_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8856 | else if ( mask & AFMT_S16_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8861:22: error: ‘AFMT_S32_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8861 | else if ( mask & AFMT_S32_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8866:22: error: ‘AFMT_S24_OE’ was not declared in this scope; did you mean ‘AFMT_S16_BE’? 8866 | else if ( mask & AFMT_S24_OE ) { | ^~~~~~~~~~~ | AFMT_S16_BE RtAudio.cpp:8933:32: error: call of overloaded ‘abs(unsigned int)’ is ambiguous 8933 | if ( abs( srate - sampleRate ) > 100 ) { | ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cstdlib:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/ext/string_conversions.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/string:55, from RtAudio.h:50, from RtAudio.cpp:43: /usr/include/stdlib.h:840:12: note: candidate: ‘int abs(int)’ 840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | ^~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cstdlib:77, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/ext/string_conversions.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/string:55, from RtAudio.h:50, from RtAudio.cpp:43: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:103:3: note: candidate: ‘constexpr __float128 std::abs(__float128)’ 103 | abs(__float128 __x) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:85:3: note: candidate: ‘constexpr __int128 std::abs(__int128)’ 85 | abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; } | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:79:3: note: candidate: ‘constexpr long double std::abs(long double)’ 79 | abs(long double __x) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:75:3: note: candidate: ‘constexpr float std::abs(float)’ 75 | abs(float __x) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:71:3: note: candidate: ‘constexpr double std::abs(double)’ 71 | abs(double __x) | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:61:3: note: candidate: ‘long long int std::abs(long long int)’ 61 | abs(long long __x) { return __builtin_llabs (__x); } | ^~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/std_abs.h:56:3: note: candidate: ‘long int std::abs(long int)’ 56 | abs(long __i) { return __builtin_labs(__i); } | ^~~ RtAudio.cpp: In member function ‘virtual void RtApiOss::closeStream()’: RtAudio.cpp:9112:29: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9112 | ioctl( handle->id[0], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT RtAudio.cpp:9114:29: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9114 | ioctl( handle->id[1], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT RtAudio.cpp: In member function ‘virtual void RtApiOss::stopStream()’: RtAudio.cpp:9210:36: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9210 | result = ioctl( handle->id[0], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT RtAudio.cpp:9220:36: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9220 | result = ioctl( handle->id[1], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT RtAudio.cpp: In member function ‘virtual void RtApiOss::abortStream()’: RtAudio.cpp:9256:36: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9256 | result = ioctl( handle->id[0], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT RtAudio.cpp:9266:36: error: ‘SNDCTL_DSP_HALT’ was not declared in this scope; did you mean ‘SNDCTL_COPR_HALT’? 9266 | result = ioctl( handle->id[1], SNDCTL_DSP_HALT, 0 ); | ^~~~~~~~~~~~~~~ | SNDCTL_COPR_HALT make: *** [makefile.oss:71: RtAudio.o] Error 1 * ERROR: media-sound/sndpeek-1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/sndpeek-1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/sndpeek-1.4::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:sndpeek-1.4:20190823-142802.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/sndpeek-1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/sndpeek-1.4/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4/src/sndpeek' * S: '/var/tmp/portage/media-sound/sndpeek-1.4/work/sndpeek-1.4'