Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OKGJ4-0007Vh-CF for mharc-grub-devel@gnu.org; Thu, 03 Jun 2010 15:42:22 -0400 Received: from [140.186.70.92] (port=59130 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKG7L-0007Pc-CJ for grub-devel@gnu.org; Thu, 03 Jun 2010 15:30:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKG7I-0006PN-2I for grub-devel@gnu.org; Thu, 03 Jun 2010 15:30:14 -0400 Received: from busoni.debian.org ([140.211.15.34]:56455) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKG7H-0006P0-Iv for grub-devel@gnu.org; Thu, 03 Jun 2010 15:30:11 -0400 Received: from debbugs by busoni.debian.org with local (Exim 4.69) (envelope-from ) id 1OKG7A-0007SP-AO; Thu, 03 Jun 2010 19:30:04 +0000 X-Loop: owner@bugs.debian.org Resent-From: sean finney Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: grub-devel@gnu.org, GRUB Maintainers X-Loop: owner@bugs.debian.org Resent-Date: Thu, 03 Jun 2010 19:30:01 +0000 Resent-Message-ID: X-Debian-PR-Message: report 584474 X-Debian-PR-Package: src:grub2 X-Debian-PR-Keywords: patch upstream X-Debian-PR-Source: grub2 Received: via spool by submit@bugs.debian.org id=B.127559326928175 (code B ref -1); Thu, 03 Jun 2010 19:30:01 +0000 Received: (at submit) by bugs.debian.org; 3 Jun 2010 19:27:49 +0000 Received: from cobija.connexer.com ([66.93.22.232]) by busoni.debian.org with esmtp (Exim 4.69) (envelope-from ) id 1OKG4y-0007JV-Nt for submit@bugs.debian.org; Thu, 03 Jun 2010 19:27:49 +0000 Received: from rangda.stickybit.se (h-234-204.A189.priv.bahnhof.se [81.170.234.204]) by cobija.connexer.com (Postfix) with ESMTPA id 575C030006; Thu, 3 Jun 2010 15:27:40 -0400 (EDT) Received: by rangda.stickybit.se (Postfix, from userid 1000) id C20DB10533; Thu, 3 Jun 2010 21:27:38 +0200 (CEST) Content-Type: multipart/mixed; boundary="===============2564322393963345811==" MIME-Version: 1.0 From: sean finney To: Debian Bug Tracking System Message-ID: <20100603192738.3783.6316.reportbug@rangda.seanius.net> X-Mailer: reportbug 4.12.2 Date: Thu, 03 Jun 2010 21:27:38 +0200 Resent-Sender: Debian BTS Resent-Date: Thu, 03 Jun 2010 19:30:04 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 03 Jun 2010 15:42:21 -0400 Cc: Subject: Bug#584474: FTBFS: usbms.c:315: error: format =?utf-8?b?4oCYJTAy?= =?utf-8?b?eOKAmQ==?= expects type =?utf-8?b?4oCYdW5zaWduZWQgaW504oCZ?= X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 19:30:18 -0000 This is a multi-part MIME message sent by reportbug. --===============2564322393963345811== MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Source: grub2 Version: 1.98+20100602-1 Severity: serious Tags: upstream patch Justification: FTBFS -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 while investigated an unrelated bug, i noticed that the latest snapshot uploaded to debian fails with the following error: gcc-4.4 -Idisk -I/home/seanius/grub2-1.98+20100602/disk -I/home/seanius/g= rub2-1.98+20100602/include -I. -I./include -Wall -W -ffreestanding -Os = -DGRUB_MACHINE_EMU=3D1 -DMACHINE=3DX86_64_EMU -Wall -W -Wshadow -Wpointer= -arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g= -fno-dwarf2-cfi-asm -m64 -fno-stack-protector -mno-stack-arg-probe -Werr= or -DGRUB_TARGET_NO_MODULES=3D1 -DUSE_ASCII_FAILBACK=3D1 -DGRUB_FILE=3D\= "disk/usbms.c\" -MD -c -o usbms_mod-disk_usbms.o /home/seanius/grub2-1.98= +20100602/disk/usbms.c cc1: warnings being treated as errors /home/seanius/grub2-1.98+20100602/disk/usbms.c: In function =E2=80=98grub= _usbms_transfer=E2=80=99: /home/seanius/grub2-1.98+20100602/disk/usbms.c:315: error: format =E2=80=98= %02x=E2=80=99 expects type =E2=80=98unsigned int=E2=80=99, but argument 5= has type =E2=80=98grub_size_t=E2=80=99 /home/seanius/grub2-1.98+20100602/disk/usbms.c:333: error: format =E2=80=98= %02x=E2=80=99 expects type =E2=80=98unsigned int=E2=80=99, but argument 5= has type =E2=80=98grub_size_t=E2=80=99 make[1]: *** [usbms_mod-disk_usbms.o] Error 1 the two lines in question are both debug printf type statements. therefore, instead of doing something complicated to get the format string to match with the size of grub_size_t (which i'm guessing could vary based on the platform), i have created a patch that simply casts the parameter in question as unsigned to match the format string instead (whi= ch only shows two digits anyway). sean - -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.34-rc5minime-00783-gbad884d (SMP w/2 CPU cores) Locale: LANG=3Den_US.utf8, LC_CTYPE=3Den_US.utf8 (charmap=3DUTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD4DBQFMCAImynjLPm522B0RAsldAJjTMs+9qU0jot0h06FdvMFG8nQCAJ0f0c0X Fu2Hnjr1OrS/XiOazgU1bQ=3D=3D =3D+y8T -----END PGP SIGNATURE----- --===============2564322393963345811== Content-Type: text/x-c; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="911_usbms_ftbfs.diff" --- grub2-1.98+20100602.orig/disk/usbms.c +++ grub2-1.98+20100602/disk/usbms.c @@ -312,7 +312,7 @@ grub_usbms_transfer (struct grub_scsi *s grub_dprintf ("usb", "buf:\n"); if (size <= 64) for (i=0; i