Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#43552 closed defect (fixed)

"Error rebuilding $portname" terminates without grace

Reported by: mp@… Owned by: neverpanic (Clemens Lang)
Priority: Low Milestone: MacPorts 2.4.0
Component: base Version: 2.2.1
Keywords: rev-upgrade Cc:
Port:

Description

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)

Change History (8)

comment:1 Changed 7 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

comment:2 Changed 7 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts Future
Resolution: fixed
Status: assignedclosed

Yeah, I wanted to get rid of this ugliness for a while now. Thanks for reminding me, r119660.

comment:3 Changed 7 years ago by legend5459@…

I'm still having this issue. It is not fixed. OS X 10.6.8, iMac5,1. Tried to port upgrade and it failed here.

comment:4 Changed 7 years ago by legend5459@…

Resolution: fixed
Status: closedreopened

Sorry, didn't re-open. New here (and if I'm doing something stupid, sorry for the extra work. just trying to help).

comment:5 Changed 7 years ago by legend5459@…

Crap. Wasn't reading closely. Disregard, please. I was simply having trouble with the ext2fuse port. it was already installed but refusing to upgrade because of the architecture problem. Disregard. Close again, please.

comment:6 Changed 7 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: reopenedclosed

comment:7 Changed 7 years ago by neverpanic (Clemens Lang)

This is a change to MacPorts base and you'll have to wait until the next MacPorts release to get it. Actually, 2.3 will probably not contain this change since it has been branched already, but the release after 2.3 probably will.

comment:8 Changed 4 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.4.0
Note: See TracTickets for help on using tickets.