Bug 2256570

Summary: zlib-ng: Missing zlib-static subpackage
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: zlib-ngAssignee: Tulio Magno Quites Machado Filho <tuliom>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: aekoroglu, benson_muite, berrange, junghans, ljavorsk, rjones, tuliom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-10 12:24:32 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: 2229349, 2252767, 2256884    

Description Florian Weimer 2024-01-03 06:59:15 UTC
The old zlib package provides a zlib-static subpackage. This is missing from the zlib-ng build.

Currently, the zlib package remains tagged into the buildroot, so weird conflicts are the result:

DEBUG util.py:461:  Failed to resolve the transaction:
DEBUG util.py:461:  Problem: package zlib-static-1.2.13-5.fc40.x86_64 requires 
zlib-devel(x86-64) = 1.2.13-5.fc40, but none of the providers can be installed
DEBUG util.py:461:    - package zlib-ng-compat-devel-2.1.5-1.fc40.x86_64 confli
cts with zlib-devel(x86-64) provided by zlib-devel-1.2.13-5.fc40.x86_64
DEBUG util.py:461:    - package zlib-ng-compat-devel-2.1.5-1.fc40.x86_64 obsole
tes zlib-devel < 1.3 provided by zlib-devel-1.2.13-5.fc40.x86_64
DEBUG util.py:461:    - cannot install the best candidate for the job
DEBUG util.py:610:  Child return code was: 1

But the core issue is the missing zlib-static subpackage (or Provides:).

Reproducible: Always

Comment 2 Lukas Javorsky 2024-01-06 15:32:43 UTC
I've created a PR (https://src.fedoraproject.org/rpms/zlib-ng/pull-request/7) that's adding the subpackage.

I'm not entirely sure if this is the right way to build it, so Tulio please review the PR, and if you think it's good, feel free to merge and build it.

Comment 3 Christoph Junghans 2024-01-10 12:23:31 UTC
Done in https://bodhi.fedoraproject.org/updates/FEDORA-2024-9f00819187