Re: Obsoleting zlib in Fedora Rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 04, 2023 at 04:10:18PM -0300, Tulio Magno Quites Machado Filho wrote:
> Following the recent approval from Fesco, I'm planning to distribute
> zlib-ng-compat packages for Rawhide later this week. 
> I hope this will give us enough time to work on the issues before
> Fedora 40 is released. 🤞
> 
> So, keep in mind this will *obsolete zlib in Rawhide*.

snip

> If you have any questions or need help with these issues, let me know.

I've just tried to build latest QEMU in rawhide. We have

  BuildRequires: zlib-devel
  BuildRequires: zlib-ng-static

and when building koji fails to install the build root deps

DEBUG util.py:446:  Error: 
DEBUG util.py:446:   Problem: problem with installed package zlib-ng-compat-2.1.5-1.fc40.x86_64
DEBUG util.py:446:    - package zlib-ng-compat-2.1.5-1.fc40.x86_64 from @System conflicts with zlib(x86-64) provided by zlib-1.2.13-5.fc40.x86_64 from build
DEBUG util.py:446:    - installed package zlib-ng-compat-2.1.5-1.fc40.x86_64 obsoletes zlib < 1.3 provided by zlib-1.2.13-5.fc40.x86_64 from build
DEBUG util.py:446:    - package zlib-ng-compat-2.1.5-1.fc40.x86_64 from build conflicts with zlib(x86-64) provided by zlib-1.2.13-5.fc40.x86_64 from build
DEBUG util.py:446:    - package zlib-ng-compat-2.1.5-1.fc40.x86_64 from build obsoletes zlib < 1.3 provided by zlib-1.2.13-5.fc40.x86_64 from build
DEBUG util.py:446:    - package zlib-devel-1.2.13-5.fc40.x86_64 from build requires zlib(x86-64) = 1.2.13-5.fc40, but none of the providers can be installed
DEBUG util.py:446:    - package zlib-static-1.2.13-5.fc40.x86_64 from build requires zlib-devel(x86-64) = 1.2.13-5.fc40, but none of the providers can be installed
DEBUG util.py:446:    - conflicting requests
DEBUG util.py:448:  (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

It appears that the zlib-ng replacement is not providing a
zlib-static replacement. So rpm ends up trying to install
bot zlib (for zlib-static) and zlib-ng (for zlib-devel) and
this all fails.

AFAICT, this will only work if zlib-ng provides a -static
package.

We can't build QEMU without zlib static, as it is a mandatory
dependancy of the QEMU userspace emulators which are static
linked in order to work as linux binary translators in chroots.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux