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 2161330

Summary: wine: Use %_fortify_level instead of twiddling with RPM_OPT_FLAGS
Product: [Fedora] Fedora Reporter: Siddhesh Poyarekar <sipoyare>
Component: wineAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, besser82, mike
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: wine-8.0-0.rc4.1.fc37 wine-8.0-0.rc4.1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-21 03:31:38 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:    
Bug Blocks: 2158232    

Description Siddhesh Poyarekar 2023-01-16 15:55:19 UTC
Description of problem:
There is now a canonical way to disable fortification, see "Fortification level" in the build flags guide:

https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification

This way, one doesn't need to mess with RPM_OPT_FLAGS anymore to do this. The current sed approach will also not work since the flag has now changed to -Wp,-D_FORTIFY_SOURCE=3.

Comment 1 Michael Cronenworth 2023-01-17 04:54:09 UTC
Thanks. I'm implementing this into the 8.0 build.

Comment 2 Fedora Update System 2023-01-18 00:07:28 UTC
FEDORA-2023-083202f1ba has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-083202f1ba

Comment 3 Fedora Update System 2023-01-18 00:08:37 UTC
FEDORA-2023-eb7925ec53 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-eb7925ec53

Comment 4 Fedora Update System 2023-01-18 02:37:25 UTC
FEDORA-2023-083202f1ba has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-083202f1ba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-083202f1ba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-01-18 03:40:05 UTC
FEDORA-2023-eb7925ec53 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-eb7925ec53`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-eb7925ec53

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-01-21 03:31:38 UTC
FEDORA-2023-083202f1ba has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-01-22 01:48:34 UTC
FEDORA-2023-eb7925ec53 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.