PulseAudio fails to build on 14.04

Bug #1452824 reported by Githlar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

I attempted to add --enable-webrtc-aec to PulseAudio in 14.04.

I downloaded the source via 'apt-get source pulseaudio'

I downloaded the build dependencies via 'apt-get build-dep pulseaudio'

I downloaded the libwebrtc-audio-processing-dev requirement for the WebRTC echo cancellation

I added the configuration switch --enable-webrtc-aec to debian/rules

Then, when I attempted to build via 'dpkg-buildpackage -uc -us -b', I got this error:

In file included from /usr/include/x86_64-linux-gnu/sys/soundcard.h:1:0,
                 from utils/padsp.c:35:
utils/padsp.c: In function 'dsp_ioctl':
utils/padsp.c:2280:14: error: 'SOUND_PCM_READ_RATE_is_obsolete' undeclared (first use in this function)
         case SOUND_PCM_READ_RATE:
              ^
utils/padsp.c:2280:14: note: each undeclared identifier is reported only once for each function it appears in
utils/padsp.c:2288:14: error: 'SOUND_PCM_READ_CHANNELS_is_obsolete' undeclared (first use in this function)
         case SOUND_PCM_READ_CHANNELS:
              ^
utils/padsp.c:2296:14: error: 'SOUND_PCM_READ_BITS_is_obsolete' undeclared (first use in this function)
         case SOUND_PCM_READ_BITS:
              ^

I then removed my --enable-webrtc-aec change to debian/rules and I get the same error. I also tried building PulseAudio 5.0 from source and had the same issue. How was this package built in the first place? Is there something extra that's required and not in the build-deps? I the current version of libc6-dev (the provider of /usr/include/x86_64-linux-gnu/soundcard.h) now unusable for building PulseAudio without additional patches?

Tags: trusty
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Interesting there is no evidence of successful 14.04 builds after this bug was reported...

https://launchpad.net/ubuntu/+source/pulseaudio

tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.