You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2023/04/18 23:40:08 UTC

[kudu] branch master updated: [build] Update libraries to be excluded in SLES15 SP4

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

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 91f803386 [build] Update libraries to be excluded in SLES15 SP4
91f803386 is described below

commit 91f8033867d85941fbf75e28e4d0f506090cfa45
Author: Abhishek Chennaka <ac...@cloudera.com>
AuthorDate: Sat Apr 15 10:52:38 2023 -0700

    [build] Update libraries to be excluded in SLES15 SP4
    
    Recently during the build of minicluster from
    build-support/mini-cluster/build_mini_cluster_binaries.sh
    we found that libcurl built from third party is dependent on the
    library libjitterentropy. While invesitgating if this dependency is
    present just because libjitterentropy is present in the machine and
    curl picking it up while  building, we found that this library
    libjitterentropy is present in SLES15 SP4 out of the box.
    We also found having libjitterentropy in a RHEL 9 machine didn't cause
    the dependency behavior from libcurl i.e. it is not dependent on
    libjitterentropy.
    To avoid these build issues in SELS 15 SP4, libjitterentropy needs to
    be excluded when copying the libraries to be distributed. On a side
    note libjitterentropy is also BSD and GPLv2 licensed.
    
    Change-Id: I8152d7baaa944e1573c076b36980c73902c426ca
    Reviewed-on: http://gerrit.cloudera.org:8080/19749
    Tested-by: Kudu Jenkins
    Reviewed-by: Alexey Serbin <al...@apache.org>
---
 build-support/mini-cluster/relocate_binaries_for_mini_cluster.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
index c17e911dc..5211f39f1 100755
--- a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
+++ b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
@@ -53,8 +53,11 @@ PAT_SASL_LIBPLAIN = re.compile(r'libplain')
 
 # Exclude libraries that are (L)GPL-licensed and libraries that are not
 # portable across Linux kernel versions. One exception is 'libpcre', which
-# is BSD-licensed. It is excluded because it is a transitive dependency
+# Exceptions:
+# 'libpcre' which is BSD-licensed is excluded because it is a transitive dependency
 # introduced by 'libselinux'.
+# 'libjitterentropy' which is both BSD and GPLv2 licensed is excluded because it is
+# a transitive dependency by 'libcurl' in SLES 15 SP4 machines.
 PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
                                         libc|
                                         libstdc\+\+|
@@ -63,6 +66,7 @@ PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
                                         libresolv|
                                         libgcc.*|
                                         libcrypt|
+                                        libjitterentropy|
                                         libm|
                                         libkeyutils|
                                         libcom_err|