From matthias.andree@gmx.de  Sun Jan  4 09:48:49 2009
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C945C106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Jan 2009 09:48:49 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 1B1E98FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  4 Jan 2009 09:48:48 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: (qmail invoked by alias); 04 Jan 2009 09:48:47 -0000
Received: from e179160204.adsl.alicedsl.de (EHLO m2a2.dyndns.org) [85.179.160.204]
  by mail.gmx.net (mp014) with SMTP; 04 Jan 2009 10:48:47 +0100
Received: from rho.emma.line.org (unknown [192.168.0.198])
	by merlin.emma.line.org (Postfix) with ESMTP id 51D7E1896A;
	Sun,  4 Jan 2009 10:48:46 +0100 (CET)
Received: by rho.emma.line.org (Postfix, from userid 500)
	id E5C245CB5; Sun,  4 Jan 2009 10:48:45 +0100 (CET)
Message-Id: <20090104094845.E5C245CB5@rho.emma.line.org>
Date: Sun,  4 Jan 2009 10:48:45 +0100 (CET)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: naddy@freebsd.org
Subject: [MAINTAINER] archivers/lzo2: limit self-test time, overriding MALLOC_OPTIONS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         130154
>Category:       ports
>Synopsis:       [MAINTAINER] archivers/lzo2: limit self-test time, overriding MALLOC_OPTIONS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 04 09:50:05 UTC 2009
>Closed-Date:    Wed Jan 07 22:19:03 UTC 2009
>Last-Modified:  Wed Jan  7 22:20:09 UTC 2009
>Originator:     Matthias Andree
>Release:        FreeBSD 7.0-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD rho.emma.line.org 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #10: Thu Nov  6 02:12:42 CET
>Description:
Set MALLOC_OPTIONS=jz for self-test to avoid excessive (multiple hours!)
duration of self-tests. Found by Christian Weisgerber (naddy@).

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- lzo2-2.03_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/archivers/lzo2/Makefile /usr/home/emma/ports/archivers/lzo2/Makefile
--- /usr/ports/archivers/lzo2/Makefile	2008-08-29 15:20:11.000000000 +0200
+++ /usr/home/emma/ports/archivers/lzo2/Makefile	2009-01-04 10:39:16.000000000 +0100
@@ -24,8 +24,9 @@
 USE_LDCONFIG=	yes
 
 post-build:
-	@${ECHO_MSG} "===>  Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
-	cd ${WRKSRC} && ${MAKE} test SHELL="${SH} -x"
+	@${ECHO_MSG} "===>  Running self-tests for ${PKGNAME} (can take a few minutes)"
+	@#: override MALLOC_OPTIONS, else tests take excessively long
+	cd ${WRKSRC} && env MALLOC_OPTIONS=jz ${MAKE} check test SHELL="${SH} -x"
 
 post-install:
 .if !defined(NOPORTDOCS)
--- lzo2-2.03_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Jan 4 10:47:19 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130154 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Jan 7 22:19:02 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130154 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130154: commit references a PR
Date: Wed,  7 Jan 2009 22:19:08 +0000 (UTC)

 miwi        2009-01-07 22:18:47 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/lzo2       Makefile 
   Log:
   - Set MALLOC_OPTIONS=jz for self-test to avoid excessive (multiple hours!)
     duration of self-tests. Found by Christian Weisgerber (naddy@).
   
   PR:             130154
   Submitted by:   Matthias Andree <matthias.andree@gmx.de> (maintainer)
   
   Revision  Changes    Path
   1.47      +3 -2      ports/archivers/lzo2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
