Thanks for raising the issue!

I checked the logs. The 'configure' step finds the openSSL library before
make:
19:58:34  checking openssl/ssl.h usability... yes
19:58:34  checking openssl/ssl.h presence... yes
19:58:34  checking for openssl/ssl.h... yes
19:58:34  checking for SSL_CTX_new in -lssl... yes
19:58:34  configure: building with SSL support

So some openSSL should be installed on the nodes. (could be a wrong
version?)
The same job on branch 3.5 was succeeding on 22nd of August:
https://ci-hadoop.apache.org/view/ZooKeeper/job/zookeeper-multi-branch-build/job/branch-3.5/39/consoleFull

It's either
1) a bug in our pre-build verifications (an unsupported openssl library
version in which case the build scripts should build the C client without
SSL support), or
2) maybe some environmental issue with the jenkins workers? I'm not
familiar with our jenkins configs. Are we using some dockerized environment
to build, or these are shared worker hosts? Do we have any control about
the installed C libraries?

Best regards,
Mate


On Thu, Aug 27, 2020 at 3:19 PM Enrico Olivelli <eolive...@gmail.com> wrote:

> Hi ZooKeepers,
> I am checking the new CI system and I noticed this error for branch-3.5 on
> the C client build, the error does not occur on branch-3.6 and on master
>
> TestClient.o `test -f 'tests/TestClient.cc' || echo
>
> '/home/jenkins/jenkins-home/workspace/er-multi-branch-build_branch-3.5/zookeeper-client/zookeeper-client-c/'`tests/TestClient.cc*22:00:06*
>       [exec] Makefile:1397: recipe for target 'zktest_mt-TestClient.o'
> failed*22:00:06*       [exec] make[1]: Leaving directory
>
> '/home/jenkins/jenkins-home/workspace/er-multi-branch-build_branch-3.5/zookeeper-client/zookeeper-client-c/target/c'*22:00:06*
>       [exec] Makefile:2106: recipe for target 'check-am'
> failed*22:00:06*       [exec] In file included from
>
> /home/jenkins/jenkins-home/workspace/er-multi-branch-build_branch-3.5/zookeeper-client/zookeeper-client-c/tests/TestClient.cc:38:0:*22:00:06*
>       [exec]
> /home/jenkins/jenkins-home/workspace/er-multi-branch-build_branch-3.5/zookeeper-client/zookeeper-client-c/include/zookeeper.h:36:10:
> fatal error: openssl/ossl_typ.h: No such file or directory*22:00:06*
>     [exec]  #include <openssl/ossl_typ.h>*22:00:06*       [exec]
>     ^~~~~~~~~~~~~~~~~~~~*22:00:06*       [exec] compilation
> terminated.*22:00:06*       [exec] make[1]: ***
> [zktest_mt-TestClient.o] Error 1*22:00:06*       [exec] make: ***
> [check-am] Error 2
>
>
> see
>
> https://ci-hadoop.apache.org/view/ZooKeeper/job/zookeeper-multi-branch-build/job/branch-3.5/44/execution/node/72/log/
>
> Best regards
> Enrico
>

Reply via email to