Opened 12 years ago

Last modified 12 years ago

#36814 closed defect

python27 upgrade : error: unknown type name 'FMetricRec' — at Version 1

Reported by: xl64100@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

: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

Change History (2)

Changed 12 years ago by xl64100@…

Attachment: main.log added

python27 building log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: python27 FMetricRec removed
Owner: changed from macports-tickets@… to jwa@…
Note: See TracTickets for help on using tickets.