Debian Bug report logs - #583768
btrfs-tools: FTBFS on alpha and ia64 due to missing cast

version graph

Package: btrfs-tools; Maintainer for btrfs-tools is Dimitri John Ledkov <xnox@debian.org>; Source for btrfs-tools is src:btrfs-progs (PTS, buildd, popcon).

Reported by: Alexander Kurtz <kurtz.alex@googlemail.com>

Date: Sun, 30 May 2010 14:21:01 UTC

Severity: serious

Tags: patch

Merged with 539433

Found in versions btrfs-tools/0.19-12, btrfs-tools/0.19-2

Fixed in versions btrfs-tools/0.19+20100601-1, btrfs-tools/0.19+20100601-2

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@lists.debian-maintainers.org>:
Bug#583768; Package btrfs-tools. (Sun, 30 May 2010 14:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Kurtz <kurtz.alex@googlemail.com>:
New Bug report received and forwarded. Copy sent to Daniel Baumann <daniel@lists.debian-maintainers.org>. (Sun, 30 May 2010 14:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alexander Kurtz <kurtz.alex@googlemail.com>
To: submit@bugs.debian.org
Subject: btrfs-tools: FTBFS on alpha and ia64 due to missing cast
Date: Sun, 30 May 2010 16:19:03 +0200
[Message part 1 (text/plain, inline)]
Package: btrfs-tools
Version: 0.19-12

Hi,

btrfs-tools 0.19-12 FTBFS on alpha and ia64 with this error message:

btrfs-map-logical.c: In function 'debug_read_block':
btrfs-map-logical.c:69: error: format '%Lu' expects type 'long long unsigned int', but argument 4 has type 'u64'
btrfs-map-logical.c:69: error: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'u64'

Mdadm had a similar problem recently[1] and the maintainer thought that
an explicit cast might be the right way to fix this, so I attached a
patch doing just that.

Unfortunately qemu doesn't yet support ia64 guests so I can't test that
patch there, however it does build fine on amd64 with the patch applied.

Best Regards

Alexander Kurtz

[1] http://bugs.debian.org/567167
[add-missing-cast.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Daniel Baumann <daniel@debian.org>:
You have taken responsibility. (Tue, 01 Jun 2010 05:51:12 GMT) (full text, mbox, link).


Notification sent to Alexander Kurtz <kurtz.alex@googlemail.com>:
Bug acknowledged by developer. (Tue, 01 Jun 2010 05:51:12 GMT) (full text, mbox, link).


Message #10 received at 583768-close@bugs.debian.org (full text, mbox, reply):

From: Daniel Baumann <daniel@debian.org>
To: 583768-close@bugs.debian.org
Subject: Bug#583768: fixed in btrfs-tools 0.19+20100601-1
Date: Tue, 01 Jun 2010 05:47:11 +0000
Source: btrfs-tools
Source-Version: 0.19+20100601-1

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-dbg_0.19+20100601-1_i386.deb
  to main/b/btrfs-tools/btrfs-tools-dbg_0.19+20100601-1_i386.deb
btrfs-tools-udeb_0.19+20100601-1_i386.udeb
  to main/b/btrfs-tools/btrfs-tools-udeb_0.19+20100601-1_i386.udeb
btrfs-tools_0.19+20100601-1.diff.gz
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-1.diff.gz
btrfs-tools_0.19+20100601-1.dsc
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-1.dsc
btrfs-tools_0.19+20100601-1_i386.deb
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-1_i386.deb
btrfs-tools_0.19+20100601.orig.tar.gz
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601.orig.tar.gz



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 583768@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 01 Jun 2010 07:27:38 +0200
Source: btrfs-tools
Binary: btrfs-tools btrfs-tools-udeb btrfs-tools-dbg
Architecture: source i386
Version: 0.19+20100601-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <daniel@lists.debian-maintainers.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 btrfs-tools - Checksumming Copy on Write Filesystem utilities
 btrfs-tools-dbg - Checksumming Copy on Write Filesystem utilities (debug)
 btrfs-tools-udeb - Checksumming Copy on Write Filesystem utilities (udeb) (udeb)
Closes: 583768 583793
Changes: 
 btrfs-tools (0.19+20100601-1) unstable; urgency=low
 .
   * Updating patch to fix FTBFS on alpha and ia64, thanks to Alexander
     Kurtz <kurtz.alex@googlemail.com> (Closes: #583768).
   * Renumbering patches.
   * Merging upstream version 0.19+20100601 (Closes: #583793).
   * Removing upstream patches.
Checksums-Sha1: 
 6799a3e63530c9d546db0f89af1afad18b1394c2 1386 btrfs-tools_0.19+20100601-1.dsc
 45891ecb9dd6e15a9192e9989edd160c7607a55c 180392 btrfs-tools_0.19+20100601.orig.tar.gz
 48f355ffb986cee5318d29cab8ba0c3b8065f933 5984 btrfs-tools_0.19+20100601-1.diff.gz
 9aee7bf4915776bdd4d6b203bf777e5788d25cf3 693712 btrfs-tools_0.19+20100601-1_i386.deb
 c9eb3338059bb9d2f90238c31cbe572a8fd51575 121214 btrfs-tools-udeb_0.19+20100601-1_i386.udeb
 d304c66f1f375fe6c64c6f7147830d452f0b56e7 1908888 btrfs-tools-dbg_0.19+20100601-1_i386.deb
Checksums-Sha256: 
 28963163d83c3fca811c12394aa2bd5c3b148883e00fd099bac4d5ef69fb438a 1386 btrfs-tools_0.19+20100601-1.dsc
 1285774e0cb72984fac158dd046c8d405324754febd30320cd31e459253e4b65 180392 btrfs-tools_0.19+20100601.orig.tar.gz
 9b84971398f70faa3722a6310407dfb7d2953bf16aab46e085bdfbe994674fd2 5984 btrfs-tools_0.19+20100601-1.diff.gz
 894663c1159940a8af3528862e6df55c2745a3d4b690055b0bdfb5c804e996cb 693712 btrfs-tools_0.19+20100601-1_i386.deb
 765a104ed33adcfdd0de04988bdb5cf8f8d1139595060ded79f4c64411c66897 121214 btrfs-tools-udeb_0.19+20100601-1_i386.udeb
 84c15c532a52f5cd6667fddebba36c65534134b2db58bf232b9f8ecc5440d970 1908888 btrfs-tools-dbg_0.19+20100601-1_i386.deb
Files: 
 3858382fd433ae02253003fb2ba40f9c 1386 admin optional btrfs-tools_0.19+20100601-1.dsc
 78b1700d318de8518abfaab71f99a885 180392 admin optional btrfs-tools_0.19+20100601.orig.tar.gz
 4e80d6579c08f66abc39b30441523537 5984 admin optional btrfs-tools_0.19+20100601-1.diff.gz
 a0af7559fee793e06ef5210b960ccc9a 693712 admin optional btrfs-tools_0.19+20100601-1_i386.deb
 2448906b3fd3970d4947c550e501bd68 121214 debian-installer optional btrfs-tools-udeb_0.19+20100601-1_i386.udeb
 db76e01c98927c88034d6999c734a1be 1908888 debug extra btrfs-tools-dbg_0.19+20100601-1_i386.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwEmqsACgkQ+C5cwEsrK54L1wCgvjYPG0Vi4MVyDoG5ExOIDBM7
zXUAn3ki0/vVtTE4LGUFEjVj2uP0+asz
=P0Vc
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@lists.debian-maintainers.org>:
Bug#583768; Package btrfs-tools. (Wed, 02 Jun 2010 15:39:09 GMT) (full text, mbox, link).


Acknowledgement sent to Alexander Kurtz <kurtz.alex@googlemail.com>:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@lists.debian-maintainers.org>. (Wed, 02 Jun 2010 15:39:10 GMT) (full text, mbox, link).


Message #15 received at 583768@bugs.debian.org (full text, mbox, reply):

From: Alexander Kurtz <kurtz.alex@googlemail.com>
To: 583768@bugs.debian.org, Daniel Baumann <daniel@debian.org>, control@bugs.debian.org
Subject: Re: btrfs-tools: FTBFS on alpha and ia64 due to missing cast
Date: Wed, 02 Jun 2010 17:35:25 +0200
[Message part 1 (text/plain, inline)]
reopen 539433 !
forcemerge 539433 583768
thanks

It seems we didn't get 'em all...

https://buildd.debian.org/fetch.cgi?pkg=btrfs-tools&arch=ia64&ver=0.19%2B20100601-1&stamp=1275408386&file=log&as=raw says:

btrfs-list.c: In function 'resolve_root': 
btrfs-list.c:252: error: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'u64'
 btrfs-list.c:252: error: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'
 make[2]: *** [btrfs-list.o] Error 1

Attached is an updated version of `02-ftbfs.patch' which 
should fix this error. 

Could someone with access to an alpha/ia64 box perhaps fix the remaining
missing casts, if there are any? Alternatively you could send me a link
to a *working* alpha/ia64 emulator so I can do it myself.

Best Regards

Alexander Kurtz 
[02-ftbfs.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Forcibly Merged 539433 583768. Request was from Alexander Kurtz <kurtz.alex@googlemail.com> to control@bugs.debian.org. (Wed, 02 Jun 2010 15:45:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Baumann <daniel@lists.debian-maintainers.org>:
Bug#583768; Package btrfs-tools. (Wed, 02 Jun 2010 15:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Daniel Baumann <daniel@lists.debian-maintainers.org>. (Wed, 02 Jun 2010 15:51:05 GMT) (full text, mbox, link).


Message #22 received at 583768@bugs.debian.org (full text, mbox, reply):

From: Daniel Baumann <daniel@debian.org>
To: Alexander Kurtz <kurtz.alex@googlemail.com>
Cc: 583768@bugs.debian.org
Subject: Re: btrfs-tools: FTBFS on alpha and ia64 due to missing cast
Date: Wed, 02 Jun 2010 17:49:38 +0200
On 06/02/2010 05:35 PM, Alexander Kurtz wrote:
> Attached is an updated version of `02-ftbfs.patch' which 
> should fix this error. 

i'll check that before the next upload and try compiling it on any of
the ia64 porter boxes.

Thanks,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Reply sent to Daniel Baumann <daniel@debian.org>:
You have taken responsibility. (Sat, 05 Jun 2010 07:03:14 GMT) (full text, mbox, link).


Notification sent to Alexander Kurtz <kurtz.alex@googlemail.com>:
Bug acknowledged by developer. (Sat, 05 Jun 2010 07:03:14 GMT) (full text, mbox, link).


Message #27 received at 583768-close@bugs.debian.org (full text, mbox, reply):

From: Daniel Baumann <daniel@debian.org>
To: 583768-close@bugs.debian.org
Subject: Bug#583768: fixed in btrfs-tools 0.19+20100601-2
Date: Sat, 05 Jun 2010 07:02:11 +0000
Source: btrfs-tools
Source-Version: 0.19+20100601-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-dbg_0.19+20100601-2_i386.deb
  to main/b/btrfs-tools/btrfs-tools-dbg_0.19+20100601-2_i386.deb
btrfs-tools-udeb_0.19+20100601-2_i386.udeb
  to main/b/btrfs-tools/btrfs-tools-udeb_0.19+20100601-2_i386.udeb
btrfs-tools_0.19+20100601-2.diff.gz
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-2.diff.gz
btrfs-tools_0.19+20100601-2.dsc
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-2.dsc
btrfs-tools_0.19+20100601-2_i386.deb
  to main/b/btrfs-tools/btrfs-tools_0.19+20100601-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 583768@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 05 Jun 2010 08:50:05 +0200
Source: btrfs-tools
Binary: btrfs-tools btrfs-tools-udeb btrfs-tools-dbg
Architecture: source i386
Version: 0.19+20100601-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <daniel@lists.debian-maintainers.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 btrfs-tools - Checksumming Copy on Write Filesystem utilities
 btrfs-tools-dbg - Checksumming Copy on Write Filesystem utilities (debug)
 btrfs-tools-udeb - Checksumming Copy on Write Filesystem utilities (udeb) (udeb)
Closes: 583768
Changes: 
 btrfs-tools (0.19+20100601-2) unstable; urgency=low
 .
   * Updating ftbfs.patch, thanks to Alexander Kurtz
     <kurtz.alex@googlemail.com> (Closes: #583768).
   * Adding two more casts in ftbfs.patch and fixing wrapping in previous
     ones.
Checksums-Sha1: 
 3793dcaef8b96627685f532cf2f4355d2c0e1b72 1386 btrfs-tools_0.19+20100601-2.dsc
 b7470b80a6b8f818d4fbfa642efea7bacb0209b8 6462 btrfs-tools_0.19+20100601-2.diff.gz
 b7c5bbfef07ce419a2b34e4122b4fddb6123aa68 693802 btrfs-tools_0.19+20100601-2_i386.deb
 426868ac6c827267dcca14d0ef5b6cc5ca230211 121226 btrfs-tools-udeb_0.19+20100601-2_i386.udeb
 a89dcc0fc3aeccbb87d2cdc72660089b0b856ea7 1908998 btrfs-tools-dbg_0.19+20100601-2_i386.deb
Checksums-Sha256: 
 7627cee9548f456c19920c8e1e8ed576a94875fbbc7625b446224eddb8ff6bbd 1386 btrfs-tools_0.19+20100601-2.dsc
 515ca2a8dc67b061a25ee30fa2d9f819028ec31d98d845f62261077d6e40dd7c 6462 btrfs-tools_0.19+20100601-2.diff.gz
 b91c96473237080e3bd9becb375a1895eb2ddc5787328f63b66469c554fd00cd 693802 btrfs-tools_0.19+20100601-2_i386.deb
 e0dcfe806ab02121f1edde4a8dc96589669a6ef72ba268ae9f61aed1baab14d7 121226 btrfs-tools-udeb_0.19+20100601-2_i386.udeb
 1cb998028aba139b357d04a28704aecad5a8d8bc47acc88c41517a93f0d9de89 1908998 btrfs-tools-dbg_0.19+20100601-2_i386.deb
Files: 
 8554ef2c8a90e54736438b7e5adbbc8d 1386 admin optional btrfs-tools_0.19+20100601-2.dsc
 b1569a7c7d27edf210c06a794b830fa6 6462 admin optional btrfs-tools_0.19+20100601-2.diff.gz
 4e3a0cdba9cea78a5233f95deda92974 693802 admin optional btrfs-tools_0.19+20100601-2_i386.deb
 0057a8a10b5cec7af9e3ccb012cba66a 121226 debian-installer optional btrfs-tools-udeb_0.19+20100601-2_i386.udeb
 3163a5078365b0f18bc6544f6ce79f21 1908998 debug extra btrfs-tools-dbg_0.19+20100601-2_i386.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwJ9E8ACgkQ+C5cwEsrK54dKwCeJiGCB2pgQLB8xsZ4QbFZMF9A
uugAnRtoRR9hf0cZSuSFn29BjfIh9enF
=spDU
-----END PGP SIGNATURE-----





Reply sent to Daniel Baumann <daniel@debian.org>:
You have taken responsibility. (Sat, 05 Jun 2010 07:03:15 GMT) (full text, mbox, link).


Notification sent to Alexander Kurtz <kurtz.alex@googlemail.com>:
Bug acknowledged by developer. (Sat, 05 Jun 2010 07:03:15 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 03 Jul 2010 07:34:53 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jul 24 02:53:55 2020; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.