Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96373 - !!! ERROR: app-antivirus/clamav-0.86_rc1 failed.
Summary: !!! ERROR: app-antivirus/clamav-0.86_rc1 failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Antivirus Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-17 06:10 UTC by Analyzer
Modified: 2005-06-28 19:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Analyzer 2005-06-17 06:10:56 UTC
>>> md5 files   ;-) files/digest-clamav-0.85-r1
>>> md5 files   ;-) files/clamav-milter.README.gentoo
>>> md5 files   ;-) files/digest-clamav-0.86_rc1
>>> md5 files   ;-) files/digest-clamav-0.85.1
>>> md5 files   ;-) files/digest-clamav-0.83
>>> md5 files   ;-) files/digest-clamav-0.84
>>> md5 files   ;-) files/digest-clamav-0.85
>>> md5 files   ;-) files/clamd.rc.new
>>> md5 files   ;-) files/digest-clamav-0.85.1-r1
>>> md5 files   ;-) files/clamd.conf
>>> md5 files   ;-) files/clamd.rc
>>> md5 src_uri ;-) clamav-0.86rc1.tar.gz
>>> Unpacking source...
>>> Unpacking clamav-0.86rc1.tar.gz to /var/tmp/portage/clamav-0.86_rc1/work
>>> Source unpacked.
 * econf: updating clamav-0.86rc1/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating clamav-0.86rc1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-zlib-vcheck
--enable-id-check --enable-milter --with-dbdir=/var/lib/clamav
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
creating target.h - canonical system defines
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.lo... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for dlfcn.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking for memory.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for bind in -lsocket... no
checking for gethostent in -lnsl... yes
checking for poll... yes
checking for setsid... yes
checking for memcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strerror_r... yes
checking for strlcpy... no
checking for strlcat... no
checking for inet_ntop... yes
checking for setgroups... yes
checking for initgroups... yes
checking for ctime_r... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking whether snprintf correctly terminates long strings... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for zlib installation... /usr
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for __dn_expand in -lresolv... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking whether setpgrp takes no argument... yes
checking for sendmail... /usr/sbin/sendmail
/usr/sbin/sendmail: error while loading shared libraries: libpq.so.4: cannot
open shared object file: No such file or directory
head: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... 7.13.2
checking for mi_stop in -lmilter... yes
checking libmilter/mfapi.h usability... yes
checking libmilter/mfapi.h presence... yes
checking for libmilter/mfapi.h... yes
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking for TCP wrappers library... -lwrap
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... checking for getent... /usr/bin/getent
yes, user clamav and group clamav
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for structure packing via __attribute__((packed))... yes
checking for fd_set... yes, found in sys/types.h
checking default FD_SETSIZE value... 1024
configure: creating ./config.status
config.status: creating libclamav/Makefile
config.status: creating clamscan/Makefile
config.status: creating database/Makefile
config.status: creating docs/Makefile
config.status: creating clamd/Makefile
config.status: creating clamdscan/Makefile
config.status: creating clamav-milter/Makefile
config.status: creating freshclam/Makefile
config.status: creating sigtool/Makefile
config.status: creating etc/Makefile
config.status: creating Makefile
config.status: creating clamav-config
config.status: creating libclamav.pc
config.status: creating docs/man/clamd.8
config.status: creating docs/man/clamd.conf.5
config.status: creating docs/man/freshclam.1
config.status: creating docs/man/freshclam.conf.5
config.status: creating clamav-config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/clamav-0.86_rc1/work/clamav-0.86rc1'
Making all in libclamav
make[2]: Entering directory
`/var/tmp/portage/clamav-0.86_rc1/work/clamav-0.86rc1/libclamav'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT matcher-ac.lo -MD -MP -MF ".deps/matcher-ac.Tpo"
-c -o matcher-ac.lo matcher-ac.c; \
then mv -f ".deps/matcher-ac.Tpo" ".deps/matcher-ac.Plo"; else rm -f
".deps/matcher-ac.Tpo"; exit 1; fi
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT matcher-bm.lo -MD -MP -MF ".deps/matcher-bm.Tpo"
-c -o matcher-bm.lo matcher-bm.c; \
then mv -f ".deps/matcher-bm.Tpo" ".deps/matcher-bm.Plo"; else rm -f
".deps/matcher-bm.Tpo"; exit 1; fi
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher-ac.lo -MD -MP -MF
.deps/matcher-ac.Tpo -c matcher-ac.c  -fPIC -DPIC -o .libs/matcher-ac.lo
rm -f .libs/matcher-bm.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher-bm.lo -MD -MP -MF
.deps/matcher-bm.Tpo -c matcher-bm.c  -fPIC -DPIC -o .libs/matcher-bm.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher-ac.lo -MD -MP -MF
.deps/matcher-ac.Tpo -c matcher-ac.c -o matcher-ac.o >/dev/null 2>&1
mv -f .libs/matcher-ac.lo matcher-ac.lo
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT matcher.lo -MD -MP -MF ".deps/matcher.Tpo" -c -o
matcher.lo matcher.c; \
then mv -f ".deps/matcher.Tpo" ".deps/matcher.Plo"; else rm -f
".deps/matcher.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher-bm.lo -MD -MP -MF
.deps/matcher-bm.Tpo -c matcher-bm.c -o matcher-bm.o >/dev/null 2>&1
mv -f .libs/matcher-bm.lo matcher-bm.lo
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo
md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Plo"; else rm -f ".deps/md5.Tpo"; exit 1; fi
rm -f .libs/matcher.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher.lo -MD -MP -MF
.deps/matcher.Tpo -c matcher.c  -fPIC -DPIC -o .libs/matcher.lo
rm -f .libs/md5.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT md5.lo -MD -MP -MF
.deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT matcher.lo -MD -MP -MF
.deps/matcher.Tpo -c matcher.c -o matcher.o >/dev/null 2>&1
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack
-O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT md5.lo -MD -MP -MF
.deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1
mv -f .libs/matcher.lo matcher.lo
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT others.lo -MD -MP -MF ".deps/others.Tpo" -c -o
others.lo others.c; \
then mv -f ".deps/others.Tpo" ".deps/others.Plo"; else rm -f ".deps/others.Tpo";
exit 1; fi
mv -f .libs/md5.lo md5.lo
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I./zziplib -I./mspack    -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -MT readdb.lo -MD -MP -MF ".deps/readdb.Tpo" -c -o
readdb.lo readdb.c; \
then mv -f ".deps/readdb.Tpo" ".deps/readdb.Plo"; else rm -f ".deps/readdb.Tpo";
exit 1; fi
rm -f .libs/others.lo
.......
.......
.......
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared    -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT misc.o -MD
-MP -MF ".deps/misc.Tpo" -c -o misc.o `test -f '../shared/misc.c' || echo
'./'`../shared/misc.c; \
then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared    -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT
clamav-milter.o -MD -MP -MF ".deps/clamav-milter.Tpo" -c -o clamav-milter.o
clamav-milter.c; \
then mv -f ".deps/clamav-milter.Tpo" ".deps/clamav-milter.Po"; else rm -f
".deps/clamav-milter.Tpo"; exit 1; fi
clamav-milter.c:1057:26: operator '>' has no left operand
clamav-milter.c:1576:26: operator '>' has no left operand
clamav-milter.c: In function `clamfi_connect':
clamav-milter.c:2101: warning: passing arg 1 of `hosts_ctl' discards qualifiers
from pointer target type
make[2]: *** [clamav-milter.o] Ошибка 1
make[2]: Leaving directory
`/var/tmp/portage/clamav-0.86_rc1/work/clamav-0.86rc1/clamav-milter'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/clamav-0.86_rc1/work/clamav-0.86rc1'
make: *** [all] Ошибка 2

