[MacPorts] #42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library"
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" --------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: fontforge --------------------------------+-------------------------------- scml-jrichardson:pdf2chegg jric$ sudo port install -f fontforge +freetype_bytecode +python27 ---> Computing dependencies for fontforge ---> Activating fontforge @20120731_3+freetype_bytecode+python27 Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so.mp_1392330587. ---> Cleaning fontforge ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. scml-jrichardson:pdf2chegg jric$ /opt/local/bin/python2.7 Python 2.7.6 (default, Nov 12 2013, 13:26:39) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin Type "help", "copyright", "credits" or "license" for more information.
import fontforge Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: No initialization function in fontforge library
-- Ticket URL: <https://trac.macports.org/ticket/42502> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Comment (by joshuarbox-junk1@…): Don't know if this is a clue or not, but: {{{ scml-jrichardson:Python.framework jric$ grep -r 'No initialization function' /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/* Binary file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so matches Binary file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so matches }}} In some fresh libraries that I built from source (no match): {{{ scml-jrichardson:Python.framework jric$ ls /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site- packages/ README fontforge.la fontforge.so psMat.la psMat.so scml-jrichardson:Python.framework jric$ grep -r 'No initialization function' /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/* scml-jrichardson:Python.framework jric$ }}} Unfortunately, the binaries I built don't work, so can't take too much from it. :-( -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Comment (by joshuarbox-junk1@…): FWIW, I've reported my source build issue to the fontforge project: https://github.com/fontforge/fontforge/issues/1219 -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Old description:
scml-jrichardson:pdf2chegg jric$ sudo port install -f fontforge +freetype_bytecode +python27 ---> Computing dependencies for fontforge ---> Activating fontforge @20120731_3+freetype_bytecode+python27 Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so.mp_1392330587. ---> Cleaning fontforge ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
scml-jrichardson:pdf2chegg jric$ /opt/local/bin/python2.7 Python 2.7.6 (default, Nov 12 2013, 13:26:39) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin Type "help", "copyright", "credits" or "license" for more information.
import fontforge Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: No initialization function in fontforge library
New description: {{{ scml-jrichardson:pdf2chegg jric$ sudo port install -f fontforge +freetype_bytecode +python27 ---> Computing dependencies for fontforge ---> Activating fontforge @20120731_3+freetype_bytecode+python27 Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge-1.0-py2.7.egg-info.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fontforge.so.mp_1392330587. Warning: File /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so already exists. Moving to: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/psMat.so.mp_1392330587. ---> Cleaning fontforge ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. scml-jrichardson:pdf2chegg jric$ /opt/local/bin/python2.7 Python 2.7.6 (default, Nov 12 2013, 13:26:39) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin Type "help", "copyright", "credits" or "license" for more information.
import fontforge Traceback (most recent call last): File "<stdin>", line 1, in <module> SystemError: No initialization function in fontforge library }}}
-- Comment (by mf2k@…): In the future, please use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Comment (by mf2k@…): FYI, it works for me on Mavericks. Maybe it's a missing dependency somewhere? {{{ $ port installed fontforge The following ports are currently installed: fontforge @20120731_3+freetype_bytecode+python27 (active) $ ipython Python 2.7.6 (default, Nov 12 2013, 19:41:34) Type "copyright", "credits" or "license" for more information. IPython 2.0.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import fontforge In [2]: exit }}} -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Comment (by joshuarbox-junk1@…): Because of this, I switched over to homebrew, so I can't help diagnose any more. Maybe you can close the ticket as "resolved", or "can't reproduce" or something.... -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42502: fontforge +freetype_bytecode +python27 "No initialization function in fontforge library" ---------------------------------+-------------------------------- Reporter: joshuarbox-junk1@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: fontforge | ---------------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/42502#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts