The configure phase fails for me with: checking that version numbers are coherent... ./configure: 5133: test: x6.0.1beta0: unexpected operator no configure: error: in '/tmp/portage/media-libs/rtaudio-6.0.1/work/rtaudio-6.0.1': configure: error: testing RTAUDIO_VERSION==PACKAGE_VERSION failed, check that RtAudio.h defines RTAUDIO_VERSION as "6.0.1" or that the first line of configure.ac has been updated. See 'config.log' for more details Note that this machine uses app-shells/dash to supply /bin/sh
Created attachment 907500 [details] build log
Created attachment 907501 [details] config.log
i don't have that issue here: >>> Emerging (1 of 1) media-libs/rtaudio-6.0.1::gentoo * rtaudio-6.0.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rtaudio-6.0.1.tar.gz to /var/tmp/portage/media-libs/rtaudio-6.0.1/work >>> Source unpacked in /var/tmp/portage/media-libs/rtaudio-6.0.1/work >>> Preparing source in /var/tmp/portage/media-libs/rtaudio-6.0.1/work/rtaudio-6.0.1 ... * Applying rtaudio-5.1.0-cflags.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-libs/rtaudio-6.0.1/work/rtaudio-6.0.1' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/media-libs/rtaudio-6.0.1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: rtaudio-6.0.1/ * Running elibtoolize in: rtaudio-6.0.1/config/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying verbose-pic/2.4.7 patch ... * Applying clang-runtime-ltmain/2.4.7 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/rtaudio-6.0.1/work/rtaudio-6.0.1 ... * econf: updating rtaudio-6.0.1/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating rtaudio-6.0.1/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating rtaudio-6.0.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating rtaudio-6.0.1/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/rtaudio-6.0.1 --htmldir=/usr/share/doc/rtaudio-6.0.1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --with-jack --with-alsa --with-pulse --without-oss checking for a BSD-compatible install... /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether make supports the include directive... yes (GNU style) checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking dependency style of clang++... none checking whether clang++ supports C++11 features with -std=c++11... yes checking that version numbers are coherent... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether the compiler supports GNU C++... (cached) yes checking whether clang++ -std=c++11 accepts -g... (cached) yes checking for clang++ -std=c++11 option to enable C++11 features... (cached) none needed checking dependency style of clang++ -std=c++11... (cached) none checking for x86_64-pc-linux-gnu-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for x86_64-pc-linux-gnu-ar... llvm-ar checking the archiver (llvm-ar) interface... ar checking for ar... /usr/bin/ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for x86_64-pc-linux-gnu-ar... (cached) llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking command to parse llvm-nm output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... clang++ -std=c++11 -E checking for ld used by clang++ -std=c++11... /usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) is GNU ld... yes checking whether the clang++ -std=c++11 linker (/usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for clang++ -std=c++11 option to produce PIC... -fPIC -DPIC checking if clang++ -std=c++11 PIC flag -fPIC -DPIC works... yes checking if clang++ -std=c++11 static flag -static works... yes checking if clang++ -std=c++11 supports -c -o file.o... yes checking if clang++ -std=c++11 supports -c -o file.o... (cached) yes checking whether the clang++ -std=c++11 linker (/usr/lib/llvm/19/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for egrep... (cached) /bin/grep -E checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking whether to compile debug version... no checking for gettimeofday... yes checking for doxygen... (cached) no checking for snd_pcm_open in -lasound... yes checking for pa_simple_flush in -lpulse-simple... yes checking for pa_strerror in -lpulse... yes checking for clang options needed to detect all undeclared functions... (cached) none needed checking for jack_client_open in -ljack... yes checking for pthread... checking for pthread_create in -lpthread... yes checking for audio API... ALSA PulseAudio JACK checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating rtaudio.pc config.status: creating Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured.
It might be related to app-alternatives/sh[dash,-bash], this sometimes exposes bash'ishms in configure scripts.
(In reply to Nowa Ammerlaan from comment #4) > It might be related to app-alternatives/sh[dash,-bash], this sometimes > exposes bash'ishms in configure scripts. Confirmed that this is indeed the problem, it works with app-alternatives/sh[-dash,bash].