[MacPorts] #36814: python27 upgrade : error: unknown type name 'FMetricRec'

MacPorts noreply at macports.org
Tue Oct 30 02:01:25 PDT 2012


#36814: python27 upgrade : error: unknown type name 'FMetricRec'
----------------------------------+--------------------------------
 Reporter:  xl64100@…             |      Owner:  macports-tickets@…
     Type:  defect                |     Status:  new
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.1.2
 Keywords:  python27, FMetricRec  |       Port:  python27
----------------------------------+--------------------------------
 Hello,

 I can't upgrade my python27 package:

 when i run
 sudo port clean python27
 sudo port upgrade python27 I get the following error while building
 python27

 [code]
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3/Mac/Modules/fm/_Fmmodule.c:26:11:
 error: unknown type name 'FMetricRec'
 :info:build FMRec_New(FMetricRec *itself)
 :info:build           ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.3/Mac/Modules/fm/_Fmmodule.c:60:20:
 error: use of undeclared identifier 'GetFontName'; did you mean
 'SGSetFontName'?
 :info:build     PyMac_PRECHECK(GetFontName);
 :info:build                    ^~~~~~~~~~~
 :info:build                    SGSetFontName
 [/code]

-- 
Ticket URL: <https://trac.macports.org/ticket/36814>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list