You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2021/07/25 00:06:30 UTC

[orc] branch branch-1.7 updated: ORC-862: Add libarchive to centos8 docker image. (#764)

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

dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new b619c4f  ORC-862: Add libarchive to centos8 docker image. (#764)
b619c4f is described below

commit b619c4f30f67d8376c5c3eccf6405af886bfe5b7
Author: William Hyun <wi...@apache.org>
AuthorDate: Sat Jul 24 17:04:50 2021 -0700

    ORC-862: Add libarchive to centos8 docker image. (#764)
    
    ### What changes were proposed in this pull request?
    This PR aims to add libarchive to centos8 docker image.
    
    ### Why are the changes needed?
    ```
    % docker run -it --rm centos:8
    [root@917a5c3b68ac /]# yum install -y -q cmake
    Failed to set locale, defaulting to C.UTF-8
    warning: /var/cache/dnf/appstream-02e86d1c976ab532/packages/cmake-3.18.2-11.el8_4.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
    Importing GPG key 0x8483C65D:
     Userid     : "CentOS (CentOS Official Signing Key) <se...@centos.org>"
     Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
     From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
    
    [root@917a5c3b68ac /]# cmake
    cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd
    
    [root@917a5c3b68ac /]# yum install -y -q libarchive
    Failed to set locale, defaulting to C.UTF-8
    
    [root@917a5c3b68ac /]# cmake
    Usage
    
      cmake [options] <path-to-source>
      cmake [options] <path-to-existing-build>
      cmake [options] -S <path-to-source> -B <path-to-build>
    ```
    
    ### How was this patch tested?
    Manual.
    
    (cherry picked from commit 4cb98a82040e775512808e1f25333bf342f21835)
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 docker/centos8/Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/centos8/Dockerfile b/docker/centos8/Dockerfile
index 80f8dea..74809c3 100644
--- a/docker/centos8/Dockerfile
+++ b/docker/centos8/Dockerfile
@@ -31,6 +31,7 @@ RUN yum install -y \
   gcc-c++ \
   gettext-devel \
   git \
+  libarchive \
   libtool \
   make \
   maven \