Bug 2063403 - clamav-1.0.0-rc2 is available
Summary: clamav-1.0.0-rc2 is available
Keywords:
Status: CLOSED DUPLICATE of bug 2149114
Alias: None
Product: Fedora
Classification: Fedora
Component: clamav
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2036723 (view as bug list)
Depends On: 2048826 2116088 2116220
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-12 09:18 UTC by Upstream Release Monitoring
Modified: 2023-01-22 21:06 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-01-22 21:06:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2022-03-12 09:18:50 UTC
Latest upstream release: 0.105.0-rc
Current version/release in rawhide: 0.103.5-3.fc37
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/

Comment 1 Upstream Release Monitoring 2022-03-12 09:19:02 UTC
Scratch build failed. Details bellow:

BuilderException: Build started, but failure happened during post build operations:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-1j67gaki/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-0.105.0-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.9/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.9/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 2 Upstream Release Monitoring 2022-04-06 02:22:31 UTC
Latest upstream release: 0.105.0-rc2
Current version/release in rawhide: 0.103.5-3.fc37
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/

Comment 3 Upstream Release Monitoring 2022-04-06 02:22:41 UTC
Scratch build failed. Details below:

BuilderException: Build started, but failure happened during post build operations:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-cqh2jctg/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-0.105.0-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.9/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.9/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 4 Upstream Release Monitoring 2022-05-04 23:20:47 UTC
Latest upstream release: 0.105.0
Current version/release in rawhide: 0.103.5-3.fc37
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/

Comment 5 Upstream Release Monitoring 2022-05-04 23:20:58 UTC
Scratch build failed. Details below:

BuilderException: Build started, but failure happened during post build operations:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-pjyvcks8/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-0.105.0-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.9/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.9/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 6 Sergio Basto 2022-05-04 23:36:50 UTC
the most important distros (IMHO) still not updated to 0.104.x

https://repology.org/project/clamav/versions
https://tracker.debian.org/pkg/clamav

Comment 7 Sergio Basto 2022-05-11 10:57:57 UTC
*** Bug 2036723 has been marked as a duplicate of this bug. ***

Comment 8 Sergio Basto 2022-05-11 11:05:54 UTC
opensuse , mageia , debian , non of rpm based have updates ... , so I can't copy from there :)

Comment 9 Orion Poplawski 2022-05-14 15:55:31 UTC
I've started working on 0.104.x:

Current issues:

    Failing with llvm 14 https://github.com/Cisco-Talos/clamav/issues/581
    valgrind tests fail https://github.com/Cisco-Talos/clamav/issues/584

Testing more builds in COPR: https://copr.fedorainfracloud.org/coprs/orion/clamav104/

Comment 10 Orion Poplawski 2022-05-14 16:21:36 UTC
Also we have test failures in EPEL 7/8.

Comment 11 Jan ONDREJ 2022-05-16 05:51:42 UTC
I made some tests with clamav-0.105.0 on Fedora 36 and after some updates build is working.

Why you are migrating to an older 0.104? Reporting bugs upstream for older is mostly ignored.

If you are interested, my spec file is here:
  https://www.salstar.sk/pub/fedora/SPECS/clamav.spec
or SRPM:
  https://www.salstar.sk/pub/fedora/testing/36/SRPMS/clamav-0.105.0-1.fc36.src.rpm

RPATH problems still need to be fixed, currently rpath check is only disabled.
Also docs need to be moved to separate package.

