Opened 13 years ago

Last modified 13 years ago

#29462 closed defect

Building py-pyobjc2 fails due to -Wno-long-double — at Version 2

Reported by: brian.hudson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py-pyobjc2

Description (last modified by jmroot (Joshua Root))

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

Change History (2)

comment:1 Changed 13 years ago by brian.hudson@…

Cc: brian.hudson@… added

Cc Me!

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Cc: brian.hudson@… removed
Description: modified (diff)

Please remember to preview and use WikiFormatting. You do not need to be in cc when you are the reporter.

Do you specifically need Python 2.4? On 10.6, it's best to use Python 2.6+.

Note: See TracTickets for help on using tickets.