Your message dated Sun, 04 Sep 2005 22:47:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#323652: fixed in gfpoken 0.26-1
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; 29 Aug 2005 11:24:29 +0000
>From [EMAIL PROTECTED] Mon Aug 29 04:24:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d009191.adsl.hansenet.de (localhost.localdomain) [80.171.9.191]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E9hka-0005xR-00; Mon, 29 Aug 2005 04:24:28 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
id 1E9hkA-0004RW-3V; Mon, 29 Aug 2005 13:24:11 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: gfpoken: FTBFS: format '%d' expects type 'int', but argument 3 has
type 'long unsigned int'
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 29 Aug 2005 13:24:02 +0200
Delivered-To: [EMAIL PROTECTED]
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: gfpoken
Version: 0.25.dfsg.1-1
Severity: serious
Tags: patch
When building 'gfpoken' on unstable,
I get the following error:
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gfpoken\"
-DVERSION=\"0.25\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SOCKET=1 -DHAVE_STRTOL=1 -I. -I.
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -W
-Werror -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" -c -o dialog.o dialog.c; \
then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; else rm -f ".deps/dialog.Tpo";
exit 1; fi
cc1: warnings being treated as errors
dialog.c: In function 'initlevel':
dialog.c:65: warning: format '%d' expects type 'int', but argument 3 has type
'long unsigned int'
dialog.c: In function 'loadlevel':
dialog.c:205: warning: format '%d' expects type 'int', but argument 3 has type
'long unsigned int'
make[1]: *** [dialog.o] Error 1
make[1]: Leaving directory `/gfpoken-0.25.dfsg.1/gfpoken-0.25'
make: *** [build-stamp] Error 2
With the attached patch 'gfpoken' can be compiled with gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gfpoken-0.25.dfsg.1/debian/code.patch ./debian/code.patch
--- ../tmp-orig/gfpoken-0.25.dfsg.1/debian/code.patch 2005-08-29
10:49:12.000000000 +0000
+++ ./debian/code.patch 2005-08-29 10:49:01.000000000 +0000
@@ -557,3 +557,48 @@
if ((remotesock = accept(localsock, (struct sockaddr *)&remoteaddr,
&clientlen)) == -1) {
switch (errno) {
case EWOULDBLOCK:
+diff -urN tmp/dialog.c gfpoken-0.25/dialog.c
+--- tmp/dialog.c 2005-08-29 10:47:02.000000000 +0000
++++ gfpoken-0.25/dialog.c 2005-08-29 10:47:51.000000000 +0000
+@@ -61,7 +61,7 @@
+ if (invisigrid) free(invisigrid); invisigrid = (obj *)calloc(gridx*gridy,
sizeof(obj));
+ if (markgrid) free(markgrid); markgrid = (obj *)calloc(gridx*gridy,
sizeof(obj));
+ if (!(grid && invisigrid && markgrid)) {
+- fprintf(stderr, "Insufficient memory for allocating level; needed %d
bytes\n",
++ fprintf(stderr, "Insufficient memory for allocating level; needed %ld
bytes\n",
+ 3*gridx*gridy*sizeof(obj));
+ exit(1);
+ }
+@@ -201,7 +201,7 @@
+ if (invisigrid) free(invisigrid); invisigrid = (obj
*)malloc(gridx*gridy*sizeof(obj));
+ if (markgrid) free(markgrid); markgrid = (obj
*)malloc(gridx*gridy*sizeof(obj));
+ if (!(grid && invisigrid && markgrid)) {
+- fprintf(stderr, "Insufficient memory for allocating level; needed %d
bytes\n",
++ fprintf(stderr, "Insufficient memory for allocating level; needed %ld
bytes\n",
+ 3*gridx*gridy*sizeof(obj));
+ exit(1);
+ }
+diff -urN tmp/main.c gfpoken-0.25/main.c
+--- tmp/main.c 2005-08-29 10:47:02.000000000 +0000
++++ gfpoken-0.25/main.c 2005-08-29 10:48:10.000000000 +0000
+@@ -293,7 +293,7 @@
+ tmpgrid = (obj *)malloc(gridx*gridy*sizeof(obj));
+ tmpinvisigrid = (obj *)malloc(gridx*gridy*sizeof(obj));
+ if (!(tmpgrid && tmpinvisigrid)) {
+- fprintf(stderr, "Insufficient memory for allocating temporary data;
needed %d bytes\n",
++ fprintf(stderr, "Insufficient memory for allocating temporary data;
needed %ld bytes\n",
+ 2*gridx*gridy*sizeof(obj));
+ if (netmode) {
+ netsend('N');
+diff -urN tmp/multi.c gfpoken-0.25/multi.c
+--- tmp/multi.c 2005-08-29 10:47:02.000000000 +0000
++++ gfpoken-0.25/multi.c 2005-08-29 10:48:23.000000000 +0000
+@@ -501,7 +501,7 @@
+ if (invisigrid) free(invisigrid); invisigrid = (obj
*)malloc(gridx*gridy*sizeof(obj)); /* will be completely filled */
+ if (markgrid) free(markgrid); markgrid = (obj *)calloc(gridx*gridy,
sizeof(obj));
+ if (!(grid && invisigrid && markgrid)) {
+- fprintf(stderr, "Insufficient memory for allocating level; needed %d
bytes\n",
++ fprintf(stderr, "Insufficient memory for allocating level; needed %ld
bytes\n",
+ 3*gridx*gridy*sizeof(obj));
+ exit(1);
+ }
---------------------------------------
Received: (at 323652-close) by bugs.debian.org; 5 Sep 2005 05:48:40 +0000
>From [EMAIL PROTECTED] Sun Sep 04 22:48:40 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1EC9ow-0005wL-00; Sun, 04 Sep 2005 22:47:06 -0700
From: Bas Wijnen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#323652: fixed in gfpoken 0.26-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 04 Sep 2005 22:47:06 -0700
Delivered-To: [EMAIL PROTECTED]
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
X-CrossAssassin-Score: 2
Source: gfpoken
Source-Version: 0.26-1
We believe that the bug you reported is fixed in the latest version of
gfpoken, which is due to be installed in the Debian FTP archive:
gfpoken_0.26-1.diff.gz
to pool/main/g/gfpoken/gfpoken_0.26-1.diff.gz
gfpoken_0.26-1.dsc
to pool/main/g/gfpoken/gfpoken_0.26-1.dsc
gfpoken_0.26-1_powerpc.deb
to pool/main/g/gfpoken/gfpoken_0.26-1_powerpc.deb
gfpoken_0.26.orig.tar.gz
to pool/main/g/gfpoken/gfpoken_0.26.orig.tar.gz
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Wijnen <[EMAIL PROTECTED]> (supplier of updated gfpoken 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 23 Aug 2005 09:31:14 +0200
Source: gfpoken
Binary: gfpoken
Architecture: source powerpc
Version: 0.26-1
Distribution: unstable
Urgency: low
Maintainer: Bas Wijnen <[EMAIL PROTECTED]>
Changed-By: Bas Wijnen <[EMAIL PROTECTED]>
Description:
gfpoken - Recreate a grid of mirrors from clues given by tests
Closes: 323226 323652
Changes:
gfpoken (0.26-1) unstable; urgency=low
.
* Use %zd for printing sizes. (Closes: #323652)
* Let autoreconf copy files if linking fails. (Closes: #323226)
Files:
199baedd34f2eb889cbfa7b8bbbdb81b 747 games optional gfpoken_0.26-1.dsc
06b7e9e549670b184bb7e7cc198fd6c3 174683 games optional gfpoken_0.26.orig.tar.gz
d3579a8bc76e84fbb872d9bc6de679e4 3622 games optional gfpoken_0.26-1.diff.gz
6ff4f377e2110818f82f5d33f1902213 198400 games optional
gfpoken_0.26-1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iQCVAwUBQxvXrlYr4CN7gCINAQKsRgP8CPtv2xO+KG6a7cw43/0jaMMQydi8RMeH
qNLFvfkt/vlTiLqGjLX4PemRhrDZQaiud0qdh/gyG8u0wSPXUgl/cv39GLwJJrtW
jRHlsjuVxhw3r57Q8xWSX0dV2hqsiHajHXHJcYKzh9xXw5kHBR64NHi3rTjbhQzz
u+p/OdI579c=
=y/Em
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]