Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630098

Summary: dev-db/lib_mysqludf_sys-0.0.3 : !!! doexe: lib_mysqludf_sys.so does not exist
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: mysql-bugs, treecleaner, vivo75
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-02-04
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 630404    
Attachments: emerge-info.txt
dev-db:lib_mysqludf_sys-0.0.3:20170906-132810.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-09-06 17:38:13 UTC
>>> Install lib_mysqludf_sys-0.0.3 into /var/tmp/portage/dev-db/lib_mysqludf_sys-0.0.3/image/ category dev-db
!!! doexe: lib_mysqludf_sys.so does not exist
 * ERROR: dev-db/lib_mysqludf_sys-0.0.3::gentoo failed (install phase):
 *   doexe failed
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-systemd_libressl_20170902-185407

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *



emerge -qpv dev-db/lib_mysqludf_sys
[ebuild  N    ] dev-db/lib_mysqludf_sys-0.0.3
Comment 1 Toralf Förster gentoo-dev 2017-09-06 17:38:17 UTC
Created attachment 492812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-06 17:38:20 UTC
Created attachment 492814 [details]
dev-db:lib_mysqludf_sys-0.0.3:20170906-132810.log
Comment 3 Toralf Förster gentoo-dev 2017-09-06 17:38:23 UTC
Created attachment 492816 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-06 17:38:26 UTC
Created attachment 492818 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-06 17:38:29 UTC
Created attachment 492820 [details]
etc.portage.tbz2
Comment 6 Pacho Ramos gentoo-dev 2017-09-07 08:01:08 UTC
This shouldn't happen as /usr/include/mysql/my_global.h is provided by mysql ebuild, what is the status of that package on your tinderbox? Is it present? With what USE flags?
Comment 7 Toralf Förster gentoo-dev 2017-09-07 15:22:18 UTC
(In reply to Pacho Ramos from comment #6)
mr-fox / # emerge -pvq mysql
[ebuild   R   ] virtual/mysql-5.6-r9  USE="server%* -embedded -static" 

mr-fox / # ls -l /usr/include/mysql/my_global.h 
ls: cannot access '/usr/include/mysql/my_global.h': No such file or directory

mr-fox / # ls -l /usr/include/mysql/
total 164
-rw-r--r-- 1 root root  3527 Aug 17 12:05 errmsg.h
-rw-r--r-- 1 root root  1602 Aug 17 12:05 ma_list.h
-rw-r--r-- 1 root root  4329 Aug 17 12:05 ma_pvio.h
drwxr-xr-x 2 root root    29 Sep  3 10:10 mariadb
-rw-r--r-- 1 root root 17223 Aug 17 12:05 mariadb_com.h
-rw-r--r-- 1 root root  2593 Aug 17 12:05 mariadb_ctype.h
-rw-r--r-- 1 root root  8199 Aug 17 12:05 mariadb_dyncol.h
-rw-r--r-- 1 root root 11227 Aug 17 12:05 mariadb_stmt.h
-rw-r--r-- 1 root root  1557 Sep  3 10:09 mariadb_version.h
-rw-r--r-- 1 root root  4111 Aug 17 12:05 ma_tls.h
drwxr-xr-x 2 root root    94 Sep  3 10:10 mysql
-rw-r--r-- 1 root root 43551 Sep  3 09:46 mysqld_error.h
-rw-r--r-- 1 root root 40533 Sep  3 09:44 mysql.h
drwxr-xr-x 4 root root  4096 Sep  3 10:10 server


mr-fox / # emerge -pvq mariadb
[ebuild   R   ] dev-db/mariadb-10.2.8  USE="backup cracklib libressl pam perl server systemd -bindist -debug -embedded -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemtap -tcmalloc {-test} -tokudb -xml -yassl" ABI_X86="(64) -32 (-x32)"
Comment 8 Pacho Ramos gentoo-dev 2017-09-07 16:47:24 UTC
Then, the issue is because that header is not provided by mariadb (while it works with mysql). How can we get that header from mariadb?
Comment 9 Francesco Riosa 2017-09-07 20:03:18 UTC
Hi, just stepping around here, not a user of mysqludf, but mariadb-10.1 _does_ install that header:

qfile  /usr/include/mysql/my_global.h
dev-db/mariadb (/usr/include/mysql/my_global.h)

$ pkg-config mariadb --cflags-only-I
-I/usr/include/mysql -I/usr/include/mysql/..

$ /usr/bin/mysql_config --cflags
-I/usr/include/mysql -I/usr/include/mysql/..

Just a shoot in the dark:
Maybe `pkg-config mysql` is used instead of `pkg-config mariadb`?
Comment 10 Brian Evans (RETIRED) gentoo-dev 2017-09-07 20:10:47 UTC
(In reply to Francesco Riosa from comment #9)
> Hi, just stepping around here, not a user of mysqludf, but mariadb-10.1
> _does_ install that header:
> 

MariaDB 10.2 moves this header to /usr/include/mysql/server/.  I don't know of an easy way to detect where the header is besides hard coding it.  The config programs will not refer to it.

Perhaps we need to patch in this location for CFLAGS.  It may cause some troubles with mysql.h existing in both mysql and mysql/server though.  Some interesting results may come about.
Comment 11 Pacho Ramos gentoo-dev 2017-09-08 09:54:31 UTC
We will need a tracker bug to handle this change in headers location as it looks to break several reverse deps (at least, a lot of dev-db/lib_mysqludf* look affected by this)
Comment 12 Toralf Förster gentoo-dev 2017-09-08 16:42:16 UTC
(In reply to Pacho Ramos from comment #11)
yep, dev-python/mysql-python-1.2.3-r1  is affected too
Comment 13 Brian Evans (RETIRED) gentoo-dev 2017-09-08 17:46:26 UTC
(In reply to Toralf Förster from comment #12)
> (In reply to Pacho Ramos from comment #11)
> yep, dev-python/mysql-python-1.2.3-r1  is affected too

FWIW, dev-python/mysql-python can drop the "#include <my_config.h>" as it is for ancient HAVE_OPENSSL detection which is forced on with >=dev-db/{mysql,mariadb}-5.5.0
Comment 14 Pacho Ramos gentoo-dev 2018-03-11 10:47:25 UTC
Removed from the tree