From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QqmO0-0003sF-0C for garchives@archives.gentoo.org; Tue, 09 Aug 2011 13:30:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D12A21C2B7; Tue, 9 Aug 2011 13:30:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0244421C2B7 for ; Tue, 9 Aug 2011 13:30:15 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B25D1B4035 for ; Tue, 9 Aug 2011 13:30:15 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2273) id 136B32004C; Tue, 9 Aug 2011 13:30:14 +0000 (UTC) From: "Anthony G. Basile (blueness)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, blueness@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog valgrind-3.6.1-r2.ebuild X-VCS-Directories: dev-util/valgrind X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile Content-Type: text/plain; charset=utf8 Message-Id: <20110809133014.136B32004C@flycatcher.gentoo.org> Date: Tue, 9 Aug 2011 13:30:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9e2bac71f23a2f72f264b4d419dd5932 blueness 11/08/09 13:30:14 Modified: ChangeLog Added: valgrind-3.6.1-r2.ebuild Log: Patch to allow valgrind to build against glibc-2.14, bug #378157 =20 (Portage version: 2.1.10.3/cvs/Linux x86_64) Revision Changes Path 1.125 dev-util/valgrind/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/= ChangeLog?rev=3D1.125&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/= ChangeLog?rev=3D1.125&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/= ChangeLog?r1=3D1.124&r2=3D1.125 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v retrieving revision 1.124 retrieving revision 1.125 diff -u -r1.124 -r1.125 --- ChangeLog 9 Jun 2011 20:38:30 -0000 1.124 +++ ChangeLog 9 Aug 2011 13:30:13 -0000 1.125 @@ -1,6 +1,12 @@ # ChangeLog for dev-util/valgrind # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.124 2= 011/06/09 20:38:30 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.125 2= 011/08/09 13:30:13 blueness Exp $ + +*valgrind-3.6.1-r2 (09 Aug 2011) + + 09 Aug 2011; Anthony G. Basile + +valgrind-3.6.1-r2.ebuild, +files/valgrind-3.6.1-glibc-2.14.patch: + Added patch to allow valgrind to build against glibc-2.14, bug #378157 =20 *valgrind-3.6.1-r1 (09 Jun 2011) =20 1.1 dev-util/valgrind/valgrind-3.6.1-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/= valgrind-3.6.1-r2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/= valgrind-3.6.1-r2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: valgrind-3.6.1-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.eb= uild,v 1.1 2011/08/09 13:30:13 blueness Exp $ EAPI=3D2 inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils DESCRIPTION=3D"An open-source memory debugger for GNU/Linux" HOMEPAGE=3D"http://www.valgrind.org" SRC_URI=3D"http://www.valgrind.org/downloads/${P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"-* ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE=3D"mpi qt4" DEPEND=3D"mpi? ( virtual/mpi )" RDEPEND=3D"${DEPEND}" src_prepare() { # Respect CFLAGS, LDFLAGS sed -i -e '/^CPPFLAGS =3D/d' -e '/^CFLAGS =3D/d' -e '/^LDFLAGS =3D/d' \ mpi/Makefile.am || die # Changing Makefile.all.am to disable SSP sed -i -e 's:^AM_CFLAGS_BASE =3D :AM_CFLAGS_BASE =3D -fno-stack-protecto= r :' \ Makefile.all.am || die # Correct hard coded doc location sed -i -e "s:doc/valgrind:doc/${PF}:" \ docs/Makefile.am || die # Yet more local labels, this time for ppc32 & ppc64 epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch # Don't build in empty assembly files for other platforms or we'll get a= QA # warning about executable stacks. epatch "${FILESDIR}"/${PN}-3.6.0-non-exec-stack.patch # Fix up some suppressions that were not general enough for glibc versio= ns # with more than just a major and minor number. epatch "${FILESDIR}"/${PN}-3.4.1-glibc-2.10.1.patch # Remove automagic dependency on qt4 epatch "${FILESDIR}"/${PN}-3.6.1-user-enable-qt4.patch # Allow valgrind to build against linux-3, bug #370857 epatch "${FILESDIR}"/${PN}-3.6.1-linux-3.patch # Allow valgrind to build against glibc-2.14, bug #378157 epatch "${FILESDIR}"/${PN}-3.6.1-glibc-2.14.patch # Regenerate autotools files eautoreconf } src_configure() { local myconf # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expres= sion" # while compiling insn_sse.c in none/tests/x86 # -fpie valgrind seemingly hangs when built with pie on # amd64 (bug #102157) # -fstack-protector more undefined references to __guard and __stack= _smash_handler # because valgrind doesn't link to glibc (bug #114= 347) # -ggdb3 segmentation fault on startup filter-flags -fomit-frame-pointer filter-flags -fpie filter-flags -fstack-protector replace-flags -ggdb3 -ggdb2 if use amd64 || use ppc64; then ! has_multilib_profile && myconf=3D"${myconf} --enable-only64bit" fi # Don't use mpicc unless the user asked for it (bug #258832) if ! use mpi; then myconf=3D"${myconf} --without-mpicc" fi if ! use qt4; then myconf=3D"${myconf} --disable-qtcore" fi econf ${myconf} } src_install() { emake DESTDIR=3D"${D}" install || die dodoc AUTHORS FAQ.txt NEWS README* pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux } pkg_postinst() { if use ppc || use ppc64 || use amd64 ; then ewarn "Valgrind will not work on ppc, ppc64 or amd64 if glibc does not = have" ewarn "debug symbols (see https://bugs.gentoo.org/show_bug.cgi?id=3D214= 065" ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=3D274771)." ewarn "To fix this you can add splitdebug to FEATURES in make.conf and" ewarn "remerge glibc." fi }