!!! ERROR: app-antivirus/clamav-0.86_rc1 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
[ebuild     U ] app-antivirus/clamav-0.86_rc1 [0.85.1-r1] +crypt -debug +milter*
(-selinux) 0 kB

Actual Results:  
as a resoult i cant compile this application.
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2005-06-17 07:02:02 UTC
Hm, there seems to be a breakage in clamav-milter code. I admit that I have only
tested building without milter useflag, as this release candidate was only
supposed to contain few small fixes outside of clamav-milter. I suppose it would
be best to package.mask this version, until upstream fixes it (I have looked at
the source, and I don't feel like wading in their autotools files to fix it myself).
Thanks for reporting
Comment 2 Stian Skjelstad 2005-06-17 07:15:32 UTC
Can you provide preprocessed output?
Enter the working directory and do this:
#cd clamav-milter
#i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav
-I../shared    -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT
clamav-milter.o -MD -MP -MF ".deps/clamav-milter.Tpo" -E -o output.txt

and upload it here.

Second thing, I suspect these two macros to be the reason of the fault
LOG_CONS and LOG_PID . Can you try to grep for them inside /usr/include and
provide their defintions. You could also try to patch clamav-milter.c line 1057 from
<                      openlog("clamav-milter", LOG_CONS|LOG_PID, fac);
to
>                      openlog("clamav-milter", (LOG_CONS)|(LOG_PID), fac);
just to test.

You also need to provide the output from
emerge --info
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2005-06-18 13:42:37 UTC
Actually, the problem was that the default sendmail binary (/usr/sbin/sendmail)
is not actually original sendmail binary, but a mailwrapper script calling
correct one, according to /etc/mail/mailer.conf. I have added
"--with-sendmail=/usr/sbin/sendmail.sendmail" to configure arguments if both
milter and mailwrapper USE flags are set.

In the near future (when all MTAs will support new mailer-config scheme, and
mailwrapper USE flag will be deprecated), we'll have to do this differently, but
sendmail is not yet converted to mailer-config scheme.

Analyzer (sic!), please resync in few hours and report if this helped.
Comment 4 Analyzer 2005-06-27 19:15:42 UTC
i reemerge this but can't report because i find out a new bug but allready in
sendmail:) 97268. sorry. ill try after bug with sendmail will be fixed.
Comment 5 Analyzer 2005-06-28 19:47:23 UTC
i see that in postage tree now avalaible clamav-0.86.1. i installed this version
without some problems and clozin this bug like fixed:-) thanck you very much to
all for all :)