You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Damien Diederen (Jira)" <ji...@apache.org> on 2020/11/23 18:10:00 UTC

[jira] [Commented] (ZOOKEEPER-4016) C client build issue causes the failure of CI build

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237569#comment-17237569 ] 

Damien Diederen commented on ZOOKEEPER-4016:
--------------------------------------------

Hi [~maoling],

It's not the first time a see this, and I have no idea what could be causing it.  It looks like there is something funky going with some build hosts.

Is there a way to know which build host this happened on, and which OS it is running?

Looking at the rest of the log, the configure script finds {{openssl/ssl.h}}.

And it *seems* that {{zookeeper.c}}, which includes {{<zookeeper.h>}}, and, consequently, {{<openssl/ossl_typ.h>}}, builds fine—but somehow {{zk_log.c}}, which goes {{"zookeeper_log.h"}} → {{<zookeeper.h>}} → {{<openssl/ossl_typ.h>}} cannot resolve the latter.

[~symat]: Any idea?

>  C client build issue causes the failure of CI build 
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-4016
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4016
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: maoling
>            Priority: Minor
>
> {code:java}
> [2020-11-23T12:01:26.250Z]      [exec] libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c -I/home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/include -I/home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/tests -I/home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/generated -DHAVE_OPENSSL_H -DHAVE_CYRUS_SASL_H -Wall -Werror -Wdeclaration-after-statement -DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-zk_log.lo -MD -MP -MF .deps/libzkmt_la-zk_log.Tpo -c /home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/src/zk_log.c  -fPIC -DPIC -o .libs/libzkmt_la-zk_log.o
> [2020-11-23T12:01:26.250Z]      [exec] Makefile:1033: recipe for target 'libzkmt_la-zk_log.lo' failed
> [2020-11-23T12:01:26.250Z]      [exec] In file included from /home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/include/zookeeper_log.h:22:0,
> [2020-11-23T12:01:26.250Z]      [exec]                  from /home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/src/zk_log.c:23:
> [2020-11-23T12:01:26.250Z]      [exec] /home/jenkins/jenkins-home/workspace/eper-precommit-github-pr_PR-1528/zookeeper-client/zookeeper-client-c/include/zookeeper.h:36:10: fatal error: openssl/ossl_typ.h: No such file or directory
> [2020-11-23T12:01:26.250Z]      [exec]  #include <openssl/ossl_typ.h>
> [2020-11-23T12:01:26.250Z]      [exec]           ^~~~~~~~~~~~~~~~~~~~
> [2020-11-23T12:01:26.250Z]      [exec] compilation terminated.
> [2020-11-23T12:01:26.250Z]      [exec] make: *** [libzkmt_la-zk_log.lo] Error 1
> {code}
> URL: https://ci-hadoop.apache.org/blue/organizations/jenkins/zookeeper-precommit-github-pr/detail/PR-1528/4/pipeline
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)