Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10646

Toolchain bootstrap download fails on Red Hat platforms

    XMLWordPrintableJSON

Details

    • ghx-label-3

    Description

      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:

      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.
      

      Attachments

        Activity

          People

            laszlog Laszlo Gaal
            laszlog Laszlo Gaal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: