Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483434 - =dev-db/mariadb-5.5.31-r1[systemtap] does not install
Summary: =dev-db/mariadb-5.5.31-r1[systemtap] does not install
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
Depends on:
Reported: 2013-09-02 21:14 UTC by quarks
Modified: 2014-05-14 01:55 UTC (History)
2 users (show)

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

Build log (build.log,9.56 KB, text/plain)
2013-09-05 10:43 UTC, Svenne Krap
qlist dev-db/mariadb (qlist.log,22.53 KB, text/x-log)
2013-09-05 15:36 UTC, quarks

Note You need to log in before you can comment on or make changes to this bug.
Description quarks 2013-09-02 21:14:49 UTC
with the error :
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lprobes_mysql
collect2: ld returned 1 exit status
gmake: *** [mysql] Error 1
MySQL (thread-unsafe) disabled.
MySQL support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
 * ERROR: dev-qt/qtsql-4.8.5 failed (configure phase):
 *   ./configure failed
 * Call stack:
 *, line   93:  Called src_configure
 *   environment, line 3096:  Called qt4-build_src_configure
 *   environment, line 2739:  Called die
 * The specific snippet of code:
 *       ./configure ${conf} || die "./configure failed";

# emerge --info '=dev-qt/qtsql-4.8.5'
Portage (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
                         System Settings
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.2
KiB Mem:     4055844 total,   2361636 free
KiB Swap:    7087060 total,   7082348 free
Timestamp of tree: Mon, 02 Sep 2013 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
CFLAGS="-O3 -pipe -march=native -msse4.1"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -msse4.1"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" rsync:// rsync:// rsync:// rsync:// rsync:// rsync://"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 sse3 sse4_1 ssl tcpd unicode zlib" ABI_X86="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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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 rewrite setenvif speling status unique_id 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia intel" 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"

# emerge -pqv =dev-qt/qtsql-4.8.5

[ebuild  N    ] dev-qt/qtsql-4.8.5  USE="c++0x exceptions firebird mysql odbc qt3support sqlite (-aqua) -debug -freetds -oci8 -pch -postgres"

# emerge -pqv dev-db/mariadb
[ebuild   R   ] dev-db/mariadb-5.5.31-r1  USE="cluster community embedded extraengine latin1 max-idx-128 oqgraph pam perl profiling sphinx ssl systemtap tcmalloc -debug -jemalloc -minimal (-pbxt) (-selinux) -static {-test}"

Reproducible: Always
Comment 1 Sergey Popov gentoo-dev 2013-09-04 10:50:05 UTC
Do NOT CC arch teams yourself, please
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-05 09:59:33 UTC
Please attach the complete build log.
Comment 3 Svenne Krap 2013-09-05 10:43:19 UTC
Created attachment 357912 [details]
Build log
Comment 4 Svenne Krap 2013-09-05 10:43:55 UTC
Btw I am actually running dev-db/mysql-5.5.32
Comment 5 quarks 2013-09-05 14:22:06 UTC
Sorry i am noob at reporting gentoo bugs, just found out the 'fix' that mysql or mariadb systemtap depends on cmake use "DTRACE=1" which causing this exact behaviour, re-emerge mariadb / mysql without systemtap and recompiling qtsql will fix this bugs, although qtsql should automatically stops the emerge if systemtap being enabled in dev-db/mysql or dev-db/mariadb.
Comment 6 Davide Pesavento gentoo-dev 2013-09-05 14:34:08 UTC
so where is libprobes_mysql installed that the linker cannot find it?
Comment 7 quarks 2013-09-05 14:49:47 UTC
(In reply to Davide Pesavento from comment #6)
> so where is libprobes_mysql installed that the linker cannot find it?

Haven't got the chance to track it and mariadb or mysql maintainer would be best to answer that as i am only a user.
Comment 8 Davide Pesavento gentoo-dev 2013-09-05 14:54:34 UTC
Please post the output of `qlist dev-db/mysql` (or dev-db/mariadb) and `mysql_config --libs` when it's built with USE=systemtap
Comment 9 quarks 2013-09-05 15:24:34 UTC
(In reply to Davide Pesavento from comment #8)
> Please post the output of `qlist dev-db/mysql` (or dev-db/mariadb) and
> `mysql_config --libs` when it's built with USE=systemtap

# qlist dev-db/mysql

# mysql_config --libs
-L/usr/lib64/mysql -lmysqlclient -lpthread -lprobes_mysql -lz -lm -lrt -lssl -lcrypto -ldl

Do you need anything else? because i will reinstalling this machine
Comment 10 Davide Pesavento gentoo-dev 2013-09-05 15:29:53 UTC
(In reply to quarks from comment #9)
> (In reply to Davide Pesavento from comment #8)
> > Please post the output of `qlist dev-db/mysql` (or dev-db/mariadb) and
> > `mysql_config --libs` when it's built with USE=systemtap
> # qlist dev-db/mysql
> /etc/init.d/mysql
> /etc/conf.d/mysql
> /etc/logrotate.d/mysql

err... do you have mysql or mariadb installed? If you have mariadb you have to run `qlist dev-db/mariadb` instead
Comment 11 quarks 2013-09-05 15:36:05 UTC
Created attachment 357938 [details]
qlist dev-db/mariadb
Comment 12 quarks 2013-09-05 15:36:42 UTC
(In reply to quarks from comment #11)
> Created attachment 357938 [details]
> qlist dev-db/mariadb

duh, sorry attached above.
Comment 13 Davide Pesavento gentoo-dev 2013-09-05 15:44:06 UTC
Looks like mariadb isn't installing libprobes_mysql, assigning to mysql-bugs.
Comment 14 Brian Evans Gentoo Infrastructure gentoo-dev 2013-09-05 16:33:01 UTC
(In reply to Davide Pesavento from comment #13)
> Looks like mariadb isn't installing libprobes_mysql, assigning to mysql-bugs.

The real error is mysql_config adding extra internally built libs from the build process.

Bug 449390 details how Gentoo normally filters mysql_config via a patch but has not yet done so for mariadb as well as mysql 5.5+ series.

Bug 442390 also details this same issue and this may be a duplicate of that bug
Comment 15 Brian Evans Gentoo Infrastructure gentoo-dev 2013-11-13 18:45:31 UTC
Listed upstream as
Comment 16 Jorge Manuel B. S. Vicetto Gentoo Infrastructure gentoo-dev 2014-04-25 00:39:21 UTC
(In reply to Brian Evans from comment #15)
> Listed upstream as

As listed in upstream bug tracker, this has been fixed in 5.5.37 (pushed to the tree) and is planned to be fixed in 10.0.11 (not released yet).
Comment 17 Brian Evans Gentoo Infrastructure gentoo-dev 2014-05-14 01:55:19 UTC
10.0.11 is in the overlay, closing.