<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Pulseaudio cannot be built on uclibc-based systems"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=87849">87849</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Pulseaudio cannot be built on uclibc-based systems
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>build-system
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bugzilla@landcroft.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>