Laszlo Gaal has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21800


Change subject: IMPALA-13223: Fix bootstrap-build.sh for platforms without 
Python2
......................................................................

IMPALA-13223: Fix bootstrap-build.sh for platforms without Python2

bin/bootstrap-build.sh did not distinguish various version of the Ubuntu
platform, and attempted to install unversioned Python packages
(python-dev and python-setuptools) even on newer versions  tdon't
support Python 2 any longer (e.g. Ubuntu 22.04 and 24.04). On older
versions these packages are still useful, so at this point it is not
feasible just to drop them.

This patch makes these packages optional: they are added to the list of
packages to be installed only if they actually exist for the platform.

The patch also extends the package list with some basic packages that
are needed when bin/bootstrap_build.sh is run inside an Ubuntu 22.04
Docker container.

Tests: ran a compile-only build on Ubuntu 20.04 (still has Python 2) and
on Ubuntu 22.04 (does not support Python 2 any more).

Change-Id: I94ade35395afded4e130b79eab8c27c6171b50d6
---
M bin/bootstrap_build.sh
1 file changed, 14 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/21800/1
--
To view, visit http://gerrit.cloudera.org:8080/21800
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I94ade35395afded4e130b79eab8c27c6171b50d6
Gerrit-Change-Number: 21800
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <[email protected]>

Reply via email to