[Bug] Missing enable script after installing llvm-toolset-19 in Docker image

Issue Description:
When building a container based on the openEuler 24.03 LTS base image, the yum install llvm-toolset-19-* command is included in the Dockerfile. After building the image and starting a container, the enable script is missing from the /opt/openEuler/llvm-toolset-19/ directory.

Reproduction Steps:

  1. Use openEuler 24.03 LTS as the base image to write a Dockerfile.
  2. Execute yum install -y llvm-toolset-19-* in the Dockerfile.
  3. Build the image and start a container.
  4. Check the directory /opt/openEuler/llvm-toolset-19/.

Actual Result:
The enable file is missing, making it impossible to configure environment variables via source.

Expected Result:
The behavior should be consistent with installing the package on a standard openEuler 24.03 LTS host system, where the /opt/openEuler/llvm-toolset-19/enable file should exist.

Additional Information:
It appears the installation script for this package fails to correctly generate or deploy the enable file in the container environment, affecting the usability of the containerized development environment.

Missing package, need to install the llvm-toolset-18 package

I tried using yum install llvm-toolset-19, but it said the package doesn’t exist. When I switched to yum install llvm-toolset-*, it installed everything. Thanks.

Please give a solution a thumbs up :grin:

1 Like