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

Bug 648622

Summary: dev-db/mariadb-10.2.12 : /.../ld: cannot find -lmariadbclient
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED CANTFIX    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-db:mariadb-10.2.12:20180223-111908.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-02-23 17:52:15 UTC
/usr/bin/x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=native -fno-strict-aliasing -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -Wunused -Wno-uninitialized -Wall -Wextra -Wformat-security -Wno-init-self -Wwrite-strings -Wshift-count-overflow -Wdeclaration-after-statement -DNDEBUG -DDBUG_OFF -DDBUG_OFF  -Wl,-O1 -Wl,--as-needed CMakeFiles/view.dir/view.c.o  -o view -lpthread ../mytap/libcctap.a libma_getopt.a -lmariadbclient -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmariadbclient
collect2: error: ld returned 1 exit status
make[2]: *** [libmariadb/unittest/libmariadb/CMakeFiles/view.dir/build.make:97: libmariadb/unittest/libmariadb/view] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mariadb-10.2.12/work/mysql-abi_x86_32.x86'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_abi32+64-test_20180221-194031

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)




emerge -qpv dev-db/mariadb
[blocks b     ] dev-db/mariadb[client-libs(+)] ("dev-db/mariadb[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.11)
[uninstall    ]  dev-db/mysql-connector-c-6.1.11  USE="ssl -static-libs" ABI_X86="32 (64) (-x32)" 
[nomerge      ] dev-db/mariadb-10.2.12  USE="backup pam perl server {test} xml -bindist -cracklib -debug -embedded -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc -tokudb -yassl" ABI_X86="32 (64) (-x32)" 
[ebuild  N    ]  virtual/mysql-5.6-r10  USE="server -embedded -static" 
[ebuild  N    ]  dev-perl/DBD-mysql-4.44.0  USE="ssl {test}" 
[ebuild  N    ] dev-db/mariadb-10.2.12  USE="backup pam perl server {test} xml -bindist -cracklib -debug -embedded -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc -tokudb -yassl" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-02-23 17:52:18 UTC
Created attachment 520734 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-23 17:52:21 UTC
Created attachment 520736 [details]
dev-db:mariadb-10.2.12:20180223-111908.log
Comment 3 Toralf Förster gentoo-dev 2018-02-23 17:52:24 UTC
Created attachment 520738 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-23 17:52:27 UTC
Created attachment 520740 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-23 17:52:30 UTC
Created attachment 520742 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-23 17:52:33 UTC
Created attachment 520744 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-23 17:52:36 UTC
Created attachment 520746 [details]
temp.tbz2
Comment 8 Brian Evans (RETIRED) gentoo-dev 2018-09-18 16:21:07 UTC
Version is removed from the repository and the current one works for me.