Bug 1987421
| Summary: | dlm: FTBFS in Fedora rawhide/f35 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | dlm | Assignee: | David Teigland <teigland> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | agk, anprice, kevin, kgaillot, teigland | ||||||||
| 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: | 2021-08-02 16:55:42 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: | 1927309 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2021-07-29 14:47:49 UTC
Created attachment 1807309 [details]
build.log
Created attachment 1807310 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1807311 [details]
state.log
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 35. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23). A week before the mass branching of Fedora 36 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 34 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html From the logs:
In file included from stonith_helper.c:15:
/usr/include/pacemaker/crm/stonith-ng.h:562:10: fatal error: crm/fencing/compat.h: No such file or directory
562 | #include <crm/fencing/compat.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
I think this might be an issue in pacemaker-libs-devel. Ken, please could you take a look?
(In reply to Andrew Price from comment #5) > From the logs: > > In file included from stonith_helper.c:15: > /usr/include/pacemaker/crm/stonith-ng.h:562:10: fatal error: > crm/fencing/compat.h: No such file or directory > 562 | #include <crm/fencing/compat.h> > | ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > > > I think this might be an issue in pacemaker-libs-devel. Ken, please could > you take a look? Sort of. Before the upstream 2.1.0 release, stonith-ng.h did not include any other Pacemaker headers, so it was possible to simply include it directly without adding the Pacemaker include path. In 2.1.0, that header now includes another one, which breaks that approach. Upstream just released a 2.1.1-rc1 that reverts that change, and Fedora builds are underway, so the problem should go away soon. However, it would still be worthwhile to fix it on the DLM side as well, by adding the output of "pkg-config --cflags pacemaker-fencing" to CFLAGS (or using PKG_CHECK_MODULES if you're using autotools), for future-proofing. I pushed a fix, but fedora builds fail with: $ fedpkg build Could not execute build: Unknown build target: main-candidate or $ fedpkg build No local config file exists. Create package.cfg to specify build targets to build. Could not execute build: Unknown build target: rawhide-candidate Do you have an old version of fedpkg? Apparently fedpkg-1.40-2 fixed an issue of that sort. thanks, that worked Clearing needinfo |