Opened 12 years ago

Closed 11 years ago

#36579 closed defect (fixed)

python27: error: unknown type name 'FMetricRec'

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

Description (last modified by mf2k (Frank Schima))

Typed: sudo port upgrade outdated

--->  Staging python27 into destroot
Error: org.macports.destroot for port python27 returned: command execution failed
Please see the log file for port python27 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
Error: Unable to upgrade port: 1

This is not assisted by cleaning first or forcing.

Additionally, since ticket:35850 brought it up

$ tar --version
bsdtar 2.8.3 - libarchive 2.8.3

Attachments (2)

main.log (1.2 MB) - added by ybisk@… 12 years ago.
main.2.log (1.1 MB) - added by xl64100@… 11 years ago.
Log after patch

Change History (9)

Changed 12 years ago by ybisk@…

Attachment: main.log added

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jwa@…
Port: python27 added

In the future, please fill in the Port field and Cc the port maintainer(s).

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: xl64100@… added
Summary: Error upgrade python27python27: error: unknown type name 'FMetricRec'

Has duplicate #36814.

comment:3 Changed 11 years ago by xl64100@…

They seem to have the same issue with brew https://gist.github.com/3223493, it must come from the python version.

comment:4 Changed 11 years ago by ned-deily (Ned Deily)

comment:5 Changed 11 years ago by xl64100@…

Do you have any link to a tutorial on how to apply a patch to a port ?

Where do I have to cd to apply the patch ?

Can't upgrade outdated since this python27 does not upgrade...

Thanks a lot,

XL.

EDIT: Have done this :

cd $(port dir python27)
sudo su
cd work/Python27
patch -p1 < /Users/<login>/Downloads/miscompile-mac-modules.txt
port upgrade python27

And it still fails...

I'll attach log.

EDIT 2: This seems quite logical as the patch suppress the functions from the module...

Last edited 11 years ago by xl64100@… (previous) (diff)

Changed 11 years ago by xl64100@…

Attachment: main.2.log added

Log after patch

comment:6 Changed 11 years ago by jmroot (Joshua Root)

This should be fixed in the current version; please test.

comment:7 Changed 11 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

No response; assuming fixed.

Note: See TracTickets for help on using tickets.