Package Details: mysql-clients 5.7.19-1

Git Clone URL: https://aur.archlinux.org/mysql.git (read-only)
Package Base: mysql
Description: MySQL client tools
Upstream URL: https://www.mysql.com/products/community/
Licenses: GPL
Conflicts: mariadb-clients
Provides: mariadb-clients=5.7.19
Submitter: Barthalion
Maintainer: Muflone
Last Packager: Muflone
Votes: 50
Popularity: 1.170377
First Submitted: 2013-04-25 19:13
Last Updated: 2017-07-29 20:10

Required by (13)

Sources (10)

Latest Comments

gamezelda commented on 2017-08-22 22:41

I get a lot of linker errors when building...:

[ 85%] Built target GenYaccEmbeddedSource
[ 97%] Built target sql_embedded
[ 97%] Built target mysqlserver
[ 97%] Linking CXX executable mysqltest_embedded
CMakeFiles/mysqltest_embedded.dir/__/__/client/mysqltest.cc.o: In function `connection_thread':
/tmp/yaourt-tmp-zealcharm/aur-mysql/src/mysql-5.7.19/client/mysqltest.cc:893: undefined reference to `mysql_thread_init'
/tmp/yaourt-tmp-zealcharm/aur-mysql/src/mysql-5.7.19/client/mysqltest.cc:908: undefined reference to `mysql_send_query'
/tmp/yaourt-tmp-zealcharm/aur-mysql/src/mysql-5.7.19/client/mysqltest.cc:926: undefined reference to `mysql_thread_end'
/tmp/yaourt-tmp-zealcharm/aur-mysql/src/mysql-5.7.19/client/mysqltest.cc:927: undefined reference to `my_thread_exit'
etc. etc. etc.

I have all my system updated to the latest of testing.

Any idea of what could be the cause?

Muflone commented on 2017-06-11 11:48

DOobR
Please be sure that your system is fully up-to-date.
I've just rebuilt the package in a clean chroot (extra-x86-64) without any issue

DOobR commented on 2017-06-11 00:12

% yaourt -Su
%

% makepkg -s
...
/aur-libmysqlclient/src/mysql-5.7.18/vio/viosslfactories.c:124:7: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
^~
...

sainoba commented on 2017-05-08 00:25

@Muflone
Thank you for your fast response.
It seems you are right. I was using Manjaro, which doesn't have the most up to date packages.

I tried installing mysql in actual Archlinux and I had no problems.

Muflone commented on 2017-05-06 22:47

@sainoba
please check if you have your system up to date.
if the error persists build in a clean root, I've just rebuilt the package without any issue.

sainoba commented on 2017-05-03 16:52

Compilation has failed with the following error message:

[ 48%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o
/home/sainoba/Downloads/mysql/src/mysql-5.7.18/sql/mysqld.cc: In function ‘int init_ssl()’:
/home/sainoba/Downloads/mysql/src/mysql-5.7.18/sql/mysqld.cc:3379:23: error: ‘OPENSSL_malloc_init’ was not declared in this scope
OPENSSL_malloc_init();
^
make[2]: *** [sql/CMakeFiles/sql.dir/build.make:5055: sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:7806: sql/CMakeFiles/sql.dir/all] Error 2

I tried it using:
$ git clone https://aur.archlinux.org/mysql.git
$ cd mysql
$ makepkg -cCifs

and yaourt. Same result.

Sirced commented on 2017-01-24 23:47

@mrrabinhalder @matoro

I was running into the same issue. I fixed it by manually removing my previous maraidb installation before installing. For me it was mariadb-clients, libmariasbclient and mariadb. Possibly they should be conflicting but aren"t.

Hope this helps.

mrrabinhalder commented on 2016-12-25 13:21

Compilation has failed with the following error message:

[ 53%] Linking CXX executable pfs_connect_attr-t
../libperfschema.a(pfs_instr.cc.o): In function `fct_update_file_derived_flags':
/home/rhalder/aur/yaourt-tmp-rhalder/aur-mysql/src/mysql-5.7.16/storage/perfschema/pfs_instr.cc:2087:(.text+0x7ba3): relocation truncated to fit: R_X86_64_16 against symbol `sanitize_file_class(PFS_file_class*)' defined in .text section in ../libperfschema.a(pfs_instr_class.cc.o)
../../innobase/libinnobase.a(dict0crea.cc.o): In function `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)':
/usr/include/c++/6.2.1/sstream:549:(.text+0x73c1): relocation truncated to fit: R_X86_64_16 against symbol `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@@GLIBCXX_3.4' defined in .plt section in /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/crt1.o
collect2: error: ld returned 1 exit status
make[2]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/build.make:197: storage/perfschema/unittest/pfs_connect_attr-t] Error 1
make[1]: *** [CMakeFiles/Makefile2:1705: storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

Any help?

matoro commented on 2016-09-14 03:45

Compilation is failing with the following error message:

CMakeFiles/mysqltest_embedded.dir/__/__/client/mysqltest.cc.o:(.data.rel+0x13e0): undefined reference to `my_charset_latin1'
collect2: error: ld returned 1 exit status
make[2]: *** [libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/build.make:99: libmysqld/examples/mysqltest_embedded] Error 1
make[1]: *** [CMakeFiles/Makefile2:7972: libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

List of packages I have installed: https://spit.mixtape.moe/view/raw/dd3f08c9
It's on a standard x86_64 laptop, kernel version 4.7.2. Any help?

Muflone commented on 2016-07-02 16:05

@colshacol
the 'provides' option is used to mark the package as a replacement for another package. If some application has mariadb like dependency (any package in the official repository cannot have a dependency on mysql), this package can be a candidate for replacement. Obviously the two packages are different in many ways.

All comments