Re: [MacPorts] #13072: py25-gobject fails to build on 10.5 (extern inline)
#13072: py25-gobject fails to build on 10.5 (extern inline) ---------------------------------+------------------------------------------ Reporter: william@gallaf.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by petr.snyder@yahoo.co.uk): Probably the very same issue here (PPC, Leopard, XCode3, macports 1.6.0), affects a build of gnucash, which has avahi somewhere in its dependency tree. Avahi's configure script stops to report that it cannot find py-gtk. The configure script runs a short python-script to check whether py-gtk is available: {{{ 26522 prog=" 26523 import sys 26524 try: 26525 import gtk 26526 except ImportError: 26527 sys.exit(1) 26528 except: 26529 sys.exit(0) 26530 sys.exit(0)" 26531 if $PYTHON -c "$prog" 1>&5 2>&5 26532 then 26533 eval "py_cv_mod_$py_mod_var=yes" 26534 else 26535 eval "py_cv_mod_$py_mod_var=no" 26536 fi 26537 26538 fi }}} I run Python (the macport-installed one, /opt/local/bin/python2.5) in interactive mode and tried {{{ Python 2.5.1 (r251:54863, Dec 21 2007, 17:37:02) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import sys import gtk }}}
and got this: {{{ Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/destroot/opt/local/lib/python2.5 /site-packages/gtk-2.0/gtk/__init__.py", line 38, in <module> File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5 /site-packages/gtk-2.0/gobject/__init__.py", line 30, in <module> File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gobject/work/destroot/opt/local/lib/python2.5 /site-packages/gtk-2.0/gobject/constants.py", line 22, in <module> ImportError: dlopen(/opt/local/lib/python2.5/site- packages/gtk-2.0/gobject/_gobject.so, 2): Symbol not found: _PyGBoxed_Type Referenced from: /opt/local/lib/python2.5/site- packages/gtk-2.0/gobject/_gobject.so Expected in: flat namespace }}} I think the defect module "py25-gobject" make the configure script fail, and "py25-gtk" and other python modules might be broken, too. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13072#comment:4> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts