Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebuilding pulseaudio with avahi exits with error #18977

Closed
Denzy7 opened this issue Jan 15, 2024 · 0 comments · Fixed by #18981
Closed

rebuilding pulseaudio with avahi exits with error #18977

Denzy7 opened this issue Jan 15, 2024 · 0 comments · Fixed by #18981
Labels
bug report Something is not working properly

Comments

@Denzy7
Copy link
Contributor

Denzy7 commented Jan 15, 2024

Problem description

172/536] Linking target src/pulse/libpulse.so
FAILED: src/pulse/libpulse.so 
arm-linux-androideabi-clang  -o src/pulse/libpulse.so src/pulse/libpulse.so.p/channelmap.c.o src/pulse/libpulse.so.p/context.c.o src/pulse/libpulse.so.p/direction.c.o src/pulse/libpulse.so.p/error.c.o src/pulse/libpulse.so.p/ext-device-manager.c.o src/pulse/libpulse.so.p/ext-device-restore.c.o src/pulse/libpulse.so.p/ext-stream-restore.c.o src/pulse/libpulse.so.p/format.c.o src/pulse/libpulse.so.p/introspect.c.o src/pulse/libpulse.so.p/mainloop-api.c.o src/pulse/libpulse.so.p/mainloop-signal.c.o src/pulse/libpulse.so.p/mainloop.c.o src/pulse/libpulse.so.p/operation.c.o src/pulse/libpulse.so.p/proplist.c.o src/pulse/libpulse.so.p/rtclock.c.o src/pulse/libpulse.so.p/sample.c.o src/pulse/libpulse.so.p/scache.c.o src/pulse/libpulse.so.p/stream.c.o src/pulse/libpulse.so.p/subscribe.c.o src/pulse/libpulse.so.p/thread-mainloop.c.o src/pulse/libpulse.so.p/timeval.c.o src/pulse/libpulse.so.p/utf8.c.o src/pulse/libpulse.so.p/util.c.o src/pulse/libpulse.so.p/volume.c.o src/pulse/libpulse.so.p/xmalloc.c.o -L/data/data/com.termux/files/usr/lib -L/home/denzy/.termux-build/pulseaudio/tmp/libaaudio -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libpulse.so -Wl,-rpath=/data/data/com.termux/files/usr/lib -march=armv7-a -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now '-Wl,-rpath,$ORIGIN/..:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' -Wl,-rpath-link,/home/denzy/.termux-build/pulseaudio/build/src src/libpulsecommon-16.99.so -Wl,-z,nodelete -Wl,-version-script=/home/denzy/.termux-build/pulseaudio/src/src/pulse/map-file -lm -pthread /data/data/com.termux/files/usr/lib/libdbus-1.so -ldl -liconv -Wl,--end-group
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_glib_mainl
oop_free' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_glib_mainloop_get_api' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_glib_mainloop_new' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_drain' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_flush' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_free' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_get_latency' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_new' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_read' failed: symbol not defined
ld.lld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_write' failed: symbol not defined
clang-17: error: linker command failed with exit code 1 (use -v to see invocation)

What steps will reproduce the bug?

build env

$ ./scripts/setup-archlinux.sh
$ yay -S ncurses5-compat-libs makedepend python2-bin jdk17-openjdk
$ doas ln -s /usr/lib/jvm/java-17-openjdk /usr/lib/jvm/java-17-openjdk-amd64
$ ./build-package.sh -I -a arm avahi 
# build success
$ ./build-package.sh -I -a arm pulseaudio

What is the expected behavior?

success build

System information

termux-info:

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=4874
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main/ stable main
# root-repo (sources.list.d/root.list)
deb https://packages-cf.termux.dev/apt/termux-root/ root stable
Updatable packages:
command-not-found/stable 2.4.0-7 arm [upgradable from: 2.4.0-6]
iproute2/stable 6.7.0 arm [upgradable from: 6.6.0]
termux-tools version:
1.40.5
Android version:
11
Kernel build information:
Linux localhost 4.14.193+-ab355 #1 SMP PREEMPT Wed Aug 17 19:04:45 CST 2022 armv8l Android
Device manufacturer:
realme
Device model:
RMX3231
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants