Bug 1212209

Summary: RFE: Add lzo-static subpackage build to 'Everything' to allow for zlib-static migration
Product: [Fedora] Fedora Reporter: Japheth Cleaver <cleaver-redhat>
Component: lzoAssignee: Huzaifa S. Sidhpurwala <huzaifas>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: huzaifas, jskarvad, steve
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: 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:
Attachments:
Description Flags
Patch for Rawhide (lzo-2.08-3) version of lzo.spec none

Description Japheth Cleaver 2015-04-15 20:35:53 UTC
Created attachment 1014934 [details]
Patch for Rawhide (lzo-2.08-3) version of lzo.spec

Description of problem:
Although static subpackages are discouraged in Fedora, one of the generally-accepted exceptions is for compression libraries, especially low-level ones, as there can be various low-level utilities that for whatever reason can be statically compiled.

lzo is missing an lzo-static subpackage, which makes it a little harder for those users to use it as a downstream replacement for zlib-static or xz-static (without resorting to using minilzo as a bundled copylib).


Similar to BZ#623569, but that was for EPEL5.


Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. Add Fedora 'Everything' repo
2. yum install lzo-static
3.

Actual results:
Not available

Expected results:
Available

Additional info:
Again, this isn't a request to add it to the normal Fedora distribution, only to have it built generally (and available in the Fedora-Everything repo). As it stands, users that need a static version of the library have to replace the existing RPM when rebuilding the SRPM.

Comment 1 Japheth Cleaver 2021-04-28 18:03:57 UTC
I know it's been.... six years, but any chance this can be added in? LZO is the only one of the major compression libraries that does not have an optional static library package available.

[root@f34 ~]# yum list *-static.x86_64 | grep z
bzip2-static.x86_64                    1.0.8-6.fc34                           fedora 
fbzmq-static.x86_64                    2021.04.12.00-1.fc34                   updates
fizz-static.x86_64                     2021.04.12.00-1.fc34                   updates
genwqe-zlib-static.x86_64              4.0.20-13.fc34                         fedora 
libzstd-static.x86_64                  1.4.9-1.fc34                           fedora 
lz4-static.x86_64                      1.9.3-2.fc34                           fedora 
xz-static.x86_64                       5.2.5-5.fc34                           fedora 
zipper-static.x86_64                   1.0.1-4.fc34                           fedora 
zlib-static.x86_64                     1.2.11-26.fc34                         fedora 
zmat-static.x86_64                     0.9.8-6.fc34                           fedora 
zn_poly-static.x86_64                  0.9.2-5.fc34                           fedora 

[root@f34 ~]# yum list *lzo*.x86_64
Installed Packages
lzo.x86_64                                                                              2.10-4.fc34                                                     @fedora
lzo-devel.x86_64                                                                        2.10-4.fc34                                                     @fedora
lzo-minilzo.x86_64                                                                      2.10-4.fc34                                                     @fedora
Available Packages
libknet1-compress-lzo2-plugin.x86_64                                                    1.20-2.fc34                                                     fedora 
lzop.x86_64                                                                             1.04-6.fc34                                                     fedora 
python3-lzo.x86_64                                                                      1.09-20.fc34                                                    fedora 

[root@f34 ~]# rpm -ql lzo-minilzo
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/030e82c29b20d27884547b2d66be482ccd43f8
/usr/lib64/libminilzo.so.0
/usr/share/doc/lzo-minilzo
/usr/share/doc/lzo-minilzo/README.LZO
/usr/share/licenses/lzo-minilzo
/usr/share/licenses/lzo-minilzo/COPYING

Comment 2 Japheth Cleaver 2023-09-22 19:30:44 UTC
Would just like to poke and see if this is still possible to add in at some point?

[root@stubby build]# yum list *-static.x86_64 | grep z
bzip2-static.x86_64                         1.0.8-13.fc38               fedora  
genwqe-zlib-static.x86_64                   4.0.20-17.fc38              fedora  
libzstd-static.x86_64                       1.5.5-1.fc38                updates 
lz4-static.x86_64                           1.9.4-2.fc38                fedora  
xz-static.x86_64                            5.4.1-1.fc38                fedora  
zipper-static.x86_64                        1.0.3-5.fc38                fedora  
zlib-static.x86_64                          1.2.13-3.fc38               fedora  
zmat-static.x86_64                          0.9.8-10.fc38               fedora 

LZO can easily be built with a static package offered as well, and this makes it easier for users of other compression libraries in a static environment for some reason to migrate over to it.

An alternative is for these projects to bundle in the minilzo library, but it would still be better to have this as a system library for management.