Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538832 - media-sound/yoshimi-1.3.1: undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
Summary: media-sound/yoshimi-1.3.1: undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 18:12 UTC by Miroslav Šulc
Modified: 2016-12-09 08:11 UTC (History)
0 users

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


Attachments
build.log for command `LDFLAGS="-lpthread" MAKEOPTS="-j1" emerge -va1 yoshimi` (build.log,121.11 KB, text/x-log)
2015-02-04 18:13 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2015-02-04 18:12:14 UTC
Linking CXX executable yoshimi
/usr/bin/cmake -E cmake_link_script CMakeFiles/yoshimi.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=native -O2 -pipe    -Wl,-O1 -Wl,--as-needed CMakeFiles/yoshimi.dir/Misc/Config.cpp.o CMakeFiles/yoshimi.dir/Misc/SynthEngine.cpp.o CMakeFiles/yoshimi.dir/Misc/Bank.cpp.o CMakeFiles/yoshimi.dir/Mis
c/Microtonal.cpp.o CMakeFiles/yoshimi.dir/Misc/Part.cpp.o CMakeFiles/yoshimi.dir/Misc/XMLwrapper.cpp.o CMakeFiles/yoshimi.dir/Misc/MiscFuncs.cpp.o CMakeFiles/yoshimi.dir/Params/ADnoteParameters.cpp.o CMakeFiles/yoshimi.dir/Params/Envelope
Params.cpp.o CMakeFiles/yoshimi.dir/Params/FilterParams.cpp.o CMakeFiles/yoshimi.dir/Params/LFOParams.cpp.o CMakeFiles/yoshimi.dir/Params/SUBnoteParameters.cpp.o CMakeFiles/yoshimi.dir/Params/PADnoteParameters.cpp.o CMakeFiles/yoshimi.dir
/Params/Controller.cpp.o CMakeFiles/yoshimi.dir/Params/Presets.cpp.o CMakeFiles/yoshimi.dir/Params/PresetsStore.cpp.o CMakeFiles/yoshimi.dir/Synth/ADnote.cpp.o CMakeFiles/yoshimi.dir/Synth/Envelope.cpp.o CMakeFiles/yoshimi.dir/Synth/LFO.c
pp.o CMakeFiles/yoshimi.dir/Synth/OscilGen.cpp.o CMakeFiles/yoshimi.dir/Synth/SUBnote.cpp.o CMakeFiles/yoshimi.dir/Synth/Resonance.cpp.o CMakeFiles/yoshimi.dir/Synth/PADnote.cpp.o CMakeFiles/yoshimi.dir/Synth/BodyDisposal.cpp.o CMakeFiles
/yoshimi.dir/DSP/FFTwrapper.cpp.o CMakeFiles/yoshimi.dir/DSP/AnalogFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/FormantFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/SVFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/Filter.cpp.o CMakeFiles/yoshimi.dir/DSP/Un
ison.cpp.o CMakeFiles/yoshimi.dir/Effects/Alienwah.cpp.o CMakeFiles/yoshimi.dir/Effects/Chorus.cpp.o CMakeFiles/yoshimi.dir/Effects/Echo.cpp.o CMakeFiles/yoshimi.dir/Effects/EffectLFO.cpp.o CMakeFiles/yoshimi.dir/Effects/EffectMgr.cpp.o C
MakeFiles/yoshimi.dir/Effects/Effect.cpp.o CMakeFiles/yoshimi.dir/Effects/Phaser.cpp.o CMakeFiles/yoshimi.dir/Effects/Reverb.cpp.o CMakeFiles/yoshimi.dir/Effects/EQ.cpp.o CMakeFiles/yoshimi.dir/Effects/Distorsion.cpp.o CMakeFiles/yoshimi.dir/Effects/DynamicFilter.cpp.o CMakeFiles/yoshimi.dir/MusicIO/MusicClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/MusicIO.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackEngine.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaEngine.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackAlsaClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaJackClient.cpp.o CMakeFiles/yoshimi.dir/WidgetPDialUI.cxx.o CMakeFiles/yoshimi.dir/PresetsUI.cxx.o CMakeFiles/yoshimi.dir/EnvelopeUI.cxx.o CMakeFiles/yoshimi.dir/LFOUI.cxx.o CMakeFiles/yoshimi.dir/FilterUI.cxx.o CMakeFiles/yoshimi.dir/VirKeyboardUI.cxx.o CMakeFiles/yoshimi.dir/ConfigUI.cxx.o CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o CMakeFiles/yoshimi.dir/EffUI.cxx.o CMakeFiles/yoshimi.dir/BankUI.cxx.o CMakeFiles/yoshimi.dir/PartUI.cxx.o CMakeFiles/yoshimi.dir/MicrotonalUI.cxx.o CMakeFiles/yoshimi.dir/MasterUI.cxx.o CMakeFiles/yoshimi.dir/MasterMiscUI.cxx.o CMakeFiles/yoshimi.dir/ParametersUI.cxx.o CMakeFiles/yoshimi.dir/ConsoleUI.cxx.o CMakeFiles/yoshimi.dir/main.cpp.o  -o yoshimi -rdynamic -lfontconfig -lfreetype /usr/lib64/fltk/libfltk_images.so /usr/lib64/fltk/libfltk_forms.so /usr/lib64/fltk/libfltk_gl.so -lGL /usr/lib64/fltk/libfltk.so -lSM -lICE -lX11 -lXext -lm -lmxml -lasound -ljack -lfftw3f -lcairo -lz -ldl -Wl,-rpath,/usr/lib64/fltk:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/yoshimi.dir/MusicIO/JackEngine.cpp.o: undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/yoshimi.dir/build.make:2060: recipe for target 'yoshimi' failed
make[2]: *** [yoshimi] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/yoshimi-1.3.1/work/yoshimi-1.3.1_build'
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/yoshimi.dir/all' failed
make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/yoshimi-1.3.1/work/yoshimi-1.3.1_build'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2


