This is an automated email from the ASF dual-hosted git repository. laiyingchun pushed a commit to branch branch-1.17.x in repository https://gitbox.apache.org/repos/asf/kudu.git
commit ef7dc410c978c50f50412b83a9579fa5f710d855 Author: Abhishek Chennaka <[email protected]> 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 <[email protected]> (cherry picked from commit 91f8033867d85941fbf75e28e4d0f506090cfa45) Reviewed-on: http://gerrit.cloudera.org:8080/20057 Reviewed-by: Yingchun Lai <[email protected]> --- 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|
