ztzg commented on issue #1304: ZOOKEEPER-3780 - restore Version.getRevision() 
to be bacward compatible
URL: https://github.com/apache/zookeeper/pull/1304#issuecomment-610873325
 
 
   Hi @eolivelli, @symat,
   
   I looked into this.  I was unable to reproduce on NixOS 19.09, Ubuntu 16.04, 
or Ubuntu 19.10.  (Some of these use OpenSSL 1.0.x, some others OpenSSL 
1.1.x—which is where the difference is symbol availability originates.)
   
   I was unable to reproduce.
   
   The function `init_ssl_for_socket`, in `zookeeper.c`, uses 
`OPENSSL_VERSION_NUMBER` to determine which API to use.  This is the only place 
which references the "missing" `OPENSSL_init_ssl` and `TLS_client_method`, and 
it seems to do so correctly.
   
   One logical explanation would be that that particular host somehow has 1.1.x 
headers installed, but an 1.0.x library.  But looking at [this Jenkins 
log](https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build-maven/1941/console),
 it seems that building `zktest-st` succeeded, whereas linking `zktest-mt` 
failed.  I am puzzled.
   
   Is this a failure you have observed multiple times?  On multiple build 
hosts?  Is there a way to get more details on the Jenkins build host than what 
is available in the "Environment Variables" section?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to