The build failure encountered from a poudriere build is this: [ 40%] Built target mysys_objlib --- vio/CMakeFiles/vio_objlib.dir/all --- --- vio/CMakeFiles/vio_objlib.dir/viosslfactories.cc.o --- /wrkdirs/usr/ports/databases/mysql80-client/work/mysql-8.0.27/vio/viosslfactories.cc:538:27: error: use of undeclared identifier 'FIPS_mode' int ret = FIPS_mode_set(FIPS_mode() == 0 ? 1 : 0); ^ 1 error generated. *** [vio/CMakeFiles/vio_objlib.dir/viosslfactories.cc.o] Error code 1 I should mention the following options in my make.conf: DEFAULT_VERSIONS+= pgsql=12 perl5=5.32 mysql=5.7 ssl=libressl python3=3.8 and the port options are: OPTIONS_FILE_SET+=SASLCLIENT OPTIONS_FILE_UNSET+=FIDO I am trying to build both mysql 5.7 and 8.0 here at the same time. 5.7 works.
if you have 5.7 as default, 8.0 can not build
(In reply to Jochen Neumeister from comment #1) I'm curious, is the reverse true?
Reopening because I changed DEFAULT_VERSIONS to specify mysql 8: DEFAULT_VERSIONS+= pgsql=12 perl5=5.32 ssl=libressl python3=3.8 mysql=8.0 and I am still getting the exact same build issue. Additionally, this seems to affect at least one other person, so I changed the "affects" dropdown: https://forums.freebsd.org/threads/problem-with-libressl.83421/
I should mention this is the following git commit of Q12022 which I am building against: # git log --oneline -n 1 cf82a1bec (HEAD -> 2022Q1, origin/2022Q1) security/strongswan: Update to 5.9.5
Created attachment 231965 [details] This worked to build mysql This patch allows mysql8.0 to build with libressl.
Actually, that got the client to build. The server did not.
Created attachment 232013 [details] Worked to build the server This worked to build mysql80-server
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8db2be1cbddd845d908ac64890cc9a4dbfcc8cdd commit 8db2be1cbddd845d908ac64890cc9a4dbfcc8cdd Author: Jochen Neumeister <joneum@FreeBSD.org> AuthorDate: 2022-03-05 10:18:19 +0000 Commit: Jochen Neumeister <joneum@FreeBSD.org> CommitDate: 2022-03-05 10:20:14 +0000 databases/mysql80-*: Fix build with LibreSSL PR: 261164 Sponsored by: Netzkommune GmbH ...om__network__provider__ssl_native__lib.cc (new) | 20 +++++++++++++ .../files/patch-vio_viosslfactories.cc | 33 ++++++++++++++++------ 2 files changed, 45 insertions(+), 8 deletions(-)