Jump to content

Photo

MySQL 5.7.* install issues

- - - - - server mysql db sql

Best Answer mlinuxgada , 21 October 2016 - 07:18 AM

When I skipped the header checks, all went good, the server is up and running ok.

Will keep that ebuild for me /obviously I didnt make it quite right/. Will dig into the docs, to see how its the correct way.

Thanks, you can close the topic

Go to the full post »


4 replies to this topic

#1
mlinuxgada

mlinuxgada

    Member

  • Members
  • PipPip
  • 11 posts

Hi, 

Currently I am using the layman mysql, its 5.7.12 atm. But it not upped in months. 

I tried to fiddle with the ebuilds

 - copied the latest one as mysql-5.7.15.ebuild,

 - ebuild mysql-5.7.15.ebuild manifest

all went just fine, but at the end I receive :
 

-- Installing: /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/share/mysql/magic
-- Installing: /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/share/aclocal/mysql.m4
-- Installing: /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/share/mysql/mysql.server
 * Making Convenience links for mysqlcheck multi-call binary
 * Building default my.cnf (5.6)
 * Adjusting to prefix /
 *   my.cnf.ok ...                                                                                                                    [ ok ]
 * Creating initial directories
 * Including support files and sample configurations
 * Header files have changed between ABIs.
 * --- /var/tmp/portage/dev-db/mysql-5.7.15/temp/.multilib_header_cksum 2016-10-18 19:31:00.892131266 +0300
 * +++ /var/tmp/portage/dev-db/mysql-5.7.15/temp/.multilib_header_cksum.new     2016-10-18 19:31:06.632131397 +0300
 * @@ -10,6 +10,7 @@
 *  931919434 13470 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/service_command.h
 *  2987720505 1384 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/thread_type.h
 *  39760184 13897 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/plugin_audit.h.pp
 * +2782043840 1443 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysqlx_version.h
 *  4220503078 1489 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/service_thd_engine_lock.h
 *  1955776921 14902 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/sql_state.h
 *  1175938711 1506 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/my_list.h
 * @@ -43,6 +44,7 @@
 *  3200460594 26101 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/plugin.h
 *  819488767 2682 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/service_thread_scheduler.h
 *  3234572590 2760 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/service_mysql_alloc.h
 * +947087210 2791 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysqlx_error.h
 *  4221559651 2821 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/my_xml.h
 *  3848574317 2837 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/mysql/psi/mysql_sp.h
 *  1075151809 2878 /var/tmp/portage/dev-db/mysql-5.7.15/image/usr/include/mysql/sslopt-longopts.h
 * ERROR: dev-db/mysql-5.7.15::x-portage failed (install phase):
 *   Header checksum mismatch, aborting.
 *

My USE flags atm are:

[root@tangra][/usr/local/portage/dev-db/mysql]# emerge -pv mysql 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-db/mysql-5.7.15:0/20::x-portage [5.7.11:0/20::mysql] USE="openssl perl server -debug -embedded -extraengine -jemalloc -latin1 -libressl -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

[root@tangra][/usr/local/portage/dev-db/mysql

emerge --info -> http://pastebin.com/d5Z0vJA8

 

I guess I am doing smth wrong /obviously/. How can I proceed from there?

Thanks.

 

 

 



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 376 posts

paste ebuild from your local repository


www.funtoo.org

#3
mlinuxgada

mlinuxgada

    Member

  • Members
  • PipPip
  • 11 posts

paste ebuild from your local repository

 

http://pastebin.com/9813E1hd



#4
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 376 posts

so, you also need to use eclasses from mysql overlay too.


www.funtoo.org

#5
mlinuxgada

mlinuxgada

    Member

  • Members
  • PipPip
  • 11 posts
✓  Best Answer

When I skipped the header checks, all went good, the server is up and running ok.

Will keep that ebuild for me /obviously I didnt make it quite right/. Will dig into the docs, to see how its the correct way.

Thanks, you can close the topic





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users