Missing package libsmi-devel-0.4.8-22 from RHEL 8.2

Latest response

I am trying to locate the libsmi development package for RHEL 8.2. I do not see it in any RHEL 8 repo. The spec file defines this package. Anyone know where it is?

Redhat Package Search For libsmi-devel

More specifically I am after the package that provides /usr/include/smi.h.

$ sudo dnf whatprovides /usr/include/smi.h
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:30 ago on Tue 29 Sep 2020 02:52:27 PM CDT.
Error: No Matches found

sudo dnf whatprovides *pkgconfig/libsmi.pc
Updating Subscription Management repositories.
Last metadata expiration check: 0:05:14 ago on Tue 29 Sep 2020 02:52:27 PM CDT.
Error: No Matches found

libsmi.spec

%files devel
%defattr(-,root,root,-)
%{_datadir}/aclocal/libsmi.m4
%{_libdir}/pkgconfig/libsmi.pc
%{_libdir}/*.so
%{_includedir}/*
%{_mandir}/man3/*.3*

Responses

Hello Mickey,

I found the package in Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs 8.2 and in Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs x86_64 8.

Regards,

Jan Gerrit

Jan, are you sure that you found the devel package for libsmi? I am subscribed to those repos on my RHEL 8.2 system. Assuming you mean the repo with id 'rhel-8-for-x86_64-appstream-rpms'.

My search results does not yield libsmi-devel using that repo.

$ sudo dnf search -v libsmi*
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, subscription-manager, uploadprofile
Updating Subscription Management repositories.
DNF version: 4.2.17
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Red Hat Enterprise Linux 8.2; generic; Linux.x86_64)'
repo: using cache for: rhel-8-for-x86_64-baseos-rpms
rhel-8-for-x86_64-baseos-rpms: using metadata from Wed 09 Sep 2020 03:58:30 PM CDT.
repo: using cache for: rhel-8-for-x86_64-appstream-rpms
rhel-8-for-x86_64-appstream-rpms: using metadata from Tue 29 Sep 2020 03:47:53 AM CDT.
Last metadata expiration check: 0:01:03 ago on Tue 29 Sep 2020 02:39:16 PM CDT.
Completion plugin: Generating completion cache...
Searching Packages: 
===================================================================================================================================================================================================================================== Name Matched: libsmi* =====================================================================================================================================================================================================================================
libsmi.i686 : A library to access SMI MIB information
Repo        : rhel-8-for-x86_64-appstream-rpms
Matched from:
Provide    : libsmi = 0.4.8-22.el8

libsmi.x86_64 : A library to access SMI MIB information
Repo        : rhel-8-for-x86_64-appstream-rpms
Matched from:
Provide    : libsmi = 0.4.8-22.el8

A number of packages (mostly -devel) have been reported to be "missing". They were built but not released. libsmi-devel is one of them. There is a CentOS bug entry for that package:

https://bugs.centos.org/view.php?id=16504

More can be found here:

https://bugs.centos.org/view.php?id=16492

This is how CentOS developers are handling the issue:

https://lists.centos.org/pipermail/centos-devel/2019-November/036270.html

Sorry Mickey,

I checked once more and the libsm-devel is not even up to date for el7.

So Akemi and you are correct, the development package is not distributed.

Regards,

Jan Gerrit

I have opened a support case for this specific package. It sounds like there are many more devel packages that are no longer distributed. Is this intentional? I ask because RHEL 8.X has been out for years now and the Centos bug dates back to 2019.