[MacPorts] #36814: python27 upgrade : error: unknown type name 'FMetricRec'
MacPorts
noreply at macports.org
Tue Oct 30 02:03:54 PDT 2012
#36814: python27 upgrade : error: unknown type name 'FMetricRec'
------------------------+-------------------
Reporter: xl64100@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: python27 |
------------------------+-------------------
Changes (by ryandesign@…):
* keywords: python27, FMetricRec =>
* owner: macports-tickets@… => jwa@…
Old description:
> 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]
New description:
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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/36814#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list