Bug 2396096 - clamav SRPM build fails in mock on AlmaLinux 10 due to missing BuildRequires
Summary: clamav SRPM build fails in mock on AlmaLinux 10 due to missing BuildRequires
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: clamav
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-17 14:08 UTC by Akiyoshi Kurita
Modified: 2025-09-17 14:27 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-09-17 14:27:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Akiyoshi 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)

Comment 1 Jason Tibbitts 2025-09-17 14:27:20 UTC
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


Note You need to log in before you can comment on or make changes to this bug.