You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by iw...@apache.org on 2021/12/06 09:23:04 UTC
[bigtop] branch branch-3.0 updated: BIGTOP-3600 (addendum) - Deploy python*-dev deps on Debian images (#837)
This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new b15d23b BIGTOP-3600 (addendum) - Deploy python*-dev deps on Debian images (#837)
b15d23b is described below
commit b15d23b9a40642d831dbed47fbedc2ea6ffb9498
Author: Luca Toscano <el...@users.noreply.github.com>
AuthorDate: Mon Dec 6 10:20:25 2021 +0100
BIGTOP-3600 (addendum) - Deploy python*-dev deps on Debian images (#837)
In https://github.com/apache/bigtop/pull/829 I caused some
failures in gpdb package builds, since python2.7-dev
dependencies are needed.
On Debian 9/10/11 python3-dev and python2.7-dev are available,
so better to be explicit and install both at the same time.
(cherry picked from commit d7d3e0edd8cdf4601ac11a9d7b8d9fe38c638001)
---
bigtop_toolchain/manifests/packages.pp | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/bigtop_toolchain/manifests/packages.pp b/bigtop_toolchain/manifests/packages.pp
index 93e6c0a..34c2f25 100644
--- a/bigtop_toolchain/manifests/packages.pp
+++ b/bigtop_toolchain/manifests/packages.pp
@@ -151,7 +151,7 @@ class bigtop_toolchain::packages {
"libffi-devel"
] }
/(Ubuntu|Debian)/: {
- $_pkgs = [
+ $pkgs = [
"unzip",
"curl",
"wget",
@@ -206,13 +206,10 @@ class bigtop_toolchain::packages {
"bison",
"flex",
"python-setuptools",
- "libffi-dev"
+ "libffi-dev",
+ "python3-dev",
+ "python2.7-dev"
]
- if ($operatingsystem == 'Debian' and versioncmp($operatingsystemmajrelease, '10') < 0) {
- $pkgs = concat($_pkgs, ["python-dev", "python2.7-dev"])
- } else {
- $pkgs = concat($_pkgs, ["python3-dev"])
- }
file { '/etc/apt/apt.conf.d/01retries':
content => 'Aquire::Retries "5";'
} -> Package <| |>