when compiling it using `LDFLAGS="-lpthread" MAKEOPTS="-j1" emerge -va1 yoshimi` i get this error:

Linking CXX executable yoshimi
/usr/bin/cmake -E cmake_link_script CMakeFiles/yoshimi.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=native -O2 -pipe    -lpthread CMakeFiles/yoshimi.dir/Misc/Config.cpp.o CMakeFiles/yoshimi.dir/Misc/SynthEngine.cpp.o CMakeFiles/yoshimi.dir/Misc/Bank.cpp.o CMakeFiles/yoshimi.dir/Misc/Microtonal.cpp.o CMakeFiles/yoshimi.dir/Misc/Part.cpp.o CMakeFiles/yoshimi.dir/Misc/XMLwrapper.cpp.o CMakeFiles/yoshimi.dir/Misc/MiscFuncs.cpp.o CMakeFiles/yoshimi.dir/Params/ADnoteParameters.cpp.o CMakeFiles/yoshimi.dir/Params/EnvelopeParams.cpp.o CMakeFiles/yoshimi.dir/Params/FilterParams.cpp.o CMakeFiles/yoshimi.dir/Params/LFOParams.cpp.o CMakeFiles/yoshimi.dir/Params/SUBnoteParameters.cpp.o CMakeFiles/yoshimi.dir/Params/PADnoteParameters.cpp.o CMakeFiles/yoshimi.dir/Params/Controller.cpp.o CMakeFiles/yoshimi.dir/Params/Presets.cpp.o CMakeFiles/yoshimi.dir/Params/PresetsStore.cpp.o CMakeFiles/yoshimi.dir/Synth/ADnote.cpp.o CMakeFiles/yoshimi.dir/Synth/Envelope.cpp.o CMakeFiles/yoshimi.dir/Synth/LFO.cpp.o CMakeFiles/yoshimi.dir/Synth/OscilGen.cpp.o CMakeFiles/yoshimi.dir/Synth/SUBnote.cpp.o CMakeFiles/yoshimi.dir/Synth/Resonance.cpp.o CMakeFiles/yoshimi.dir/Synth/PADnote.cpp.o CMakeFiles/yoshimi.dir/Synth/BodyDisposal.cpp.o CMakeFiles/yoshimi.dir/DSP/FFTwrapper.cpp.o CMakeFiles/yoshimi.dir/DSP/AnalogFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/FormantFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/SVFilter.cpp.o CMakeFiles/yoshimi.dir/DSP/Filter.cpp.o CMakeFiles/yoshimi.dir/DSP/Unison.cpp.o CMakeFiles/yoshimi.dir/Effects/Alienwah.cpp.o CMakeFiles/yoshimi.dir/Effects/Chorus.cpp.o CMakeFiles/yoshimi.dir/Effects/Echo.cpp.o CMakeFiles/yoshimi.dir/Effects/EffectLFO.cpp.o CMakeFiles/yoshimi.dir/Effects/EffectMgr.cpp.o CMakeFiles/yoshimi.dir/Effects/Effect.cpp.o CMakeFiles/yoshimi.dir/Effects/Phaser.cpp.o CMakeFiles/yoshimi.dir/Effects/Reverb.cpp.o CMakeFiles/yoshimi.dir/Effects/EQ.cpp.o CMakeFiles/yoshimi.dir/Effects/Distorsion.cpp.o CMakeFiles/yoshimi.dir/Effects/DynamicFilter.cpp.o CMakeFiles/yoshimi.dir/MusicIO/MusicClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/MusicIO.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackEngine.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaEngine.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/JackAlsaClient.cpp.o CMakeFiles/yoshimi.dir/MusicIO/AlsaJackClient.cpp.o CMakeFiles/yoshimi.dir/WidgetPDialUI.cxx.o CMakeFiles/yoshimi.dir/PresetsUI.cxx.o CMakeFiles/yoshimi.dir/EnvelopeUI.cxx.o CMakeFiles/yoshimi.dir/LFOUI.cxx.o CMakeFiles/yoshimi.dir/FilterUI.cxx.o CMakeFiles/yoshimi.dir/VirKeyboardUI.cxx.o CMakeFiles/yoshimi.dir/ConfigUI.cxx.o CMakeFiles/yoshimi.dir/SUBnoteUI.cxx.o CMakeFiles/yoshimi.dir/ResonanceUI.cxx.o CMakeFiles/yoshimi.dir/OscilGenUI.cxx.o CMakeFiles/yoshimi.dir/ADnoteUI.cxx.o CMakeFiles/yoshimi.dir/PADnoteUI.cxx.o CMakeFiles/yoshimi.dir/EffUI.cxx.o CMakeFiles/yoshimi.dir/BankUI.cxx.o CMakeFiles/yoshimi.dir/PartUI.cxx.o CMakeFiles/yoshimi.dir/MicrotonalUI.cxx.o CMakeFiles/yoshimi.dir/MasterUI.cxx.o CMakeFiles/yoshimi.dir/MasterMiscUI.cxx.o CMakeFiles/yoshimi.dir/ParametersUI.cxx.o CMakeFiles/yoshimi.dir/ConsoleUI.cxx.o CMakeFiles/yoshimi.dir/main.cpp.o  -o yoshimi -rdynamic -lfontconfig -lfreetype /usr/lib64/fltk/libfltk_images.so /usr/lib64/fltk/libfltk_forms.so /usr/lib64/fltk/libfltk_gl.so -lGL /usr/lib64/fltk/libfltk.so -lSM -lICE -lX11 -lXext -lm -lmxml -lasound -ljack -lfftw3f -lcairo -lz -ldl -Wl,-rpath,/usr/lib64/fltk: 
/usr/lib64/fltk/libfltk_gl.so: undefined reference to `XGetUtf8FontAndGlyph'
collect2: error: ld returned 1 exit status
CMakeFiles/yoshimi.dir/build.make:2060: recipe for target 'yoshimi' failed
make[2]: *** [yoshimi] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/yoshimi-1.3.1/work/yoshimi-1.3.1_build'
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/yoshimi.dir/all' failed
make[1]: *** [CMakeFiles/yoshimi.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/yoshimi-1.3.1/work/yoshimi-1.3.1_build'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2


# emerge --info yoshimi
Portage 2.2.15 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.9.2, glibc-2.20-r1, 3.18.5-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.5-hardened-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    24642688 total,   9973904 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 04 Feb 2015 17:30:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.2.1 [disabled]  
app-shells/bash:          4.3_p33-r1
dev-java/java-config:     2.2.0  
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo proaudio fordfrog x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.netnitco.net http://mirrors.rit.edu/gentoo/ http://tux.rainside.sk/gentoo/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/src/proaudio.svn /usr/src/gentoo-fordfrog.git /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 apng berkdb bluetooth bluray branding bzip2 cairo caps cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd encode exif ffmpeg flac fluidsynth fuse gdbm gif gimp gnome-keyring gphoto2 gpm gtk gtk3 hardened iconv icu id3tag ios iptc ipv6 jack jackmidi jpeg jpeg2k justify ladspa lash lcms libnotify lm_sensors lto mad matroska midi mikmod mjpeg mmx mmxext mng mod modplug modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg openexr opengl openmp orc pam pango pax_kernel pcre pdf png policykit pulseaudio qt3support qt4 quicktime raw readline scanner sdl session smp smpeg spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg tiff timidity truetype udev udisks unicode upower urandom usb vdpau vorbis wacom wxwidgets x264 xattr xcb xkb xml xmp xtpax xv xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs cs_CZ de de_DE en en_GB en_US es es_ES it it_IT ja ja_JP pl pl_PL pt pt_PT ru ru_RU sk sk_SK zh zh_CN zh_HK zh_TW" NETBEANS_MODULES="*" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="fbdev glx intel i915 i965 modesetting nouveau vesa" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/yoshimi-1.2.4 was built with the following:
USE="" ABI_X86="64"
LDFLAGS="-lpthread"
Comment 1 Miroslav Šulc gentoo-dev 2015-02-04 18:13:19 UTC
Created attachment 395548 [details]
build.log for command `LDFLAGS="-lpthread" MAKEOPTS="-j1" emerge -va1 yoshimi`
Comment 2 Miroslav Šulc gentoo-dev 2015-04-23 11:28:20 UTC
today i tried to compile the package again using command line `LDFLAGS="-lpthread" MAKEOPTS="-j1" emerge -va1 yoshimi` and it compiled fine.
Comment 3 Tim Harder gentoo-dev 2016-12-09 08:11:02 UTC
Reopen if you can reproduce this with a current version.