Skip site navigation (1)Skip section navigation (2)
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:   ports/130154: [MAINTAINER] archivers/lzo2: limit self-test time, overriding MALLOC_OPTIONS
Message-ID:  <20090104094845.E5C245CB5@rho.emma.line.org>
Resent-Message-ID: <200901040950.n049o545020982@freefall.freebsd.org>

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

>Number:         130154
>Category:       ports
>Synopsis:       [MAINTAINER] archivers/lzo2: limit self-test time, overriding MALLOC_OPTIONS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 04 09:50:05 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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