Merging rev-upgrade

Joshua Root jmr at macports.org
Sun Jan 1 02:32:24 PST 2012


On 2012-1-1 02:33 , Clemens Lang wrote:
> this bug should be fixed in r88411. That was a rather awkward. *hides*

OK, now that that's fixed, I've got another one for you. :-)

Looks like building the database of binaries needs to be made to
tolerate files that are missing or unreadable due to permissions. My
first upgrade after the merge ended thus:

--->  Updating database of binaries: 67%Error: Updating database of
binaries failed
lstat(/opt/local/var/spool/postfix/maildrop/.turd_postfix):no such file
or directory
    while executing
"fileIsBinary [$f path]"
    ("foreach" body line 8)
    invoked from within
"foreach f $files {
                    if {![macports::ui_isset ports_debug]} {
                        ui_msg -nonewline "\r$macports::ui_prefix Upda..."
    invoked from within
"try {
                ui_msg -nonewline "$macports::ui_prefix Updating
database of binaries"
                set i 1
                foreach f $files ..."
    invoked from within
"registry::write {
            try {
                ui_msg -nonewline "$macports::ui_prefix Updating
database of binaries"
                set i 1
   ..."
    (procedure "revupgrade_scanandrebuild" line 8)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_upgrade" line 24)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4750)

- Josh


More information about the macports-dev mailing list