On 5/23/15 1:32 PM, David Evans wrote:
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

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
and this is happening on each and every build invocation. Any ideas? Is this a known issue?

Dave


Apparently a corrupted database issue. Output from the write portlist phase shows

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 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) program finished with exit code 0 elapsedTime=7.423873
Dave
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to