Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502026 - media-sound/mpd-0.18.8 - ld: /usr/lib64/libvorbisfile.so: undefined reference to symbol 'ogg_stream_init'
Summary: media-sound/mpd-0.18.8 - ld: /usr/lib64/libvorbisfile.so: undefined reference...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 19:03 UTC by Small_Penguin
Modified: 2014-03-11 14:38 UTC (History)
9 users (show)

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


Attachments
mpd-0.18.8-build.log.bz2 (mpd-0.18.8-build.log.bz2,9.11 KB, application/x-bzip)
2014-02-21 19:03 UTC, Small_Penguin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2014-02-21 19:03:18 UTC
This is with gcc-4.8.2.

emerge --info:
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.12.11+ x86_64)
=================================================================
System uname: Linux-3.12.11+-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16389608 total,  10474512 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Fri, 21 Feb 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo x11 <snip>
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fno-ident -ggdb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-march=native -O2 -pipe -fno-ident -ggdb"
EMERGE_DEFAULT_OPTS="--jobs 10 --quiet-build=n --select=n --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LANG="de_DE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
USE="7zip X a52 aac acpi alsa amd64 apache2 avx bash-completion berkdb branding bzip2 cairo cdda cdr cli console
kit cracklib cups curl custom-cflags custom-cxxflags cxx dbus dri dts dvd dvdr dvdread emboss encode exif faac faad fam ffmpeg firefox flac fortran ftp fuse gdbm gif gtk iconv idn imagemagick imap ipv6 jpeg kdehiddenvisibility lame lcms libnotify lm_sensors mad matroska mime mmx mng modules mp3 mp4 mpeg multilib musepack ncurses nls nptl nsplugin ogg openal opengl openmp pam pango pch pcre pdf png policykit postscript ppds qt3support qt4 readline recode sdl session sse sse2 sse3 sse4 sse41 sse42 sse4_1 sse5 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vcd vdpau vorbis wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1" ELIBC="glibc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LINGUAS="de" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" USERLAND="GNU" VIDEO_CARDS="radeon" XFCE_PLUGINS="menu logout trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Reproducible: Always

Actual Results:  
Build failure.

Expected Results:  
Build successful.
Comment 1 Small_Penguin 2014-02-21 19:03:57 UTC
Created attachment 370974 [details]
mpd-0.18.8-build.log.bz2
Comment 2 Steve Arnold archtester gentoo-dev 2014-03-08 07:56:35 UTC
Yup, same thing happens with openembbeded, including a slightly different error with an older version of mpd.  Masking libvorbis-1.3.4 and rebuilding with the previous version is at least a workaround for now.  Somewhere in the 1.3.4 build config is some nasty underlinking...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-03-08 08:02:56 UTC
(In reply to Steve Arnold from comment #2)
> Yup, same thing happens with openembbeded, including a slightly different
> error with an older version of mpd.  Masking libvorbis-1.3.4 and rebuilding
> with the previous version is at least a workaround for now.  Somewhere in
> the 1.3.4 build config is some nasty underlinking...

I don't know about that, the libvorbis pkg-config files correctly list 'ogg' in Requires.private:   (using libX11 as comparison here as proof of consept)

$ pkg-config --libs x11
-lX11 
$ pkg-config --libs --static x11
-lX11 -lpthread -lxcb -lXau -lXdmcp 

$ objdump -p /usr/lib64/libX11.so.6.3.0|grep NEEDED
  NEEDED               libxcb.so.1
  NEEDED               libdl.so.2
  NEEDED               libc.so.6

$ pkg-config --libs vorbis
-lvorbis 
$ pkg-config --libs --static vorbis
-lvorbis -lm -logg 

$ objdump -p /usr/lib64/libvorbis.so.0.4.7 |grep NEEDED
  NEEDED               libm.so.6
  NEEDED               libogg.so.0
  NEEDED               libc.so.6

So, I believe the bug is in MPD
Comment 4 Tim Harder gentoo-dev 2014-03-09 03:00:59 UTC
I haven't been able to reproduce this, but according to the changelog it might be fixed in 0.18.9. Someone please test and see.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2014-03-11 01:01:40 UTC
I can't seem to recreate it with mpd-0.18.9 or mpd-0.18.8 now either.
Comment 6 Dan Johnson 2014-03-11 14:38:45 UTC
I can still reproduce the original issue when I emerge =media-sound/mpd-0.18.8, but it is resolved with =media-sound/mpd-0.18.9