Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 761900

Summary: dev-perl/File-Scan-ClamAV-1.950.0 : * Unable to build!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-perl:File-Scan-ClamAV-1.950.0:20201227-075753.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
emerge-info.txt
dev-perl:File-Scan-ClamAV-1.950.0:20210312-224117.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2020-12-27 09:54:59 UTC
 * ERROR: dev-perl/File-Scan-ClamAV-1.950.0::gentoo failed (configure phase):
 *   Unable to build!
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20201220-103336

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Dec 27 06:35:16 AM UTC 2020

emerge -qpvO dev-perl/File-Scan-ClamAV
[ebuild  N    ] dev-perl/File-Scan-ClamAV-1.950.0
Comment 1 Toralf Förster gentoo-dev 2020-12-27 09:55:01 UTC
Created attachment 679799 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-12-27 09:55:02 UTC
Created attachment 679802 [details]
dev-perl:File-Scan-ClamAV-1.950.0:20201227-075753.log
Comment 3 Toralf Förster gentoo-dev 2020-12-27 09:55:03 UTC
Created attachment 679805 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-12-27 09:55:05 UTC
Created attachment 679808 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-12-27 09:55:06 UTC
Created attachment 679811 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-12-27 09:55:07 UTC
Created attachment 679814 [details]
temp.tbz2
Comment 7 Thomas Raschbacher gentoo-dev 2021-03-12 21:43:35 UTC
Just had a look at this .. could it be that clamav is not installed (correctly) in the chroot / tinderbox ?

it installs fine here.

setting to NEEDINFO
Comment 8 Toralf Förster gentoo-dev 2021-03-12 22:42:49 UTC
(In reply to Thomas Raschbacher from comment #7)
> Just had a look at this .. could it be that clamav is not installed
> (correctly) in the chroot / tinderbox ?
> 
> it installs fine here.
> 
> setting to NEEDINFO

It fails at recent image (17.1_no-multilib_hardened-20210307-142948) too - will attach files soon.
Comment 9 Toralf Förster gentoo-dev 2021-03-12 22:43:23 UTC
appeared recently at the tinderbox image 17.1_no-multilib_hardened-20210307-142948
Comment 10 Toralf Förster gentoo-dev 2021-03-12 22:43:24 UTC
Created attachment 691062 [details]
emerge-info.txt
Comment 11 Toralf Förster gentoo-dev 2021-03-12 22:43:25 UTC
Created attachment 691065 [details]
dev-perl:File-Scan-ClamAV-1.950.0:20210312-224117.log
Comment 12 Toralf Förster gentoo-dev 2021-03-12 22:43:26 UTC
Created attachment 691068 [details]
emerge-history.txt
Comment 13 Toralf Förster gentoo-dev 2021-03-12 22:43:28 UTC
Created attachment 691071 [details]
environment
Comment 14 Toralf Förster gentoo-dev 2021-03-12 22:43:29 UTC
Created attachment 691074 [details]
etc.portage.tar.bz2
Comment 15 Toralf Förster gentoo-dev 2021-03-12 22:43:30 UTC
Created attachment 691077 [details]
temp.tar.bz2
Comment 16 Larry the Git Cow gentoo-dev 2021-04-07 19:16:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9b22423b16e3c7a763a8eb7009a9f8696ef85d

commit ee9b22423b16e3c7a763a8eb7009a9f8696ef85d
Author:     Thomas Raschbacher <lordvan@gentoo.org>
AuthorDate: 2021-04-07 19:16:14 +0000
Commit:     Thomas Raschbacher <lordvan@gentoo.org>
CommitDate: 2021-04-07 19:16:14 +0000

    dev-perl/File-Scan-ClamAV: move clamav to DEPEND as Makefile.PL looks for it
    
    Bug: https://bugs.gentoo.org/761900
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org>

 dev-perl/File-Scan-ClamAV/File-Scan-ClamAV-1.950.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 17 Thomas Raschbacher gentoo-dev 2021-04-07 19:17:46 UTC
Ok this was actually simply an oversight .. it seems Makefile.PL looks for clamav binary before compiling. moved app-antivirus/clamav from RDEPEND to DEPEND so that clamav is definitely installed.

I am pretty sure this solves the problem, but please let me know if it still persists.
Comment 18 Toralf Förster gentoo-dev 2021-06-14 12:18:10 UTC
(In reply to Thomas Raschbacher from comment #17)
> I am pretty sure this solves the problem, but please let me know if it still
> persists.

filed 795948