Bug#680729: unblock: google-perftools/2.0-3

2012-07-08 Thread Daigo Moriwaki
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package google-perftools

The package in unstable fixes the following issues, which would be of use
for users and us.

  * debian/patches/20120708_ppc_ftbfs.patch: Imported Ubuntu's patch, fixing
a build failure on powerpc, derived from the upstream:
http://code.google.com/p/gperftools/issues/detail?id=431
Thanks to James Page james.p...@ubuntu.com. (Closes: #680305)
  * debian/control: Bumped up to libunwind8-dev for Build-Depends.
(Closes: #680724)

Regards,
Daigo

unblock google-perftools/2.0-3

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u google-perftools-2.0/debian/control google-perftools-2.0/debian/control
--- google-perftools-2.0/debian/control
+++ google-perftools-2.0/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Daigo Moriwaki da...@debian.org
-Build-Depends: cdbs, autoconf, automake1.9, libtool, patchutils, debhelper (= 9.0.0), binutils, libunwind7-dev [amd64]
+Build-Depends: cdbs, autoconf, automake1.9, libtool, patchutils, debhelper (= 9.0.0), binutils, libunwind8-dev [amd64]
 Build-Conflicts: autoconf2.13, automake1.4
 Standards-Version: 3.9.3
 Homepage: http://code.google.com/p/gperftools/
diff -u google-perftools-2.0/debian/changelog google-perftools-2.0/debian/changelog
--- google-perftools-2.0/debian/changelog
+++ google-perftools-2.0/debian/changelog
@@ -1,3 +1,14 @@
+google-perftools (2.0-3) unstable; urgency=low
+
+  * debian/patches/20120708_ppc_ftbfs.patch: Imported Ubuntu's patch, fixing
+a build failure on powerpc, derived from the upstream:
+http://code.google.com/p/gperftools/issues/detail?id=431
+Thanks to James Page james.p...@ubuntu.com. (Closes: #680305)
+  * debian/control: Bumped up to libunwind8-dev for Build-Depends.
+(Closes: #680724)
+
+ -- Daigo Moriwaki da...@debian.org  Sun, 08 Jul 2012 18:08:36 +0900
+
 google-perftools (2.0-2) unstable; urgency=low
 
   * Some include files were left out of the package.
only in patch2:
unchanged:
--- google-perftools-2.0.orig/debian/patches/20120708_ppc_ftbfs.patch
+++ google-perftools-2.0/debian/patches/20120708_ppc_ftbfs.patch
@@ -0,0 +1,45 @@
+Description: Resolve issue with FTBFS on 32bit ppc platform
+ .
+ NoBarrier versions for Atomic64 can be implemented on PPC32
+Origin: http://code.google.com/p/gperftools/issues/detail?id=431
+
+Index: google-perftools/src/base/atomicops-internals-linuxppc.h
+===
+--- google-perftools.orig/src/base/atomicops-internals-linuxppc.h	2012-06-27 09:25:34.879532000 +0100
 google-perftools/src/base/atomicops-internals-linuxppc.h	2012-07-04 21:18:36.974406885 +0100
+@@ -369,14 +369,20 @@
+   return *ptr;
+ }
+ 
+-#ifdef __PPC64__
+-
+-// 64-bit Versions.
+-
++// NoBarrier versions for Atomic64 can be implemented on PPC32
+ inline void NoBarrier_Store(volatile Atomic64 *ptr, Atomic64 value) {
+   *ptr = value;
+ }
+ 
++inline Atomic64 NoBarrier_Load(volatile const Atomic64 *ptr) {
++  return *ptr;
++}
++
++
++#ifdef __PPC64__
++
++// 64-bit Versions.
++
+ inline void Acquire_Store(volatile Atomic64 *ptr, Atomic64 value) {
+   *ptr = value;
+   // This can't be _lwsync(); we need to order the immediately
+@@ -390,10 +396,6 @@
+   *ptr = value;
+ }
+ 
+-inline Atomic64 NoBarrier_Load(volatile const Atomic64 *ptr) {
+-  return *ptr;
+-}
+-
+ inline Atomic64 Acquire_Load(volatile const Atomic64 *ptr) {
+   Atomic64 value = *ptr;
+   _lwsync();


Bug#680729: unblock: google-perftools/2.0-3

2012-07-08 Thread Adam D. Barratt

On 08.07.2012 10:46, Daigo Moriwaki wrote:
The package in unstable fixes the following issues, which would be of 
use

for users and us.


Unfortunately, unblocking it is not possible at the moment.

  * debian/patches/20120708_ppc_ftbfs.patch: Imported Ubuntu's patch, 
fixing

a build failure on powerpc, derived from the upstream:
http://code.google.com/p/gperftools/issues/detail?id=431
Thanks to James Page james.p...@ubuntu.com. (Closes: #680305)


That's not grounds for an exception on its own, due to the fact that 
the package didn't previously build on powerpc.



  * debian/control: Bumped up to libunwind8-dev for Build-Depends.
(Closes: #680724)


libunwind8-dev isn't in wheezy, and is really unlikely to be (see the 
separate thread on your request for that).  Even with an unblock, the 
package wouldn't migrate due to the libunwind8 dependency being 
unsatisfiable in testing.


Regards,

Adam



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org