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)
The lines you suggest are already present in the current specfile (on lines 139 and 87, respectively): https://src.fedoraproject.org/rpms/clamav/blob/epel10.1/f/clamav.spec This was built most recently on August 25th: https://koji.fedoraproject.org/koji/buildinfo?buildID=2806056