Ticket #21614 (new defect)
Python26 framework is not recognized by ld, causing erroneous link against system python
| Reported by: | vince@… | Owned by: | blb@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | ld python framework | Cc: | mcalhoun@…, dbsgeo@… |
| Port: | python26 |
Description
The following lines, part of the python26 portfile post-destroot phase:
foreach dir { Headers Resources Python Versions/Current } {
file delete ${destroot}${framewpath}/${dir}
}
erase the respective links. This is maybe thought to be necessary if there is more than one version installed. But without these links, ld does not recognize the structure as a framework, and therefore will not link against it anymore, defaulting to System python framework, even with explicit -Fpath. This certainly causes #21444 and maybe others. The fix is simply to remove the lines cited.
Change History
Note: See
TracTickets for help on using
tickets.

