Bug 243200 - databases/mysql56-client build failure
Summary: databases/mysql56-client build failure
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-08 21:55 UTC by jakub_lach
Modified: 2020-01-15 20:13 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (mmokhi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub_lach 2020-01-08 21:55:18 UTC
--- vio/CMakeFiles/vio.dir/viosslfactories.c.o ---                                                                                                                                 
[  5%] Building C object vio/CMakeFiles/vio.dir/viosslfactories.c.o                                                                                                                
cd /usr/obj/usr/ports/databases/mysql56-client/work/.build/vio && /usr/bin/cc -DHAVE_CONFIG_H -DHA                                                                                 VE_LIBEVENT2 -DHAVE_OPENSSL -DHAVE_TLSv13 -I/usr/obj/usr/ports/databases/mysql56-client/work/.buil                                                                                 d/include -I/usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.46/include -O2 -pipe -march                                                                                 =native  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -                                                                                 Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement -O2 -pipe -march=native  -fst                                                                                 ack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDBUG_OFF   -fPIC -o CMakeF                                                                                 iles/vio.dir/viosslfactories.c.o   -c /usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.4                                                                                 6/vio/viosslfactories.c                                                                                                                                                            
/usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.46/vio/viosslfactories.c:230:25: error:                                                                                  use of undeclared identifier 'SSL_OP_NO_TLSv1_3'                                                                                                                                  
                        SSL_OP_NO_TLSv1_3 |                                                                                                                                        
                        ^                                                                                                                                                          
/usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.46/vio/viosslfactories.c:275:12: warnin                                                                                 g: implicit declaration of function 'SSL_CTX_set_ciphersuites' is invalid in C99 [-Wimplicit-funct                                                                                 ion-declaration]                                                                                                                                                    
  if (0 == SSL_CTX_set_ciphersuites(ssl_fd->ssl_context, ""))                                                                                                                      
           ^                                                                                                                                        
1 warning and 1 error generated.                                                                                                                                                   
*** [vio/CMakeFiles/vio.dir/viosslfactories.c.o] Error code 1                                                                                                                      

make[3]: stopped in /usr/obj/usr/ports/databases/mysql56-client/work/.build                                                                                                        
1 error                                                                                                                         

make[3]: stopped in /usr/obj/usr/ports/databases/mysql56-client/work/.build                                                                                                        
*** [vio/CMakeFiles/vio.dir/all] Error code 2                                                                                                                                      

make[2]: stopped in /usr/obj/usr/ports/databases/mysql56-client/work/.build                                                                                                        
--- strings/CMakeFiles/strings.dir/all ---                                                                                                                                         
A failure has been detected in another branch of the parallel make
Comment 1 jakub_lach 2020-01-08 21:58:27 UTC
(In reply to jakub_lach from comment #0)

The system uses LibreSSL, FWIW.
Comment 3 jakub_lach 2020-01-11 20:43:17 UTC
Since PR, I had mysql57-client installed in this place, removed and mysql56-client was pulled once again as a dependency, which build normally - I cannot replicate this.
Comment 4 Jochen Neumeister freebsd_committer 2020-01-15 10:22:08 UTC
your problem has been solved?
Comment 5 jakub_lach 2020-01-15 20:12:48 UTC
I've tried building mysql56-client now. The problem persist, but I have switched to mysql57-client.
Comment 6 jakub_lach 2020-01-15 20:13:08 UTC
(In reply to jakub_lach from comment #5)

/usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.46/vio/viosslfactories.c:230:25: error: use of undeclared identifier 'SSL_OP_NO_TLSv1_3'
                        SSL_OP_NO_TLSv1_3 |
                        ^
/usr/obj/usr/ports/databases/mysql56-client/work/mysql-5.6.46/vio/viosslfactories.c:275:12: warning: implicit declaration of function 'SSL_CTX_set_ciphersuites' is invalid in C99 [-Wimplicit-function-declaration]
  if (0 == SSL_CTX_set_ciphersuites(ssl_fd->ssl_context, ""))
           ^
1 warning and 1 error generated.
*** [vio/CMakeFiles/vio.dir/viosslfactories.c.o] Error code 1