Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442390 - dev-db/mysql-5.5.28 - mysql_config includes -lprobes_mysql in its output, missing lib causes packages that fail to emerge
Summary: dev-db/mysql-5.5.28 - mysql_config includes -lprobes_mysql in its output, mis...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: http://bugs.mysql.com/bug.php?id=60948
Whiteboard:
Keywords:
: 467492 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-08 22:16 UTC by Erik Zeek
Modified: 2014-04-25 01:09 UTC (History)
6 users (show)

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


Attachments
x11-libs:qt-sql-4.8.3:20121108-214728.log.gz (x11-libs:qt-sql-4.8.3:20121108-214728.log.gz,3.53 KB, text/plain)
2012-11-09 00:10 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2012-11-08 22:16:33 UTC
The mysql_config script references a -lprobes_mysql that doesn't exist.  This missing library causes many packages to fail to emerge (i.e. qt-sql).

mysql_config --libs_r
-L/usr/lib64/mysql -lmysqlclient_r -lpthread -lprobes_mysql -lz -lm -lrt -lssl -lcrypto -ldl

emerge  dev-db/mysql --info
Portage 2.2.0_alpha142 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.6.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.6.6-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
Timestamp of tree: Thu, 08 Nov 2012 21:15:01 +0000
ld GNU ld (GNU Binutils) 2.23
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.4
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo zeekec portage-backup x11 sunrise science kde java-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native -O2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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="-O2 -pipe -mtune=native -march=native -O2 -ggdb"
DISTDIR="/gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j 3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs collision-protect compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -mtune=native -march=native -O2 -ggdb"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j6 --load-average=18"
PKGDIR="/gentoo/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-i --no-p --omit-dir-times"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/gentoo/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/local/portage /gentoo/local/layman/portage-backup /gentoo/local/layman/x11 /gentoo/local/layman/sunrise /gentoo/local/layman/science /gentoo/local/layman/kde /gentoo/local/layman/java-overlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="16k_voice 256-color 32bit 3dnow 3dnowext 3ds 64bit R S3TC X a52 aac aacs aalib accessibility ace acl acpi additions addressbook aften agg aim aio airplay akonadi alac alaw alisp all_sfx alsa amarok amd64 amr anacron analogtv ancient animgif ansi ant antlr ao apache2 apng archive arpack artworkextra asdf aspell assistant astr async asyncns atm attica audacious audio audiofile audit auth authdaemond auto-completion autoipd automap automount autotools autotrace avahi bash-completion bazaar bcmath bdf berkdb binfilter bitmap biysk bl blas blender blender-game blksha1 bloodsuckermaps bluetooth bluray bonusscripts boo bookmarks boost branding btrfs bugzilla builder bwscheduler bzip2 cairo cal3d calendar canna caps cblas-external ccache cdaudio cdda cddb cdf cdinstall cdparanoia cdr cdrom cdsound cegui celt cgi chardet charmap checkpath chm chroot cilk cipher-aes-128 cipher-aes-192 cipher-aes-256 cipher-blowfish cjk clamav cleartype cli client clucene clutter cmake collab color colordiff compress consolekit context contrast contrib cpio cppunit cracklib cramfs crashreporter cron crypt cryptsetup css ctype cups curl curlwrappers custom-optimization cvs cvsgraph cxx d dap data dbus ddate debug-utils debugger declarative demo deprecated designer-plugin desktopglobe detex development devhelp device-mapper dga dhcp dia dirac discouraged diskio djvu dmraid dns docbook doom doom1 doom2 doomsday dosbox dot downloadorder dri drmaa dtmf dts dv dvb dvd dvdnav dvdr dvi dvipdfm ebook edd editor eds egl eigen elf emacs embedded emboss emf emovix enca encode enscript epspdf ethernet excel exceptions exif expoblending extensions extra extra-algorithms extra-cardsets extra-ciphers extra-phrases extra-tools extras faac faad facedetect faillog fakevim fam fancy fastcgi fat fax fbcondecor fcgi festival ffmpeg fftw filter finger firefox firefox3 firewalld fits flac flatfile flickr fluidsynth fmod fontconfig fontforge fonts foomaticdb fortran fortran95 fortune fpx freetts freetype frei0r ftp fts3 fuse g3dvl gadu galago games gbm gcdmaster gd gdal gdbm gdu geoip geolocation geos gif gimp git gkrellm glade glep gles gles1 gles2 glew glgd glib glut gmail gmath gme gml gmp gmtfull gmttria gnome gnome-print gnuplot gocr goffice gold gopher gost gpac gpg gphoto2 gpm grammar graphics graphicsmagick graphite graphviz grass groupwise gsf gsl gsm gstreamer gtk gtk3 gtkhtml gts guile h224 h281 h323 handbook handwriting hash hbci hddtemp hdf hdf5 hdri hesiod heterogeneous hexen hexenworld hfs high-ints highlight history holidays hou howl-compat html http httpd humanities hwinfo hwloc hyphenation i18n ical iconv icoutils icq icu id3 id3tag idb ide idea idn ignore-case image imagemagick imaging imap imlib infinality inifile inkjar inotify introspection iplayer ipv6 ipython irc isag ivr jabber jadetex jai java java6 javacomm javascript jbig jce jimi jit jmf john jpeg jpeg2k json kate kde kdecards kdepim kdrive kerberos keymap kig-scripting kipi konqueror kontact kpathsea kqemu kvm ladspa lame lapack largeterminal lasi latex latex3 lcdfilter lcms ldap lensfun libass libburn libcaca libffi libkms liblockfile libnotify libproxy libsamplerate libssh2 libtiger libv4l libv4l2 libvirtd libwww lightning lights live llvm lm_sensors lock log log4j log4p logrotate logviewer logwatch lqr lto lua luatex lvm lvm2 lxc lyrics lzma lzo mad mail maildir maps math mathml matplotlib matroska maui mbrola md5sum mdadm mdnsresponder-compat media melt memmap mercurial methodjit metis mhash midi mikmod mime minizip mixer mjpeg mmap mmx mmxext mng mod mod_python modplug modules mopac7 mount mozdom mozilla mp3 mp3tunes mp4 mpeg mpi_njtree mplayer mpqc mtp mudflap multilib multimedia multiprocess multitarget multiuser musepack music musicbrainz mysql mysqli na_dd na_dtv na_icons nas natspec nautilus ncat ncurses ndiff net netcdf nethack netpbm network network-cron networking new-clx new-login nfs nlpsolver nls nmap-update nntp nocd nodrm nosource nowin nowlistening nping npp nptl nsplugin nss nsscache nssdb ntfs ntfsprogs ntp numa numpy nut nuv oauth objc ocaml ocr ocrad octave odbcmanual odf ofa offensive offlinehelp offscreen ofx ogg ogm okteta okular omega openal openbabel openexr opengl openinventor openmp openssl opensslcrypt openstreetmap openvg openxml optimization optimize-cflags optimized-qmake opus orc osc oscar osd osdmenu osgapps osmesa ots pager pam pam_ssh pango panorama paranoidmsg parcheck parse-clocks parted parti patch patented pbins pbs pch pci pcntl pcre pcre16 pdf pdfannotextractor pdfimport pdl2 pdo perl pgplot phonon php phyp physfs pink pipe plasma player playlist plotutils plugins plutonia png pnm pogooglue policykit pop portage posix postfix postproc postscript ppds pppd prison private-headers proj projectm psf pstricks pth publishers pulseaudio pvr pylint python q32 q8 qalculate qd qemu qemu-ifup qhull qimageblitz qml qos qscintilla qt qt-dbus qt-faststart qt3support qt4 qthelp quesoglc quicktime quota quotes qwt r600-llvm-compiler radio rar raw rc5 rcs rdesktop readline redeyes regex remix remote remoteosd reports resources reviewboard rfc3779 rle rogue romio root rpc rpm rrdcgi rrdtool rss rtc rtf rtmp rtsp samba sasl sbcl scale0tilt scanfolder scanner schroedinger science scipy scotch screen script scripting sdk sdl sdl-image sdlgfx search search-index secure-delete semantic-desktop sensord server session setproctitle sftp sha512 shaders shadow shared-glapi sharedmem shine shm shmvideo shorten shout sid sift sigsegv sip sipim skins skype slp smbclient smbsharemodes smbtav2 smime smp sms smtp sndfile snmp soap sockets socks socks5 solver songs sou sound soundex sounds soup sourceview sox spamassassin sparse spatialite speech speex spell sql sqlite sqlite3 srt srtp sse sse2 sse3 sse4a ssh ssl stars startup-notification statistics stats stlport stream subject-rewrite subtitles subunit subversion suexec suid svg swat switcher symlink syslog system-sqlite systemtap sysvipc szip t1lib taamey taglib tcl tcmalloc tcpd templates tesseract tex4ht textures tga themedesigner themes theora thesaurus thin-splines threads threadsafe thumbnail thunar tidy tiff timezone tk tls tnt tokenizer toolbar tools torque track-src-odirect traits transcode translator truetype tts tv tv_check tv_combiner tv_pick_cgi tvtime twolame type3 udev udis86 udisks udunits umfpack uml unicode unique unlock-notify unzip upnp upower urandom urlpicpreview usb userlocales userpriv utempter utils uudeview uuid v4l vala valgrind vamp vcd vcdx vde vdr video videos vim vim-pager vim-syntax virt-network virtualbox virtuoso visibility vlm vnc voice vorbis vpx vserver vxml wav wavpack weather web webcam webdav webdav-neon webdav-serf webinterface webkit webm webp webpresence wide-unicode wifi wiki windeco wineappdb wininst winpopup wma wma-fixed wmf word-perfect wordperfect wpg wps wxwidgets wyfv x264 xa xanim xattr xcap xcb xcomposite xerces-c xetex xext xface xforms xforward xft xhtml xine xinerama xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xmpi xnest xorg xosd xplanet xpm xrandr xrender xscreensaver xsettings xsl xslt xtended xterm xv xvfb xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg yaepg yahoo youtube zeitgeist zeroconf zip zlib zoran zsh-completion zvbi" ALSA_CARDS="intel8x0 intel8x0m pxa2xx-ac97 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi cgid" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="btrfs crypt syslog biosdevname caps crypt-gpg ssh-client syslog" DVB_CARDS="af9005 bcm3510 cx18 cx231xx cx23885 mpc718 nxt200x sp8870 sp887x" 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 ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver scripting-javascript wiki-publisher scripting-beanshell" LINGUAS="en en_US" PHP_TARGETS="php5-5 php5-4 php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 ppc ppc64 ppc64abi32 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="canon canon630u canon_dr canon_pp hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s net pnm" USERLAND="GNU" VIDEO_CARDS="radeon r300 r600" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

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

