Describe the bug
I downloaded pa_stable_v190700_20210406.tgz and untarred the file. I then ran ./configure and got the following summary:
Configuration summary:
Target ...................... arm-apple-darwin21.6.0
C++ bindings ................ no
Debug output ................ no
Mac debug flags ............. no
I then ran make clean and then make and get the following errors:
/bin/sh ./libtool --mode=compile gcc -c -std=c99 -O2 -Wall -pedantic -pipe -fPIC -DNDEBUG -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/unix -Wno-deprecated -Werror -arch x86_64 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.6 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -o src/common/pa_converters.lo
libtool: compile: gcc -c -std=c99 -O2 -Wall -pedantic -pipe -fPIC -DNDEBUG -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/unix -Wno-deprecated -Werror -arch x86_64 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.6 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -fno-common -DPIC -o src/common/.libs/pa_converters.o
src/common/pa_converters.c:1058:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt32 src = (PaInt32)sourceBuffer;
^
src/common/pa_converters.c:1059:20: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
unsigned char dest = (unsigned char)destinationBuffer;
^
src/common/pa_converters.c:1420:18: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
signed char dest = (signed char)destinationBuffer;
^
src/common/pa_converters.c:1419:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt16 src = (PaInt16)sourceBuffer;
^
src/common/pa_converters.c:1460:20: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
unsigned char dest = (unsigned char)destinationBuffer;
^
src/common/pa_converters.c:1459:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt16 src = (PaInt16)sourceBuffer;
^
6 errors generated.
make: *** [src/common/pa_converters.lo] Error 1
To Reproduce
Steps to reproduce the behavior. Include code if applicable.
- Download the latest, stable .tar.gz build file.
- Run
./configure and then try to make
Expected behavior
Expect to install without errors.
Actual behavior
Installation fails.
Desktop (please complete the following information):
- OS: Mac OS
- OS 12.6.5
- PortAudio version: stable, nightly snapshot (which?), current (please give date and/or Git hash): v190700_20210406
Describe the bug
I downloaded pa_stable_v190700_20210406.tgz and untarred the file. I then ran
./configureand got the following summary:Configuration summary:
Target ...................... arm-apple-darwin21.6.0
C++ bindings ................ no
Debug output ................ no
Mac debug flags ............. no
I then ran
make cleanand thenmakeand get the following errors:/bin/sh ./libtool --mode=compile gcc -c -std=c99 -O2 -Wall -pedantic -pipe -fPIC -DNDEBUG -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/unix -Wno-deprecated -Werror -arch x86_64 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.6 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -o src/common/pa_converters.lo
libtool: compile: gcc -c -std=c99 -O2 -Wall -pedantic -pipe -fPIC -DNDEBUG -DPA_LITTLE_ENDIAN -I./include -I./src/common -I./src/os/unix -Wno-deprecated -Werror -arch x86_64 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.6 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DHAVE_CLOCK_GETTIME=1 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 src/common/pa_converters.c -fno-common -DPIC -o src/common/.libs/pa_converters.o
src/common/pa_converters.c:1058:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt32 src = (PaInt32)sourceBuffer;
^
src/common/pa_converters.c:1059:20: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
unsigned char dest = (unsigned char)destinationBuffer;
^
src/common/pa_converters.c:1420:18: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
signed char dest = (signed char)destinationBuffer;
^
src/common/pa_converters.c:1419:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt16 src = (PaInt16)sourceBuffer;
^
src/common/pa_converters.c:1460:20: error: variable 'dest' set but not used [-Werror,-Wunused-but-set-variable]
unsigned char dest = (unsigned char)destinationBuffer;
^
src/common/pa_converters.c:1459:14: error: variable 'src' set but not used [-Werror,-Wunused-but-set-variable]
PaInt16 src = (PaInt16)sourceBuffer;
^
6 errors generated.
make: *** [src/common/pa_converters.lo] Error 1
To Reproduce
Steps to reproduce the behavior. Include code if applicable.
./configureand then try tomakeExpected behavior
Expect to install without errors.
Actual behavior
Installation fails.
Desktop (please complete the following information):