Bug 2308433
| Summary: | objfw-config includes extraneous system flags | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Elliott Sales de Andrade <quantum.analyst> |
| Component: | objfw | Assignee: | Jonathan S. <js-fedora> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | js-fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | objfw-1.1.7-3.fc40 objfw-1.1.7-3.fc39 objfw-1.1.7-3.el9 objfw-1.1.7-3.el8 objfw-1.1.7-3.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-03 05:50:18 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: | |||
This has been fixed in what will become 1.1.8 and backported to objfw-1.1.7-2 in rawhide. -2 didn't have the patch actually applied, so -3 it is. FEDORA-2024-81093d70e9 (objfw-1.1.7-3.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-81093d70e9 FEDORA-2024-5592869815 (objfw-1.1.7-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5592869815 FEDORA-EPEL-2024-d4fc57fe32 (objfw-1.1.7-3.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d4fc57fe32 FEDORA-EPEL-2024-f3c8d85a65 (objfw-1.1.7-3.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-f3c8d85a65 FEDORA-2024-0c753019e2 (objfw-1.1.7-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c753019e2 FEDORA-2024-5592869815 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5592869815` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5592869815 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2024-d4fc57fe32 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-d4fc57fe32 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-81093d70e9 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-81093d70e9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-81093d70e9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2024-f3c8d85a65 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-f3c8d85a65 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-0c753019e2 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-0c753019e2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-0c753019e2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-81093d70e9 (objfw-1.1.7-3.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-5592869815 (objfw-1.1.7-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2024-d4fc57fe32 (objfw-1.1.7-3.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2024-f3c8d85a65 (objfw-1.1.7-3.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2024-0c753019e2 (objfw-1.1.7-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
When running `objfw-config --*flags`, the output for `--ldflags` contains unnecessary system build flags. However, none of the rest of the flags do; this causes issues during linking. Reproducible: Always Steps to Reproduce: 1. Run objfw-config --cflags 2. Run objfw-config --cppflags 3. Run objfw-config --cxxflags 4. Run objfw-config --ldflags Actual Results: $ objfw-config --cflags $ objfw-config --cppflags -I/usr/include $ objfw-config --cxxflags $ objfw-config --ldflags -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg -Wl,--build-id=sha1 -fexceptions Expected Results: The last run should _not_ contain flags like `--config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg`; these flags are for building an RPM, but not intended for use outside of the Fedora build system. The file referenced here is part of the redhat-rpm-config package, which is not normally installed. In some cases, the output of `%{extension_(c|cxx|ld)flags}` may be used for user-built stuff, but that doesn't seem like it applies in this case.