This is an automated email from the ASF dual-hosted git repository.

aboda pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit e51192ed9639c04d69252fa033b444373173a00b
Author: Martin Zink <[email protected]>
AuthorDate: Fri Jun 4 15:56:04 2021 +0200

    MINIFICPP-1582 fixing build falure in centos ci job
    
    centos cmake symbol lookup error fix
    
    Signed-off-by: Arpad Boda <[email protected]>
    
    This closes #1099
---
 docker/centos/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile
index e54ab4c..b6284c1 100644
--- a/docker/centos/Dockerfile
+++ b/docker/centos/Dockerfile
@@ -27,7 +27,7 @@ ARG MINIFI_VERSION
 ENV MINIFI_BASE_DIR /opt/minifi
 ENV MINIFI_HOME $MINIFI_BASE_DIR/nifi-minifi-cpp-$MINIFI_VERSION
 
-RUN yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel python36-devel 
gcc gcc-c++ sudo git which maven make cmake
+RUN yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel python36-devel 
gcc gcc-c++ sudo git which maven make cmake libarchive
 
 RUN mkdir -p $MINIFI_BASE_DIR
 COPY . ${MINIFI_BASE_DIR}
@@ -40,6 +40,6 @@ RUN cd $MINIFI_BASE_DIR \
        && rm -rf build \
        && mkdir build \
        && cd build \
-       && cmake3 -DUSE_SHARED_LIBS=  -DENABLE_MQTT=ON -DENABLE_LIBRDKAFKA=ON 
-DPORTABLE=ON -DENABLE_COAP=ON -DCMAKE_BUILD_TYPE=Release -DSKIP_TESTS=true 
-DENABLE_JNI=$ENABLE_JNI .. \
+       && cmake -DUSE_SHARED_LIBS=  -DENABLE_MQTT=ON -DENABLE_LIBRDKAFKA=ON 
-DPORTABLE=ON -DENABLE_COAP=ON -DCMAKE_BUILD_TYPE=Release -DSKIP_TESTS=true 
-DENABLE_JNI=$ENABLE_JNI .. \
        && make -j$(nproc) package
 

Reply via email to