Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 14:24:54 +0500 (SAMST)
From:      Eugene Kilachkoff <zeus@samaramail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        zeus@samaramail.ru
Subject:   ports/81249: devel/valgrind does not generate suppressions <synopsis >
Message-ID:  <20050519092454.A3293114EA@eugene.local>
Resent-Message-ID: <200505190930.j4J9U3iE087183@freefall.freebsd.org>

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

>Number:         81249
>Category:       ports
>Synopsis:       devel/valgrind does not generate suppressions <synopsis >
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 19 09:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Kilachkoff
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD eugene.local 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Thu Apr 28 16:42:34 SAMST 2005 root@eugene.local:/usr/obj/usr/src/sys/EKERNEL i386


	
>Description:
	
	Valgrind version 3.52 uses stderr as its default output. So,
	generated suppression is directed to console rather than file.
	I use RELEASE_5_4_0 ports.
>How-To-Repeat:
	
	cd /usr/ports/devel/valgrind
	sudo make install
>Fix:

	

--- valgrind.patch begins here ---
diff -u -ur valgrind/Makefile valgrind.hacked/Makefile
--- valgrind/Makefile	Tue Apr 12 08:25:19 2005
+++ valgrind.hacked/Makefile	Thu May 19 13:38:35 2005
@@ -80,6 +80,7 @@
 .endif
 
 	@yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true \
+		2>&1 \
 		| ${SED} -e 's,.*{$$,{,'  \
 		| ${GREP} -v '^=' \
 		> ${WRKDIR}/freebsd-default.supp || \
--- valgrind.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?20050519092454.A3293114EA>