← Back to team overview

desktop-packages team mailing list archive

[Bug 1452824] [NEW] PulseAudio fails to build on 14.04

 

Public bug reported:

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?

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1452824

Title:
  PulseAudio fails to build on 14.04

Status in pulseaudio package in Ubuntu:
  New

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1452824/+subscriptions


Follow ups

References