Bug 1937409

Summary: %configure macro should set the --runstatedir option
Product: Red Hat Enterprise Linux 9 Reporter: Patrik Novotný <panovotn>
Component: redhat-rpm-configAssignee: Michal Domonkos <mdomonko>
Status: CLOSED WONTFIX QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: codonell, fdvorak, fweimer, hhorak, lmiksik, mcermak, mdomonko, packaging-team-maint, praiskup
Target Milestone: betaKeywords: Triaged
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: 2022-06-28 13:58:00 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: 1937406    
Bug Blocks: 1831941    

Description Patrik Novotný 2021-03-10 15:26:31 UTC
Since the --runstatedir option was backported to autoconf[1], the %configure RPM macro should set this option properly.

This has actually caused some issues, due to an upstream bug[2] causing @RUNSTATEDIR@ not to be properly expanded. This upstream issue wouldn't affect us, if runstatedir was properly for each build.

Some packages cope with this issue on the per package bases[3] in Fedora, but I believe this should be resolved in the %configure macro itself.

More information in the related bug report[4].


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1831941
[2] https://lists.gnu.org/archive/html/bug-autoconf/2021-03/msg00001.html
[3] https://src.fedoraproject.org/rpms/krb5/c/327ebd0b263aa5adaafd83851b8dd9953f984c01?branch=rawhide
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1935653

Comment 3 Florian Weimer 2021-03-10 15:59:02 UTC
I do not think it is wise to make this change in RHEL 8. We don't really know how packages react to changed configure arguments. The risk seems rather high as a result.

What is the expected benefit of this change?

Comment 19 Florian Weimer 2022-06-28 13:58:00 UTC
I don't think we can make this change in an existing distribution because risk is too high for the rather limited benefit. We plan to make this change in Fedora first, following the steps outlined in bug 1937406 comment 9.