#43 branch util-linux and include setpriv backport
Closed 2 years ago by dcavalca. Opened 2 years ago by dcavalca.

This also requires branching and building libuser and openldap because of https://bugzilla.redhat.com/show_bug.cgi?id=1868430


Current status: openldap built fine. libuser fails because it pulls in openldap-server, which pulls in libperl (I think due to back_perl) and that's part of a module, which doesn't seem to be available in CBS. Hopefully we can chop that part out of openldap without too much trouble and sidestep this.

https://cbs.centos.org/koji/taskinfo?taskID=2472477 is the build showing the issue:

 # /usr/bin/dnf builddep --installroot /var/lib/mock/hyperscale8s-packages-main-el8-build-94306-840548/root/ /var/lib/mock/hyperscale8s-packages-main-el8-build-94306-840548/root//builddir/build/SRPMS/libuser-0.62-23.hs.el8.src.rpm --setopt=tsflags=nocontexts
Error: 
 Problem: package perl-XML-XPath-1.42-3.el8.noarch requires perl(:MODULE_COMPAT_5.26.3), but none of the providers can be installed
  - package texlive-texlive.infra-7:20180414-22.el8.noarch requires perl(XML::XPath), but none of the providers can be installed
  - package texlive-texlive.infra-7:20180414-22.el8.noarch requires perl(XML::XPath::XMLParser), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - package texlive-tetex-7:20180414-22.el8.noarch requires texlive-texlive.infra, but none of the providers can be installed
  - package openldap-servers-2.4.46-16.hs.el8.x86_64 requires libperl.so.5.30()(64bit), but none of the providers can be installed
  - package linuxdoc-tools-0.9.72-5.el8.x86_64 requires /usr/bin/texconfig-sys, but none of the providers can be installed
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

I think I've managed to resolve the conflict by dropped linuxdoc-tools from the libuser BuildRequires, which doesn't seem to be actually used: https://cbs.centos.org/koji/taskinfo?taskID=2472643

However, something's genuinely wrong with the openldap package we build: if I try to install openldap-servers I get:

[davide@localhost ~]$ sudo dnf install openldap-servers
Last metadata expiration check: 0:00:21 ago on Fri 16 Apr 2021 08:29:16 AM PDT.
Error: 
 Problem: package openldap-servers-2.4.46-16.hs.el8.x86_64 requires libperl.so.5.30()(64bit), but none of the providers can be installed
  - conflicting requests
  - package perl-libs-4:5.30.1-452.module_el8.4.0+646+45e06e4a.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[davide@localhost ~]$ rpm -q perl-libs
perl-libs-5.26.3-419.el8.x86_64
[davide@localhost ~]$ 

https://cbs.centos.org/koji/buildinfo?buildID=32748 is the openldap build for reference, which indeed seems to have picked up the perl module instead of the non-module version for some reason.

Tagged util-linux-2.32.1-27.1.hs.el8 for -release

Filed https://pagure.io/centos-infra/issue/294 for the openldap issue as that's still outstanding

Filed https://bugzilla.redhat.com/show_bug.cgi?id=1960708 as the RHEL kernel is missing a capability we need for this

Built and tagged util-linux-2.32.1-27.2.hs.el8 for -release to add CAP_CHECKPOINT_RESTORE

util-linux-2.32.1-27.3.hs.el8 is rebuilt against the stock libuser now that we have the full buildroot available on CBS.

Metadata Update from @dcavalca:
- Issue status updated to: Closed (was: Open)

2 years ago

Metadata Update from @ngompa:
- Issue tagged with: new-package

2 years ago

Login to comment on this ticket.

Metadata