Opened 11 years ago

Closed 11 years ago

#40008 closed defect (invalid)

rev-upgrade rebuilds py27-wxpython30 even if uninstalled

Reported by: nathanielvirgo Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: rev-upgrade Cc: neverpanic (Clemens Lang)
Port: py-wxpython30

Description

I am trying to install the port "py26-ode", but I get the following output. I have tried cleaning and uninstalling py27-wxpython40, which appears to be successful, but when I try to install py26-ode it just tries to install py27-wxpython40 again and gives me the same error.

I suspect I would get the same output when installing any port. py27-wxpython40 is not a dependency of py26-ode. I don't think I need py27-wxpython40 for anything, so I'd be happy if there was a way to just get rid of it permanently.

The log file is attached.

$ sudo port install py26-ode
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
Password:
--->  Computing dependencies for py26-ode
--->  Cleaning py26-ode
--->  Scanning binaries for linking errors: 100.0%
--->  Found 204 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     py27-wxpython30 @2.9.4.0 
--->  Computing dependencies for py27-wxpython30
--->  Cleaning py27-wxpython30
--->  Scanning binaries for linking errors: 100.0%
--->  Found 204 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     py27-wxpython30 @2.9.4.0 
--->  Computing dependencies for py27-wxpython30
--->  Fetching distfiles for py27-wxpython30
--->  Verifying checksums for py27-wxpython30
--->  Extracting py27-wxpython30
--->  Applying patches to py27-wxpython30
--->  Configuring py27-wxpython30
--->  Building py27-wxpython30
Error: org.macports.build for port py27-wxpython30 returned: command execution failed
Please see the log file for port py27-wxpython30 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-wxpython30/py27-wxpython30/main.log
Error: Unable to upgrade port: 1
Error rebuilding py27-wxpython30
    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_target" line 96)
    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)

Attachments (1)

main.log (86.4 KB) - added by nathanielvirgo 11 years ago.

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by nathanielvirgo

Attachment: main.log added

comment:1 Changed 11 years ago by nathanielvirgo

Ah - I realise now this isn't stopping me from installing py26-ode (it has actually successfully installed already), it's just a problem with the broken port.

However, there is still an issue here, which is that uninstalling py27-wxpython30 doesn't prevent rev-update from seeing it as a broken port and attempting to reinstall. It seems I don't have permission to edit the title and description, but if someone who does would update it to reflect this I would be grateful.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jwa@…
Port: py-wxpython30 added
Summary: problems with py27-wxpython40 preventing me from installing unrelated portspy27-wxpython30 build error

comment:3 Changed 11 years ago by ci42

Resolution: duplicate
Status: newclosed

Duplicate of #39781.

comment:4 Changed 11 years ago by nathanielvirgo

This isn't just a duplicate of #39781, though. The issue is that rev-update tries and fails to rebuild it even if I (succesfully) uninstall the port. That aspect of it is not mentioned in #39781.

comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: cal@… added
Keywords: rev-upgrade added
Resolution: duplicate
Status: closedreopened
Summary: py27-wxpython30 build errorrev-upgrade rebuilds py27-wxpython30 even if uninstalled

comment:6 Changed 11 years ago by ci42

What's the output of

$ port installed py27-wxpython30

?

comment:7 Changed 11 years ago by nathanielvirgo

@ciserlohn

$ port installed py27-wxpython30
None of the specified ports are installed.
Last edited 11 years ago by nathanielvirgo (previous) (diff)

comment:8 Changed 11 years ago by nathanielvirgo

Hmm, I just tried to do a bit more testing, but the problem seems to have fixed itself - I now get "No broken files found" when rev-update runs.

comment:9 Changed 11 years ago by ci42

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.