Your message dated Fri, 04 Jun 2010 13:48:26 +0000
with message-id <[email protected]>
and subject line Bug#584474: fixed in grub2 1.98+20100602-2
has caused the Debian Bug report #584474,
regarding FTBFS: usbms.c:315: error: format ‘%02x’ expects type ‘unsigned int’
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
584474: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584474
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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/grub2-1.98+20100602/include -I. -I./include -Wall -W
-ffreestanding -Os -DGRUB_MACHINE_EMU=1 -DMACHINE=X86_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 -Werror
-DGRUB_TARGET_NO_MODULES=1 -DUSE_ASCII_FAILBACK=1 -DGRUB_FILE=\"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
‘grub_usbms_transfer’:
/home/seanius/grub2-1.98+20100602/disk/usbms.c:315: error: format ‘%02x’
expects type ‘unsigned int’, but argument 5 has type ‘grub_size_t’
/home/seanius/grub2-1.98+20100602/disk/usbms.c:333: error: format ‘%02x’
expects type ‘unsigned int’, but argument 5 has type ‘grub_size_t’
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 (which
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=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD4DBQFMCAImynjLPm522B0RAsldAJjTMs+9qU0jot0h06FdvMFG8nQCAJ0f0c0X
Fu2Hnjr1OrS/XiOazgU1bQ==
=+y8T
-----END PGP SIGNATURE-----
--- 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<size; i++)
- grub_dprintf ("usb", "0x%02x: 0x%02x\n", i, buf[i]);
+ grub_dprintf ("usb", "0x%02x: 0x%02x\n", (unsigned)i, buf[i]);
else
grub_dprintf ("usb", "Too much data for debug print...\n");
}
@@ -330,7 +330,7 @@ grub_usbms_transfer (struct grub_scsi *s
/* Debug print of sent data. */
if (size <= 256)
for (i=0; i<size; i++)
- grub_dprintf ("usb", "0x%02x: 0x%02x\n", i, buf[i]);
+ grub_dprintf ("usb", "0x%02x: 0x%02x\n", (unsigned)i, buf[i]);
else
grub_dprintf ("usb", "Too much data for debug print...\n");
}
--- End Message ---
--- Begin Message ---
Source: grub2
Source-Version: 1.98+20100602-2
We believe that the bug you reported is fixed in the latest version of
grub2, which is due to be installed in the Debian FTP archive:
grub-common_1.98+20100602-2_i386.deb
to main/g/grub2/grub-common_1.98+20100602-2_i386.deb
grub-coreboot_1.98+20100602-2_i386.deb
to main/g/grub2/grub-coreboot_1.98+20100602-2_i386.deb
grub-efi-amd64_1.98+20100602-2_i386.deb
to main/g/grub2/grub-efi-amd64_1.98+20100602-2_i386.deb
grub-efi-ia32_1.98+20100602-2_i386.deb
to main/g/grub2/grub-efi-ia32_1.98+20100602-2_i386.deb
grub-efi_1.98+20100602-2_i386.deb
to main/g/grub2/grub-efi_1.98+20100602-2_i386.deb
grub-emu_1.98+20100602-2_i386.deb
to main/g/grub2/grub-emu_1.98+20100602-2_i386.deb
grub-firmware-qemu_1.98+20100602-2_i386.deb
to main/g/grub2/grub-firmware-qemu_1.98+20100602-2_i386.deb
grub-ieee1275_1.98+20100602-2_i386.deb
to main/g/grub2/grub-ieee1275_1.98+20100602-2_i386.deb
grub-linuxbios_1.98+20100602-2_i386.deb
to main/g/grub2/grub-linuxbios_1.98+20100602-2_i386.deb
grub-pc_1.98+20100602-2_i386.deb
to main/g/grub2/grub-pc_1.98+20100602-2_i386.deb
grub-rescue-pc_1.98+20100602-2_i386.deb
to main/g/grub2/grub-rescue-pc_1.98+20100602-2_i386.deb
grub2_1.98+20100602-2.diff.gz
to main/g/grub2/grub2_1.98+20100602-2.diff.gz
grub2_1.98+20100602-2.dsc
to main/g/grub2/grub2_1.98+20100602-2.dsc
grub2_1.98+20100602-2_i386.deb
to main/g/grub2/grub2_1.98+20100602-2_i386.deb
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.
Colin Watson <[email protected]> (supplier of updated grub2 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: SHA256
Format: 1.8
Date: Fri, 04 Jun 2010 14:01:58 +0100
Source: grub2
Binary: grub2 grub-linuxbios grub-efi grub-common grub-emu grub-pc
grub-rescue-pc grub-coreboot grub-efi-ia32 grub-efi-amd64 grub-ieee1275
grub-firmware-qemu grub-yeeloong
Architecture: source i386
Version: 1.98+20100602-2
Distribution: unstable
Urgency: low
Maintainer: GRUB Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description:
grub-common - GRand Unified Bootloader, version 2 (common files)
grub-coreboot - GRand Unified Bootloader, version 2 (Coreboot version)
grub-efi - GRand Unified Bootloader, version 2 (dummy package)
grub-efi-amd64 - GRand Unified Bootloader, version 2 (EFI-AMD64 version)
grub-efi-ia32 - GRand Unified Bootloader, version 2 (EFI-IA32 version)
grub-emu - GRand Unified Bootloader, version 2 (emulated version)
grub-firmware-qemu - GRUB firmware image for QEMU
grub-ieee1275 - GRand Unified Bootloader, version 2 (Open Firmware version)
grub-linuxbios - GRand Unified Bootloader, version 2 (dummy package)
grub-pc - GRand Unified Bootloader, version 2 (PC/BIOS version)
grub-rescue-pc - GRUB bootable rescue images, version 2 (PC/BIOS version)
grub-yeeloong - GRand Unified Bootloader, version 2 (Yeeloong version)
grub2 - GRand Unified Bootloader, version 2 (dummy package)
Closes: 584196 584426 584474
Changes:
grub2 (1.98+20100602-2) unstable; urgency=low
.
* Only build-depend on libdevmapper-dev on Linux architectures.
* Don't build-depend on libusb-dev on hurd-i386, where it doesn't seem to
be available.
* Fix printf format mismatch in disk/usbms.c (closes: #584474).
* Fix verbose error output when device-mapper isn't supported by the
running kernel (closes: #584196).
* Prepend "part_" to partmap module names in grub-mkconfig, in line with
grub-install (closes: #584426).
Checksums-Sha1:
99e3ede582e56db0d9232bf0453f4c3b91fb6a8e 2688 grub2_1.98+20100602-2.dsc
01bf7023a86cdec7d510cf9b63c83c32a6753a1c 396044 grub2_1.98+20100602-2.diff.gz
f1592b4978083e1c433ca96101b21838848ad610 258844 grub2_1.98+20100602-2_i386.deb
08cea2eb63c6d6e7608aebe2458400196057cc36 257644
grub-linuxbios_1.98+20100602-2_i386.deb
4ea3c336746b58d4e2ac99c0242b57b68b7a5048 257642
grub-efi_1.98+20100602-2_i386.deb
2ff8a8fbb0ddad87b545812525ebb761a4df91c2 1238298
grub-common_1.98+20100602-2_i386.deb
d3a28a25f1a0466cfa434d6c373dc0ea966d64b3 2570512
grub-emu_1.98+20100602-2_i386.deb
ce518cbfd7fe1b5e2702a1b00b36e0732a2d1335 912854
grub-pc_1.98+20100602-2_i386.deb
fc3dbdbed434863f0f9f3dd271885b99764986b0 1404886
grub-rescue-pc_1.98+20100602-2_i386.deb
6aad66da851443e1c462f50e88900327a6ff02de 714590
grub-coreboot_1.98+20100602-2_i386.deb
78729d9f946d41cb3e6baf5d50845d8919578cac 750320
grub-efi-ia32_1.98+20100602-2_i386.deb
21c629175dd3316f8676d768fa238c81509da762 825070
grub-efi-amd64_1.98+20100602-2_i386.deb
04d055c69c80cbeafb9e6fc6ac2180df7053c859 708080
grub-ieee1275_1.98+20100602-2_i386.deb
b563a95ba4049f8e9f45e13cf563f402235eeeb9 663150
grub-firmware-qemu_1.98+20100602-2_i386.deb
Checksums-Sha256:
ae81346f182919e50a4ff2006c6aec03bdb528e6ff78acc4aa13d135648d796a 2688
grub2_1.98+20100602-2.dsc
ed83b801b5bc3c33d3c58a3ef09d71df4c18f0067bfaa2b84e5f8cc2ef0e805e 396044
grub2_1.98+20100602-2.diff.gz
82e08d6cbebb53da02666f8c3989b45d3894a6b97cf446b5c208286534c3840e 258844
grub2_1.98+20100602-2_i386.deb
e5bf58fea9c43809ada04abb2cdf4179bce59923d29baf539d2c445278bc8575 257644
grub-linuxbios_1.98+20100602-2_i386.deb
4e52f24aab572bd39ace70cf7af703f29e11eaf7685836681aa92eda25fd6819 257642
grub-efi_1.98+20100602-2_i386.deb
7075bd4b361523b0c1819da5c3d3cd5c2fb1e606ac76687fb7e1d0d6dae1cfe8 1238298
grub-common_1.98+20100602-2_i386.deb
1dce52bc7f2b24c1261acc41ccde3f56545d2e690915fd5d3c834bc1b0c37c92 2570512
grub-emu_1.98+20100602-2_i386.deb
89f43fda227ab0dc523ae1f4ee888d4af16cb2dc33e73b1770a77b945001cfc6 912854
grub-pc_1.98+20100602-2_i386.deb
91f7857fc50d1ce90c027034c44a7ce81e4668c3f5010ab102ff6c04864f3d57 1404886
grub-rescue-pc_1.98+20100602-2_i386.deb
c30a606736ab29ac1bd239559c3557e56ba2b2278df3e7f6e6275d83e243dabb 714590
grub-coreboot_1.98+20100602-2_i386.deb
0ede3b0da03d210399e5de9196a42442d3b4cfeb2a43a8544d4b0e33cfd6d834 750320
grub-efi-ia32_1.98+20100602-2_i386.deb
5fa55c8ab90e125584e66928e869bf5637d91207270bef52283f3fe218065e80 825070
grub-efi-amd64_1.98+20100602-2_i386.deb
eaa0912bf1674ab4eb61bca0c60d6b6c31b006cb95268166f803a6e6d5325564 708080
grub-ieee1275_1.98+20100602-2_i386.deb
8c0b9d3ecae92b9f059d711d793f295ecaea6b2aaeb55d55b7165ca1d5e77a3d 663150
grub-firmware-qemu_1.98+20100602-2_i386.deb
Files:
c7ac3cfcbe71b8893f50cbafaccb11cf 2688 admin extra grub2_1.98+20100602-2.dsc
a53d4f58692c8892a2489e545e64dcc0 396044 admin extra
grub2_1.98+20100602-2.diff.gz
004df9c385e244008ee5073b7f2f72e9 258844 admin extra
grub2_1.98+20100602-2_i386.deb
4a8576cab98afcac0021a52e42a5df09 257644 admin extra
grub-linuxbios_1.98+20100602-2_i386.deb
768a6aadcd8f361d11aa6195d86e9ebd 257642 admin extra
grub-efi_1.98+20100602-2_i386.deb
102914825b98d8b2132fc9093eb10baa 1238298 admin extra
grub-common_1.98+20100602-2_i386.deb
390f19efe4594e3ff1fc6ea81e8e33bd 2570512 admin extra
grub-emu_1.98+20100602-2_i386.deb
88716cc6ad14a926d127c25e01a60ccf 912854 admin extra
grub-pc_1.98+20100602-2_i386.deb
6a39d4bdf066b452964dc02e2f9fea85 1404886 admin extra
grub-rescue-pc_1.98+20100602-2_i386.deb
0633ee6d0482cfc94d71e1339e573e79 714590 admin extra
grub-coreboot_1.98+20100602-2_i386.deb
5b02a8e993ea6fbca6a7de9cc9d30b86 750320 admin extra
grub-efi-ia32_1.98+20100602-2_i386.deb
0ead60fe951bdf7cafe66f0a31f1e4a3 825070 admin extra
grub-efi-amd64_1.98+20100602-2_i386.deb
c2e07554e1dea7f47e284794f59399b4 708080 admin extra
grub-ieee1275_1.98+20100602-2_i386.deb
d93df9f2a52ba7b2cc4a2217434bcfb7 663150 admin extra
grub-firmware-qemu_1.98+20100602-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer
iQIVAwUBTAkACTk1h9l9hlALAQgz9A//Xk0LZaTZvEyr1i3LDyTVxUXGumst7GOj
cT0urgJLUTVyXHEUCeM6hj6Ep2DSaupmq6ndqMuLVEsTcus41TfbR9WYX12UbWwh
GwFwF1zc7NlT+gjCAYvnLsWy3lBDA8Q2Q+HrzRkNVbp2E2+h4X3nBqLyEAc1ri8p
EpyQcjPpCH838F1He/aBzN5oMXi3S085ANDXwZZ66XNNJ46G9g93P6Iefn9ClCoS
ANn009dozgE1H/CM/auWK6lgXgAWf+rxR5I9E1Z0E3fzFVnoBBTSTYXs/7E3sHmb
JhIW37NZlJ55h9g6+tfF/b6jhm4PBj0KOXQ30MHL3Kh4lqi5SocQ/+SbLwqviL91
qus/YtE0kogJimrpKnh2FPQgT2uBnYPw/YmdP6wJ+3xL8Q/+pZ94DTz/GaN7R+0r
kjNCznGHtcf7AbJKewH2hawdFx9/nJvZPfPaDHyMwyKv6ZKQ6CK/b6dwXXtJfhhN
rpQS9oY5VBz81TFJVnkP7syiNd8xEph1dc1Eyyv0o99ck0KRxdwZuXF2MXnDRjoh
aU6pZMLeDkIIARIzjvWjY/LiSOJhS9JTA6NuaL4l+KluUGJetMVjKdXEYuS1bks3
4TEAZ2Xh60FLR5yTUTAujpU+7ujzVyOnTnXagmheyOOAZbtuuBIs/TuZiMtQMYVU
zvQ448DFq5I=
=kplA
-----END PGP SIGNATURE-----
--- End Message ---