New Release: Bogofilter 1.0.0

David Relson relson at osagesoftware.com
Fri Dec 2 02:33:10 CET 2005


On Fri, 02 Dec 2005 01:50:56 +0100
Matthias Andree wrote:

> Paul Ackersviller <pda at sdf.lonestar.org> writes:
> 
> > I just noticed what looks to be an inconvenient feature of the build.
> > When I do `make check' directly after the configure, I get an
> > infinitely looping gdb.  Doing `make && make check' works fine.
> > I'm on NetBSD 2.0.2_STABLE -- does anyone else get this?
> 
> Can you give details about how and where it loops? We might want to
> stop it from chasing its own tail like a young beagle. :)
> 
> Does the problem occur with gmake, i. e. if you use "./configure
> --YOUR-OPTIONS-HERE && gmake check"? I cannot reproduce this on Linux
> with bmake, so it must have something to do with NetBSD by itself.

If memory serves, our test framework runs gdb whenever it finds a core
file.  That being the case, a copy of bogofilter that core dumps will
give the symptom described.

Paul - do you have a bunch of core.* files in your bogofilter/src/tests
directory?

Something to try is to modify src/tests/Makefile.am so it just runs a script that
prints version info.

### Here's the patch for src/tests/Makefile.am ###


--- Makefile.am	30 Jun 2005 00:55:16 -0000	1.56
+++ Makefile.am	2 Dec 2005 01:29:45 -0000
@@ -55,6 +55,7 @@
 TESTSCRIPTS = ${ENVIRON_TESTS} ${PARSING_TESTS} ${WORDLIST_TESTS}
${SCORING_TESTS} ${BULKMODE_TESTS} ${INTEGRITY_TESTS} 
 TESTS=$(TESTSCRIPTS)
+TESTS=t.version
 
 TESTS_ENVIRONMENT=RUN_FROM_MAKE=1 AWK=$(AWK) srcdir=$(srcdir)
SHELL=$(SHELL) $(SHELL) $(VERBOSE) 

### Here's the new t.version script (to be put in src/tests with +x
permission) ###

#! /bin/sh

NODB=1 . ${srcdir:=.}/t.frame

$BOGOFILTER -C --version
$BOGOUTIL   -C --version


Let us know how it goes!

David

P.S.  If you subscribe to the list, you won't have to wait for the
moderator (me) to notice your postings and approve them.



More information about the bogofilter-dev mailing list