Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1865255
Summary: | primesieve: FTBFS in Fedora rawhide/f33 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | primesieve | Assignee: | Kim Walisch <kim.walisch> | ||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | kim.walisch | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2020-08-09 10:38:28 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: | 1803234 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2020-08-03 20:44:35 UTC
Created attachment 1708948 [details]
build.log
Created attachment 1708949 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1708950 [details]
state.log
Hi, This bug is not a primesieve bug but has been caused by a change in how CMake builds are handled by Fedora. This blog post https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds explains the change and how to change the spec of projects that are using CMake: "%cmake and %cmake_kf5 macros will be adjusted (-B parameter) to use separate build folder (already standardized %{_vpath_builddir} macro). Additionally, %cmake_build, %cmake_install and %ctest macro will be created (and backported to the older supported Fedora releases) to perform various operations that are commonly used with CMake in a backend-agnostic (Makefiles, Ninja, etc.) way. Packages that will stop building are trivial to fix and will be adjusted either by maintainers or change owners." In the build.log file we can see that currently CMake creates the makefile in the /builddir/build/BUILD/primesieve-7.5/x86_64-redhat-linux-gnu directory but then when make is launched from the /builddir/build/BUILD/primesieve-7.5 directory. Based on the blog post I guess that make_build and make_install have to be replaced by cmake_build and cmake_install. I have now fixed the bug. I changed make_build and make_install to cmake_build and cmake_install. Here is a link to the successful koji build on rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=48611204 P.S. Note that the new primesieve.spec will not build on Fedora 32 (and earlier versions) as I had to hardcode the documentation path to %{_vpath_builddir}/doc/html. There has been at least one successfull build after mass rebuild. primesieve-7.5-6.fc33: https://koji.fedoraproject.org/koji/buildinfo?buildID=1582531 |