Source: libldm
Version: 0.2.3-1
Severity: serious
Tags: jessie sid
User: [email protected]
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Starting with 2.35, glib2.0 deprecated the g_type_init function. You don't
need to call it at all. If you're building with -Werror=deprecated-declarations
then you'll get a build failure if you do call it. You can either remove the
call completely if you don't care about building on olrder glib versions or,
if you do, do something like this upstream commit (several other examples
available if you search):

#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init()
#endif


Relevant part:
> make[3]: Entering directory `/«PKGBUILDDIR»/src'
>   CC     libldm_1_0_la-mbr.lo
>   CC     libldm_1_0_la-gpt.lo
>   CC     libldm_1_0_la-ldm.lo
>   CCLD   libldm-1.0.la
>   CC     ldmtool-ldmtool.o
> ldmtool.c: In function 'main':
> ldmtool.c:780:5: error: 'g_type_init' is deprecated (declared at 
> /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]
> cc1: all warnings being treated as errors
> make[3]: *** [ldmtool-ldmtool.o] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/libldm_0.2.3-1_unstable.log

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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to