You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Laszlo Gaal (Jira)" <ji...@apache.org> on 2021/04/08 11:54:00 UTC
[jira] [Created] (IMPALA-10646) Toolchain bootstrap download fails
on Red Hat platforms
Laszlo Gaal created IMPALA-10646:
------------------------------------
Summary: Toolchain bootstrap download fails on Red Hat platforms
Key: IMPALA-10646
URL: https://issues.apache.org/jira/browse/IMPALA-10646
Project: IMPALA
Issue Type: Improvement
Components: Infrastructure
Affects Versions: Impala 4.0
Reporter: Laszlo Gaal
Assignee: Laszlo Gaal
bootstrap_toolchain.py detects the OS platform the build is running on by taking the output of {{lsb_release -sir}} (or equivalent) and parsing it.
Apparently Impala was never built on Red Hat platforms before: it returns a different signature on Red Hat than on Centos despite the high degree of binary compatibility between the two distros.
This makes bootstrap_toolchain.py throw an exception, breaking the build early:
{code}
10:56:11 INFO : INFO:bootstrap_virtualenv:Creating python virtualenv
10:56:12 INFO : INFO:bootstrap_virtualenv:Installing packages into the virtualenv
10:56:31 INFO : INFO:bootstrap_virtualenv:Installing stage 2 packages into the virtualenv
10:56:37 INFO : Traceback (most recent call last):
10:56:37 INFO : File "./bin/bootstrap_toolchain.py", line 775, in <module>
10:56:37 INFO : if __name__ == "__main__": main()
10:56:37 INFO : File "./bin/bootstrap_toolchain.py", line 753, in main
10:56:37 INFO : downloads += get_toolchain_downloads()
10:56:37 INFO : File "./bin/bootstrap_toolchain.py", line 631, in get_toolchain_downloads
10:56:37 INFO : llvm_package = ToolchainPackage("llvm")
10:56:37 INFO : File "./bin/bootstrap_toolchain.py", line 248, in __init__
10:56:37 INFO : label = get_platform_release_label(release=platform_release).toolchain
10:56:37 INFO : File "./bin/bootstrap_toolchain.py", line 465, in get_platform_release_label
10:56:37 INFO : raise Exception("Could not find package label for OS version: {0}.".format(release))
10:56:37 INFO : Exception: Could not find package label for OS version: redhatenterprise8.2.
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org