Bug#629884: gnash: FTBFS: ../../libbase/jemalloc.c:556:35: error: 'PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function)
Didier Raboud
odyx at debian.org
Thu Jun 9 08:20:44 UTC 2011
Source: gnash
Version: 0.8.9-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110607 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /bin/bash ../libtool --silent --tag=CXX --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../libbase -I.. -DPLUGINSDIR=\"/usr/lib/gnash/plugins\" -DSYSCONFDIR=\"/etc\" -pthread -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DCURL_STATICLIB -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -c -o libgnashbase_la-memory.lo `test -f 'memory.cpp' || echo '../../libbase/'`memory.cpp
> ../../libbase/jemalloc.c:556:35: error: 'PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a function)
> ../../libbase/jemalloc.c: In function 'malloc_mutex_init':
> ../../libbase/jemalloc.c:1233:2: error: implicit declaration of function 'pthread_mutexattr_init' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c:1235:2: error: implicit declaration of function 'pthread_mutexattr_settype' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c:1235:35: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' undeclared (first use in this function)
> ../../libbase/jemalloc.c:1235:35: note: each undeclared identifier is reported only once for each function it appears in
> ../../libbase/jemalloc.c:1236:2: error: implicit declaration of function 'pthread_mutex_init' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c:1237:3: error: implicit declaration of function 'pthread_mutexattr_destroy' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c: In function 'malloc_mutex_lock':
> ../../libbase/jemalloc.c:1261:2: error: implicit declaration of function 'pthread_mutex_lock' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c: In function 'malloc_mutex_unlock':
> ../../libbase/jemalloc.c:1277:2: error: implicit declaration of function 'pthread_mutex_unlock' [-Werror=implicit-function-declaration]
> ../../libbase/jemalloc.c: In function 'malloc_spin_init':
> ../../libbase/jemalloc.c:1297:35: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' undeclared (first use in this function)
> ../../libbase/jemalloc.c: In function 'wrtmessage':
> ../../libbase/jemalloc.c:1507:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> ../../libbase/jemalloc.c: In function 'arena_bin_malloc_easy':
> ../../libbase/jemalloc.c:3347:32: warning: parameter 'arena' set but not used [-Wunused-but-set-parameter]
> ../../libbase/jemalloc.c: In function 'arena_salloc':
> ../../libbase/jemalloc.c:3866:14: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
> ../../libbase/jemalloc.c: In function 'arena_dalloc_large':
> ../../libbase/jemalloc.c:4077:10: warning: variable 'size' set but not used [-Wunused-but-set-variable]
> ../../libbase/jemalloc.c:4064:51: warning: parameter 'chunk' set but not used [-Wunused-but-set-parameter]
> ../../libbase/jemalloc.c: In function 'arena_new':
> ../../libbase/jemalloc.c:4359:9: warning: variable 'pow2_size' set but not used [-Wunused-but-set-variable]
> ../../libbase/jemalloc.c: At top level:
> ../../libbase/jemalloc.c:1285:1: warning: 'malloc_spin_init' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1676:1: warning: 'base_calloc' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1857:1: warning: 'extent_tree_szad_s_RB_FIND' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1857:1: warning: 'extent_tree_szad_s_RB_NEXT' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1857:1: warning: 'extent_tree_szad_s_RB_PREV' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1857:1: warning: 'extent_tree_szad_s_RB_MINMAX' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:1869:1: warning: 'extent_tree_ad_s_RB_NEXT' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2611:1: warning: 'arena_chunk_tree_s_RB_FIND' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2611:1: warning: 'arena_chunk_tree_s_RB_NFIND' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2611:1: warning: 'arena_chunk_tree_s_RB_NEXT' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2626:1: warning: 'arena_run_tree_s_RB_FIND' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2626:1: warning: 'arena_run_tree_s_RB_NFIND' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2626:1: warning: 'arena_run_tree_s_RB_NEXT' defined but not used [-Wunused-function]
> ../../libbase/jemalloc.c:2626:1: warning: 'arena_run_tree_s_RB_PREV' defined but not used [-Wunused-function]
> cc1: some warnings being treated as errors
>
> make[4]: *** [libgnashbase_la-jemalloc.lo] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011/06/07/gnash_0.8.9-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
More information about the pkg-flash-devel
mailing list