From owner-freebsd-ports-bugs Mon Mar 3 16:10:14 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA09237B401 for ; Mon, 3 Mar 2003 16:10:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96E9543F93 for ; Mon, 3 Mar 2003 16:10:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h240AANS071128 for ; Mon, 3 Mar 2003 16:10:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h240AAuX071127; Mon, 3 Mar 2003 16:10:10 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60E8037B401 for ; Mon, 3 Mar 2003 16:08:30 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40A0043F85 for ; Mon, 3 Mar 2003 16:08:29 -0800 (PST) (envelope-from matthias.andree@web.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id E6CF4A381E for ; Tue, 4 Mar 2003 01:08:27 +0100 (CET) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id E5BC0748B9; Tue, 4 Mar 2003 01:08:25 +0100 (CET) Received: from libertas.emma.line.org (localhost [127.0.0.1]) by libertas.emma.line.org (8.12.7/8.12.7) with ESMTP id h2408OvU029092; Tue, 4 Mar 2003 01:08:24 +0100 (CET) (envelope-from emma@libertas.emma.line.org) Received: (from emma@localhost) by libertas.emma.line.org (8.12.7/8.12.7/Submit) id h2408NeO029050; Tue, 4 Mar 2003 01:08:23 +0100 (CET) (envelope-from emma) Message-Id: <200303040008.h2408NeO029050@libertas.emma.line.org> Date: Tue, 4 Mar 2003 01:08:23 +0100 (CET) From: Matthias Andree Reply-To: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48904: diagnose sparc64-5-latest build of mail/bogofilter Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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