[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#374624: marked as done (xbox-raincoat: FTBFS (amd64): warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int')

Your message dated Wed, 21 Jun 2006 05:02:15 -0700
with message-id <E1Ft1PT-00067t-0B@spohr.debian.org>
and subject line Bug#374624: fixed in xbox-raincoat 0.10-3
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)

--- Begin Message ---
Package: xbox-raincoat
Version: 0.10-1
Severity: serious
Tags: patch

When building 'xbox-raincoat' on amd64/unstable,
I get the following error:

gcc -O2 -Wall -Werror -o ./bin/raincoat src/raincoat.c src/BootFlash.c
cc1: warnings being treated as errors
src/raincoat.c: In function 'main':
src/raincoat.c:390: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
make[1]: *** [raincoat] Error 1
make[1]: Leaving directory `/xbox-raincoat-0.10'

With the attached patch 'xbox-raincoat' can be compiled on amd64 with gcc-4.1.

Andreas Jochens

diff -urN ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c ./src/raincoat.c
--- ../tmp-orig/xbox-raincoat-0.10/src/raincoat.c	2005-08-11 18:06:04.000000000 +0000
+++ ./src/raincoat.c	2006-06-20 10:03:31.000000000 +0000
@@ -387,7 +387,7 @@
 														// Add the flash.
 														if((--nCountMaximumFlashTypes)==0) { //
 															// Warn when the last possible flash is going to be added.
-															printf("  (note, raincoat only supports %d flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1);
+															printf("  (note, raincoat only supports %ld flash types, rest ignored)\n", (sizeof(aknownflashtype)/sizeof(KNOWN_FLASH_TYPE))-1);
 														printf("DEBUG: Added to pos %i\n", nCountSeen);

--- End Message ---
--- Begin Message ---
Source: xbox-raincoat
Source-Version: 0.10-3

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

  to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-3.diff.gz
  to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-3.dsc
  to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-3_amd64.deb

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

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

Debian distribution maintenance software
Michael Ablassmeier <abi@debian.org> (supplier of updated xbox-raincoat 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@debian.org)

Hash: SHA1

Format: 1.7
Date: Wed, 21 Jun 2006 13:48:05 +0200
Source: xbox-raincoat
Binary: xbox-raincoat
Architecture: source amd64
Version: 0.10-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Michael Ablassmeier <abi@debian.org>
 xbox-raincoat - Xbox BIOS flasher
Closes: 374624
 xbox-raincoat (0.10-3) unstable; urgency=low
   * QA upload
   * Really fix compilation problem, use %zd, otherwise we FTBFS
     on i386. (Closes: #374624)
 b8768652dca157944ccfc43e89fa54bb 746 misc extra xbox-raincoat_0.10-3.dsc
 7cd403dfcdd13faa3540f3d15bcae690 3115 misc extra xbox-raincoat_0.10-3.diff.gz
 1b7c1b1ac414d041a0f1a7cf85563376 15892 misc extra xbox-raincoat_0.10-3_amd64.deb

Version: GnuPG v1.4.3 (GNU/Linux)


--- End Message ---

Reply to: