Bug 1196527
Summary: | %optflags in opensaml.pc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ralf Corsepius <rc040203> |
Component: | opensaml | Assignee: | Guido Grazioli <guido.grazioli> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | bruno, guido.grazioli |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-19 12:52:57 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: | 1196914 | ||
Bug Blocks: | 1196917, 1196918 |
Description
Ralf Corsepius
2015-02-26 07:47:00 UTC
Thanks for the report. I am working on updating xmltooling and opensaml to latest version on rawhide, and I'll address this too. I guess: Libs: -L${libdir} -Wl,-z,relro -lxmltooling -lxml-security-c -lxerces-c -L/usr/lib64 -llog4cpp -lnsl -lz -lsaml would have to be: Libs: -L${libdir} -lxmltooling -lsaml Libs.private: -lxml-security-c -lxerces-c -llog4cpp -lnsl -lz Please correct me if I am wrong, I am not usually a pkgconfig user. (In reply to Guido Grazioli from comment #1) > Thanks for the report. I am working on updating xmltooling and opensaml to > latest version on rawhide, and I'll address this too. > > I guess: > > Libs: -L${libdir} -Wl,-z,relro -lxmltooling -lxml-security-c -lxerces-c > -L/usr/lib64 -llog4cpp -lnsl -lz -lsaml > > would have to be: > > Libs: -L${libdir} -lxmltooling -lsaml > Libs.private: -lxml-security-c -lxerces-c -llog4cpp -lnsl -lz > > Please correct me if I am wrong, I am not usually a pkgconfig user. I am not sure either. Likely there 2 separate issues interacting simultaneously here a) libs vs. libs.private + require vs. require.private and b) optflags, __global_ldflags incorrectly getting propagated into *.pcs. I am only referring to the latter issue. The problem with these is they are restricting usability/generality of a package, because *.pc are only supposed to take package-specific flags and not user-specified values. From a packaging point of view, packages which are propagating CFLAGS/LDFLAGS to *.pcs suffer from a broken configuration, which does not properly separate package and user configuration. To work-around this issue in rpms, in many cases, simply sed-ing these values out from *.pc does the job: E.g. presuming a XXXX.pc is generated by an autoconf-based configure script: %configure ... sed -i -e "s|%{optflags}||;s|%{__global_ldflags}||" XXXX.pc Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |