| Summary: | xulrunner : does not adhere to Static Library Packaging Guidelines | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> |
| Component: | thunderbird | Assignee: | Gecko Maintainer <gecko-bugs-nobody> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | emaldona, gecko-bugs-nobody, johnp, jrb, kdudka, kengert, mcepl, rdieter, stransky, t.matsuu, walters |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-07 07:11:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Michael Schwendt
2011-06-28 12:49:06 UTC
It would be nice if you could tell us which files triggered your script to file this bug for this component. Could you indicate the problematic files for us, please? Thank you According to the koji build logs which are evaluated, -lcrmf which is a static-only library. Yeah, but this lib comes from nss, it's not a problem with xulrunner. *** Bug 717245 has been marked as a duplicate of this bug. *** *** Bug 717242 has been marked as a duplicate of this bug. *** xulrunner-5.0-3.fc16.src is missing BuildRequires: nss-static [...] https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2 If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library. That means, if xulrunner wants to use the static library for linking, it must BuildRequires the -static package. But nss does not provide the nss-static subpackage for that, crmf is a part of nss-devel. What can we do in thunderbird with that?? nss-static is a virtual package provided by nss-devel (otherwise the script that checks for these errors would not suggest it as a BR), and that's valid according to the guidelines, because nss-devel includes no shared libs. Ahh, I see, Thanks for the explanation. BTW, is it an upstream bug or policy that CRMF library is provided only as a static library? https://bugzilla.mozilla.org/show_bug.cgi?id=294542 (Bob Relyea is in Cc in this bug). Fixed in rawhide. |