Opened 13 years ago
Last modified 13 years ago
#29462 closed defect
Building py-pyobjc2 fails due to -Wno-long-double — at Initial Version
Reported by: | brian.hudson@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | py-pyobjc2 |
Description
I ran: ports install matplotlib
This eventually failed:
---> Computing dependencies for py-matplotlib ---> Dependencies to be installed: py-pyobjc2 py-pyobjc2-cocoa py-tkinter tcl tk Xft2 fontconfig pkgconfig xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 bzip2 db46 gdbm readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto ---> Building py-pyobjc2 Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install py-pyobjc2 Log for py-pyobjc2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-pyobjc2/main.log
main.log shows a gcc failure:
cc1: error: unrecognized command line option "-Wno-long-double"
I removed -Wno-long-double from setup.py, then was able to successfully install py-pyobjc2.
Apologies if I haven't opened this all properly, this is my first foray into such things, and I based this off of a similar problem I saw listed in Ticket #18800
OSX version 10.6.7 gcc 4.2.1 XCode 3.2.3