Bug 246070 - databases/mysql57-client: Fails to build with LibreSSL (mysql-5.7.30): error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
Summary: databases/mysql57-client: Fails to build with LibreSSL (mysql-5.7.30): error:...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jochen Neumeister
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-05-01 00:41 UTC by jakub_lach
Modified: 2020-05-04 09:46 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (joneum)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub_lach 2020-05-01 00:41:47 UTC
In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29:
/usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/include/my_openssl.h:55:30: error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
  return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL);
                             ^
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-05-01 03:12:32 UTC
Are other MySQL versions also affected?
Comment 2 jakub_lach 2020-05-01 10:32:21 UTC
Affected:
databases/mysql57-server
databases/mysql57-client
Comment 3 commit-hook freebsd_committer 2020-05-04 09:44:26 UTC
A commit references this bug:

Author: joneum
Date: Mon May  4 09:44:09 UTC 2020
New revision: 533909
URL: https://svnweb.freebsd.org/changeset/ports/533909

Log:
  In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29:
  /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/include/my_openssl.h:55:30: error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
    return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL);

  This fix a problem with libressl

  PR:		246070
  MFH:		2020Q2
  Sponsored by:	Netzkommune GmbH

Changes:
  head/databases/mysql57-client/files/patch-include_my_openssl.h
  head/databases/mysql57-client/files/patch-sql_auth_sha2_password_common.cc
  head/databases/mysql57-client/files/patch-vio_viosslfactories.c
  head/databases/mysql57-server/Makefile
  head/databases/mysql57-server/files/patch-include_my_openssl.h
  head/databases/mysql57-server/files/patch-rapid_plugin_group_replication_libmysqlgcs_src_bindings_xcom_xcom_xcom_ssl_transport.c
  head/databases/mysql57-server/files/patch-sql_auth_sha2_password_common.cc
  head/databases/mysql57-server/files/patch-vio_viosslfactories.c
Comment 4 commit-hook freebsd_committer 2020-05-04 09:46:28 UTC
A commit references this bug:

Author: joneum
Date: Mon May  4 09:45:42 UTC 2020
New revision: 533910
URL: https://svnweb.freebsd.org/changeset/ports/533910

Log:
  MFH: r533909

  In file included from /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/vio/viosslfactories.c:29:
  /usr/obj/usr/ports/databases/mysql57-client/work/mysql-5.7.30/include/my_openssl.h:55:30: error: use of undeclared identifier 'OPENSSL_INIT_NO_ATEXIT'
    return OPENSSL_init_crypto(OPENSSL_INIT_NO_ATEXIT, NULL);

  This fix a problem with libressl

  PR:		246070
  Sponsored by:	Netzkommune GmbH

  Approved by:	ports-secteam (joneum)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/databases/mysql57-client/files/patch-include_my_openssl.h
  branches/2020Q2/databases/mysql57-client/files/patch-sql_auth_sha2_password_common.cc
  branches/2020Q2/databases/mysql57-client/files/patch-vio_viosslfactories.c
  branches/2020Q2/databases/mysql57-server/Makefile
  branches/2020Q2/databases/mysql57-server/files/patch-include_my_openssl.h
  branches/2020Q2/databases/mysql57-server/files/patch-rapid_plugin_group_replication_libmysqlgcs_src_bindings_xcom_xcom_xcom_ssl_transport.c
  branches/2020Q2/databases/mysql57-server/files/patch-sql_auth_sha2_password_common.cc
  branches/2020Q2/databases/mysql57-server/files/patch-vio_viosslfactories.c