Skip to content

Conversation

@ScottTodd
Copy link
Member

@ScottTodd ScottTodd commented Dec 1, 2025

Motivation

I suspect this will help with #2364 :

2025-11-30T06:50:31.5504409Z [rocprofiler-systems] make[4]: Entering directory '/therock/output/build/profiler/rocprofiler-systems/build/external/binutils/src/rocprofiler-systems-libiberty-build/binutils'
2025-11-30T06:50:31.5504565Z [rocprofiler-systems]   CC       size.o
2025-11-30T06:50:31.5504719Z [rocprofiler-systems]   CC       bucomm.o
...
2025-11-30T06:50:31.5506987Z [rocprofiler-systems]   CC       arparse.o
2025-11-30T06:50:31.5507135Z [rocprofiler-systems]   LEX      arlex.c
2025-11-30T06:50:31.5508159Z [rocprofiler-systems] /therock/output/build/profiler/rocprofiler-systems/build/external/binutils/src/rocprofiler-systems-libiberty-build/missing: line 81: flex: command not found
2025-11-30T06:50:31.5508461Z [rocprofiler-systems] WARNING: 'flex' is missing on your system.
2025-11-30T06:50:31.5508792Z [rocprofiler-systems]          You should only need it if you modified a '.l' file.
2025-11-30T06:50:31.5509240Z [rocprofiler-systems]          You may want to install the Fast Lexical Analyzer package:
2025-11-30T06:50:31.5509527Z [rocprofiler-systems]          <http://flex.sourceforge.net/>
2025-11-30T06:50:31.5509809Z [rocprofiler-systems] make[4]: *** [Makefile:1241: arlex.c] Error 127

Technical Details

Once merged and a new image is built we will need to update pins like here:

BUILD_IMAGE: ghcr.io/rocm/therock_build_manylinux_x86_64@sha256:4af52d56d91ef6ef8b7d0a13c6115af1ab2c9bf4a8a85d9267b489ecb737ed25

Test Plan

I don't have a Linux development environment easily accessible to test this right now but here's what I would do:

  • Reproduce the build issue locally with our existing docker image
  • Build the container locally
  • Check if the issue persists or is fixed

Alternately, we could merge this without testing and then update the workflows and hope for the best...

Test Result

On local setup, reproduced initial failure on gfx950, installed flex, rebuild was successful.

Submission Checklist

@ScottTodd ScottTodd merged commit 990439a into ROCm:main Dec 2, 2025
16 of 22 checks passed
@ScottTodd ScottTodd deleted the dockerfile-flex branch December 2, 2025 20:02
@github-project-automation github-project-automation bot moved this from TODO to Done in TheRock Triage Dec 2, 2025
dgaliffiAMD added a commit that referenced this pull request Dec 3, 2025
## Motivation

To use the latest `therock_build_manylinux_x86_64` docker image created
with #2365 to resolve
#2364.

## Technical Details

Update the previous SHA,
`4af52d56d91ef6ef8b7d0a13c6115af1ab2c9bf4a8a85d9267b489ecb737ed25`, to
the latest,
`583d473f263a289222c48d4b493e2956b2354a45796f09dee6f2c8ecd4504ab6`.

## Test Plan

<!-- Explain any relevant testing done to verify this PR. -->
Run workflows with the new image.

## Test Result

<!-- Briefly summarize test outcomes. -->
Workflows passing.

## Submission Checklist

- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.

Signed-off-by: David Galiffi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Issue] rocprofiler-systems build failures for Linux gfx950 releases

2 participants