Your message dated Tue, 17 Mar 2009 07:32:03 +0000
with message-id <e1ljtmn-0007d5...@ries.debian.org>
and subject line Bug#519913: fixed in btrfs-tools 0.18-2
has caused the Debian Bug report #519913,
regarding btrfs-tools: FTBFS on alpha and ia64, printk cast warning
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 ow...@bugs.debian.org
immediately.)
--
519913: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519913
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: btrfs-tools
Version: 0.18-1
Severity: serious
Tags: patch
Some warnings of the form:
format '%llu' expects type 'long long unsigned int' but argument has
type 'u64'
in conjunction with -Werror are causing build failures on ia64 and
alpha. Patch attached to properly cast them, avoiding compiler
warnings.
This issue should be the last one stopping the migration to
testing...
Cheers, Luca
--
.''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso)
: :' : The Universal O.S. | lucab (AT) debian.org
`. `'` | GPG Key ID: 3BFB9FB3
`- http://www.debian.org | Debian GNU/Linux Developer
commit f1147b7796a2127d426ba976ebd319831d4cdea9
Author: Luca Bruno <lu...@debian.org>
Date: Sun Mar 15 18:26:35 2009 +0100
btrfs-progs: Fix printf format casting errors
There are still some warnings of the form:
format '%llu' expects type 'long long unsigned int' but argument has type 'u64'
In conjunction with -Werror, this is causing some build failures.
Now they're properly casted, avoiding compiler warnings.
Signed-off-by: Luca Bruno <lu...@debian.org>
diff --git a/btrfsck.c b/btrfsck.c
index 5834ca3..dd546c8 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -1134,12 +1134,14 @@ static int check_inode_recs(struct btrfs_root *root,
ret = check_root_dir(rec);
if (ret) {
fprintf(stderr, "root %llu root dir %llu error\n",
- root->root_key.objectid, root_dirid);
+ (unsigned long long) root->root_key.objectid,
+ (unsigned long long) root_dirid);
error++;
}
} else {
fprintf(stderr, "root %llu root dir %llu not found\n",
- root->root_key.objectid, root_dirid);
+ (unsigned long long) root->root_key.objectid,
+ (unsigned long long) root_dirid);
}
while (1) {
@@ -1160,7 +1162,8 @@ static int check_inode_recs(struct btrfs_root *root,
if (!rec->found_inode_item)
rec->errors |= I_ERR_NO_INODE_ITEM;
fprintf(stderr, "root %llu inode %llu errors %x\n",
- root->root_key.objectid, rec->ino, rec->errors);
+ (unsigned long long) root->root_key.objectid,
+ (unsigned long long) rec->ino, rec->errors);
list_for_each_entry(backref, &rec->backrefs, list) {
if (!backref->found_dir_item)
backref->errors |= REF_ERR_NO_DIR_ITEM;
@@ -1170,7 +1173,8 @@ static int check_inode_recs(struct btrfs_root *root,
backref->errors |= REF_ERR_NO_INODE_REF;
fprintf(stderr, "\tunresolved ref dir %llu index %llu"
" namelen %u name %s filetype %d error %x\n",
- backref->dir, backref->index,
+ (unsigned long long) backref->dir,
+ (unsigned long long) backref->index,
backref->namelen, backref->name,
backref->filetype, backref->errors);
}
diff --git a/extent-tree.c b/extent-tree.c
index cc8d1d7..94ddb0c 100644
--- a/extent-tree.c
+++ b/extent-tree.c
@@ -823,7 +823,7 @@ int btrfs_lookup_extent_ref(struct btrfs_trans_handle *trans,
goto out;
if (ret != 0) {
btrfs_print_leaf(root, path->nodes[0]);
- printk("failed to find block number %Lu\n", bytenr);
+ printk("failed to find block number %Lu\n", (unsigned long long) bytenr);
BUG();
}
l = path->nodes[0];
diff --git a/mkfs.c b/mkfs.c
index af7d12c..1533754 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -388,7 +388,7 @@ int main(int ac, char **av)
fprintf(stderr, "File system size "
"%llu bytes is too small, "
"256M is required at least\n",
- block_count);
+ (unsigned long long) block_count);
exit(1);
}
zero_end = 0;
diff --git a/print-tree.c b/print-tree.c
index 52ef7c7..8ff763f 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -70,7 +70,7 @@ static int print_inode_ref_item(struct extent_buffer *eb, struct btrfs_item *ite
len = (name_len <= sizeof(namebuf))? name_len: sizeof(namebuf);
read_extent_buffer(eb, namebuf, (unsigned long)(ref + 1), len);
printf("\t\tinode ref index %llu namelen %u name: %.*s\n",
- index, name_len, len, namebuf);
+ (unsigned long long) index, name_len, len, namebuf);
len = sizeof(*ref) + name_len;
ref = (struct btrfs_inode_ref *)((char *)ref + len);
cur += len;
pgpCZPx5teXGb.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: btrfs-tools
Source-Version: 0.18-2
We believe that the bug you reported is fixed in the latest version of
btrfs-tools, which is due to be installed in the Debian FTP archive:
btrfs-tools_0.18-2.diff.gz
to pool/main/b/btrfs-tools/btrfs-tools_0.18-2.diff.gz
btrfs-tools_0.18-2.dsc
to pool/main/b/btrfs-tools/btrfs-tools_0.18-2.dsc
btrfs-tools_0.18-2_i386.deb
to pool/main/b/btrfs-tools/btrfs-tools_0.18-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 519...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <dan...@debian.org> (supplier of updated btrfs-tools 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 ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 17 Mar 2009 08:22:00 +0100
Source: btrfs-tools
Binary: btrfs-tools
Architecture: source i386
Version: 0.18-2
Distribution: unstable
Urgency: medium
Maintainer: Daniel Baumann <dan...@debian.org>
Changed-By: Daniel Baumann <dan...@debian.org>
Description:
btrfs-tools - Checksumming Copy on Write Filesystem
Closes: 519913
Changes:
btrfs-tools (0.18-2) unstable; urgency=medium
.
* Adding patch from Luca Bruno <lu...@debian.org> to fix FTBFS on
alpha and ia64 (Closes: #519913).
* Updating rules file to current state of the art.
* Updating standards version to 3.8.1.
Checksums-Sha1:
baba6da7312241d54df873dd9bf34fca31e072bd 1154 btrfs-tools_0.18-2.dsc
fe5f560a18012412e706508041610495bb3f15e1 3496 btrfs-tools_0.18-2.diff.gz
97df8da838b8aadae6c5cd84ee86d12efd27ec98 449012 btrfs-tools_0.18-2_i386.deb
Checksums-Sha256:
e84d704442cdb1914de73771aeb6bb552bf5f559773a741efb8047d3ca49450e 1154
btrfs-tools_0.18-2.dsc
0248b2d1ebb83bedf15d5ded37ee83dfffceb9392ed0157d30545482e6bb1c1d 3496
btrfs-tools_0.18-2.diff.gz
d2c5ba2ccdf767ef68ceeade57c6cd53d4deaf0bdb123e5853054ecef3f1f60b 449012
btrfs-tools_0.18-2_i386.deb
Files:
a2adb9ee5ce412851af87fee0d811eb7 1154 admin optional btrfs-tools_0.18-2.dsc
cf030d8a80e31049c9eba26fac071414 3496 admin optional btrfs-tools_0.18-2.diff.gz
dc77fc55e18ce75d28e13a9c08e44c4e 449012 admin optional
btrfs-tools_0.18-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm/UA4ACgkQ+C5cwEsrK56+3QCgq9wVHpycjbFddiamulYF/tys
xR4An32kez/zsQtgPViIZ46Cceykrjeh
=lNrK
-----END PGP SIGNATURE-----
--- End Message ---