Package: libzorpll
Severity: important

Dear maintainer, libzorpll fails to build with -Werror=deprecated-declarations 
caused by
some g_static_rec_[un]lock function used in the source.

This is a log with version 3.9.1.0, but it's happen with 3.9.1.1 as well.

Snippet from log:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src/zorp -DCOMPILING_LIBZORPLL 
-I/build/buildd/libzorpll-3.9.1.0/lib -I/build/buildd/libzorpll-3.9.1.0 
-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -O2 -O2 -D_GNU_SOURCE 
-Wall -Werror -Wshadow -W -Wstrict-prototypes 
-Werror-implicit-function-declaration -Wpointer-arith -g -MT 
libzorpll_la-cap.lo -MD -MP -MF .deps/libzorpll_la-cap.Tpo -c cap.c -o 
libzorpll_la-cap.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../src/zorp -DCOMPILING_LIBZORPLL 
-I/build/buildd/libzorpll-3.9.1.0/lib -I/build/buildd/libzorpll-3.9.1.0 
-D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -O2 -O2 -D_GNU_SOURCE 
-Wall -Werror -Wshadow -W -Wstrict-prototypes 
-Werror-implicit-function-declaration -Wpointer-arith -g -MT libzorpll_la-io.lo 
-MD -MP -MF .deps/libzorpll_la-io.Tpo -c io.c -o libzorpll_la-io.o >/dev/null 
2>&1
mv -f .deps/libzorpll_la-memtrace.Tpo .deps/libzorpll_la-memtrace.Plo
listen.c: In function 'z_listener_accept':
listen.c:70:3: error: 'g_static_rec_mutex_lock' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' 
instead [-Werror=deprecated-declarations]
listen.c:73:7: error: 'g_static_rec_mutex_unlock' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' 
instead [-Werror=deprecated-declarations]
listen.c:108:3: error: 'g_static_rec_mutex_unlock' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' 
instead [-Werror=deprecated-declarations]
mv -f .deps/libzorpll_la-error.Tpo .deps/libzorpll_la-error.Plo
listen.c: In function 'z_listener_cancel':
listen.c:266:7: error: 'g_static_rec_mutex_lock' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' 
instead [-Werror=deprecated-declarations]
listen.c:269:7: error: 'g_static_rec_mutex_unlock' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' 
instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

make[3]: *** [libzorpll_la-listen.lo] Error 1
mv -f .deps/libzorpll_la-cap.Tpo .deps/libzorpll_la-cap.Plo
mv -f .deps/libzorpll_la-io.Tpo .deps/libzorpll_la-io.Plo
make[3]: Leaving directory `/build/buildd/libzorpll-3.9.1.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/libzorpll-3.9.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/libzorpll-3.9.1.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20120208-0559
FAILED [dpkg-buildpackage died]

The full buidlog can be found at 
https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3160440/+files/buildlog_ubuntu-precise-i386.libzorpll_3.9.1.0-6_FAILEDTOBUILD.txt.gz.


Thanks in advance,
Leo.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric'), (100, 
'oneiric-backports')
Architecture: i386 (i686)

Kernel: Linux 3.2.2-030202-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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

Reply via email to