public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild
@ 2011-08-09 13:30 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony G. Basile (blueness) @ 2011-08-09 13:30 UTC (permalink / raw
  To: gentoo-commits

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
  
  (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=1.125&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.125&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.124&r2=1.125

Index: ChangeLog
===================================================================
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 2011/06/09 20:38:30 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.125 2011/08/09 13:30:13 blueness Exp $
+
+*valgrind-3.6.1-r2 (09 Aug 2011)
+
+  09 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  +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
 
 *valgrind-3.6.1-r1 (09 Jun 2011)
 



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=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: valgrind-3.6.1-r2.ebuild
===================================================================
# 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.ebuild,v 1.1 2011/08/09 13:30:13 blueness Exp $

EAPI=2
inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils

DESCRIPTION="An open-source memory debugger for GNU/Linux"
HOMEPAGE="http://www.valgrind.org"
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="mpi qt4"

DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"

src_prepare() {
	# Respect CFLAGS, LDFLAGS
	sed -i -e '/^CPPFLAGS =/d' -e '/^CFLAGS =/d' -e '/^LDFLAGS =/d' \
		mpi/Makefile.am || die

	# Changing Makefile.all.am to disable SSP
	sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' \
		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 versions
	# 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 expression"
	#                       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 #114347)
	# -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="${myconf} --enable-only64bit"
	fi

	# Don't use mpicc unless the user asked for it (bug #258832)
	if ! use mpi; then
		myconf="${myconf} --without-mpicc"
	fi

	if ! use qt4; then
		myconf="${myconf} --disable-qtcore"
	fi

	econf ${myconf}
}

src_install() {
	emake DESTDIR="${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=214065"
		ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=274771)."
		ewarn "To fix this you can add splitdebug to FEATURES in make.conf and"
		ewarn "remerge glibc."
	fi
}






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild
@ 2011-10-19 17:24 Mike Frysinger (vapier)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger (vapier) @ 2011-10-19 17:24 UTC (permalink / raw
  To: gentoo-commits

vapier      11/10/19 17:24:51

  Modified:             ChangeLog valgrind-3.6.1-r2.ebuild
  Log:
  Add arm love #376533 by Nick Bowler.
  
  (Portage version: 2.2.0_alpha65/cvs/Linux x86_64)

Revision  Changes    Path
1.126                dev-util/valgrind/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.126&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.126&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.125&r2=1.126

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- ChangeLog	9 Aug 2011 13:30:13 -0000	1.125
+++ ChangeLog	19 Oct 2011 17:24:51 -0000	1.126
@@ -1,6 +1,9 @@
 # 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.125 2011/08/09 13:30:13 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.126 2011/10/19 17:24:51 vapier Exp $
+
+  19 Oct 2011; Mike Frysinger <vapier@gentoo.org> valgrind-3.6.1-r2.ebuild:
+  Add arm love #376533 by Nick Bowler.
 
 *valgrind-3.6.1-r2 (09 Aug 2011)
 



1.2                  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=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?r1=1.1&r2=1.2

Index: valgrind-3.6.1-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- valgrind-3.6.1-r2.ebuild	9 Aug 2011 13:30:13 -0000	1.1
+++ valgrind-3.6.1-r2.ebuild	19 Oct 2011 17:24:51 -0000	1.2
@@ -1,6 +1,6 @@
 # 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.ebuild,v 1.1 2011/08/09 13:30:13 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v 1.2 2011/10/19 17:24:51 vapier Exp $
 
 EAPI=2
 inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
@@ -11,7 +11,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="mpi qt4"
 
 DEPEND="mpi? ( virtual/mpi )"






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild
@ 2011-10-28  0:35 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony G. Basile (blueness) @ 2011-10-28  0:35 UTC (permalink / raw
  To: gentoo-commits

blueness    11/10/28 00:35:54

  Modified:             ChangeLog valgrind-3.6.1-r2.ebuild
  Log:
  Add splitdebug message for x86 as well, bug #388703
  
  (Portage version: 2.1.10.11/cvs/Linux x86_64)

Revision  Changes    Path
1.129                dev-util/valgrind/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.129&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.129&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.128&r2=1.129

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- ChangeLog	24 Oct 2011 19:58:05 -0000	1.128
+++ ChangeLog	28 Oct 2011 00:35:54 -0000	1.129
@@ -1,6 +1,10 @@
 # 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.128 2011/10/24 19:58:05 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.129 2011/10/28 00:35:54 blueness Exp $
+
+  28 Oct 2011; Anthony G. Basile <blueness@gentoo.org>
+  valgrind-3.6.1-r2.ebuild:
+  Add splitdebug message for x86 as well, bug #388703
 
   24 Oct 2011; Markus Meier <maekke@gentoo.org> valgrind-3.6.1-r1.ebuild:
   x86 stable, bug #387429



1.3                  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=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?r1=1.2&r2=1.3

Index: valgrind-3.6.1-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- valgrind-3.6.1-r2.ebuild	19 Oct 2011 17:24:51 -0000	1.2
+++ valgrind-3.6.1-r2.ebuild	28 Oct 2011 00:35:54 -0000	1.3
@@ -1,6 +1,6 @@
 # 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.ebuild,v 1.2 2011/10/19 17:24:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v 1.3 2011/10/28 00:35:54 blueness Exp $
 
 EAPI=2
 inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
@@ -93,11 +93,10 @@
 }
 
 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=214065"
-		ewarn "and http://bugs.gentoo.org/show_bug.cgi?id=274771)."
-		ewarn "To fix this you can add splitdebug to FEATURES in make.conf and"
-		ewarn "remerge glibc."
-	fi
+	ewarn "Valgrind will not work if glibc does not have debug symbols."
+	ewarn "To fix this you can add splitdebug to FEATURES in make.conf"
+	ewarn "and remerge glibc.  See:"
+	ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065"
+	ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771"
+	ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703"
 }






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild
@ 2012-02-17  1:36 Anthony G. Basile (blueness)
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony G. Basile (blueness) @ 2012-02-17  1:36 UTC (permalink / raw
  To: gentoo-commits

blueness    12/02/17 01:36:14

  Modified:             ChangeLog valgrind-3.6.1-r2.ebuild
  Log:
  Fix 3.6.1-r2 to autoreconf with automake-1.11.x, bug #403779
  
  (Portage version: 2.1.10.44/cvs/Linux x86_64)

Revision  Changes    Path
1.136                dev-util/valgrind/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.136&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.136&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.135&r2=1.136

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- ChangeLog	14 Feb 2012 01:19:47 -0000	1.135
+++ ChangeLog	17 Feb 2012 01:36:13 -0000	1.136
@@ -1,6 +1,10 @@
 # ChangeLog for dev-util/valgrind
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.135 2012/02/14 01:19:47 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.136 2012/02/17 01:36:13 blueness Exp $
+
+  17 Feb 2012; Anthony G. Basile <blueness@gentoo.org>
+  valgrind-3.6.1-r2.ebuild, +files/valgrind-3.6.1-automake-1.11.3.patch:
+  Fix 3.6.1-r2 to autoreconf with automake-1.11.x, bug #403779
 
 *valgrind-3.7.0-r3 (14 Feb 2012)
 



1.4                  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=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild?r1=1.3&r2=1.4

Index: valgrind-3.6.1-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- valgrind-3.6.1-r2.ebuild	28 Oct 2011 00:35:54 -0000	1.3
+++ valgrind-3.6.1-r2.ebuild	17 Feb 2012 01:36:13 -0000	1.4
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.ebuild,v 1.3 2011/10/28 00:35:54 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.6.1-r2.ebuild,v 1.4 2012/02/17 01:36:13 blueness Exp $
 
 EAPI=2
 inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
@@ -50,6 +50,9 @@
 	# Allow valgrind to build against glibc-2.14, bug #378157
 	epatch "${FILESDIR}"/${PN}-3.6.1-glibc-2.14.patch
 
+	# Fix stricter use of dir variables, bugs #397429 and #403779
+	epatch "${FILESDIR}"/${PN}-3.6.1-automake-1.11.3.patch
+
 	# Regenerate autotools files
 	eautoreconf
 }






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-17  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 17:24 [gentoo-commits] gentoo-x86 commit in dev-util/valgrind: ChangeLog valgrind-3.6.1-r2.ebuild Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2012-02-17  1:36 Anthony G. Basile (blueness)
2011-10-28  0:35 Anthony G. Basile (blueness)
2011-08-09 13:30 Anthony G. Basile (blueness)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox