symbol export missing: pa_encoding_from_string

Bug #1796324 reported by Chris West
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PulseAudio
Fix Released
Medium
pulseaudio (Debian)
Fix Released
Unknown
pulseaudio (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Bionic by Daniel van Vugt

Bug Description

This specific release of libpulsecommon-11.1 is missing the symbol `pa_encoding_from_string`.

This was fixed upstream: https://bugs.freedesktop.org/show_bug.cgi?id=103806
This has a Debian bug open, but I suspect it's been fixed by bumping major version: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882029

This results in unexpected:

 = note: /usr/bin/ld: /home/faux/code/rust-tone/target/debug/deps/liblibpulse_binding-f64ba2ce37bb3bc6.rlib(libpulse_binding-f64ba2ce37bb3bc6.libpulse_binding.3msoaviz-cgu.13.rcgu.o): undefined reference to symbol 'pa_encoding_from_string'
          //usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so: error adding symbols: DSO missing from command line
          collect2: error: ld returned 1 exit status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libpulse-dev 1:11.1-1ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
Uname: Linux 4.15.0-36-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: faux 2964 F.... pulseaudio
 /dev/snd/controlC2: faux 2964 F.... pulseaudio
 /dev/snd/pcmC0D0p: faux 2964 F...m pulseaudio
 /dev/snd/controlC0: faux 2964 F.... pulseaudio
Date: Fri Oct 5 15:37:38 2018
InstallationDate: Installed on 2018-04-25 (162 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Release amd64 (20180425)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/22/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1402
dmi.board.asset.tag: Default string
dmi.board.name: TUF Z370-PRO GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1402:bd05/22/2018:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnTUFZ370-PROGAMING:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
In , Felipe Sateler (fsateler) wrote :

Forwarded from #882029. This function is found in format.h but it not exported in map-file and thus unavailable on most (all?) linux systems. I don't know if the function is supposed to be exported, or maybe it should be private instead.

#882029: https://bugs.debian.org/882029

Revision history for this message
In , Tanu Kaskinen (tanuk) wrote :

I'm 99.3% certain that it's supposed to be exported. It's documented, and internally it's only used in format.c, so if it isn't meant to be exported, then the declaration should be removed from format.h since it's not needed.

Patch submitted:
https://patchwork.freedesktop.org/patch/192885/

Revision history for this message
In , Tanu Kaskinen (tanuk) wrote :

The patch is now in master.

Revision history for this message
Chris West (faux) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the detailed bug report. It looks like the fix first appeared in PulseAudio version 12.0. So "Fix Released" for Ubuntu 18.10 and nominated 18.04 to receive a fix.

Changed in pulseaudio (Ubuntu):
status: New → Fix Released
tags: added: next-bionic-update
Changed in pulseaudio (Debian):
status: Unknown → Confirmed
Changed in pulseaudio:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I am still experiencing this on latest Bionic. So apparently the fix is not really released?

Here are the exact versions used:

$ apt-cache policy libpulse0
libpulse0:
  Installed: 1:11.1-1ubuntu7.2
  Candidate: 1:11.1-1ubuntu7.2
  Version table:
 *** 1:11.1-1ubuntu7.2 500
        500 http://pl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.1-1ubuntu7 500
        500 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Changed in pulseaudio (Debian):
status: Confirmed → Fix Released
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.