You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by se...@apache.org on 2020/09/22 17:19:51 UTC
[bigtop] branch master updated: BIGTOP-3394: Building Logstash is
failing on CentOS 8, Debian 10 and Ubuntu 18.04 (#675)
This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new ec836e0 BIGTOP-3394: Building Logstash is failing on CentOS 8, Debian 10 and Ubuntu 18.04 (#675)
ec836e0 is described below
commit ec836e01bda92fb8a0d861d6ca8dc73171469668
Author: Yuqi Gu <yu...@arm.com>
AuthorDate: Wed Sep 23 01:19:41 2020 +0800
BIGTOP-3394: Building Logstash is failing on CentOS 8, Debian 10 and Ubuntu 18.04 (#675)
when rvm install ruby-2.4.0 under user: jenkins,
it fails to "try_sudo" to install autolibs dependencies.
Disable unnecessary autolibs installation.
Change-Id: Ib779074d2180d274dd8526166ca1bf4ed4ac3a3e
Signed-off-by: Yuqi Gu <yu...@arm.com>
---
bigtop-packages/src/common/logstash/do-component-build | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/bigtop-packages/src/common/logstash/do-component-build b/bigtop-packages/src/common/logstash/do-component-build
index 25c8893..4f63607 100644
--- a/bigtop-packages/src/common/logstash/do-component-build
+++ b/bigtop-packages/src/common/logstash/do-component-build
@@ -43,6 +43,12 @@ then
else
[ -s $HOME/.rvm/scripts/rvm ] && source $HOME/.rvm/scripts/rvm
fi
+
+# BIGTOP-3394
+# Disable unnecessary autolibs installation
+# for rvm fail to "try_sudo" to install autolibs
+# dependencies under user:'jenkins'
+rvm autolibs disable
rvm install ruby-2.4.0 && rvm use 2.4.0
# Specify childprocess to 3.0.0. The latest release 4.0.0 is not compatible with 5.4.1.