[opensuse-factory] MySQL 5.7 in TW
I wonder, why Tumbleweed still comes with MySQL 5.6. MySQL 5.7 is available in the server:database repository, but outdated (5.7.7 in server:database, current version is 5.7.17). Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
i'm having the same issue, i tested MySQL 5.7 yesterday from http://download.opensuse.org/repositories/server:/database/openSUSE_Tumblewe... stil has problems with (unix) socket connections... so cant connet to it.. Op 21-12-2016 om 00:49 schreef Bjoern Voigt:
I wonder, why Tumbleweed still comes with MySQL 5.6. MySQL 5.7 is available in the server:database repository, but outdated (5.7.7 in server:database, current version is 5.7.17).
Greetings, Björn
-- ______________________________________________________________________________________ Thank you My Twitter Page: http://twitter.com/OpenSimFan My Facebook page (Be my friend please :) ) http://www.facebook.com/andre.verwijs My Google+ page (follow me please ) André Verwijs - Google+ https://plus.google.com/111310545842863442992 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Wed, 2016-12-21 at 00:49 +0100, Bjoern Voigt wrote:
I wonder, why Tumbleweed still comes with MySQL 5.6. MySQL 5.7 is available in the server:database repository, but outdated (5.7.7 in server:database, current version is 5.7.17).
Hello Well answer is pretty simple, nobody did it, and I doubt that it is going to do itself. If you want to help feel free to send pr at mysql- packaging project on github [1]. Also as you can see in devel project mysql 5.7 is currently failing to build for Tumbleweed [2]. Cheers Martin 1. https://github.com/openSUSE/mysql-packaging 2. https://build.opensuse.org/package/show/server:database/mysql-commun ity-server-57 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlhac8AACgkQWyRdZ/3e aFevVg/7B7NI5BorZJWrB6GHw8fSgS31dLoIaXfo7gR2WID7LDguue9yAe7aAiR6 OwUMqn0ul8E06fyXDI1ueAqniw4dpalkyoyzzEeINP9L0ukLBI+QypoFyy40W2iE rFPKMxEJalyigBwuFxvltXA1MueydU7P/d0aqy3wW4jjtuMM9tIyLf2vbRIVz3J1 jbrGORelyk5toKpfn+K2cdtKtwU0ra/rsMMB78Wi8b17bnBfVI4OtI7ekwdPnK2Q j3xD67vyMXqPTQo1oLmAEEau0nig+e5isBNFNJT/8x6RUtnOtNEfF0DkJk4shZaj sKJAl6g5Wr8m+NWdiKp9s8E0L6rLrYW/xodX8qCgEGlHfch9/XiIWj82V2Lsw3bT N5mlto2y+G5aMwFhPJN4yh281uWjh/B53TLptY0wHH3AMCcSDcXQKiuxeTRqj+ln xJtOP8BKJUKkvCoc/puVqGWDlEcxeJqN9pbtpPJWtgsiuNx5oE2KcOVMsgtWqIDf zxaRE7Q3Vx3y1Ybr6tuj89633docM6ikVP0h8wphSNmMCUDji41PjjVLiL5SiP40 OosiMZ9bh79sNZuUqzNSwVrbHKWsJlRmIhs8sw6K57aLWeWF4hFpTS0r599p4x// I5O512q9VW/WE+d1rePJcwXa+bkau9Pm1BKFFt5gmxd858lV0PU= =8TBe -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Martin Pluskal wrote:
On Wed, 2016-12-21 at 00:49 +0100, Bjoern Voigt wrote:
I wonder, why Tumbleweed still comes with MySQL 5.6. MySQL 5.7 is available in the server:database repository, but outdated (5.7.7 in server:database, current version is 5.7.17).
Hello
Well answer is pretty simple, nobody did it, and I doubt that it is going to do itself. If you want to help feel free to send pr at mysql- packaging project on github [1]. Also as you can see in devel project mysql 5.7 is currently failing to build for Tumbleweed [2].
Cheers
Martin
1. https://github.com/openSUSE/mysql-packaging 2. https://build.opensuse.org/package/show/server:database/mysql-community-serv... Thanks. But such a PR (for 5.7.14, not 5.7.17) already exists ("Update to mysql 5.7.14 #49" - https://github.com/openSUSE/mysql-packaging/pull/49) and it is merged.
The version 5.7.14 is also available at mysql.com for openSUSE, but the openSUSE server:database repository still serves 5.7.7-rc. How this repository can be updated from https://github.com/openSUSE/mysql-packaging ? Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 21.12.2016 21:26, Bjoern Voigt wrote:
Martin Pluskal wrote:
On Wed, 2016-12-21 at 00:49 +0100, Bjoern Voigt wrote:
I wonder, why Tumbleweed still comes with MySQL 5.6. MySQL 5.7 is available in the server:database repository, but outdated (5.7.7 in server:database, current version is 5.7.17).
Hello
Well answer is pretty simple, nobody did it, and I doubt that it is going to do itself. If you want to help feel free to send pr at mysql- packaging project on github [1]. Also as you can see in devel project mysql 5.7 is currently failing to build for Tumbleweed [2].
Cheers
Martin
1. https://github.com/openSUSE/mysql-packaging 2. https://build.opensuse.org/package/show/server:database/mysql-community-serv... Thanks. But such a PR (for 5.7.14, not 5.7.17) already exists ("Update to mysql 5.7.14 #49" - https://github.com/openSUSE/mysql-packaging/pull/49) and it is merged. Yes, and it also fails to build
The version 5.7.14 is also available at mysql.com for openSUSE, but the openSUSE server:database repository still serves 5.7.7-rc.
You can update packages from git via something like: # osc branch server:database/mysql-community-server-57 # osc co branched-package # git clone git@github.com:openSUSE/mysql-packaging.git # cd branched-package # ../mysql-packaging/update-package.sh Cheers M -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Martin Pluskal wrote:
You can update packages from git via something like: # osc branch server:database/mysql-community-server-57 # osc co branched-package # git clone git@github.com:openSUSE/mysql-packaging.git # cd branched-package # ../mysql-packaging/update-package.sh I tried to update the mysql-packaging scripts to MySQL 5.7.17.
MySQL 5.7.17 compiles with disabled (default) libwrap support. You can try this with the RPM source packages from mysql.com. But with libwrap support enabled, I still get error. Maybe someone has an idea. It seems to be a small CMake or GCC-6 error: MySQL 5.7 does not compile with libwrap support on Tumbleweed #53 https://github.com/openSUSE/mysql-packaging/issues/53 Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2016-12-22 14:18, Bjoern Voigt wrote:
Martin Pluskal wrote:
You can update packages from git via something like: # osc branch server:database/mysql-community-server-57 # osc co branched-package # git clone git@github.com:openSUSE/mysql-packaging.git # cd branched-package # ../mysql-packaging/update-package.sh I tried to update the mysql-packaging scripts to MySQL 5.7.17.
MySQL 5.7.17 compiles with disabled (default) libwrap support. You can try this with the RPM source packages from mysql.com.
But with libwrap support enabled, I still get error. Maybe someone has an idea. It seems to be a small CMake or GCC-6 error:
MySQL 5.7 does not compile with libwrap support on Tumbleweed #53 https://github.com/openSUSE/mysql-packaging/issues/53
Yeah because there's no -lwrap to be seen on the command line. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Jan Engelhardt wrote:
MySQL 5.7 does not compile with libwrap support on Tumbleweed #53 https://github.com/openSUSE/mysql-packaging/issues/53 Yeah because there's no -lwrap to be seen on the command line. I though this too. But "-lwrap is already in the Make-generated C++ command line.
$ make [...] [ 97%] Linking CXX executable pfs_connect_attr-t cd /home/abuild/rpmbuild/BUILD/mysql-5.7.17/build/storage/perfschema/unittest && /usr/bin/cmake -E cmake_link_script CMakeFiles/pfs_connect_attr-t.dir/link.txt --verbose=1 /usr/bin/c++ -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -DPIC -fPIC -DFORCE_INIT_OF_VARS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter -Wno-error -felide-constructors -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -std=gnu++03 -DDBUG_OFF -Wl,--as-needed -pie -Wl,-z,relro,-z,now CMakeFiles/pfs_connect_attr-t.dir/pfs_connect_attr-t.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/sql/sql_builtin.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/mysys/string.c.o -o pfs_connect_attr-t -lpthread ../../../unittest/mytap/libmytap.so ../libperfschema.a ../../archive/libarchive.a -lz ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -lz -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../libperfschema.a ../../../sql/libsql.a ../../../sql/libbinlog.a ../../../sql/librpl.a ../../../sql/libmaster.a ../../../sql/libslave.a ../../../sql/libsql.a ../../../mysys/libmysys.a ../../../mysys_ssl/libmysys_ssl.a ../../../vio/libvio.a -lssl -lcrypto -ldl ../../../strings/libstrings.a ../../../dbug/libdbug.a ../../../regex/libregex.a ../../../mysys/libmysys.a -lz ../libperfschema.a ../../archive/libarchive.a ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -laio -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../../../plugin/fulltext/libngram_parser.a -lwrap -lcrypt -lssl -lcrypto -ldl ../../../libbinlogevents/lib/libbinlogevents.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a -lz ../../../strings/libstrings.a -lm -lrt -latomic -lpthread ../../../sql/libsql.a(socket_connection.cc.o): In function `Mysqld_socket_listener::listen_for_connection_event()': /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:938: undefined reference to `request_init(request_info*, ...)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:940: undefined reference to `sock_host(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:943: undefined reference to `hosts_access(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:951: undefined reference to `eval_client(request_info*)' collect2: error: ld returned 1 exit status Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 2016-12-22 22:47, Bjoern Voigt wrote:
Jan Engelhardt wrote:
MySQL 5.7 does not compile with libwrap support on Tumbleweed #53 https://github.com/openSUSE/mysql-packaging/issues/53 Yeah because there's no -lwrap to be seen on the command line. I though this too. But "-lwrap is already in the Make-generated C++ command line.
But you know that order is important in the linker command line. And -lwrap comes rather early in this one:
$ make [...] [ 97%] Linking CXX executable pfs_connect_attr-t cd /home/abuild/rpmbuild/BUILD/mysql-5.7.17/build/storage/perfschema/unittest && /usr/bin/cmake -E cmake_link_script CMakeFiles/pfs_connect_attr-t.dir/link.txt --verbose=1 /usr/bin/c++ -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -DPIC -fPIC -DFORCE_INIT_OF_VARS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter -Wno-error -felide-constructors -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -std=gnu++03 -DDBUG_OFF -Wl,--as-needed -pie -Wl,-z,relro,-z,now CMakeFiles/pfs_connect_attr-t.dir/pfs_connect_attr-t.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/sql/sql_builtin.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/mysys/string.c.o -o pfs_connect_attr-t -lpthread ../../../unittest/mytap/libmytap.so ../libperfschema.a ../../archive/libarchive.a -lz ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -lz -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../libperfschema.a ../../../sql/libsql.a ../../../sql/libbinlog.a ../../../sql/librpl.a ../../../sql/libmaster.a ../../../sql/libslave.a ../../../sql/libsql.a ../../../mysys/libmysys.a ../../../mysys_ssl/libmysys_ssl.a ../../../vio/libvio.a -lssl -lcrypto -ldl ../../../strings/libstrings.a ../../../dbug/libdbug.a ../../../regex/libregex.a ../../../mysys/libmysys.a -lz ../libperfschema.a ../../archive/libarchive.a ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -laio -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../../../plugin/fulltext/libngram_parser.a -lwrap -lcrypt -lssl -lcrypto -ldl ../../../libbinlogevents/lib/libbinlogevents.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a -lz ../../../strings/libstrings.a -lm -lrt -latomic -lpthread ../../../sql/libsql.a(socket_connection.cc.o): In function `Mysqld_socket_listener::listen_for_connection_event()': /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:938: undefined reference to `request_init(request_info*, ...)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:940: undefined reference to `sock_host(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:943: undefined reference to `hosts_access(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:951: undefined reference to `eval_client(request_info*)' collect2: error: ld returned 1 exit status
Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Dec 23, 2016 at 2:23 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Thursday 2016-12-22 22:47, Bjoern Voigt wrote:
Jan Engelhardt wrote:
MySQL 5.7 does not compile with libwrap support on Tumbleweed #53 https://github.com/openSUSE/mysql-packaging/issues/53 Yeah because there's no -lwrap to be seen on the command line. I though this too. But "-lwrap is already in the Make-generated C++ command line.
But you know that order is important in the linker command line. And -lwrap comes rather early in this one:
-lwrap comes after sql/libsql.a, so any reference to symbols from libwrap *in* sql/libsql.a should be resolved or do I miss something obvious?
$ make [...] [ 97%] Linking CXX executable pfs_connect_attr-t cd /home/abuild/rpmbuild/BUILD/mysql-5.7.17/build/storage/perfschema/unittest && /usr/bin/cmake -E cmake_link_script CMakeFiles/pfs_connect_attr-t.dir/link.txt --verbose=1 /usr/bin/c++ -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -DPIC -fPIC -DFORCE_INIT_OF_VARS -Wno-unused-but-set-variable -fno-strict-aliasing -Wno-unused-parameter -Wno-error -felide-constructors -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -std=gnu++03 -DDBUG_OFF -Wl,--as-needed -pie -Wl,-z,relro,-z,now CMakeFiles/pfs_connect_attr-t.dir/pfs_connect_attr-t.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/sql/sql_builtin.cc.o CMakeFiles/pfs_connect_attr-t.dir/__/__/__/mysys/string.c.o -o pfs_connect_attr-t -lpthread ../../../unittest/mytap/libmytap.so ../libperfschema.a ../../archive/libarchive.a -lz ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -lz -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../libperfschema.a ../../../sql/libsql.a ../../../sql/libbinlog.a ../../../sql/librpl.a ../../../sql/libmaster.a ../../../sql/libslave.a ../../../sql/libsql.a ../../../mysys/libmysys.a ../../../mysys_ssl/libmysys_ssl.a ../../../vio/libvio.a -lssl -lcrypto -ldl ../../../strings/libstrings.a ../../../dbug/libdbug.a ../../../regex/libregex.a ../../../mysys/libmysys.a -lz ../libperfschema.a ../../archive/libarchive.a ../../blackhole/libblackhole.a ../../csv/libcsv.a ../../federated/libfederated.a ../../heap/libheap.a ../../innobase/libinnobase.a -laio -llz4 ../../myisam/libmyisam.a ../../myisammrg/libmyisammrg.a ../../partition/libpartition.a ../../../plugin/fulltext/libngram_parser.a -lwrap -lcrypt -lssl -lcrypto -ldl ../../../libbinlogevents/lib/libbinlogevents.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a -lz ../../../strings/libstrings.a -lm -lrt -latomic -lpthread ../../../sql/libsql.a(socket_connection.cc.o): In function `Mysqld_socket_listener::listen_for_connection_event()': /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:938: undefined reference to `request_init(request_info*, ...)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:940: undefined reference to `sock_host(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:943: undefined reference to `hosts_access(request_info*)' /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:951: undefined reference to `eval_client(request_info*)' collect2: error: ld returned 1 exit status
Greetings, Björn -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Friday 2016-12-23 12:45, Andrei Borzenkov wrote:
-lwrap comes after sql/libsql.a, so any reference to symbols from libwrap *in* sql/libsql.a should be resolved or do I miss something obvious?
Oh yeah, now I see it:
../../../sql/libsql.a(socket_connection.cc.o): In function `Mysqld_socket_listener::listen_for_connection_event()': /home/abuild/rpmbuild/BUILD/mysql-5.7.17/sql/conn_handler/socket_connection.cc:940: undefined reference to `sock_host(request_info*)'
libsql.a references "request_init" and others as a C++ mangling mode, i.e. it looks for "_Z5sock_hostP12request_info" rather than "sock_host". This is because tcpd.h fails to use 'extern "C"'. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
André Verwijs
-
Bjoern Voigt
-
Jan Engelhardt
-
Martin Pluskal