[pkg-fso-maint] Bug#707421: phoneuid: FTBFS: phoneuid.c:167:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]

Sebastian Ramacher sramacher at debian.org
Tue May 21 20:37:08 UTC 2013


Control: tags -1 + patch

On 2013-05-09 10:12:31, Lucas Nussbaum wrote:
> Source: phoneuid
> Version: 0.1+git20110506-2
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20130509 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Werror -Wno-strict-aliasing -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/phoneuid\" -DG_LOG_DOMAIN=\"phoneuid\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/shr-glib -pthread -I/usr/include/phoneui -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fso-glib -I/usr/include/fsoframework-2.0 -I/usr/include/libnl3 -ggdb -g -O2 -c -o phoneuid-phoneuid.o `test -f 'phoneuid.c' || echo './'`phoneuid.c
> > phoneuid.c: In function 'main':
> > phoneuid.c:167:2: error: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]
> > phoneuid.c:170:3: error: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:260) [-Werror=deprecated-declarations]
> > cc1: all warnings being treated as errors
> > make[3]: *** [phoneuid-phoneuid.o] Error 1

The attached patch fixes this error. There appears to be a libfso-glib1
-> libfso-glib2 and some of phoneuid's dependencies haven't been
rebuilt, so I won't NMU until the dependencies have been rebuilt against
libfso-glib2.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phoneuid.patch
Type: text/x-diff
Size: 1844 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20130521/7ec95040/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20130521/7ec95040/attachment.pgp>


More information about the pkg-fso-maint mailing list