Subject: pkg/31409: clamav refuses to build
To: None <,,>
From: Carl Brewer <>
List: pkgsrc-bugs
Date: 09/28/2005 13:50:00
>Number:         31409
>Category:       pkg
>Synopsis:       clamav refuses to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 28 13:50:00 +0000 2005
>Originator:     Carl Brewer
>Release:        NetBSD 1.6.2
System: NetBSD 1.6.2 NetBSD 1.6.2 (rollcage) #1: Fri Apr 23 00:50:50 EST 2004 i386
Architecture: i386
Machine: i386

attempting to make clamav on freshly updated CVS update :

Making all in clamav-milter
source='../shared/cfgparser.c' object='cfgparser.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/pkg/include -I/usr/include -I/usr/include -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
source='../shared/getopt.c' object='getopt.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/pkg/include -I/usr/include -I/usr/include -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
source='../shared/memory.c' object='memory.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/pkg/include -I/usr/include -I/usr/include -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -c -o memory.o `test -f '../shared/memory.c' || echo './'`../shared/memory.c
source='../shared/misc.c' object='misc.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/pkg/include -I/usr/include -I/usr/include -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
source='clamav-milter.c' object='clamav-milter.o' libtool=no  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared   -I/usr/pkg/include -I/usr/include -I/usr/include -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -c clamav-milter.c
clamav-milter.c: In function `clamfi_connect':
clamav-milter.c:2103: warning: passing arg 1 of `hosts_ctl' discards qualifiers from pointer target type
clamav-milter.c: In function `clamd_recv':
clamav-milter.c:3444: parse error before `int'
clamav-milter.c:3448: `ret' undeclared (first use in this function)
clamav-milter.c:3448: (Each undeclared identifier is reported only once
clamav-milter.c:3448: for each function it appears in.)
*** Error code 1

make: stopped in /usr/pkgsrc/mail/clamav/work/clamav-0.87/clamav-milter
*** Error code 1