dev-db/mysql-5.5.28 was built with the following:
USE="berkdb community (consolekit) embedded (multilib) perl (policykit) profiling ssl systemtap tcmalloc -cluster -debug -extraengine -jemalloc -latin1 -max-idx-128 -minimal (-selinux) -static -test"
CFLAGS="-O2 -pipe -mtune=native -march=native -O2 -ggdb -fno-strict-aliasing"
CXXFLAGS="-O2 -pipe -mtune=native -march=native -O2 -ggdb -fno-exceptions -fno-strict-aliasing -felide-constructors -fno-rtti -fno-implicit-templates -fno-strict-aliasing"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-09 00:04:07 UTC
Do you have an example build log of such failed emerge?
Comment 2 Erik Zeek 2012-11-09 00:10:00 UTC
Created attachment 328992 [details]
x11-libs:qt-sql-4.8.3:20121108-214728.log.gz

qt-sql build log
Comment 3 Brian Evans (RETIRED) gentoo-dev 2012-11-09 02:21:57 UTC
caused by USE="systemtap".  Suggest disabling until it can be sorted out.

@mysql-team: DTRACE creates the ${BUILDDIR}/probes_mysql.o but nothing seems to link or install it.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-04-28 03:30:32 UTC
*** Bug 467492 has been marked as a duplicate of this bug. ***
Comment 5 Brian Evans (RETIRED) gentoo-dev 2013-09-05 17:06:50 UTC
We should get an agreement on a mysql_config filter patch.

I posted one to mysql-extras overlay back in late June which is not yet released in any tarball.
I based it on the 5.1 series and added probes_mysql which is an internal library.

Comments on those patches are welcome.
Comment 6 coran.fisher@gmail.com 2014-02-19 00:26:52 UTC
I ran into this and can confirm that removing "systemtap" from use variables resolved it.  I was using mariadb
Comment 7 Hendrik v. Raven 2014-03-08 12:14:16 UTC
Hit the same bug with dev-db/mysql-5.5.32 with USE = -* minimal
mysql_config lists -lprobes_mysql, while it doesn't exists
Comment 8 Brian Evans (RETIRED) gentoo-dev 2014-04-25 01:09:28 UTC
Fixed with update to 5.5.37