buildbot failure in qemu on block_mingw32
The Buildbot has detected a new failure on builder block_mingw32 while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/439
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: kraxel_rhel61
Build Reason: The Nightly scheduler named 'nightly_block' triggered this build Build Source Stamp: [branch block] HEAD
Blamelist:
BUILD FAILED: failed compile
sincerely,
-The Buildbot
Quoted 7 lines · On Tue, Jan 08, 2013 at 01:06:19AM +0100, [email protected] wrote:
The Buildbot has detected a new failure on builder
block_mingw32while building qemu. Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/439Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build:
kraxel_rhel61
Here is the error:
/usr/i686-pc-mingw32/sys-root/mingw/include/stdlib.h:371: note: previous declaration of 'atexit' was here /home/buildbot/slave-public/block_mingw32/build/savevm.c: In function 'do_savevm':/home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: error: storage size of 'tb' isn't known /home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning: implicit declaration of function '_ftime' /home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning: nested extern declaration of '_ftime' /home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: warning: unused variable 'tb'
Stefan
Quoted 26 lines
Quoted 8 lines · On Tue, Jan 08, 2013 at 01:06:19AM +0100, [email protected] wrote:
The Buildbot has detected a new failure on builder
block_mingw32while building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/439Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build:
kraxel_rhel61Here is the error:
/usr/i686-pc-mingw32/sys-root/mingw/include/stdlib.h:371: note: previous declaration of 'atexit' was here/home/buildbot/slave-public/block_mingw32/build/savevm.c: In function 'do_savevm':/home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: error:
storage size of 'tb' isn't known/home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning:
implicit declaration of function '_ftime'/home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning:
nested extern declaration of '_ftime'/home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: warning:
unused variable 'tb'
Quoted 1 line
Stefan
I don't get this error in line 2097 with my native and cross builds, nor do I get the warnings. Which version of MinGW is used on the buildbot?
Anyway, it will be fixed with the pending patch
http://patchwork.ozlabs.org/patch/210240/
Stefan
Quoted 26 lines · Stefan Weil
Quoted 26 lines
Quoted 8 lines · On Tue, Jan 08, 2013 at 01:06:19AM +0100, [email protected] wrote:
The Buildbot has detected a new failure on builder
block_mingw32while building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/block_mingw32/builds/439Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build:
kraxel_rhel61Here is the error:
/usr/i686-pc-mingw32/sys-root/mingw/include/stdlib.h:371: note: previous declaration of 'atexit' was here/home/buildbot/slave-public/block_mingw32/build/savevm.c: In function 'do_savevm':/home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: error:
storage size of 'tb' isn't known/home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning:
implicit declaration of function '_ftime'/home/buildbot/slave-public/block_mingw32/build/savevm.c:2133: warning:
nested extern declaration of '_ftime'/home/buildbot/slave-public/block_mingw32/build/savevm.c:2097: warning:
unused variable 'tb'
Quoted 8 lines
Quoted 1 line
Stefan
I don't get this error in line 2097 with my native and cross builds, nor do I get the warnings. Which version of MinGW is used on the buildbot?
Anyway, it will be fixed with the pending patch
http://patchwork.ozlabs.org/patch/210240/
I've added Gerd on CC if he has time to check the buildbot. But since this will be fixed anyway it probably doesn't matter.
Stefan
Hi,
Quoted 8 lines
Quoted 5 lines
I don't get this error in line 2097 with my native and cross builds, nor do I get the warnings. Which version of MinGW is used on the buildbot?
Anyway, it will be fixed with the pending patch
http://patchwork.ozlabs.org/patch/210240/I've added Gerd on CC if he has time to check the buildbot. But since this will be fixed anyway it probably doesn't matter.
http://buildbot.b1-systems.de/qemu/buildslaves/kraxel_rhel61
has package version lists.
And, yes, mingw64 builds it fine, both 32 and 64 bit versions.
While talking about the buildbots (adding Daniel to Cc):
kraxel_fedora16 has mingw64 installed and can so both 32bit and 64bit mingw builds. The cross prefixes are "i686-w64-mingw32-" and "x86_64-w64-mingw32-".
Both kraxel_fedora16 and kraxel_rhel61 have clang installed, which can be configured like this:
clang.addStep(Configure(command=["./configure",
"--cc=clang",
"--host-cc=clang",
"--disable-werror",
"--disable-debug-info"],
logfiles={"config.log": "config.log"}))Finally, a custom message formater which adds the log tail directly to the fail messages would be cool, so you don't have to dig out the web browser to figure what the error is. /me runs this one:
def kraxelMessageFormatter(mode, name, build, results, master_status):
result = Results[results]
defmsg = mail.defaultMessage(mode, name, build, results, master_status);
text = list();
text.append(defmsg['body']);
# get log for last step
logs = build.getLogs()
for log in reversed(logs):
if log.getName() == 'stdio':
break
content = log.getText().splitlines() # Note: can be VERY LARGE
url = "%s/steps/%s/logs/%s" % (master_status.getURLForThing(build),
log.getStep().getName(),
log.getName())
# append log info to standard message
text.append("========== log tail ==========")
for line in content[-32:]:
text.append(unicode(line,'utf8'))
text.append("")
text.append("========== full log ==========")
text.append(url);
return { 'body' : "\n".join(text), 'type' : 'plain' }... hook up this way ...
mn = mail.MailNotifier($args,
messageFormatter=kraxelMessageFormatter);
cheers,
Gerd