Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688538 - media-sound/pulseaudio-12.2-r1 : /.../ld: ./.../libalsa-util.so: undefined reference to pa_alsa_ucm_device_update_available
Summary: media-sound/pulseaudio-12.2-r1 : /.../ld: ./.../libalsa-util.so: undefined re...
Status: RESOLVED DUPLICATE of bug 686206
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 09:09 UTC by Toralf Förster
Modified: 2019-06-30 11:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2019-06-23 09:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.47 KB, text/plain)
2019-06-23 09:09 UTC, Toralf Förster
Details
environment (environment,182.43 KB, text/plain)
2019-06-23 09:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.83 KB, application/x-bzip)
2019-06-23 09:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,30.32 KB, application/x-bzip)
2019-06-23 09:09 UTC, Toralf Förster
Details
media-sound:pulseaudio-12.2-r1:20190623-083843.log.bz2 (media-sound:pulseaudio-12.2-r1:20190623-083843.log.bz2,28.12 KB, application/x-bzip)
2019-06-23 09:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,103.77 KB, application/x-bzip)
2019-06-23 09:09 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-23 09:09:20 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu11 -pthread -O2 -pipe -march=native -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto -Wl,-O1 -Wl,--as-needed -o .libs/alsa-mixer-path-test tests/alsa_mixer_path_test-alsa-mixer-path-test.o  -lcheck ./.libs/libpulsecore-12.2.so ./.libs/libpulse.so ./.libs/libpulsecommon-12.2.so ./.libs/libalsa-util.so -lgdbm -lcap -lpthread -lrt -ldl -lm -pthread -Wl,-rpath -Wl,/usr/lib64/pulseaudio -Wl,-rpath -Wl,/usr/lib64/pulse-12.2/modules
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libalsa-util.so: undefined reference to `pa_alsa_ucm_device_update_available'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:6516: alsa-mixer-path-test] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-sound/pulseaudio-12.2-r1/work/pulseaudio-12.2-abi_x86_64.amd64/src'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_libressl-abi32+64-test_20190621-191902

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)


java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

emerge -qpvO media-sound/pulseaudio
[ebuild  N    ] media-sound/pulseaudio-12.2-r1  USE="X alsa alsa-plugin asyncns bluetooth caps dbus elogind gdbm glib gtk ipv6 libressl orc qt5 ssl tcpd test udev webrtc-aec -doc -equalizer -gconf -jack -libsamplerate -lirc -native-headset (-neon) -ofono-headset (-oss) -realtime (-selinux) -sox (-system-wide) -systemd -zeroconf" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-06-23 09:09:23 UTC
Created attachment 580532 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-23 09:09:26 UTC
Created attachment 580534 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-23 09:09:28 UTC
Created attachment 580536 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-23 09:09:31 UTC
Created attachment 580538 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-23 09:09:34 UTC
Created attachment 580540 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-23 09:09:37 UTC
Created attachment 580542 [details]
media-sound:pulseaudio-12.2-r1:20190623-083843.log.bz2
Comment 7 Toralf Förster gentoo-dev 2019-06-23 09:09:39 UTC
Created attachment 580544 [details]
temp.tbz2
Comment 8 Cedric Godin 2019-06-30 08:49:20 UTC
Same problem here after migration to new 17.1 profile:

Probably due to the fact that pkg-config doesn't return anything for alsa cflags:

enea /var/tmp/portage/media-sound/pulseaudio-12.2-r1/work # pkg-config --cflags alsa

enea /var/tmp/portage/media-sound/pulseaudio-12.2-r1/work # grep UCM pulseaudio-12.2-abi_x86_*/config.h
pulseaudio-12.2-abi_x86_32.x86/config.h:/* Have ALSA UCM? */
pulseaudio-12.2-abi_x86_32.x86/config.h:/* #undef HAVE_ALSA_UCM */
pulseaudio-12.2-abi_x86_64.amd64/config.h:/* Have ALSA UCM? */
pulseaudio-12.2-abi_x86_64.amd64/config.h:/* #undef HAVE_ALSA_UCM */

It should return -I/usr/include/alsa or something like that :

enea ~ # ll /usr/include/alsa/use-case.h 
-rw-r--r-- 1 root root 16699 30 jun 09:46 /usr/include/alsa/use-case.h
Comment 9 Cedric Godin 2019-06-30 09:06:46 UTC
Just to confirm:

Changed the alsa.pc file to:

enea ~ # cat /usr/lib64/pkgconfig/alsa.pc 

Name: alsa
Description: Advanced Linux Sound Architecture (ALSA) - Library
Version: 1.1.9
Requires: 
Libs: -L/usr/lib64 -lasound
Libs.private: -lm -ldl -lpthread -lrt
Cflags: -I/usr/include/alsa


and now no more udefined reference
Comment 10 Pacho Ramos gentoo-dev 2019-06-30 11:09:25 UTC

*** This bug has been marked as a duplicate of bug 686206 ***