Opened 11 years ago
Closed 11 years ago
#39713 closed defect (fixed)
py-chm: missing symbol causes gnochm to exit with error
Reported by: | dbevans (David B. Evans) | Owned by: | jameskyle@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | haspatch | Cc: | |
Port: | py-chm |
Description
When running port gnochm, the program exits with the following error:
You do not have all of the required Python modules to run gnochm. Check the gnochm README file for tips on how to fix this. What follows is the error description highlighting the problematic module. dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/chm/extra.so, 2): Symbol not found: _get_leaf_node_offset Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/chm/extra.so Expected in: flat namespace in /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/chm/extra.so
In fact, symbol _get_leaf_node_offset is undefined in extra.so which is provided by py25-chm.
The problem appears to be a result of function get_leaf_node_offset (as well as others) being declared inline in file chm/extra.c in port py-chm
The attached patch fixes the problem by removing the inline declarations from this file.
Attachments (1)
Change History (3)
Changed 11 years ago by dbevans (David B. Evans)
Attachment: | patch-py-chm.diff added |
---|
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Keywords: | haspatch added |
---|
comment:2 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed in r108159, maintainer timeout.
Note: See
TracTickets for help on using
tickets.
Proposed patch for Portfile