Bug 2381117
| Summary: | rocm-compilersupport: FTBFS with change proposal CMake: Use ninja generator by default | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Le <fedora> |
| Component: | rocm-compilersupport | Assignee: | Tom.Rix |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | rocm-packagers-sig, Tom.Rix |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-08-10 05:36:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2376112 | ||
|
Description
Cristian Le
2025-07-16 15:22:50 UTC
!! Copr timeout => sending INT Copr build error: Build failed Increase the timeout on your copr and try again. Did a rebuild, and it fails at questionable sections ``` -- Build files have been written to: /builddir/build/BUILD/rocm-compilersupport-19-build/llvm-project-rocm-6.4.1/build-comgr + sed -i -e s.19.0git@ build-comgr/CMakeFiles/amd_comgr.dir/link.txt sed: can't read build-comgr/CMakeFiles/amd_comgr.dir/link.txt: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.xhl7QV (%build) ``` I am actually lost on what that is supposed to be doing. Can you check if this change fixes the issue ? https://src.fedoraproject.org/rpms/rocm-compilersupport/c/878261eeebbede5f9f220522155fb1ccd8110df8?branch=rawhide Rebuild submitted: https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/build/9394464/ It should work, but the preferred approach is to add ``` %global _cmake_generator "Unix Makefiles" ``` This would avoid having multiple `-G` flags in the `cmake` command. It should be fine because it seems to be taking the last value. |