ports/130154: [MAINTAINER] archivers/lzo2: limit self-test time, overriding MALLOC_OPTIONS
Matthias Andree
matthias.andree at gmx.de
Sun Jan 4 09:50:05 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list