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

Bug 98499

Summary: clamav-0.86.1 emerge fail due to missing user id (although it's present)
Product: Gentoo Linux Reporter: Joakim <moonwalker>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: antivirus
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim 2005-07-09 14:11:30 UTC
As title says, emerge of clamav 0.86.1 fails on check for user if (missing)
although it's certainly there on the system.

Reproducible: Always
Steps to Reproduce:
1.#emerge sync
2.#emerge clamav
3.



Actual Results:  
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking for gethostbyname_r... yes, and it takes 6 arguments
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 2 arguments
checking for clamav using id... no
configure: error: User clamav (and/or group clamav) doesn't exist. Please read
the documentation !

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/clamav-0.86.1/work/clamav-0.86.1/config.log

!!! ERROR: app-antivirus/clamav-0.86.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

from configure log:
configure:13512: result: yes, and it takes 2 arguments
configure:13527: checking for clamav using id
configure:13597: result: no
configure:13599: error: User clamav (and/or group clamav) doesn't exist. Please
read the documentation !



Expected Results:  
success!

# emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.4.4,
glibc-2.3.4.20050125-r1, 2.4.28-gentoo-r8 i586)
=================================================================
System uname: 2.4.28-gentoo-r8 i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.6.12
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.19-r1, 2.4.21, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6-3 -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6-3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 aalib alsa apache2 avi berkdb bitmap-fonts crypt curl emboss encode
foomaticdb fortran gd gdbm geoip ggi gif gpm gtk2 imagemagick imap imlib jpeg
libg++ libwww mad maildir mp3 mpeg mysql ncurses nls pam pdflib perl png python
quicktime readline sasl sdl slang spell sqlite ssl tcpd tiff truetype
truetype-fonts type1-fonts urandom usb vhosts virus-scan wmf xml xml2 zeo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-07-09 16:48:32 UTC
Check if user clamav also belongs to group clamav. Some older installations
suffer from this. See bug #94709.
Comment 2 Joakim 2005-07-10 09:14:16 UTC
Sorry, I was a bit in haste and panic as amavisd-new shooked my postfix server
due to this, so didn't look carefully enough at the results from my search. You
can make it as a dupe of 94709, all system go again here.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-07-10 09:33:50 UTC
No problem. I'm just a bit worried about this - I have absolutely no idea why
this happens.

Cheers.

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