Open Yonle opened 3 years ago
Probably some path that is wrong, or a library that was not linked. Could you share the config.log you got when building on device?
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cava configure 0.7.4-2-g1b7c395-dirty, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --prefix=/data/data/com.termux/files/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost
uname -m = aarch64
uname -r = 4.9.77+
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri May 28 23:13:48 CST 2021
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /data/data/com.termux/files/usr/google-cloud-sdk/bin/
PATH: /data/data/com.termux/files/usr/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2408: looking for aux files: config.guess config.sub ltmain.sh compile ar-lib missing install-sh
configure:2421: trying ./
configure:2421: trying ./../
configure:2450: ./../config.guess found
configure:2450: ./../config.sub found
configure:2450: ./../ltmain.sh found
configure:2450: ./../compile found
configure:2450: ./../ar-lib found
configure:2450: ./../missing found
configure:2432: ./../install-sh found
configure:2579: checking for a BSD-compatible install
configure:2652: result: /data/data/com.termux/files/usr/bin/install -c
configure:2663: checking whether build environment is sane
configure:2718: result: yes
configure:2877: checking for a race-free mkdir -p
configure:2921: result: /data/data/com.termux/files/usr/bin/mkdir -p
configure:2928: checking for gawk
configure:2949: found /data/data/com.termux/files/usr/bin/gawk
configure:2960: result: gawk
configure:2971: checking whether make sets $(MAKE)
configure:2994: result: yes
configure:3024: checking whether make supports nested variables
configure:3042: result: yes
configure:3191: checking whether make supports the include directive
configure:3206: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3209: $? = 0
configure:3228: result: yes (GNU style)
configure:3304: checking for gcc
configure:3325: found /data/data/com.termux/files/usr/bin/gcc
configure:3336: result: gcc
configure:3689: checking for C compiler version
configure:3698: gcc --version >&5
clang version 12.0.1
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
configure:3709: $? = 0
configure:3698: gcc -v >&5
clang version 12.0.1
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
configure:3709: $? = 0
configure:3698: gcc -V >&5
clang-12: error: argument to '-V' is missing (expected 1 value)
clang-12: error: no input files
configure:3709: $? = 1
configure:3698: gcc -qversion >&5
clang-12: error: unknown argument '-qversion'; did you mean '--version'?
clang-12: error: no input files
configure:3709: $? = 1
configure:3698: gcc -version >&5
clang-12: error: unknown argument '-version'; did you mean '--version'?
clang-12: error: no input files
configure:3709: $? = 1
configure:3729: checking whether the C compiler works
configure:3751: gcc conftest.c >&5
configure:3755: $? = 0
configure:3805: result: yes
configure:3808: checking for C compiler default output file name
configure:3810: result: a.out
configure:3816: checking for suffix of executables
configure:3823: gcc -o conftest conftest.c >&5
configure:3827: $? = 0
configure:3850: result:
configure:3872: checking whether we are cross compiling
configure:3880: gcc -o conftest conftest.c >&5
configure:3884: $? = 0
configure:3891: ./conftest
configure:3895: $? = 0
configure:3910: result: no
configure:3915: checking for suffix of object files
configure:3938: gcc -c conftest.c >&5
configure:3942: $? = 0
configure:3964: result: o
configure:3968: checking whether the compiler supports GNU C
configure:3988: gcc -c conftest.c >&5
configure:3988: $? = 0
configure:3998: result: yes
configure:4009: checking whether gcc accepts -g
configure:4030: gcc -c -g conftest.c >&5
configure:4030: $? = 0
configure:4074: result: yes
configure:4094: checking for gcc option to enable C11 features
configure:4109: gcc -c -g -O2 conftest.c >&5
configure:4109: $? = 0
configure:4127: result: none needed
configure:4243: checking whether gcc understands -c and -o together
configure:4266: gcc -c conftest.c -o conftest2.o
configure:4269: $? = 0
configure:4266: gcc -c conftest.c -o conftest2.o
configure:4269: $? = 0
configure:4281: result: yes
configure:4300: checking dependency style of gcc
configure:4412: result: gcc3
configure:4483: checking for ar
configure:4504: found /data/data/com.termux/files/usr/bin/ar
configure:4515: result: ar
configure:4541: checking the archiver (ar) interface
configure:4558: gcc -c -g -O2 conftest.c >&5
configure:4558: $? = 0
configure:4561: ar cru libconftest.a conftest.o >&5
configure:4564: $? = 0
configure:4592: result: ar
configure:4644: checking build system type
configure:4659: result: aarch64-unknown-linux-gnu
configure:4679: checking host system type
configure:4693: result: aarch64-unknown-linux-gnu
configure:4734: checking how to print strings
configure:4761: result: printf
configure:4782: checking for a sed that does not truncate output
configure:4852: result: /data/data/com.termux/files/usr/bin/sed
configure:4870: checking for grep that handles long lines and -e
configure:4934: result: /data/data/com.termux/files/usr/bin/grep
configure:4939: checking for egrep
configure:5007: result: /data/data/com.termux/files/usr/bin/grep -E
configure:5012: checking for fgrep
configure:5080: result: /data/data/com.termux/files/usr/bin/grep -F
configure:5116: checking for ld used by gcc
configure:5184: result: /data/data/com.termux/files/usr/bin/ld
configure:5191: checking if the linker (/data/data/com.termux/files/usr/bin/ld) is GNU ld
configure:5207: result: yes
configure:5219: checking for BSD- or MS-compatible name lister (nm)
configure:5274: result: /data/data/com.termux/files/usr/bin/nm -B
configure:5414: checking the name lister (/data/data/com.termux/files/usr/bin/nm -B) interface
configure:5422: gcc -c -g -O2 conftest.c >&5
configure:5425: /data/data/com.termux/files/usr/bin/nm -B "conftest.o"
configure:5428: output
0000000000000000 B some_variable
configure:5435: result: BSD nm
configure:5438: checking whether ln -s works
configure:5442: result: yes
configure:5450: checking the maximum length of command line arguments
configure:5582: result: 32768
configure:5630: checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format
configure:5671: result: func_convert_file_noop
configure:5678: checking how to convert aarch64-unknown-linux-gnu file names to toolchain format
configure:5699: result: func_convert_file_noop
configure:5706: checking for /data/data/com.termux/files/usr/bin/ld option to reload object files
configure:5714: result: -r
configure:5793: checking for objdump
configure:5814: found /data/data/com.termux/files/usr/bin/objdump
configure:5825: result: objdump
configure:5857: checking how to recognize dependent libraries
configure:6058: result: pass_all
configure:6148: checking for dlltool
configure:6183: result: no
configure:6213: checking how to associate runtime and link libraries
configure:6241: result: printf %s\n
configure:6375: checking for archiver @FILE support
configure:6393: gcc -c -g -O2 conftest.c >&5
configure:6393: $? = 0
configure:6397: ar cru libconftest.a @conftest.lst >&5
configure:6400: $? = 0
configure:6405: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6408: $? = 1
configure:6420: result: @
configure:6483: checking for strip
configure:6504: found /data/data/com.termux/files/usr/bin/strip
configure:6515: result: strip
configure:6592: checking for ranlib
configure:6613: found /data/data/com.termux/files/usr/bin/ranlib
configure:6624: result: ranlib
configure:6726: checking command to parse /data/data/com.termux/files/usr/bin/nm -B output from gcc object
configure:6880: gcc -c -g -O2 conftest.c >&5
configure:6883: $? = 0
configure:6887: /data/data/com.termux/files/usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/ /p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6890: $? = 0
configure:6956: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6959: $? = 0
configure:6997: result: ok
configure:7044: checking for sysroot
configure:7075: result: no
configure:7082: checking for a working dd
configure:7126: result: /data/data/com.termux/files/usr/bin/dd
configure:7130: checking how to truncate binary pipes
configure:7146: result: /data/data/com.termux/files/usr/bin/dd bs=4096 count=1
configure:7483: checking for mt
configure:7518: result: no
configure:7538: checking if : is a manifest tool
configure:7545: : '-?'
configure:7553: result: no
configure:8283: checking for stdio.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for stdlib.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for string.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for inttypes.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for stdint.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for strings.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for sys/stat.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for sys/types.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8283: checking for unistd.h
configure:8283: gcc -c -g -O2 conftest.c >&5
configure:8283: $? = 0
configure:8283: result: yes
configure:8308: checking for dlfcn.h
configure:8308: gcc -c -g -O2 conftest.c >&5
configure:8308: $? = 0
configure:8308: result: yes
configure:8567: checking for objdir
configure:8583: result: .libs
configure:8843: checking if gcc supports -fno-rtti -fno-exceptions
configure:8862: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
configure:8866: $? = 0
configure:8879: result: yes
configure:9237: checking for gcc option to produce PIC
configure:9245: result: -fPIC -DPIC
configure:9253: checking if gcc PIC flag -fPIC -DPIC works
configure:9272: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:9276: $? = 0
configure:9289: result: yes
configure:9318: checking if gcc static flag -static works
configure:9347: result: no
configure:9362: checking if gcc supports -c -o file.o
configure:9384: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9388: $? = 0
configure:9410: result: yes
configure:9418: checking if gcc supports -c -o file.o
configure:9466: result: yes
configure:9499: checking whether the gcc linker (/data/data/com.termux/files/usr/bin/ld) supports shared libraries
configure:10765: result: yes
configure:10802: checking whether -lc should be explicitly linked in
configure:10811: gcc -c -g -O2 conftest.c >&5
configure:10814: $? = 0
configure:10829: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /data/data/com.termux/files/usr/bin/grep -lc \>/dev/null 2\>\&1
configure:10832: $? = 0
configure:10846: result: no
configure:11006: checking dynamic linker characteristics
configure:11588: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:11588: $? = 0
configure:11827: result: GNU/Linux ld.so
configure:11949: checking how to hardcode library paths into programs
configure:11974: result: immediate
configure:12526: checking whether stripping libraries is possible
configure:12531: result: yes
configure:12566: checking if libtool supports shared libraries
configure:12568: result: yes
configure:12571: checking whether to build shared libraries
configure:12596: result: yes
configure:12599: checking whether to build static libraries
configure:12603: result: yes
configure:12693: checking for gcc
configure:12725: result: gcc
configure:13078: checking for C compiler version
configure:13087: gcc --version >&5
clang version 12.0.1
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
configure:13098: $? = 0
configure:13087: gcc -v >&5
clang version 12.0.1
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
configure:13098: $? = 0
configure:13087: gcc -V >&5
clang-12: error: argument to '-V' is missing (expected 1 value)
clang-12: error: no input files
configure:13098: $? = 1
configure:13087: gcc -qversion >&5
clang-12: error: unknown argument '-qversion'; did you mean '--version'?
clang-12: error: no input files
configure:13098: $? = 1
configure:13087: gcc -version >&5
clang-12: error: unknown argument '-version'; did you mean '--version'?
clang-12: error: no input files
configure:13098: $? = 1
configure:13102: checking whether the compiler supports GNU C
configure:13132: result: yes
configure:13143: checking whether gcc accepts -g
configure:13208: result: yes
configure:13228: checking for gcc option to enable C11 features
configure:13261: result: none needed
configure:13377: checking whether gcc understands -c and -o together
configure:13415: result: yes
configure:13434: checking dependency style of gcc
configure:13546: result: gcc3
configure:13630: checking for pthread.h
configure:13630: gcc -c -g -O2 -DNDEBUG conftest.c >&5
configure:13630: $? = 0
configure:13630: result: yes
configure:13634: checking for pthread_create in -lpthread
configure:13657: gcc -o conftest -g -O2 -DNDEBUG conftest.c -lpthread >&5
configure:13657: $? = 0
configure:13667: result: yes
configure:13687: checking for alloca.h
configure:13687: gcc -c -g -O2 -DNDEBUG conftest.c >&5
configure:13687: $? = 0
configure:13687: result: yes
configure:13704: checking for snd_pcm_open in -lasound
configure:13727: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H conftest.c -lasound -lpthread >&5
/data/data/com.termux/files/usr/bin/ld: cannot find -lasound
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:13727: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cava"
| #define PACKAGE_TARNAME "cava"
| #define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_BUGREPORT "karl@stavestrand.no"
| #define PACKAGE_URL ""
| #define PACKAGE "cava"
| #define VERSION "0.7.4-2-g1b7c395-dirty"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| char snd_pcm_open ();
| int
| main (void)
| {
| return snd_pcm_open ();
| ;
| return 0;
| }
configure:13737: result: no
configure:13751: WARNING: No alsa dev files found building without alsa support
configure:13779: checking for pa_simple_new in -lpulse-simple
configure:13802: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H conftest.c -lpulse-simple -lpthread >&5
configure:13802: $? = 0
configure:13812: result: yes
configure:13854: checking for Pa_Initialize in -lportaudio
configure:13877: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE conftest.c -lportaudio -lpthread -lpulse-simple -lpulse >&5
/data/data/com.termux/files/usr/bin/ld: cannot find -lportaudio
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:13877: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cava"
| #define PACKAGE_TARNAME "cava"
| #define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_BUGREPORT "karl@stavestrand.no"
| #define PACKAGE_URL ""
| #define PACKAGE "cava"
| #define VERSION "0.7.4-2-g1b7c395-dirty"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| char Pa_Initialize ();
| int
| main (void)
| {
| return Pa_Initialize ();
| ;
| return 0;
| }
configure:13887: result: no
configure:13902: WARNING: No portaudio dev files found building without portaudio support
configure:13929: checking for sio_open in -lsndio
configure:13952: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE conftest.c -lsndio -lpthread -lpulse-simple -lpulse >&5
/data/data/com.termux/files/usr/bin/ld: cannot find -lsndio
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:13952: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cava"
| #define PACKAGE_TARNAME "cava"
| #define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_BUGREPORT "karl@stavestrand.no"
| #define PACKAGE_URL ""
| #define PACKAGE "cava"
| #define VERSION "0.7.4-2-g1b7c395-dirty"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| char sio_open ();
| int
| main (void)
| {
| return sio_open ();
| ;
| return 0;
| }
configure:13962: result: no
configure:13977: WARNING: No sndio dev files found building without sndio support
configure:13994: checking for sqrt in -lm
configure:14017: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE conftest.c -lm -lpthread -lpulse-simple -lpulse >&5
conftest.c:28:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration]
char sqrt ();
^
conftest.c:28:6: note: 'sqrt' is a builtin with type 'double (double)'
1 warning generated.
configure:14017: $? = 0
configure:14027: result: yes
configure:14045: checking for fftw_execute in -lfftw3
configure:14068: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE conftest.c -lfftw3 -lpthread -lpulse-simple -lpulse -lm >&5
configure:14068: $? = 0
configure:14078: result: yes
configure:14111: checking for ncursesw6-config
configure:14134: found /data/data/com.termux/files/usr/bin/ncursesw6-config
configure:14146: result: /data/data/com.termux/files/usr/bin/ncursesw6-config
configure:14158: checking for initscr in -lncursesw
configure:14181: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE conftest.c -lncursesw -lpthread -lpulse-simple -lpulse -lm -lfftw3 >&5
configure:14181: $? = 0
configure:14191: result: yes
configure:14201: checking for initscr in -lncursesw
configure:14235: result: yes
configure:14250: checking for curses.h
configure:14250: gcc -c -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE -D_XOPEN_SOURCE=600 -I/data/data/com.termux/files/usr/include -DNCURSES conftest.c >&5
configure:14250: $? = 0
configure:14250: result: yes
configure:14294: checking for library containing iniparser_load
configure:14324: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE -D_XOPEN_SOURCE=600 -I/data/data/com.termux/files/usr/include -DNCURSES conftest.c -lpthread -lpulse-simple -lpulse -lm -lfftw3 -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -lncursesw >&5
/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/usr/tmp/conftest-4e0298.o: in function `main':
/data/data/com.termux/files/home/cava/conftest.c:33: undefined reference to `iniparser_load'
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:14324: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cava"
| #define PACKAGE_TARNAME "cava"
| #define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_BUGREPORT "karl@stavestrand.no"
| #define PACKAGE_URL ""
| #define PACKAGE "cava"
| #define VERSION "0.7.4-2-g1b7c395-dirty"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_H 1
| #define HAVE_CURSES_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| char iniparser_load ();
| int
| main (void)
| {
| return iniparser_load ();
| ;
| return 0;
| }
configure:14324: gcc -o conftest -g -O2 -DNDEBUG -DHAVE_ALLOCA_H -DPULSE -D_XOPEN_SOURCE=600 -I/data/data/com.termux/files/usr/include -DNCURSES conftest.c -liniparser -lpthread -lpulse-simple -lpulse -lm -lfftw3 -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -lncursesw >&5
/data/data/com.termux/files/usr/bin/ld: cannot find -liniparser
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
configure:14324: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cava"
| #define PACKAGE_TARNAME "cava"
| #define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
| #define PACKAGE_BUGREPORT "karl@stavestrand.no"
| #define PACKAGE_URL ""
| #define PACKAGE "cava"
| #define VERSION "0.7.4-2-g1b7c395-dirty"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PTHREAD_H 1
| #define HAVE_CURSES_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| char iniparser_load ();
| int
| main (void)
| {
| return iniparser_load ();
| ;
| return 0;
| }
configure:14344: result: no
configure:14414: Building iniparser
configure:14431: Checking OS
configure:14436: Linux detected
configure:14616: checking that generated files are newer than configure
configure:14622: result: done
configure:14681: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by cava config.status 0.7.4-2-g1b7c395-dirty, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on localhost
config.status:1023: creating iniparser/Makefile
config.status:1023: creating Makefile
config.status:1195: executing depfiles commands
config.status:1270: cd iniparser && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for 'am--depfiles'.
config.status:1277: $? = 0
config.status:1270: cd . && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for 'am--depfiles'.
config.status:1277: $? = 0
config.status:1195: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build='aarch64-unknown-linux-gnu'
ac_cv_c_compiler_gnu='yes'
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_FONT_DIR_set=''
ac_cv_env_FONT_DIR_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_LT_SYS_LIBRARY_PATH_set=''
ac_cv_env_LT_SYS_LIBRARY_PATH_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_header_alloca_h='yes'
ac_cv_header_curses_h='yes'
ac_cv_header_dlfcn_h='yes'
ac_cv_header_inttypes_h='yes'
ac_cv_header_pthread_h='yes'
ac_cv_header_stdint_h='yes'
ac_cv_header_stdio_h='yes'
ac_cv_header_stdlib_h='yes'
ac_cv_header_string_h='yes'
ac_cv_header_strings_h='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_unistd_h='yes'
ac_cv_host='aarch64-unknown-linux-gnu'
ac_cv_lib_asound_snd_pcm_open='no'
ac_cv_lib_fftw3_fftw_execute='yes'
ac_cv_lib_m_sqrt='yes'
ac_cv_lib_ncursesw_initscr='yes'
ac_cv_lib_portaudio_Pa_Initialize='no'
ac_cv_lib_pthread_pthread_create='yes'
ac_cv_lib_pulse_simple_pa_simple_new='yes'
ac_cv_lib_sndio_sio_open='no'
ac_cv_objext='o'
ac_cv_path_CURSES_CONFIG='/data/data/com.termux/files/usr/bin/ncursesw6-config'
ac_cv_path_EGREP='/data/data/com.termux/files/usr/bin/grep -E'
ac_cv_path_FGREP='/data/data/com.termux/files/usr/bin/grep -F'
ac_cv_path_GREP='/data/data/com.termux/files/usr/bin/grep'
ac_cv_path_SED='/data/data/com.termux/files/usr/bin/sed'
ac_cv_path_install='/data/data/com.termux/files/usr/bin/install -c'
ac_cv_path_lt_DD='/data/data/com.termux/files/usr/bin/dd'
ac_cv_path_mkdir='/data/data/com.termux/files/usr/bin/mkdir'
ac_cv_prog_AWK='gawk'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_ac_ct_OBJDUMP='objdump'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_prog_ac_ct_STRIP='strip'
ac_cv_prog_cc_c11=''
ac_cv_prog_cc_g='yes'
ac_cv_prog_cc_stdc=''
ac_cv_prog_make_make_set='yes'
ac_cv_search_iniparser_load='no'
am_cv_CC_dependencies_compiler_type='gcc3'
am_cv_ar_interface='ar'
am_cv_make_support_nested_variables='yes'
am_cv_prog_cc_c_o='yes'
lt_cv_ar_at_file='@'
lt_cv_archive_cmds_need_lc='no'
lt_cv_deplibs_check_method='pass_all'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=''
lt_cv_ld_reload_flag='-r'
lt_cv_nm_interface='BSD nm'
lt_cv_objdir='.libs'
lt_cv_path_LD='/data/data/com.termux/files/usr/bin/ld'
lt_cv_path_NM='/data/data/com.termux/files/usr/bin/nm -B'
lt_cv_path_mainfest_tool='no'
lt_cv_prog_compiler_c_o='yes'
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works='yes'
lt_cv_prog_compiler_rtti_exceptions='yes'
lt_cv_prog_compiler_static_works='no'
lt_cv_prog_gnu_ld='yes'
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath='yes'
lt_cv_sys_global_symbol_pipe='sed -n -e '"'"'s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'"'"' | sed '"'"'/ __gnu_lto/d'"'"
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '"'"'s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'"'"' -e '"'"'s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'"'"
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '"'"'s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'"'"' -e '"'"'s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'"'"' -e '"'"'s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'"'"
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '"'"'s/^T .* \(.*\)$/extern int \1();/p'"'"' -e '"'"'s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'"'"
lt_cv_sys_global_symbol_to_import=''
lt_cv_sys_max_cmd_len='32768'
lt_cv_to_host_file_cmd='func_convert_file_noop'
lt_cv_to_tool_file_cmd='func_convert_file_noop'
lt_cv_truncate_bin='/data/data/com.termux/files/usr/bin/dd bs=4096 count=1'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/data/data/com.termux/files/home/missing'\'' aclocal-1.16'
ALSA_FALSE=''
ALSA_TRUE='#'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/data/data/com.termux/files/home/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/data/data/com.termux/files/home/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/data/data/com.termux/files/home/missing'\'' automake-1.16'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=' -DNDEBUG -DHAVE_ALLOCA_H -DPULSE -D_XOPEN_SOURCE=600 -I/data/data/com.termux/files/usr/include -DNCURSES'
CSCOPE='cscope'
CTAGS='ctags'
CURSES_CONFIG='/data/data/com.termux/files/usr/bin/ncursesw6-config'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395-dirty\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395-dirty\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395-dirty\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_CURSES_H=1'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/data/data/com.termux/files/usr/bin/grep -E'
ETAGS='etags'
EXEEXT=''
FGREP='/data/data/com.termux/files/usr/bin/grep -F'
FONT_DIR='${prefix}/share/consolefonts'
GREP='/data/data/com.termux/files/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/data/data/com.termux/files/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=' -lpthread -lpulse-simple -lpulse -lm -lfftw3 -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -lncursesw'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LINUX_FALSE='#'
LINUX_TRUE=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/data/data/com.termux/files/home/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/data/data/com.termux/files/usr/bin/mkdir -p'
NCURSES_FALSE='#'
NCURSES_TRUE=''
NM='/data/data/com.termux/files/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OSX_FALSE=''
OSX_TRUE='#'
OTOOL64=''
OTOOL=''
PACKAGE='cava'
PACKAGE_BUGREPORT='karl@stavestrand.no'
PACKAGE_NAME='cava'
PACKAGE_STRING='cava 0.7.4-2-g1b7c395-dirty'
PACKAGE_TARNAME='cava'
PACKAGE_URL=''
PACKAGE_VERSION='0.7.4-2-g1b7c395-dirty'
PATH_SEPARATOR=':'
PORTAUDIO_FALSE=''
PORTAUDIO_TRUE='#'
PULSE_FALSE='#'
PULSE_TRUE=''
RANLIB='ranlib'
SED='/data/data/com.termux/files/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SNDIO_FALSE=''
SNDIO_TRUE='#'
STRIP='strip'
SYSTEM_LIBINIPARSER='0'
SYSTEM_LIBINIPARSER_FALSE=''
SYSTEM_LIBINIPARSER_TRUE='#'
VERSION='0.7.4-2-g1b7c395-dirty'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='aarch64-unknown-linux-gnu'
build_alias=''
build_cpu='aarch64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='aarch64-unknown-linux-gnu'
host_alias=''
host_cpu='aarch64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /data/data/com.termux/files/home/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/data/data/com.termux/files/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "cava"
#define PACKAGE_TARNAME "cava"
#define PACKAGE_VERSION "0.7.4-2-g1b7c395-dirty"
#define PACKAGE_STRING "cava 0.7.4-2-g1b7c395-dirty"
#define PACKAGE_BUGREPORT "karl@stavestrand.no"
#define PACKAGE_URL ""
#define PACKAGE "cava"
#define VERSION "0.7.4-2-g1b7c395-dirty"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_PTHREAD_H 1
#define HAVE_CURSES_H 1
configure: exit 0
I also have a workaround for this issue without building from source:
qemu-aarch64 cava
However lack of performance
I can't reproduce the issue. Tried cmus
and play
(sox).
Device stats same as always: AArch64, Android 11 (latest patches), no root; no proot
, qemu-user
or other things affecting execution flow running.
What steps will reproduce the bug? Make sure there's a music or audio player like mpv or cmus, and pulseaudio installed in your Termux Launch pulseaudio server normally
Don't start PulseAudio server on your own as you may end with 2 or more instances running in parallel. Programs like cmus
start pulse instance automatically. - Can be a reason for your bug.
Doesn't work out of the box with mpd for me, but works with cmus now that I tried
I still can't get this working as what @Xeffyr suggested
Restarted too many time but still not working
After trying to get debug log (verbosing), I got something interesting:
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=10851 gid=10851 success=1
I: [pulseaudio] client.c: Freed 0 "cava device list"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] client.c: Created 1 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=10851 gid=10851 success=1
I: [pulseaudio] sink-input.c: Created input 0 "playback" on OpenSL_ES_sink with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
This is the log in pulseaudio when i launch cava:
I: [pulseaudio] client.c: Created 3 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=10851 gid=10851 success=1
I: [pulseaudio] client.c: Freed 3 "cava device list"
I: [pulseaudio] protocol-native.c: Connection died.
Maybe there's a issue while connecting to pulseaudio server via unix socket?
This is what i got when using cava in proot:
I: [pulseaudio] client.c: Created 2 "Native client (UNIX socket client)"
I: [pulseaudio] protocol-native.c: Got credentials: uid=10851 gid=10851 success=1
I: [pulseaudio] source-output.c: Created output 0 "audio for cava" on OpenSL_ES_sink.monitor with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source-output.c: media.name = "audio for cava"
I: [pulseaudio] source-output.c: application.name = "cava"
I: [pulseaudio] source-output.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] source-output.c: native-protocol.version = "34"
I: [pulseaudio] source-output.c: application.process.id = "12401"
I: [pulseaudio] source-output.c: application.process.user = "root"
I: [pulseaudio] source-output.c: application.process.host = "localhost"
I: [pulseaudio] source-output.c: application.process.binary = "cava"
I: [pulseaudio] source-output.c: application.language = "C"
I: [pulseaudio] source-output.c: application.process.machine_id = "ba49104ed2bfef49a4cf04e4611e1608"
I: [pulseaudio] source-output.c: module-stream-restore.id = "source-output-by-application-name:cava"
I: [pulseaudio] protocol-native.c: Final latency 249.99 ms = 124.99 ms + 125.00 ms
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Shouldn't this marked as "help wanted"? By the way, the issue is still produceable.
Not reproducible for me either (Android 8.1.0 aarch64). Here is the debug log output from pulseaudio
when I launched cava
(edited for readability):
D: [pulseaudio] conf-parser.c: Parsing configuration file '/data/data/com.termux/files/usr/etc/pulse/client.conf'
D: [pulseaudio] conf-parser.c: /data/data/com.termux/files/usr/etc/pulse/client.conf.d does not exist, ignoring.
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Unknown error 1
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: setpriority() worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 14.2
D: [pulseaudio] main.c: Compilation CFLAGS: -fstack-protector-strong -Oz -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux aarch64 4.9.82-perf+ #1 SMP PREEMPT Wed Feb 27 13:05:28 CST 2019
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is localhost.
I: [pulseaudio] main.c: Using runtime directory /data/user/0/com.termux/files/home/.config/pulse/localhost-runtime.
I: [pulseaudio] main.c: Using state directory /data/user/0/com.termux/files/home/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /data/data/com.termux/files/usr/lib/pulse-14.2/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: System supports high resolution timers
W: [pulseaudio] core.c: Failed to allocate shared posix-shm memory pool. Falling back to a normal memory pool.
D: [pulseaudio] memblock.c: Using private memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
I: [pulseaudio] database.c: Successfully opened 'device-volumes' database file '/data/user/0/com.termux/files/home/.config/pulse/localhost-device-volumes.simple'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] database.c: Successfully opened 'stream-volumes' database file '/data/user/0/com.termux/files/home/.config/pulse/localhost-stream-volumes.simple'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] database.c: Successfully opened 'card-database' database file '/data/user/0/com.termux/files/home/.config/pulse/localhost-card-database.simple'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulse-14.2/modules/module-detect.so': success
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulse-14.2/modules/module-jackdbus-detect.so': failure
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulse-14.2/modules/module-esound-protocol-unix.so': failure
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
I: [pulseaudio] module-default-device-restore.c: No previous default sink setting, ignoring.
I: [pulseaudio] module-default-device-restore.c: No previous default source setting, ignoring.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #6; argument: "").
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no other sinks detected.
D: [pulseaudio] module-device-restore.c: Database contains no data for key: sink:auto_null
D: [pulseaudio] module-device-restore.c: Database contains no (or invalid) data for key: sink:auto_null:null
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c: device.description = "Dummy Output"
I: [pulseaudio] sink.c: device.class = "abstract"
I: [pulseaudio] sink.c: device.icon_name = "audio-card"
D: [pulseaudio] module-device-restore.c: Database contains no data for key: source:auto_null.monitor
D: [pulseaudio] module-device-restore.c: Database contains no (or invalid) data for key: source:auto_null.monitor:null
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c: device.description = "Monitor of Dummy Output"
I: [pulseaudio] source.c: device.class = "monitor"
I: [pulseaudio] source.c: device.icon_name = "audio-input-microphone"
D: [null-sink] module-null-sink.c: Thread starting up
I: [null-sink] util.c: Failed to acquire real-time scheduling: Unknown error 0
D: [pulseaudio] sink.c: auto_null: state: INIT -> IDLE
D: [pulseaudio] source.c: auto_null.monitor: state: INIT -> IDLE
I: [pulseaudio] core.c: default_source: (unset) -> auto_null.monitor
D: [pulseaudio] module-device-restore.c: Database contains no (or invalid) data for key: sink:auto_null:null
I: [pulseaudio] core.c: default_sink: (unset) -> auto_null
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #8; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #7; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #9; argument: "").
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #10; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulse-14.2/modules/module-console-kit.so': failure
D: [pulseaudio] module.c: Checking for existence of '/data/data/com.termux/files/usr/lib/pulse-14.2/modules/module-systemd-login.so': failure
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #11; argument: "").
D: [pulseaudio] stream-interaction.c: Using role 'phone' as trigger role.
D: [pulseaudio] stream-interaction.c: Using roles 'music' and 'video' as cork roles.
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #12; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #14; argument: "").
I: [pulseaudio] sink.c: Created sink 1 "OpenSL_ES_sink" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c: device.description = "OpenSL ES Output"
I: [pulseaudio] sink.c: device.class = "abstract"
I: [pulseaudio] sink.c: device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 1 "OpenSL_ES_sink.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c: device.description = "Monitor of OpenSL ES Output"
I: [pulseaudio] source.c: device.class = "monitor"
I: [pulseaudio] source.c: device.icon_name = "audio-input-microphone"
D: [sles-sink] module-sles-sink.c: Thread starting up
D: [pulseaudio] sink.c: OpenSL_ES_sink: state: INIT -> IDLE
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: INIT -> IDLE
D: [pulseaudio] module-device-restore.c: Could not set format on sink OpenSL_ES_sink
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
I: [pulseaudio] module-always-sink.c: A new sink has been discovered. Unloading null-sink.
I: [pulseaudio] module.c: Loaded "module-sles-sink" (index: #15; argument: "").
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module.c: Unloading "module-null-sink" (index: #8).
I: [pulseaudio] core.c: default_sink: auto_null -> OpenSL_ES_sink
I: [pulseaudio] core.c: default_source: auto_null.monitor -> OpenSL_ES_sink.monitor
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] sink.c: auto_null: state: IDLE -> UNLINKED
I: [pulseaudio] main.c: Daemon startup successful.
D: [pulseaudio] source.c: auto_null.monitor: state: IDLE -> UNLINKED
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
I chatty : uid=10101(com.termux) /data/data/com.termux/files/usr/bin/pulseaudio identical 2 lines
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
D: [null-sink] module-null-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 0 "auto_null"
I: [pulseaudio] source.c: Freeing source 0 "auto_null.monitor"
I: [pulseaudio] module.c: Unloaded "module-null-sink" (index: #8).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to remove event.
I: [pulseaudio] client.c: Created 0 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 34, local 34
I: [pulseaudio] protocol-native.c: Got credentials: uid=10101 gid=10101 success=1
D: [pulseaudio] protocol-native.c: SHM possible: no
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
D: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: No SHM support
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for cava
I: [pulseaudio] client.c: Freed 0 "cava device list"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] client.c: Created 1 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 34, local 34
I: [pulseaudio] protocol-native.c: Got credentials: uid=10101 gid=10101 success=1
D: [pulseaudio] protocol-native.c: SHM possible: no
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
D: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: No SHM support
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for cava
D: [pulseaudio] module-stream-restore.c: Not restoring device for stream source-output-by-application-name:cava, because already set
D: [pulseaudio] module-intended-roles.c: Not setting device for stream audio for cava, because already set.
D: [pulseaudio] source-output.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink OpenSL_ES_sink becomes idle, timeout in 5 seconds.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
I: [pulseaudio] source-output.c: Created output 0 "audio for cava" on OpenSL_ES_sink.monitor with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source-output.c: media.name = "audio for cava"
I: [pulseaudio] source-output.c: application.name = "cava"
I: [pulseaudio] source-output.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] source-output.c: native-protocol.version = "34"
I: [pulseaudio] source-output.c: application.process.id = "8097"
I: [pulseaudio] source-output.c: application.process.user = "u0_a101"
I: [pulseaudio] source-output.c: application.process.host = "localhost"
I: [pulseaudio] source-output.c: application.process.binary = "cava"
I: [pulseaudio] source-output.c: application.process.machine_id = "localhost"
I: [pulseaudio] source-output.c: module-stream-restore.id = "source-output-by-application-name:cava"
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=4, prebuf=1, minreq=0 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=4, prebuf=4, minreq=4 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 249.99 ms = 124.99 ms + 125.00 ms
D: [pulseaudio] source.c: OpenSL_ES_sink.monitor: state: IDLE -> RUNNING
BTW, I noticed that bin/cava
incorrectly has /usr/local/lib
set in DT_RUNPATH
, which should be fixed by #8128. But I don't believe that is relevant to the issue here.
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Problem description
So i'm playing a music with pulse as the audio output. When i'm launching cava, It does not shows up a visualizer in terminal:
While building cava manually, it works:
What steps will reproduce the bug?
mpv
orcmus
, andpulseaudio
installed in your Termuxpulse
as audio outputWhat is the expected behavior?
There's no Incomming visual graphic.
System information
termux-info: