Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685948 - dev-db/mysql-5.7.26 : /.../mysqld.cc:3422:3: error: OPENSSL_malloc_init was not declared in this scope
Summary: dev-db/mysql-5.7.26 : /.../mysqld.cc:3422:3: error: OPENSSL_malloc_init was n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support 686588
  Show dependency tree
 
Reported: 2019-05-14 12:20 UTC by Toralf Förster
Modified: 2019-05-24 10:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.39 KB, text/plain)
2019-05-14 12:20 UTC, Toralf Förster
Details
dev-db:mysql-5.7.26:20190514-113027.log.bz2 (dev-db:mysql-5.7.26:20190514-113027.log.bz2,93.11 KB, application/x-bzip)
2019-05-14 12:20 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,190.89 KB, text/plain)
2019-05-14 12:20 UTC, Toralf Förster
Details
environment (environment,193.89 KB, text/plain)
2019-05-14 12:20 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.58 KB, application/x-bzip)
2019-05-14 12:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,187.12 KB, application/x-bzip)
2019-05-14 12:21 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,139.09 KB, application/x-bzip)
2019-05-14 12:21 UTC, Toralf Förster
Details
Update-LibreSSL-patch-for-MySQL.patch (Update-LibreSSL-patch-for-MySQL.patch,1.25 KB, patch)
2019-05-22 03:16 UTC, Stefan Strogin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-05-14 12:20:43 UTC
      |        ^~~~~~~~
/var/tmp/portage/dev-db/mysql-5.7.26/work/mysql/sql/mysqld.cc: In function ‘int init_ssl()’:
/var/tmp/portage/dev-db/mysql-5.7.26/work/mysql/sql/mysqld.cc:3422:3: error: ‘OPENSSL_malloc_init’ was not declared in this scope; did you mean ‘OPENSSL_malloc’?
 3422 |   OPENSSL_malloc_init();
      |   ^~~~~~~~~~~~~~~~~~~
      |   OPENSSL_malloc

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20190510-225704

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.1 *
  [2]   rust-1.34.1



emerge -qpvO dev-db/mysql
[ebuild  N    ] dev-db/mysql-5.7.26  USE="libressl perl server -cjk (-client-libs) -cracklib -debug -experimental -jemalloc -latin1 -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -test -yassl"
Comment 1 Toralf Förster gentoo-dev 2019-05-14 12:20:46 UTC
re-appeared - maybe gcc-9.1 related?
Comment 2 Toralf Förster gentoo-dev 2019-05-14 12:20:49 UTC
Created attachment 576632 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-14 12:20:52 UTC
Created attachment 576634 [details]
dev-db:mysql-5.7.26:20190514-113027.log.bz2
Comment 4 Toralf Förster gentoo-dev 2019-05-14 12:20:55 UTC
Created attachment 576636 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2019-05-14 12:20:57 UTC
Created attachment 576638 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2019-05-14 12:21:00 UTC
Created attachment 576640 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-14 12:21:03 UTC
Created attachment 576642 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2019-05-14 12:21:06 UTC
Created attachment 576644 [details]
temp.tbz2
Comment 9 Stefan Strogin gentoo-dev 2019-05-22 02:07:24 UTC
> re-appeared - maybe gcc-9.1 related?

Reproduces with gcc-8.3. I suppose it is libressl-2.9.x related.
Comment 10 Stefan Strogin gentoo-dev 2019-05-22 03:16:04 UTC
Created attachment 577542 [details, diff]
Update-LibreSSL-patch-for-MySQL.patch

A patch for a patch in the repository for patches:) https://gitweb.gentoo.org/proj/mysql-extras.git/
Comment 11 Larry the Git Cow gentoo-dev 2019-05-24 10:51:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=1b4d361a49193fcf6cad352352eecf4db65c202e

commit 1b4d361a49193fcf6cad352352eecf4db65c202e
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2019-05-24 10:44:44 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-05-24 10:45:41 +0000

    Respin LibreSSL patches
    
    Bug: https://bugs.gentoo.org/669216
    Bug: https://bugs.gentoo.org/685948
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 20018_all_mysql-5.7.25-fix-libressl-support.patch  |  3 ++-
 ...ercona-server-5.7.25-fix-libressl-support.patch | 23 ++++++++++++++++++++--
 2 files changed, 23 insertions(+), 3 deletions(-)
Comment 12 Larry the Git Cow gentoo-dev 2019-05-24 10:52:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491d46e33f37c95727e1d51fb70fccbd97bb67b1

commit 491d46e33f37c95727e1d51fb70fccbd97bb67b1
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-05-24 10:49:45 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-05-24 10:49:45 +0000

    dev-db/mysql: fix LibreSSL support
    
    Closes: https://bugs.gentoo.org/685948
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mysql/Manifest            | 1 +
 dev-db/mysql/mysql-5.7.26.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)