port in inconsistent state in wxWidgets
port version claims 1.400
updated from svn about v 22036, IIRC.
Yet another port WTF, two in fact. First note that port ignores the requested version, and attempts to install another version. That fails, revealing an inconsistency in the port database.
chibi:MacPorts steve$ sudo port install wxWidgets @2.6.3_0+darwin_8
---> Unpacking tgz archive for wxWidgets 2.8.0_0+darwin_8
---> Installing wxWidgets 2.8.0_0+darwin_8
---> Activating wxWidgets 2.8.0_0+darwin_8
Error: Target com.apple.activate returned: Image error: /opt/local/bin/wx-config is being used by the active wxWidgets-devel port. Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.
chibi:MacPorts steve$ sudo port -f deactivate wxWidgets-devel
---> Deactivating wxWidgets-devel
Error: port deactivate failed: Registry error: wxWidgets-devel not registered as installed & active.
Change History (11)
Milestone: |
→ Available Ports
|
Milestone: |
Available Ports →
Port Bugs
|
Milestone: |
Port Bugs →
Needs developer review
|
Priority: |
Blocker →
Important
|
Cc: |
jmpp@… stephen@… added
|
Description: |
modified (diff)
|
Resolution: |
→ worksforme
|
Status: |
new →
closed
|
Milestone: |
Needs developer review →
MacPorts base bugs
|
Cc: |
jmpp@macports.org, stephen@xemacs.org,markd@macports.org →
jmpp@macports.org, stephen@xemacs.org, markd@macports.org
|
Priority: |
Important →
High
|
Milestone: |
MacPorts base bugs →
MacPorts Future
|
Milestone: |
MacPorts Future
|
port(1) does not accept a version qualifier for a port on the command line, instead installing whatever version is listed as current by the corresponding Portfile. Therefore, the
sudo port install wxWidgets @2.6.3_0+darwin_8
call is invalid and port is just installing from an archive it finds for the 2.8.0 version,---> Unpacking tgz archive for wxWidgets 2.8.0_0+darwin_8
, which was probably current at the time this attempt was made.Nevertheless, there is a valid bug report here, the failure to deactivate the wxWidgets-devel port, but I'm not too certain that's a real bug in our sources; could be a corrupted registry. What's the output of
port installed wxWidgets-devel
?-jmpp