Bug 2381104
| Summary: | prusa-slicer: FTBFS with change proposal CMake: Use ninja generator by default | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Le <fedora> |
| Component: | prusa-slicer | Assignee: | Jan Pazdziora <adelton> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | adelton, jstanek, j, mhroncok, spotrh |
| 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-02 11:16:18 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:21:49 UTC
Hello, I assume the failing build in question is https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/build/9277003/, with log in https://download.copr.fedorainfracloud.org/results/lecris/cmake-ninja/fedora-rawhide-x86_64/09277003-prusa-slicer/builder-live.log.gz. Looking at https://src.fedoraproject.org/rpms/prusa-slicer/blob/rawhide/f/prusa-slicer.spec we use the %cmake_* macros as needed, and the failure comes from the line %cmake_build -- test ARGS=-V leading to Run Build Command(s): /usr/bin/ninja-build -v -j 4 test ARGS=-V ninja: error: unknown target 'ARGS=-V' How should that line be changed? Thanks for looking into it. Changing it to `%ctest` macro should do the trick. Just change that line with `%ctest` Filed https://src.fedoraproject.org/rpms/prusa-slicer/pull-request/54 with this change. Scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=135570679 passed. What is the best way to try that build with the ninja generator settings? Best option would be to ping me and I can do the rebuild or close the issue with a merge and it will rebuild it in the next round. If you want to do locally, here's one way ``` $ copr mock-config lecris/cmake-ninja fedora-rawhide-x86_64 > ~/.config/mock/cmake-ninja.cfg $ mock -r cmake-ninja ./prusa-slicer-*.src.rpm ``` The PR merged, prusa-slicer-2.9.2-5.fc43 built in https://koji.fedoraproject.org/koji/taskinfo?taskID=135599595, https://bodhi.fedoraproject.org/updates/FEDORA-2025-d892f1a8d8 got auto-filed. |