#43552: "Error rebuilding $portname" terminates without grace -------------------------+-------------------------------- Reporter: mp@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: base | Version: 2.2.1 Keywords: rev-upgrade | Port: -------------------------+-------------------------------- At the end of a {{{ sudo port -p upgrade outdated }}} after the ports were upgraded, rev-upgrade triggered a rebuild of a port, which subsequently failed to build. The failure was correct, but the exit could be handled with slightly more grace. {{{ ---> Cleaning npm ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 1 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order ext2fuse @0.8.1 ---> Computing dependencies for ext2fuse Error: Cannot install ext2fuse for the arch(s) 'x86_64' because Error: its dependency osxfuse only supports the arch(s) 'i386'. Error: Couldn't activate ext2fuse 0.8.1_2: architecture mismatch Error rebuilding ext2fuse while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) 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 25) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) 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 4857) }}} -- Ticket URL: <https://trac.macports.org/ticket/43552> MacPorts <http://www.macports.org/> Ports system for OS X