[ 
https://issues.apache.org/jira/browse/IMPALA-14756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089783#comment-18089783
 ] 

Laszlo Gaal edited comment on IMPALA-14756 at 6/17/26 10:32 PM:
----------------------------------------------------------------

On most Red Hat derivatives Ninja is available from the CodeReady Builder 
package repo. There are two issues with this repo (or repo family):
1. They are usually disabled (but they are easy to enable temporarily with the 
--enablerepo=<repo_id> option)
2. Annoyingly,every single distribution uses a different repo_id for it (Red 
Hat uses a different repo_id even between their UBI Docker images and their 
bootable OS images in EC2).

I've started collecting the necessary signatures; this their current state:
 * RHEL10
codeready-builder-for-rhel-10-rhui-rpms

 * RHEL 8:
codeready-builder-for-rhel-8-rhui-rpms

 * RHEL 9:
codeready-builder-for-rhel-9-rhui-rpms

 * Red Hat's UBI8, UBI9, UBI10 Docker images:
CodeReady Builder (enabled by default)
 * Rocky 8, 9, 10:
devel

 * Almalinux 9, 10:
crb (10 has it enabled by default)

 * Almalinux 8:
powertools

 


was (Author: laszlog):
On most Red Hat derivatives Ninja is available from the CodeReady Builder 
package repo. There are two issues with this repo (or repo family):
1. They are usually disabled (but they are easy to enable temporarily with the 
--enablerepo=<repo_id> option)
2. Annoyingly,every single distribution uses a different repo_id for it (Red 
Hat uses a different repo_id even between their UBI Docker images and their 
bootable OS images in EC2).

I've started collecting the necessary signatures; this their current state:

* RHEL10

codeready-builder-for-rhel-10-rhui-rpms

* RHEL 8:
codeready-builder-for-rhel-8-rhui-rpms

* RHEL 9:
codeready-builder-for-rhel-9-rhui-rpms

* Red Hat's UBI8, UBI9, UBI10 Docker images:
CodeReady Builder (enabled by default)
 * Rocky 8, 9, 10:
devel

* Almalinux 9, 10:
crb (10 has it enabled by default)

* Almalinux 8:
powertools

 

> Ninja is installed only for Ubuntu, not for Red Hat variants in 
> bootstrap_system.sh
> -----------------------------------------------------------------------------------
>
>                 Key: IMPALA-14756
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14756
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 5.0.0
>            Reporter: Laszlo Gaal
>            Assignee: Laszlo Gaal
>            Priority: Critical
>
> The Red Hat specific package install block
> https://github.com/apache/impala/blob/master/bin/bootstrap_system.sh#L295-L302
>  is missing `ninja-build`, which is present for the Ubuntu install block. For 
> recent versions this blocks the build on Red Hat derivatives, e.g. 
> https://jenkins.impala.io/job/rocky-9.2-from-scratch/38/console :
> {code}
> 19:20:44 >>> Generating CMake files CMAKE_BUILD_TYPE=DEBUG 
> BUILD_SHARED_LIBS=0 MAKE_CMD=ninja
> 19:20:44 -- Setup toolchain link flags 
> -Wl,-rpath,/home/rocky/Impala/toolchain/toolchain-packages-gcc10.4.0/gcc-10.4.0/lib64
>  -L/home/rocky/Impala/toolchain/toolchain-packages-gcc10.4.0/gcc-10.4.0/lib64
> 19:20:44 -- Setup toolchain link flags 
> -Wl,-rpath,/home/rocky/Impala/toolchain/toolchain-packages-gcc10.4.0/gcc-10.4.0/lib64
>  -L/home/rocky/Impala/toolchain/toolchain-packages-gcc10.4.0/gcc-10.4.0/lib64
> 19:20:44 CMake Error: CMake was unable to find a build program corresponding 
> to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a 
> different build tool.
> 19:20:44 -- Configuring incomplete, errors occurred!
> {{code}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to