Bug 2060781
Summary: | kicad: FTBFS with cmake 3.23.0 in Fedora Rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jitka Plesnikova <jplesnik> |
Component: | kicad | Assignee: | Steven A. Falco <stevenfalco> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | aimylios, alain.vigne.14, gmarr, ian.s.mcinerney, kiarakovalevsky, stevenfalco, thibault |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koschei.fedoraproject.org/package/kicad | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-04 21:23:33 UTC | Type: | Bug |
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: | 2059201 | ||
Bug Blocks: | 2045102 |
Description
Jitka Plesnikova
2022-03-04 09:51:08 UTC
Do you have a link to your koji build so I can see the error messages? I found the error in Koschei. https://koschei.fedoraproject.org/package/kicad?collection=f37 I was able to reproduce the error. Here is a link to a failed scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=83638808 I filed an issue in KiCad: https://gitlab.com/kicad/code/kicad/-/issues/11043 I got the following comment from the KiCad project lead: This looks like cmake issue to me. For some reason cmake is creating an incorrect build folder: -- Build files have been written to: /builddir/build/BUILD/kicad-6.0.2 so the build command: + /usr/bin/cmake --build redhat-linux-build -j6 --verbose cannot find the redhat-linux-build folder that was passed on the cmake command line. This definitely looks like either a CMake or packaging bug with the CMake macro or its invocation. The first thing to try would be removing the trailing "." on the end of every %cmake macro invocation, since that shouldn't be needed since the macro passes the -S and -B options to CMake (and the example usage of the CMake macros on https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/ don't show them included). Removing the "." works. I have a new scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=83642010 and it is progressing normally. The build log once again shows: -- Build files have been written to: /builddir/build/BUILD/kicad-6.0.2/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j6 --verbose as expected. Spoke too soon - looks like there are still problems building the documentation. I'm working on that. kicad-6.0.2-3 builds successfully in rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=83644560 |