Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592506 - dev-db/mariadb fails to build with >=dev-libs/openssl-1.1.0
Summary: dev-db/mariadb fails to build with >=dev-libs/openssl-1.1.0
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: openssl-1.1
  Show dependency tree
 
Reported: 2016-08-30 22:48 UTC by Lars Wendler (Polynomial-C)
Modified: 2018-11-21 20:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,80.32 KB, text/plain)
2016-08-30 22:48 UTC, Lars Wendler (Polynomial-C)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) gentoo-dev 2016-08-30 22:48:18 UTC
Created attachment 444516 [details]
build.log

[  4%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o
cd /var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql-abi_x86_64.amd64/mysys_ssl && /usr/bin/x86_64-pc-linux-gnu-g++  -DHAVE_CONFIG_H -DHAVE_OPENSSL -I/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/include -I/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl   -march=native -mtune=native -O2 -pipe -felide-constructors -fno-strict-aliasing  -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -DNDEBUG -DDBUG_OFF   -fPIC -o CMakeFiles/mysys_ssl.dir/my_md5.cc.o -c /var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc: In function ‘void md5_result(MD5_CONTEXT*, uchar*)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc:86:29: error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
   EVP_MD_CTX_cleanup(context);
                             ^
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc: In function ‘void my_md5(uchar*, const char*, size_t)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc:102:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
   MD5_CONTEXT md5_context;
               ^
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc: In function ‘void my_md5_multi(uchar*, ...)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc:127:15: error: aggregate ‘MD5_CONTEXT md5_context’ has incomplete type and cannot be defined
   MD5_CONTEXT md5_context;
               ^
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc: In function ‘size_t my_md5_context_size()’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/my_md5.cc:140:28: error: invalid application of ‘sizeof’ to incomplete type ‘MD5_CONTEXT {aka evp_md_ctx_st}’
   return sizeof(MD5_CONTEXT);
                            ^
make[2]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/build.make:111: mysys_ssl/CMakeFiles/mysys_ssl.dir/my_md5.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql-abi_x86_64.amd64'
make[1]: *** [CMakeFiles/Makefile2:3772: mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql-abi_x86_64.amd64'
make: *** [Makefile:150: all] Error 2
Comment 1 Mark Wright gentoo-dev 2017-10-16 00:35:32 UTC
dev-db/mariadb-10.2.9 builds fine with dev-libs/openssl-1.1.0f
Comment 2 Brian Evans Gentoo Infrastructure gentoo-dev 2018-04-13 18:36:23 UTC
Support was added with mariadb-10.2.6.  Further bugfixes in later versions with the latest in 10.2.8 if i read the git log correctly.

I will add blockers to older versions on the next round of updates.
Comment 3 Brian Evans Gentoo Infrastructure gentoo-dev 2018-05-16 15:02:03 UTC
All done here.

Blockers in place for affected versions.
Comment 4 Thomas Bettler 2018-11-21 20:09:59 UTC
patch for mariadb-10.1.37: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/mariadb