Comment 12 Orion Poplawski 2022-05-17 02:57:13 UTC
(In reply to Jan ONDREJ from comment #11)
> Why you are migrating to an older 0.104? Reporting bugs upstream for older
> is mostly ignored.

The shift to rust gave me pause and so I thought an incremental approach was warranted.  I doubted we would be able to build 0.105 for EPEL7 for example, though I may be proven wrong there.

> If you are interested, my spec file is here:
>   https://www.salstar.sk/pub/fedora/SPECS/clamav.spec
> or SRPM:

Thanks for that, I'll check it out.

> RPATH problems still need to be fixed, currently rpath check is only
> disabled.

I have a patch for that. See https://src.fedoraproject.org/rpms/clamav/pull-request/21

> Also docs need to be moved to separate package.

That's a good idea.

Comment 13 Jan ONDREJ 2022-05-17 05:52:50 UTC
(In reply to Orion Poplawski from comment #12)
> The shift to rust gave me pause and so I thought an incremental approach was
> warranted.  I doubted we would be able to build 0.105 for EPEL7 for example,
> though I may be proven wrong there.

According to https://docs.clamav.net/faq/faq-eol.html#version-support-matrix, clamav-0.103 is LTS, so I think it's good to leave this version for EPEL7. 0.104 EOL is not exactly defined, but I think it will end before 0.103. RHEL7 EOL is 30 Jun 2024, less than 1 year before clamav LTS.

> > If you are interested, my spec file is here:
> >   https://www.salstar.sk/pub/fedora/SPECS/clamav.spec
> > or SRPM:
> 
> Thanks for that, I'll check it out.
> 
> > RPATH problems still need to be fixed, currently rpath check is only
> > disabled.
> 
> I have a patch for that. See
> https://src.fedoraproject.org/rpms/clamav/pull-request/21

Thanks, I missed this because it's not described. I applied your patch to my package.

After buildrequiring valgrind there are same or similar problems with tests.

Comment 14 Sergio Basto 2022-05-17 10:35:49 UTC
Forgot to mention openmadriva , also have one src.rpm that we could get inspiration from , but isn't updated 

http://abf-downloads.openmandriva.org/rolling/repository/SRPMS/main/release/clamav-0.104.1-1.src.rpm

Comment 15 Orion Poplawski 2022-05-26 04:13:16 UTC
I think I'm pretty close with 0.104.3.  Testing builds from https://copr.fedorainfracloud.org/coprs/orion/clamav104/ would be greatly appreciated.  There are some vagrind test failures on non-x86_64 to look into, but I would be fine ignoring those.  However, the scratch build on koji is showing lots of test failures.

FWIW - I think we're quite a ways from packaging 0.105.0 properly according to the rust guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_bundled_dependencies

PR is here: https://src.fedoraproject.org/rpms/clamav/pull-request/21

Comment 16 Upstream Release Monitoring 2022-07-28 01:59:39 UTC
Releases retrieved: 0.103.7, 0.104.4, 0.105.1
Upstream release that is considered latest: 0.105.1
Current version/release in rawhide: 0.103.6-2.fc37
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/clamav

Comment 17 Upstream Release Monitoring 2022-07-28 01:59:47 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-8ie9ztqj/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-0.105.1-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.10/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 18 Orion Poplawski 2022-08-06 04:02:28 UTC
So, looking at https://docs.clamav.net/faq/faq-eol.html I don't think we should update to 0.104 anywhere.  It's going to be EOL shortly and we're not close to being ready to ship 0.105.  So let's stay on 0.103 for now.

Comment 19 Orion Poplawski 2022-08-18 04:14:25 UTC
Error: 
 Problem 1: nothing provides requested (crate(image/default) >= 0.24.0 with crate(image/default) < 0.25.0~)
 Problem 2: nothing provides requested (crate(rustdct/default) >= 0.7.0 with crate(rustdct/default) < 0.8.0~)
 Problem 3: nothing provides requested (crate(transpose/default) >= 0.2.0 with crate(transpose/default) < 0.3.0~)

Comment 20 Sergio Basto 2022-09-23 14:03:21 UTC
BTW ( if not done yet )   we may start using upstream systemd unit clamav-daemon replacing clamd@.service 

https://src.fedoraproject.org/rpms/clamav/blob/rawhide/f/clamav.spec#_387
# TODO: Evaluate using upstream's unit with clamav-daemon.socket
rm %{buildroot}%{_unitdir}/clamav-daemon.*

Comment 21 Buford T. Justice 2022-10-11 18:09:13 UTC
Is Fedora ever going to update to the latest version of ClamAV which is 0.105.1 released on 2022-07-26?  Should we just get the RPM from them?

https://www.clamav.net/downloads

https://www.clamav.net/downloads/production/clamav-0.105.1.linux.x86_64.rpm

Comment 22 Buford T. Justice 2022-10-11 18:30:42 UTC
Also, clamav-0.103.7-1.fc36.x86_64 should be renamed to something showing it is the LTS version since it is confusing also seeing clamav-0.103.5-2.fc36.x86_64 on the dnf list:

clamav-0.103.5-2.fc36.x86_64                clamav-lib-0.103.5-2.fc36.x86_64
clamav-0.103.7-1.fc36.x86_64                clamav-lib-0.103.7-1.fc36.i686
clamav-data-0.103.5-2.fc36.noarch           clamav-lib-0.103.7-1.fc36.x86_64
clamav-data-0.103.7-1.fc36.noarch           clamav-milter-0.103.5-2.fc36.x86_64
clamav-devel-0.103.5-2.fc36.i686            clamav-milter-0.103.7-1.fc36.x86_64
clamav-devel-0.103.5-2.fc36.x86_64          clamav-unofficial-sigs-7.2.5-3.fc36.noarch
clamav-devel-0.103.7-1.fc36.i686            clamav-update-0.103.5-2.fc36.i686
clamav-devel-0.103.7-1.fc36.x86_64          clamav-update-0.103.5-2.fc36.x86_64
clamav-filesystem-0.103.5-2.fc36.noarch     clamav-update-0.103.7-1.fc36.i686
clamav-filesystem-0.103.7-1.fc36.noarch     clamav-update-0.103.7-1.fc36.x86_64
clamav-lib-0.103.5-2.fc36.i686

Maybe call the LTS files:

clamav-lts-0.103.7-1.fc36.x86_64
clamav-lts-data-0.103.7-1.fc36.noarch
clamav-lts-devel-0.103.7-1.fc36.i686
clamav-lts-devel-0.103.7-1.fc36.x86_64
clamav-lts-filesystem-0.103.7-1.fc36.noarch
clamav-lts-lib-0.103.7-1.fc36.i686
clamav-lts-lib-0.103.7-1.fc36.x86_64
clamav-lts-milter-0.103.7-1.fc36.x86_64
clamav-lts-update-0.103.7-1.fc36.i686
clamav-lts-update-0.103.7-1.fc36.x86_64

Comment 23 Upstream Release Monitoring 2022-10-26 06:51:10 UTC
Releases retrieved: 1.0.0-rc
Upstream release that is considered latest: 1.0.0-rc
Current version/release in rawhide: 0.103.7-3.fc38
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/clamav

Comment 24 Upstream Release Monitoring 2022-10-26 06:51:33 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-c9irww78/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-1.0.0-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.10/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 25 Upstream Release Monitoring 2022-11-17 01:58:32 UTC
Releases retrieved: 1.0.0-rc2
Upstream release that is considered latest: 1.0.0-rc2
Current version/release in rawhide: 0.103.7-4.fc38
URL: http://www.clamav.net/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/291/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/clamav

Comment 26 Upstream Release Monitoring 2022-11-17 01:58:39 UTC
Scratch build failed. Details below:

BuilderException: Build failed:
Command '['rpmbuild', '-D', '_sourcedir .', '-D', '_topdir .', '-bs', '/var/tmp/thn-qieddliu/clamav.spec']' returned non-zero exit status 1.

StdOut:
error: Bad source: ./clamav-1.0.0-norar.tar.xz: No such file or directory


Traceback:
  File "/usr/local/lib/python3.10/site-packages/hotness/use_cases/package_scratch_build_use_case.py", line 56, in build
    result = self.builder.build(request.package, request.opts)
  File "/usr/local/lib/python3.10/site-packages/hotness/builders/koji.py", line 188, in build
    raise BuilderException(

If you think this issue is caused by some bug in the-new-hotness, please report it on the-new-hotness issue tracker: https://github.com/fedora-infra/the-new-hotness/issues

Comment 27 Orion Poplawski 2022-11-19 00:03:45 UTC
I have a PR for 1.0.0-rc2 here: https://src.fedoraproject.org/rpms/clamav/pull-request/23

I think it's time to let this bake in rawhide.  Any objections?

Comment 28 Orion Poplawski 2023-01-22 21:06:24 UTC

*** This bug has been marked as a duplicate of bug 2149114 ***


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