[ 
https://issues.apache.org/jira/browse/IMPALA-15099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe McDonnell resolved IMPALA-15099.
------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

Fix by this commit to native-toolchain:
{noformat}
commit 9ed6b14dc028d3a1ebee8d0b0d64f9455c809039
Author: Joe McDonnell <[email protected]>
Date:   Fri Jun 12 00:32:41 2026 -0700    IMPALA-15099: Fix SLES15 container 
build
    
    The SLES15 container build is failing, because it is
    unable to find the Python headers. We install Python 2,
    but it is looking for /usr/include/python3.6m/Python.h.
    Since we don't need Python 2 anymore, this switches to
    the builtin python3 / python3-devel packages, which
    fixes the issue.
    
    Testing:
     - Built SLES15 container
    
    Change-Id: I60619a5ead3b05a58f5317567ec92542e92fa683
    Reviewed-on: http://gerrit.cloudera.org:8080/24455
    Reviewed-by: Michael Smith <[email protected]>
    Reviewed-by: Yida Wu <[email protected]>
    Reviewed-by: Laszlo Gaal <[email protected]>
    Tested-by: Joe McDonnell <[email protected]>
{noformat}

> SLES 15 toolchain container build fails because it can't find Python headers
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-15099
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15099
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> The toolchain's SLES15 docker container build is failing with:
> {noformat}
> #13 0.133 INFO:assert-dependencies:Checking if 
> /usr/include/python3.6m/Python.h exists
> #13 0.134 Traceback (most recent call last):
> #13 0.134   File "/usr/local/bin/assert-dependencies-present.py", line 178, 
> in <module>
> #13 0.134     main()
> #13 0.134   File "/usr/local/bin/assert-dependencies-present.py", line 170, 
> in main
> #13 0.134     check_python_headers_present()
> #13 0.134   File "/usr/local/bin/assert-dependencies-present.py", line 52, in 
> check_python_headers_present
> #13 0.134     assert os.path.isfile(include)
> #13 0.134 AssertionError
> #13 ERROR: process "/bin/sh -c assert-dependencies-present.py" did not 
> complete successfully: exit code: 1{noformat}
> One way to fix this is to stop installing python2 and use the regular 
> python3/python3-devel packages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to