Subject: pkg/28830: bogofilter build error after updating db4 to 4.3.21nb1.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: SUNAGAWA Keiki <kei@NetBSD.org>
List: pkgsrc-bugs
Date: 01/01/2005 18:45:01
>Number: 28830
>Category: pkg
>Synopsis: bogofilter cannot build with db4-4.3.21nb1
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 01 18:45:00 +0000 2005
>Originator: SUNAGAWA Keiki <kei@NetBSD.org>
>Release: NetBSD 2.0
>Organization:
individual
>Environment:
System: NetBSD sara.machdep.org 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 14:03:55 UTC 2004 builds@build:/big/builds/ab/netbsd-2-0-RELEASE/macppc/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/macppc/compile/GENERIC macppc
Architecture: powerpc
Machine: macppc
this might occur on other architecture.
>Description:
bogofilter cannot build with db4-4.3.21nb1.
full make log is found on the following url:
http://porcelain.machdep.org/~kei/bogofilter.log
here is the tail part of it.
if cc -DHAVE_CONFIG_H -I. -I. -I. -I../gnugetopt -I../trio -I- -I. -I. -I../gsl/specfunc -I.. -I/usr/pkg/include/db4 -DBOGOFILTER -O2 -I/usr/pkg/include/db4 -Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wno-system-headers -Wformat -MT mysetvbuf.o -MD -MP -MF ".deps/mysetvbuf.Tpo" -c -o mysetvbuf.o mysetvbuf.c; then mv -f ".deps/mysetvbuf.Tpo" ".deps/mysetvbuf.Po"; else rm -f ".deps/mysetvbuf.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -I../gnugetopt -I../trio -I- -I. -I. -I../gsl/specfunc -I.. -I/usr/pkg/include/db4 -DBOGOFILTER -O2 -I/usr/pkg/include/db4 -Wpointer-arith -ggdb -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -fno-common -Wchar-subscripts -Wcomment -Wimplicit -Wsequence-point -Wreturn-type -Wno-system-headers -Wformat -MT datastore_db.o -MD -MP -MF ".deps/datastore_db.Tpo" -c -o datastore_db.o datastore_db.c; then mv -f ".deps/datastore_db.Tpo" ".deps/datastore_db.Po"; else rm -f ".deps/datastore_db.Tpo"; exit 1; fi
datastore_db.c: In function `get_psize':
datastore_db.c:240: warning: passing arg 2 of pointer to function from incompatible pointer type
datastore_db.c:240: warning: passing arg 3 of pointer to function makes pointer from integer without a cast
datastore_db.c:240: error: too few arguments to function
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter/work/bogofilter-0.92.8/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter/work/bogofilter-0.92.8/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter/work/bogofilter-0.92.8/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter/work/bogofilter-0.92.8
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/mail/bogofilter
>How-To-Repeat:
cd .../mail/bogofilter; make
>Fix:
I didn't look at it.
>Unformatted: