Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#11430 closed defect (worksforme)

port in inconsistent state in wxWidgets

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version:
Keywords: Cc: jmpalacios (Juan Manuel Palacios), yaseppochi (Stephen J. Turnbull), markd@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

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)

comment:1 Changed 18 years ago by pipping@…

Milestone: Available Ports

comment:2 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:3 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Port BugsNeeds developer review
Priority: BlockerImportant

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

comment:4 Changed 18 years ago by boeyms@…

Cc: jmpp@… stephen@… added

Add reporter to Cc: field so that notifications about changes to the ticket are received (see TracTicketing on the wiki), as well as jmpp@ (please update this to macports-dev@ if you think it should be Cc'ed to the list instead). stephen@, please check this ticket as jmpp@ has left a comment containing something that he'd like you to check.

comment:5 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:6 Changed 18 years ago by markd@…

Cc: markd@… added

Was a reolution found for this? Was it is corrupted registry?

comment:7 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

Closing without feedback.

comment:8 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:9 Changed 17 years ago by nox@…

Cc: jmpp@macports.org, stephen@xemacs.org,markd@macports.orgjmpp@macports.org, stephen@xemacs.org, markd@macports.org
Priority: ImportantHigh

comment:10 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:11 Changed 15 years ago by jmroot (Joshua Root)

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