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
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
Depends on:
Blocks: openssl-1.1
  Show dependency tree
Reported: 2016-08-30 22:48 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-11-21 20:10 UTC (History)
2 users (show)

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

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

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

[  4%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/
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/ -c /var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ In function ‘void md5_result(MD5_CONTEXT*, uchar*)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ error: ‘EVP_MD_CTX_cleanup’ was not declared in this scope
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ In function ‘void my_md5(uchar*, const char*, size_t)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ 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/ In function ‘void my_md5_multi(uchar*, ...)’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ 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/ In function ‘size_t my_md5_context_size()’:
/var/tmp/portage/dev-db/mariadb-10.1.16/work/mysql/mysys_ssl/ 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/] 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 (RETIRED) 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 (RETIRED) 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: