[ https://issues.apache.org/jira/browse/IMPALA-13223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015568#comment-18015568 ]
ASF subversion and git services commented on IMPALA-13223: ---------------------------------------------------------- Commit ad7888898bc76438cc90b03b2561d91854df03e1 in impala's branch refs/heads/master from Laszlo Gaal [ https://gitbox.apache.org/repos/asf?p=impala.git;h=ad7888898 ] IMPALA-13223: Fix bootstrap-build.sh for platforms without Python2 bin/bootstrap-build.sh did not distinguish between various version of the Ubuntu platform, and attempted to install unversioned Python packages (python-dev and python-setuptools) even on newer versions that don't support Python 2 any longer (e.g. Ubuntu 22.04 and 24.04). On older Ubuntu 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 Reviewed-on: http://gerrit.cloudera.org:8080/21800 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > bootstrap-build.sh fails to install python-dev and python-setuptools on > Ubuntu 22.04 > ------------------------------------------------------------------------------------ > > Key: IMPALA-13223 > URL: https://issues.apache.org/jira/browse/IMPALA-13223 > Project: IMPALA > Issue Type: Bug > Components: Infrastructure > Affects Versions: Impala 4.5.0 > Reporter: Laszlo Gaal > Assignee: Laszlo Gaal > Priority: Major > > Unversioned python-* packages are not available on Ubuntu 22.04 (or later), > as these recent releases do not support Python 2. {{bin/bootstrap-build.sh}} > should treat these as optional, and only install them when they exist. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org