Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712536 - app-emulation/xen-tools-4.13.0-r2 : xc_sr_restore.c: error: format %lu expects argument of type long unsigned int, but argument 7
Summary: app-emulation/xen-tools-4.13.0-r2 : xc_sr_restore.c: error: format %lu expect...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-14 17:22 UTC by Toralf Förster
Modified: 2020-03-16 16:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.40 KB, text/plain)
2020-03-14 17:22 UTC, Toralf Förster
Details
app-emulation:xen-tools-4.13.0-r2:20200314-171743.log (app-emulation:xen-tools-4.13.0-r2:20200314-171743.log,443.51 KB, text/plain)
2020-03-14 17:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,79.16 KB, text/plain)
2020-03-14 17:22 UTC, Toralf Förster
Details
environment (environment,119.19 KB, text/plain)
2020-03-14 17:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.49 KB, application/x-bzip)
2020-03-14 17:22 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.23 KB, application/x-bzip)
2020-03-14 17:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.95 KB, application/x-bzip)
2020-03-14 17:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-14 17:22:13 UTC
                 from xc_sr_restore.c:5:
xc_sr_restore.c: In function handle_page_data:
xc_sr_restore.c:399:15: error: format %lu expects argument of type long unsigned int, but argument 7 has type unsigned int [-Werror=format=]
  399 |         ERROR(PAGE_DATA record wrong size: length %u, expected 
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  400 |               %zu + %zu + %lu, rec->length, sizeof(*pages),

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] x86_64-gentoo-linux-musl-9.3.0
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 14 Mar 2020 16:44:09 +0000
emerge -qpvO app-emulation/xen-tools
[ebuild  N    ] app-emulation/xen-tools-4.13.0-r2  USE="hvm ipxe pam qemu qemu-traditional rombios -api -debug -doc -flask -ocaml (-ovmf) -pygrub -python -screen -sdl -static-libs -system-ipxe -system-qemu -system-seabios" PYTHON_SINGLE_TARGET="python3_6"
Comment 1 Toralf Förster gentoo-dev 2020-03-14 17:22:16 UTC
Created attachment 619058 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-14 17:22:20 UTC
Created attachment 619060 [details]
app-emulation:xen-tools-4.13.0-r2:20200314-171743.log
Comment 3 Toralf Förster gentoo-dev 2020-03-14 17:22:24 UTC
Created attachment 619062 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-14 17:22:27 UTC
Created attachment 619064 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-14 17:22:29 UTC
Created attachment 619066 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-14 17:22:32 UTC
Created attachment 619068 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-14 17:22:35 UTC
Created attachment 619070 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:44 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.