Opened 15 years ago
Closed 15 years ago
#24142 closed defect (duplicate)
portindex evaluates platform variant for current platform and stores
Reported by: | raimue (Rainer Müller) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | portindex | Cc: | |
Port: |
Description
The portindex generation evaluates the platform variants for the current platform it is running on. If a generated PortIndex is then used on a different platform the information might be incorrect.
This is a problem for different dependencies or for the replaced_by option.
Change History (4)
comment:1 Changed 15 years ago by raimue (Rainer Müller)
comment:2 Changed 15 years ago by raimue (Rainer Müller)
Possible solutions:
- Make portindex ignore platform variants
- Add another mportopen to macports::_upgrade to verify replaced_by before use
- Always generate portindex locally, using a merging SQLite backend for speed
comment:4 Changed 15 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 1.9.0 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This problem is currently existing on our main ports tree for example for darwinbuild, which uses
replaced_by darwinbuild-legacy
in the platform variants. The PortIndex is being generated on a darwin 9 machine, which causes upgrade to go for darwinbuild-legacy instead on any platform.