DescriptionAkiyoshi Kurita
2025-09-17 14:08:20 UTC
Hello everyone,
I encountered a build failure while trying to build the clamav SRPM (e.g., clamav-1.4.3-1.el10.src.rpm) in a clean mock chroot on AlmaLinux 10 (x86_64).
The build fails during the setup phase because some dependencies are not found. The key error messages from the mock log are:
No matching package to install: 'sendmail-devel'
No matching package to install: 'rust-packaging'
Not all dependencies satisfied
Error: Some packages could not be found.
It seems the .spec file is missing these packages in its BuildRequires list.
By adding the following lines to the clamav.spec file, I was able to successfully build the package in mock:
BuildRequires: sendmail-devel
BuildRequires: rust-packaging
I believe updating the spec file with these dependencies will resolve the issue for clean builds on EL10.
Please let me know if you need any further logs or information.
Best regards,
Akiyoshi Kurita (redadmin)