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
The following commit(s) were added to refs/heads/branch-1.17.x by this push:
new 77600ab30 Update libraries to be excluded in RHEL9
77600ab30 is described below
commit 77600ab3029011b412529a944aec27ebfb1de4bb
Author: Marton Greber <[email protected]>
AuthorDate: Sun Jun 11 14:36:24 2023 +0000
Update libraries to be excluded in RHEL9
Running build_mini_cluster_binaries.sh on RHEL9 ends with the following
error message:
Running license check on artifact...
unknown license: lib/libgdbm.so.6
Found 1 unknown dependencies
As it turns out libgdbm is a transitive dependency for libsasldb:
$ ldd /lib64/sasl2/libsasldb.so
linux-vdso.so.1 (0x00007ffcf85a2000)
libgdbm.so.6 => /lib64/libgdbm.so.6 (0x00007f5860c82000)
...
libgdbm is GPLv3 licensed:
$ yum list installed | grep gdbm
gdbm-libs.x86_64 1:1.19-4.el9
$ repoquery -l gdbm-libs.x86_64
Last metadata expiration check: 0:09:32 ago on Sun Jun 11 14:07:01 2023.
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/13148fe3171d0fc17a2bef1e8d00cd7ed25e63
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/fec25ab496cde15261c1459fc2618ee1fcb3bb
/usr/lib64/libgdbm.so.6
/usr/lib64/libgdbm.so.6.0.0
/usr/lib64/libgdbm_compat.so.4
/usr/lib64/libgdbm_compat.so.4.0.0
/usr/share/licenses/gdbm-libs
/usr/share/licenses/gdbm-libs/COPYING
$ head -2 /usr/share/licenses/gdbm-libs/COPYING
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
This patch adds libgdbm to the excluded library list in
relocate_binaries_for_mini_cluster.py.
Change-Id: I8ba798fe56f22768304633a5327bf85fe9eac345
Reviewed-on: http://gerrit.cloudera.org:8080/20036
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
(cherry picked from commit 90810349c2b0600a6a84a8cc8e97d3cc2e9d3158)
Reviewed-on: http://gerrit.cloudera.org:8080/20058
Reviewed-by: Yingchun Lai <[email protected]>
---
build-support/mini-cluster/relocate_binaries_for_mini_cluster.py | 3 +++
1 file changed, 3 insertions(+)
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 5211f39f1..b2028955a 100755
--- a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
+++ b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
@@ -58,6 +58,8 @@ PAT_SASL_LIBPLAIN = re.compile(r'libplain')
# 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.
+# 'libgdbm' which is GPLv3 licensed is excluded because it is a transitive
dependency
+# by 'libsasldb' in RHEL9 machines.
PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
libc|
libstdc\+\+|
@@ -65,6 +67,7 @@ PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
libdl|
libresolv|
libgcc.*|
+ libgdbm|
libcrypt|
libjitterentropy|
libm|