Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621272 - dev-db/mariadb-10.0.30 - CMake Error: Your current linker does not support VERSION command
Summary: dev-db/mariadb-10.0.30 - CMake Error: Your current linker does not support VE...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 09:57 UTC by Alex
Modified: 2017-07-05 12:41 UTC (History)
0 users

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


Attachments
CMakeError.log (CMakeError.log,131.42 KB, text/plain)
2017-06-09 09:57 UTC, Alex
Details
output of `emerge --info '=dev-db/mariadb-10.0.30::gentoo'` (emerge.info,5.96 KB, text/plain)
2017-06-09 10:00 UTC, Alex
Details
output of `emerge -pqv '=dev-db/mariadb-10.0.30::gentoo'` (emerge.pqv,383 bytes, text/plain)
2017-06-09 10:00 UTC, Alex
Details
complete build log (build.log,34.50 KB, text/plain)
2017-06-09 10:02 UTC, Alex
Details
The ebuild environment file (environment,239.83 KB, text/plain)
2017-06-09 10:03 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2017-06-09 09:57:48 UTC
Created attachment 475696 [details]
CMakeError.log

Can't emerge dev-db/mariadb, i've tried some versions and use flags(-openssl +yassl), result is the same. Emerge output gives: 

-- Performing Test SUPPORTS_VERSION_IN_LINK_SCRIPT
-- Performing Test SUPPORTS_VERSION_IN_LINK_SCRIPT - Failed
CMake Error at libmysql/CMakeLists.txt:289 (MESSAGE):
  Your current linker does not support VERSION command in linker scripts like
  a GNU ld or any compatible linker should.  Perhaps you're using gold?
  Either switch to GNU ld compatible linker or run cmake with
  -DDISABLE_LIBMYSQLCLIENT_SYMBOL_VERSIONING=TRUE to be able to complete the
  build

and in /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_32.x86/CMakeFiles/CMakeError.log i get large number of errors
Comment 1 Alex 2017-06-09 10:00:14 UTC
Created attachment 475698 [details]
output of `emerge --info '=dev-db/mariadb-10.0.30::gentoo'`
Comment 2 Alex 2017-06-09 10:00:42 UTC
Created attachment 475700 [details]
output of `emerge -pqv '=dev-db/mariadb-10.0.30::gentoo'`
Comment 3 Alex 2017-06-09 10:02:25 UTC
Created attachment 475702 [details]
complete build log
Comment 4 Alex 2017-06-09 10:03:03 UTC
Created attachment 475704 [details]
The ebuild environment file
Comment 5 Alex 2017-06-09 10:06:52 UTC
please help, for few months can't update the system
Comment 6 Alex 2017-06-09 10:56:06 UTC
Probably the key is "undefined reference to `mbscmp'", but i don't know how to fix it
Comment 7 Brian Evans (RETIRED) gentoo-dev 2017-06-09 12:38:41 UTC
Please make sure that binutils-config has the latest version selected.

In addition, try 10.0.31 which is in portage if that does not help
Comment 8 Alex 2017-06-10 06:59:04 UTC
Hi, Brian, thank you
I have last version of binutils-config

# equery l binutils-config
 * Searching for binutils-config ...
[IP-] [  ] sys-devel/binutils-config-5-r3:0

And as i noted, i've tried different versions, even 10.1.24.
Of cause i tried again 10.0.31, but the result was expected: 

 * ERROR: dev-db/mariadb-10.0.31::gentoo failed (configure phase):
 *   cmake failed
Comment 9 Alex 2017-06-10 07:04:42 UTC
Sorry, Brian, for my stupid answer)
Switching to i686-pc-linux-gnu-2.26.1 helped.
Thank you!