[Pkg-qof-maintainers] Bug#337374: marked as done (qof: FTBFS (amd64): cast to pointer from integer of different size)

Debian Bug Tracking System owner at bugs.debian.org
Thu Nov 17 23:48:06 UTC 2005


Your message dated Thu, 17 Nov 2005 15:32:07 -0800
with message-id <E1EctEd-00081L-Dj at spohr.debian.org>
and subject line Bug#337374: fixed in qof 0.6.0-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Nov 2005 07:08:40 +0000
>From aj at andaco.de Thu Nov 03 23:08:40 2005
Return-path: <aj at andaco.de>
Received: from d052176.adsl.hansenet.de (kat.ainf.net) [80.171.52.176] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EXvgl-00023p-00; Thu, 03 Nov 2005 23:08:39 -0800
Received: from aj by kat.ainf.net with local (Exim 4.54)
	id 1EXvgj-0004YA-BR; Fri, 04 Nov 2005 08:08:37 +0100
To: Debian Bug Tracking System <submit at bugs.debian.org>
From: Andreas Jochens <aj at andaco.de>
Subject: qof: FTBFS (amd64): cast to pointer from integer of different size
Message-Id: <E1EXvgj-0004YA-BR at kat.ainf.net>
Date: Fri, 04 Nov 2005 08:08:37 +0100
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_DSBL,RCVD_IN_SORBS autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Package: qof
Version: 0.6.0-1
Severity: serious
Tags: patch

When building 'qof' on amd64/unstable, I get the following error:

 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -DPREFIX=\"/usr\" -DDATADIR=\"/usr/share\" -g -g -Wall -O2 -Wall -I/usr/include/libxml2 -I/usr/include/libgda-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror -Wmissing-prototypes -Wmissing-declarations -g -Wall -O2 -Wall -c qofgobj.c  -fPIC -DPIC -o .libs/qofgobj.o
cc1: warnings being treated as errors
qofgobj.c: In function 'qof_gobject_getter':
qofgobj.c:131: warning: cast to pointer from integer of different size
qofgobj.c:142: warning: cast to pointer from integer of different size
qofgobj.c:154: warning: cast to pointer from integer of different size
make[4]: *** [qofgobj.lo] Error 1
make[4]: Leaving directory `/qof-0.6.0/qof'

With the attached patch 'qof' can be compiled on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/qof-0.6.0/qof/qofgobj.c ./qof/qofgobj.c
--- ../tmp-orig/qof-0.6.0/qof/qofgobj.c	2005-09-29 14:40:28.000000000 +0000
+++ ./qof/qofgobj.c	2005-11-04 06:53:36.000000000 +0000
@@ -121,7 +121,7 @@
   else
   if (G_IS_PARAM_SPEC_INT(gps))
   {
-    int ival;
+    long ival;
     
     GValue gval = {G_TYPE_INVALID};
     g_value_init (&gval, G_TYPE_INT);
@@ -133,7 +133,7 @@
   else
   if (G_IS_PARAM_SPEC_UINT(gps))
   {
-    int ival;
+    long ival;
     GValue gval = {G_TYPE_INVALID};
     g_value_init (&gval, G_TYPE_UINT);
     g_object_get_property (gob, getter->param_name, &gval);
@@ -144,7 +144,7 @@
   else
   if (G_IS_PARAM_SPEC_BOOLEAN(gps))
   {
-    int ival;
+    long ival;
     
     GValue gval = {G_TYPE_INVALID};
     g_value_init (&gval, G_TYPE_BOOLEAN);

---------------------------------------
Received: (at 337374-close) by bugs.debian.org; 17 Nov 2005 23:41:24 +0000
>From katie at ftp-master.debian.org Thu Nov 17 15:41:24 2005
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EctEd-00081L-Dj; Thu, 17 Nov 2005 15:32:07 -0800
From: Goedson Teixeira Paixao <goedson at debian.org>
To: 337374-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#337374: fixed in qof 0.6.0-2
Message-Id: <E1EctEd-00081L-Dj at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 17 Nov 2005 15:32:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: qof
Source-Version: 0.6.0-2

We believe that the bug you reported is fixed in the latest version of
qof, which is due to be installed in the Debian FTP archive:

libqof-dev_0.6.0-2_i386.deb
  to pool/main/q/qof/libqof-dev_0.6.0-2_i386.deb
libqof1-dbg_0.6.0-2_i386.deb
  to pool/main/q/qof/libqof1-dbg_0.6.0-2_i386.deb
libqof1_0.6.0-2_i386.deb
  to pool/main/q/qof/libqof1_0.6.0-2_i386.deb
qof_0.6.0-2.diff.gz
  to pool/main/q/qof/qof_0.6.0-2.diff.gz
qof_0.6.0-2.dsc
  to pool/main/q/qof/qof_0.6.0-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 337374 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Goedson Teixeira Paixao <goedson at debian.org> (supplier of updated qof package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 17 Nov 2005 18:44:29 -0200
Source: qof
Binary: libqof1-dbg libqof1 libqof-dev
Architecture: source i386
Version: 0.6.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian QOF packaging team <pkg-qof-maintainers at lists.alioth.debian.org>
Changed-By: Goedson Teixeira Paixao <goedson at debian.org>
Description: 
 libqof-dev - Query Object Framework
 libqof1    - Query Object Framework
 libqof1-dbg - Query Object Framework - debug symbols
Closes: 337374
Changes: 
 qof (0.6.0-2) unstable; urgency=low
 .
   * Fixed build on amd64, thanks Andreas Jochens for the patch (Closes: #337374).
Files: 
 4bbacbcaabc4c8c2d9e931e181d7ac55 843 libs optional qof_0.6.0-2.dsc
 3c69762d9a34bd7e0dc06a3b1d05f7a1 2465 libs optional qof_0.6.0-2.diff.gz
 222bc4e7c8b47612451bb6021b2c51ae 212806 libdevel optional libqof-dev_0.6.0-2_i386.deb
 49ff6792cc09741a7520c19b7514cfd3 125424 libs optional libqof1_0.6.0-2_i386.deb
 9e922f029ca3c6171c6eb7bb7997ed9d 203140 libs extra libqof1-dbg_0.6.0-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDfQ9n7tjUzB3rjq4RArcEAJ9t9sXIkNqcItTS9AdN2f6D639ZgwCdG1Ux
2Z+umlZ9I5YgXqo2Dhb1oCI=
=sPXt
-----END PGP SIGNATURE-----




More information about the Pkg-qof-maintainers mailing list