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

Joe McDonnell resolved IMPALA-12445.
------------------------------------
    Fix Version/s: Impala 4.4.0
       Resolution: Fixed

> Native toolchain's redhat9 docker image doesn't have the "file" utility
> -----------------------------------------------------------------------
>
>                 Key: IMPALA-12445
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12445
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.3.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>             Fix For: Impala 4.4.0
>
>
> In the LLVM build, we use the "file" utility to determine which files to 
> strip. On Redhat 9 dockerized builds, this utility is not present so the 
> binaries are not stripped:
> {noformat}
> 11:43:33 impala-toolchain-redhat9: Apply patches up to 7
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 1.../mnt/source/llvm/llvm-5.0.1-patches/0001-PATCH-Fix-run-clang-tidy.py-s-output.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 2.../mnt/source/llvm/llvm-5.0.1-patches/0002-PATCH-Fix-for-missing-sys-ustat.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 3.../mnt/source/llvm/llvm-5.0.1-patches/0003-PATCH-Fix-for-large-code-model-on-aarch64.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 4.../mnt/source/llvm/llvm-5.0.1-patches/0004-PATCH-glibc-libsanitizer.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 5.../mnt/source/llvm/llvm-5.0.1-patches/0005-PATCH-Fix-lli-compilation-on-gcc8.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 6.../mnt/source/llvm/llvm-5.0.1-patches/0006-PATCH-Remove-include-for-cyclades.h-on-redhat9.patch
> 11:43:33 impala-toolchain-redhat9: Applying patch 
> 7.../mnt/source/llvm/llvm-5.0.1-patches/0007-PATCH-Fix-SetAlternativeSignalStack-for-glibc-2.34.patch
> 11:43:33 impala-toolchain-redhat9: All required patches applied.
> 11:43:33 impala-toolchain-redhat9: /mnt/source/llvm/build-source-tarball.sh: 
> line 186: file: command not found
> 11:43:33 impala-toolchain-redhat9: /mnt/source/llvm/build-source-tarball.sh: 
> line 186: file: command not found
> ...{noformat}
> We should modify the Redhat 9 docker build and also add an assert in 
> docker/all/assert-dependencies-present.py.



--
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

Reply via email to