Bug 519391
Summary: | (nss) broken pkgconfig file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andreas Schwab <schwab> | ||||
Component: | nss | Assignee: | Elio Maldonado Batiz <emaldona> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | caolanm, dcbw, drepper, emaldona, jbarnes, kdudka, kengert, rdieter, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-08-28 15:14:31 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: | 519081 | ||||||
Attachments: |
|
Description
Andreas Schwab
2009-08-26 13:03:55 UTC
Please fix this ASAP. It is holding up important testing for F12. Check http://koji.fedoraproject.org/koji/taskinfo?taskID=1636051 for the fix Still blocked by nss-softokn. 3.12.3.99.3-18.fc12 from #2 doesn't fix this, you've still got %NSSUTIL_VERSION% etc in nss.pc You are right, the fixed nss.pc.in doesn't show up in the srpm. Another one coming. package: 389-adminutil-devel-1.1.8-4.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) package: conexus-nss-devel-0.9.0-1.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) >= 0:3.11 package: libpathfinder-nss-devel-1.0.0-2.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) >= 0:2.0.0 package: mozldap-devel-6.0.5-6.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) >= 0:3.11 package: svrcore-devel-4.0.4-5.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) >= 0:3.12.3.99.3 package: xmlsec1-nss-devel-1.2.12-1.fc12.i686 from rawhide-i386 unresolved deps: pkgconfig(nss) >= 0:1.4 Is something supposed to provide this? http://koji.fedoraproject.org/koji/getfile?taskID=1639014&name=build.log Another nss related build failure... + pkg-config --exists nss + echo 'Unable to find suitable version of nss to use!' Unable to find suitable version of nss to use! + exit 1 Created attachment 359022 [details]
nss part
3.12.3.99.3-22.fc12 isn't going to fix this either. You need to replace those %NSSUTIL_VERSION% and %SOFTOKEN_VERSION% values in the .pc.in as are already done for %NSS_VERSION%
Requires: nspr >= 4.8, nss-util >= %NSSUTIL_VERSION%, nss-softokn >= %SOFTOKEN_VERSION%
And then the same sort of thing probably has to be done to nss-softokn .spec as well, i.e.
- -e "s,%%SOFTKN_VERSION%%,%{version},g" > \
+ -e "s,%%NSSUTIL_VERSION%%,%{version},g" \
+ -e "s,%%SOFTOKEN_VERSION%%,%{version},g" > \
Yeah; nss-softokn -21 needs fixes to, just for the record this is what I get when trying to build NetworkManager: checking for NSS... configure: error: Package requirements (nss >= 3.11) were not met: Package 'NSS-SOFTOKN' requires 'nss-util >= %NSSUTIL_VERSION%' but version of NSS-UTIL is 3.12.3.99.3 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables NSS_CFLAGS and NSS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Should be fixed in nss-3.12.3.99.3-24.fc12 nss-softokn-3.12.3.99.3-22.fc12 http://koji.fedoraproject.org/koji/buildinfo?buildID=129665 http://koji.fedoraproject.org/koji/buildinfo?buildID=129667 respectively. holler if problems persist. *** Bug 519995 has been marked as a duplicate of this bug. *** Rex, Thank you for the fix. I see you comment # FIXME: Due to nss.pc.in substitutions in the %%build section, these Requires must # be exactly matching versions? Requires: nss-util >= %{version} Requires: nss-softokn >= %{version} Requires: nss-softokn-freebl%{_isa} >= %{version} which I guess should be changed to Requires: nss-util = %{version}-%{release} Requires: nss-softokn = %{version}-%{release} Requires: nss-softokn-freebl%{_isa} >= %{version} and we would probably have to do a chained build for this to work. That is fine as long as we keep them all at the same version. Such is the case now in Fedora. In the case of RHEL for example we want to keep softokn at the currently FIPS validated version while at the same upgrading the rest of nss to the latest. I will have to do thread carefully, keep track of the desired softokn version and adjust both the use of versions in the %build section and here with the requires. I wrote that. It doesn't need to be exactly matching, but rather versions must be explicitly defined so the Requires matches the the versions written to the pkgconfig file. |