Bug 87849 - Pulseaudio cannot be built on uclibc-based systems
Summary: Pulseaudio cannot be built on uclibc-based systems
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-30 02:09 UTC by Miguel Montenero
Modified: 2018-07-30 10:13 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Miguel Montenero 2014-12-30 02:09:03 UTC
The build crashes at the step of building module-null-sink.la because the build step omits "-lintl"

It seems to be straightforward problem with the ebuild configuration on what I imagine is a minority platform, i.e., uclibc.

If the build step is repeated manually with "-lintl" inserted, the step succeeds.

Reproducible: Always

Steps to Reproduce:
1. emerge -quDN pulseaudio
Actual Results:  
Crucial lines from temp/build.log are:


libtool: link: ( cd ".libs" && rm -f "module-cli.la" && ln -s "../module-cli.la" "module-cli.la" )
libtool: link: i686-gentoo-linux-uclibc-gcc -std=gnu99 -shared  -fPIC -DPIC  modules/.libs/module_simple_protocol_tcp_la-module-protocol-stub.o   -Wl,-rpath -Wl,/tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs -Wl,-rpath -Wl,/usr/lib/pulseaudio -Wl,-rpath -Wl,/usr/lib/pulse-5.0/modules -L/tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs ./.libs/libpulsecore-5.0.so -L/usr/lib ./.libs/libpulsecommon-5.0.so ./.libs/libpulse.so ./.libs/libprotocol-simple.so /tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs/libpulsecore-5.0.so /usr/lib/libltdl.so -lspeexdsp /tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs/libpulse.so /tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs/libpulsecommon-5.0.so -ljson-c /usr/lib/libiconv.so -lsndfile -lpthread -lrt -ldl -lm  -pthread -O2 -march=native -Wl,-z -Wl,nodelete -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,module-simple-protocol-tcp.so -o .libs/module-simple-protocol-tcp.so
libtool: link: ( cd ".libs" && rm -f "module-simple-protocol-tcp.la" && ln -s "../module-simple-protocol-tcp.la" "module-simple-protocol-tcp.la" )
libtool: link: i686-gentoo-linux-uclibc-gcc -std=gnu99 -shared  -fPIC -DPIC  modules/.libs/module-null-sink.o   -Wl,-rpath -Wl,/tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs -Wl,-rpath -Wl,/usr/lib/pulseaudio -L/tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs ./.libs/libpulsecore-5.0.so -L/usr/lib /usr/lib/libltdl.so -lspeexdsp /tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs/libpulse.so ./.libs/libpulsecommon-5.0.so ./.libs/libpulse.so /tmp/S/portage/media-sound/pulseaudio-5.0-r5/work/pulseaudio-5.0-abi_x86_32.x86/src/.libs/libpulsecommon-5.0.so -ljson-c /usr/lib/libiconv.so -lsndfile -lpthread -lrt -ldl -lm  -pthread -O2 -march=native -Wl,-z -Wl,nodelete -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,module-null-sink.so -o .libs/module-null-sink.so
modules/.libs/module-null-sink.o: In function `module_null_sink_LTX_pa__get_description':
module-null-sink.c:(.text+0x7a3): undefined reference to `libintl_dgettext'
modules/.libs/module-null-sink.o: In function `module_null_sink_LTX_pa__init':
module-null-sink.c:(.text+0xb81): undefined reference to `libintl_dgettext'
collect2: error: ld returned 1 exit status
Makefile:5723: recipe for target 'module-null-sink.la' failed

Expected Results:  
The build step should succeed.
Comment 1 GitLab Migration User 2018-07-30 10:13:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/280.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.