[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 04:02:12 -0700
with message-id <E1Ft0TM-00033b-PQ@spohr.debian.org>
and subject line Bug#374624: fixed in xbox-raincoat 0.10-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)

--- 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-2

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-2.diff.gz
  to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-2.dsc
  to pool/main/x/xbox-raincoat/xbox-raincoat_0.10-2_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 12:57:26 +0200
Source: xbox-raincoat
Binary: xbox-raincoat
Architecture: source amd64
Version: 0.10-2
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-2) unstable; urgency=low
   * QA Upload
   * Add debian/patches/02_long.diff: fix compilation on amd64, thanks
     Andreas Jochens for the patch and Bugreport (Closes: #374624)
   * Update debian/copyright
   * Conforms to new Standards Version
 9e412984268bd943c45721767b1f1727 746 misc extra xbox-raincoat_0.10-2.dsc
 ac0f5d25c2bfa9aae48b291b9f77e744 3058 misc extra xbox-raincoat_0.10-2.diff.gz
 9ce2cfa9bff2a0e9d68a2f4b21c151c1 15818 misc extra xbox-raincoat_0.10-2_amd64.deb

Version: GnuPG v1.4.3 (GNU/Linux)


--- End Message ---

Reply to: