<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 13, 2021 at 4:07 AM František Šumšal <<a href="mailto:frantisek@sumsal.cz">frantisek@sumsal.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
I'm not sure if this has been already answered somewhere on this list, but<br>
I'm curious why the CentOS 8 repositories are missing certain build dependencies<br>
(although they're present in RHEL's internal repositories). This makes rebuilding<br>
some of the CentOS 8 packages a bit painful.<br>
<br>
For example, let's try to rebuild util-linux:<br>
<br>
```<br>
$ podman run -it --rm centos:8<br>
# rm -f /etc/yum.repos.d/CentOS-Linux-Media.repo<br>
# dnf -y install dnf-plugins-core<br>
...<br>
# dnf --refresh --enablerepo \* -y builddep util-linux<br>
Failed to set locale, defaulting to C.UTF-8<br>
CentOS Linux 8 - AppStream 10 kB/s | 4.3 kB 00:00 <br>
CentOS Linux 8 - BaseOS 23 kB/s | 3.9 kB 00:00 <br>
CentOS Linux 8 - ContinuousRelease 5.3 kB/s | 3.0 kB 00:00 <br>
CentOS Linux 8 - Debuginfo 1.6 MB/s | 27 MB 00:16 <br>
CentOS Linux 8 - Devel WARNING! FOR BUILDROOT USE ONLY! 18 kB/s | 13 kB 00:00 <br>
CentOS Linux 8 - Extras 8.2 kB/s | 1.5 kB 00:00 <br>
CentOS Linux 8 - FastTrack 933 B/s | 257 B 00:00 <br>
CentOS Linux 8 - HighAvailability 741 kB/s | 504 kB 00:00 <br>
CentOS Linux 8 - Plus 807 kB/s | 596 kB 00:00 <br>
CentOS Linux 8 - PowerTools 2.1 MB/s | 2.0 MB 00:00 <br>
CentOS Linux 8 - BaseOS - Source 120 kB/s | 384 kB 00:03 <br>
CentOS Linux 8 - AppStream - Source 271 kB/s | 991 kB 00:03 <br>
CentOS Linux 8 - Extras - Source 2.2 kB/s | 7.8 kB 00:03 <br>
CentOS Linux 8 - Plus - Source 1.7 kB/s | 5.0 kB 00:03 <br>
Package systemd-239-41.el8_3.x86_64 is already installed.<br>
No matching package to install: 'libuser-devel'<br>
Not all dependencies satisfied<br>
Error: Some packages could not be found.<br>
```<br>
<br>
Oh well, looks like we have to rebuild libuser as well:<br>
<br>
```<br>
# dnf --enablerepo \* -y builddep libuser<br>
Failed to set locale, defaulting to C.UTF-8<br>
Last metadata expiration check: 0:02:14 ago on Tue Apr 13 10:36:39 2021.<br>
No matching package to install: 'openldap-servers'<br>
Not all dependencies satisfied<br>
Error: Some packages could not be found.<br>
```<br>
<br>
And apparently openldap, too.<br>
<br>
I noticed that Davide from FB already come across this issue and filed it in RHBZ[0], where it was<br>
confirmed that the dependency is indeed present only in the internal RHEL buildroot repository -<br>
and after a quick test they still are:<br>
<br>
# dnf --enablerepo rhel-buildroot search libuser-devel<br>
...<br>
libuser-devel.i686 : Files needed for developing applications which use libuser<br>
libuser-devel.x86_64 : Files needed for developing applications which use libuser<br>
<br>
Is there any reason why they aren't shipped in some CentOS repository or was there any progress<br>
to make them available?<br>
<br>
Thank you!<br>
<br>
Frantisek<br>
<br>
<br>
[0] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1868430" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1868430</a><br>
<br>
-- <br>
Frantisek Sumsal<br>
GPG key ID: 0xFB738CE27B634E4B<br>
<br>
_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-devel</a></blockquote><div><br></div><div>Yes, this has been discussed before on the list. And it's a rather sore point.</div><div><br></div><div>There are several -devel packages that are available on INTERNAL RHEL repositories, but they are never released externally.</div><div>Thus any RHEL customers are not able to use them to build things that depend on those libraries, such as your example, libuser.</div><div><br></div><div>CentOS is a clone (warts and all) of RHEL, and thus doesn't have those -devel packages available either.<br></div><div><br></div><div>It's been this way since the release of RHEL8.</div><div><br></div><div>Has there been any progress?</div><div>Yes, a bit.<br></div><div>First, check to make sure there is a bugzilla open for whichever missing -devel package you need.</div><div>Next, wait several months/years to see the debate go back and forth on the bug. It's possible it might make it in.</div><div><br></div>Sorry for the sad tone, it's just a battle I've been waging since before RHEL8 was released. I've given up hope for them being released on RHEL8, though occasionally I am happily surprised. One of the packages I've been fighting for will be released in RHEL 8.4 ... but that's just 1 out of 4.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><div>Troy</div><div><br></div></div></div>