Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2003 01:08:23 +0100 (CET)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48904: diagnose sparc64-5-latest build of mail/bogofilter 
Message-ID:  <200303040008.h2408NeO029050@libertas.emma.line.org>

next in thread | raw e-mail | index | archive | help

>Number:         48904
>Category:       ports
>Synopsis:       diagnose sparc64-5-latest build of mail/bogofilter
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 03 16:10:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.8-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.8-PRERELEASE FreeBSD 4.8-PRERELEASE #15: Tue Feb 25 00:45:38 CET 2003 toor@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386


	
>Description:
The patch below is meant to diagnose the error reported on
http://bento.freebsd.org/errorlogs/sparc64-5-latest/bogofilter-0.10.3.1.log

(i. e. t.robx test failure for bogofilter).

The patch is safe to commit even after freeze.
	
>How-To-Repeat:
	
>Fix:

diff -Nru /usr/ports/mail/bogofilter/files/patch-aa /root/bogofilter/files/patch-aa
--- /usr/ports/mail/bogofilter/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ /root/bogofilter/files/patch-aa	Tue Mar  4 00:57:41 2003
@@ -0,0 +1,48 @@
+Index: tests/bogofilter/t.robx
+===================================================================
+RCS file: /cvsroot/bogofilter/bogofilter/tests/bogofilter/Attic/t.robx,v
+retrieving revision 1.12
+diff -u -r1.12 t.robx
+--- ./tests/bogofilter/t.robx	3 Feb 2003 13:44:21 -0000	1.12
++++ ./tests/bogofilter/t.robx	3 Mar 2003 23:56:57 -0000
+@@ -12,6 +12,8 @@
+ #	 robx.YYYYMMDD:
+ #		tests   - directory containing individual output files
+ 
++set -x
++
+ : ${srcdir=.}
+ relpath="`pwd`/../.."
+ NODB=1 . ${srcdir}/../t.frame
+@@ -38,8 +40,8 @@
+ stats_in_header=Y
+ EOF
+ 
+-$BOGOFILTER -r -s < ${SYSTEST}/inputs/spam.mbx
+-$BOGOFILTER -r -n < ${SYSTEST}/inputs/good.mbx
++$BOGOFILTER -C -r -s < ${SYSTEST}/inputs/spam.mbx
++$BOGOFILTER -C -r -n < ${SYSTEST}/inputs/good.mbx
+ 
+ if [ ! -z "$RUN_FROM_MAKE" ] ; then
+     $BOGOUTIL -R $TMPDIR
+@@ -52,7 +54,8 @@
+ 
+ [ ! -z "$BF_SAVEDIR" ] && . ${srcdir}/../t.save
+ 
+-RESULT=`$BOGOUTIL -w $TMPDIR .ROBX | $AWK '/.ROBX/ { print $2; }'`
++PRINT="`$BOGOUTIL -w $TMPDIR .ROBX`"
++RESULT=`echo "$PRINT" | $AWK '/.ROBX/ { print $2; }'`
+ 
+ WANT="252685"
+ 
+@@ -62,4 +65,9 @@
+ #   $BOGOFILTER -x ml -vvv -r -n < ${SYSTEST}/inputs/good.mbx > ${TMPDIR}/good.txt
+ fi
+ 
+-test $RESULT = "$WANT"
++if test $RESULT = "$WANT" ; then
++    :
++else
++    echo "ROBX difference: got $RESULT, wanted $WANT"
++    exit 1
++fi
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303040008.h2408NeO029050>