Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662826 - dev-db/mysql-5.7.23 : /.../sha2_password_common.cc:152:3: error: EVP_MD_CTX_reset was not declared in this scope
Summary: dev-db/mysql-5.7.23 : /.../sha2_password_common.cc:152:3: error: EVP_MD_CTX_r...
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: PATCH
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-08-05 08:46 UTC by Toralf Förster
Modified: 2018-10-14 01:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2018-08-05 08:46 UTC, Toralf Förster
Details
dev-db:mysql-5.7.23:20180805-083740.log (dev-db:mysql-5.7.23:20180805-083740.log,229.45 KB, text/plain)
2018-08-05 08:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.88 KB, text/plain)
2018-08-05 08:46 UTC, Toralf Förster
Details
environment (environment,169.43 KB, text/plain)
2018-08-05 08:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.29 KB, application/x-bzip)
2018-08-05 08:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,187.28 KB, application/x-bzip)
2018-08-05 08:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,48.33 KB, application/x-bzip)
2018-08-05 08:46 UTC, Toralf Förster
Details
Fix building with <libressl-2.7 (mysql_bug662826.patch,615 bytes, patch)
2018-10-13 01:07 UTC, Thomas Deutschmann (RETIRED)
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 2018-08-05 08:46:29 UTC
/var/tmp/portage/dev-db/mysql-5.7.23/work/mysql/sql/auth/sha2_password_common.cc: In member function ‘virtual bool sha2_password::SHA256_digest::retrieve_digest(unsigned char*, unsigned int)’:
/var/tmp/portage/dev-db/mysql-5.7.23/work/mysql/sql/auth/sha2_password_common.cc:152:3: error: ‘EVP_MD_CTX_reset’ was not declared in this scope
   EVP_MD_CTX_reset(md_context);
   ^~~~~~~~~~~~~~~~
/var/tmp/portage/dev-db/mysql-5.7.23/work/mysql/sql/auth/sha2_password_common.cc:152:3: note: suggested alternative: ‘EVP_MD_CTX_create’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl-test_20180728-001933

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-db/mysql
[blocks b     ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.3.8)
[uninstall    ]  dev-db/mariadb-10.3.8  USE="backup libressl pam perl server {test} xml -bindist (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc -tokudb -yassl" ABI_X86="(64) -32 (-x32)" 
[ebuild  N    ] dev-db/mysql-5.7.23  USE="libressl perl server {test} (-client-libs) -cracklib -debug -jemalloc -latin1 -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc -yassl" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-08-05 08:46:32 UTC
Created attachment 542462 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-05 08:46:35 UTC
Created attachment 542464 [details]
dev-db:mysql-5.7.23:20180805-083740.log
Comment 3 Toralf Förster gentoo-dev 2018-08-05 08:46:39 UTC
Created attachment 542466 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-05 08:46:42 UTC
Created attachment 542468 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-05 08:46:45 UTC
Created attachment 542470 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-05 08:46:48 UTC
Created attachment 542472 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-05 08:46:52 UTC
Created attachment 542474 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-10-13 01:07:10 UTC
Created attachment 550958 [details, diff]
Fix building with <libressl-2.7
Comment 9 Larry the Git Cow gentoo-dev 2018-10-13 23:30:59 UTC
The bug has been referenced in the following commit(s):

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

commit 90f28c8ff5cf894d67240c6acaae538d9f564c19
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-10-13 14:32:32 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-10-13 14:32:32 +0000

    Add 20018_all_mysql-5.7.23-fix-libressl-support.patch
    
    Bug: https://bugs.gentoo.org/662826
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 20018_all_mysql-5.7.23-fix-libressl-support.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2018-10-14 01:21:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03afe8693d0935688fc27cf6b72b5c044645c9a8

commit 03afe8693d0935688fc27cf6b72b5c044645c9a8
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-10-14 01:21:08 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-10-14 01:21:24 +0000

    dev-db/mysql: rev bump
    
    - Add USE=mecab to build MeCab full-text parser plugin
    
    - Enable libevent support
    
    - Fix multiple build issues
    
    - Fix tests
    
    - Adjust ebuild style
    
    Bug: https://bugs.gentoo.org/658822
    Closes: https://bugs.gentoo.org/662816
    Closes: https://bugs.gentoo.org/662826
    Package-Manager: Portage-2.3.50, Repoman-2.3.11
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mysql/Manifest                              |   1 +
 dev-db/mysql/metadata.xml                          |   1 +
 ...{mysql-5.7.23.ebuild => mysql-5.7.23-r1.ebuild} | 421 ++++++++++++---------
 3 files changed, 242 insertions(+), 181 deletions(-)