<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/23/15 1:32 PM, David Evans wrote:<br>
</div>
<blockquote cite="mid:5560E3F7.5050603@macports.org" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
I'm not sure how long this has been going on but this buildbot is
silently failing in the compile phase with the following stdout<br>
<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre>Warning: not using chroot
File 'portlist' not found
Usage: ./mpab [help | mount | umount | shell | buildmp [RELEASE_FILE] | rebuildmp [RELEASE_FILE] |
buildports [portlist_file]]
help: this help
mount: just mount the chroot images
umount: unmount the chroot images
shell: start an interactive shell in the chroot
buildmp: build/install MacPorts inside the chroot
rebuildmp: force a rebuild of MacPorts inside the chroot
buildports: build ports; if a portlist file is given, use it, otherwise
build all; portlist_file is a simple text file with one port
per line; dependencies will be built as needed
default is to do everything (except rebuildmp); buildmp and buildports
will unmount the chroot when done</pre>
</blockquote>
and this is happening on each and every build invocation. Any
ideas? Is this a known issue?<br>
<br>
Dave<br>
<br>
<br>
</blockquote>
Apparently a corrupted database issue. Output from the write
portlist phase shows<br>
<br>
<blockquote type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre><span class="header">rm -f portlist; for portname in p5-crypt-ciphersaber; do for subport in `./subports.tcl $portname`; do echo $subport >> portlist; done; done
in dir /buildbot/ports-slave/buildports-snowleopard-x86_64/build (timeout 1200 secs)
watching logfiles {}
argv: rm -f portlist; for portname in p5-crypt-ciphersaber; do for subport in `./subports.tcl $portname`; do echo $subport >> portlist; done; done
environment:
HOME=/buildbot/ports-slave
PATH=/usr/bin:/bin:/usr/sbin:/sbin
PWD=/buildbot/ports-slave/buildports-snowleopard-x86_64/build
VERSIONER_PYTHON_PREFER_32_BIT=no
VERSIONER_PYTHON_VERSION=2.6
__CF_USER_TEXT_ENCODING=0x0:0:0
using PTY: False
</span><span class="stderr">Error: sqlite error: database disk image is malformed (11) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
while executing
"registry::open $db_path"
(procedure "mportinit" line 610)
invoked from within
"mportinit "" "" """
Error: Failed to initialize ports sytem: sqlite error: database disk image is malformed (11) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
child process exited abnormally
while executing
"exec ${prefix}/bin/port-tclsh $argv0 {*}[lrange $::argv 2 end] <@stdin >@stdout 2>@stderr"
invoked from within
"if {[llength $::argv] == 0} {
puts stderr "Usage: $argv0 <portname>"
exit 1
} elseif {[llength $::argv] >= 3 && [lindex $argv 0] eq "-i"} {
..."
(file "./subports.tcl" line 40)
</span><span class="header">program finished with exit code 0
elapsedTime=7.423873
</span></pre>
</blockquote>
Dave<br>
</body>
</html>