This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.
Excerpt from the buildlog:
src/tcmalloc.cc:1202:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc:1206:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc: In function 'void* {anonymous}::do_memalign(size_t, size_t)':
src/tcmalloc.cc:1250:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc:1269:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc:1273:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc: At global scope:
src/tcmalloc.cc:1672:54: error: conflicting declaration 'void* (* __memalign_hook)(size_t, size_t, const void*)'
/usr/include/malloc.h:183:39: error: '__memalign_hook' has a previous declaration as 'void* (* volatile __memalign_hook)(size_t, size_t, const void*)'
In file included from src/page_heap.h:39:0,
from src/tcmalloc.cc:127:
src/packed-cache-inl.h: In static member function 'static bool PackedCache<kKeybits, T>::KeyMatch(T, PackedCache<kKeybits, T>::K) [with int kKeybits = 20, T = short unsigned int, PackedCache<kKeybits, T>::K = unsigned int]':
src/packed-cache-inl.h:168:57: instantiated from 'PackedCache<kKeybits, T>::V PackedCache<kKeybits, T>::GetOrDefault(PackedCache<kKeybits, T>::K, PackedCache<kKeybits, T>::V) const [with int kKeybits = 20, T = short unsigned int, PackedCache<kKeybits, T>::V = unsigned int, PackedCache<kKeybits, T>::K = unsigned int]'
src/page_heap.h:168:44: instantiated from here
src/packed-cache-inl.h:210:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/tcmalloc.cc: In function 'void PrintStats(int)':
src/tcmalloc.cc:523:47: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
src/tcmalloc.cc: In function 'void {anonymous}::ReportLargeAlloc(Length, void*)':
src/tcmalloc.cc:1010:47: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1
make[1]: Leaving directory `/build/buildd/google-perftools-1.7'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120206-0142
FAILED [dpkg-buildpackage died]
The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3148139/+files/buildlog_ubuntu-precise-i386.google-perftools_1.7-1_FAILEDTOBUILD.txt.gz.
[1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20120201-precise.html
This bug was fixed in the package google-perftools - 1.7-1ubuntu1
---------------
google-perftools (1.7-1ubuntu1) precise; urgency=low
* d/p/memalign_ hook.patch: eglibc changed declaration of __memalign_hook,
update accordingly. (LP: #935139)
-- Andreas Moog <email address hidden> Sun, 19 Feb 2012 19:38:02 +0100