Bug 1125014

Summary: Missing -static subpackage for bzip2
Product: [Fedora] Fedora Reporter: Chuck Atkins <chuck.atkins>
Component: bzip2Assignee: Jan Chaloupka <jchaloup>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: chuck.atkins, jchaloup, pertusus
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: 2014-08-07 06:50:37 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:

Description Chuck Atkins 2014-07-30 20:45:16 UTC
Description of problem:
Static bzip2 libraries are not available.

Version-Release number of selected component (if applicable):
All versions after bzip2-1.0.5-5.fc11

Expected results:
The presence of a bzip2-static package containing /usr/lib64/libbz2.a

Additional info:
Related to https://bugzilla.redhat.com/show_bug.cgi?id=486593. The solution to removing the static libraries from -devel package was to just remove them entirely.  The static libraries should still be made available, however, as a seperate bzip2-static package.

Comment 1 Jan Chaloupka 2014-08-04 10:03:12 UTC
Hello, Chuck,

can you justify, why you need static library? Dynamic one is not enough?

Comment 2 Chuck Atkins 2014-08-04 21:09:09 UTC
Really the same reason any static libraries are needed: they're useful to have for software development.  It's also a matter of consistency for the core system compression as zlib-static and xz-static are available.  The only people that really use the foo-static packages are C and C++ developers but they're useful to have around to keep your dependencies consistent.  Usually static libs are nice to have to make the executables you build portable to Linux systems.

It just seems arbitrary to have them available for some system packages and not others.

Comment 3 Jan Chaloupka 2014-08-07 06:50:37 UTC
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2

"In general, packagers are strongly encouraged not to ship static libs unless a compelling reason exists."

Still, is there a problem using the dynamic one? For development, you can locally build static bzip2 library and use it (edit spec file, can send you a patch).

It can be nice to have them on your system but it does not mean they should be there. Besides, if I rebuild the bzip2 package for some security issue, you will have to rebuild your package too. How can I know you will get this information? Via dynamic library, this is just a matter of package update.

Still don't see a reason why there should be the static subpackage. If you believe I am wrong, please, email devel.org and discuss this issue with them.