[MacPorts] #13337: BUG: kedpm 0.4.1-cvs will not run in x11 or CLI under Leopard (10.5.1)
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 or CLI under Leopard (10.5.1) --------------------------+------------------------------------------------- Reporter: tc@pi3.co.uk | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.5.2 Keywords: | --------------------------+------------------------------------------------- Running KedPM in X11 gives this output: {{{ Traceback (most recent call last): File "/opt/local/bin/kedpm", line 67, in <module> main(sys.argv[1:]) File "/opt/local/bin/kedpm", line 57, in main app = frontendFactory(frontend) File "/opt/local/lib/python2.5/site-packages/kedpm/frontends/__init__.py", line 35, in frontendFactory from kedpm.frontends.gtk.app import Application File "/opt/local/lib/python2.5/site- packages/kedpm/frontends/gtk/__init__.py", line 4, in <module> import gtk.glade 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 }}} Running KedPM with the CLI gives this output: {{{ Traceback (most recent call last): File "/opt/local/bin/kedpm", line 67, in <module> main(sys.argv[1:]) File "/opt/local/bin/kedpm", line 57, in main app = frontendFactory(frontend) File "/opt/local/lib/python2.5/site- packages/kedpm/frontends/__init__.py", line 32, in frontendFactory from kedpm.frontends.cli import Application File "/opt/local/lib/python2.5/site-packages/kedpm/frontends/cli.py", line 33, in <module> import readline ImportError: No module named readline }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 or CLI under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: pmq@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by pmq@macports.org): * owner: macports-dev@lists.macosforge.org => pmq@macports.org * status: new => assigned * milestone: => Port Bugs Comment: Second bug is corrected. You can selfupdate in a few hours to test again. I just added a dependency on py25-readline.[[BR]] For the first bug, I can't reproduce on Tiger. Can you try uninstall/rebuilding from scratch the following ports: glib2, py25-gobject. -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13337#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 or CLI under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: pmq@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by tc@pi3.co.uk): Replying to [comment:1 pmq@macports.org]:
Second bug is corrected. You can selfupdate in a few hours to test again. I just added a dependency on py25-readline.[[BR]] For the first bug, I can't reproduce on Tiger. Can you try uninstall/rebuilding from scratch the following ports: glib2, py25-gobject.
Just tried the CLI again, it is working now. I have tried the suggestions for the first bug. I reinstalled the two ports using:[[BR]] port uninstall -f <port>[[BR]] port clean --archive <port>[[BR]] port install -f <port> but I am still getting the same message. Could this be an issue to do with Leopards new implementation of X11? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: pmq@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by pmq@macports.org): * summary: BUG: kedpm 0.4.1-cvs will not run in x11 or CLI under Leopard (10.5.1) => BUG: kedpm 0.4.1-cvs will not run in x11 under Leopard (10.5.1) Comment: Replying to [comment:2 tc@pi3.co.uk]:
Could this be an issue to do with Leopards new implementation of X11?
I don't think so. Could you rebuild using the same commands py25-gtk? And if it stills fails, rebuild gtk2 + libglade2 + py25-gtk? As I'm not maintaining these ports, if it still doesn't work, you'll need to reassign the bug to one of those ports' maintainer, they have probably more wisdom than me on that matter. -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13337#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: pmq@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by ram@macports.org): Replying to [comment:2 tc@pi3.co.uk]:
Could this be an issue to do with Leopards new implementation of X11?
Leopard's libX11 has a bug that causes gtk+ apps to crash, there's an unofficial update from Apples X11 maintainer available at http://www.x.org/wiki/XDarwin see if installed that helps. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: kedpm 0.4.1-cvs will not run in x11 under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: pmq@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by tc@pi3.co.uk): Replying to [comment:3 pmq@macports.org]:
I don't think so. Could you rebuild using the same commands py25-gtk? And if it stills fails, rebuild gtk2 + libglade2 + py25-gtk? As I'm not maintaining these ports, if it still doesn't work, you'll need to reassign the bug to one of those ports' maintainer, they have probably more wisdom than me on that matter.
I have tried all of those, still getting the same error. I'm not sure how to reassign the bug though. Replying to [comment:4 ram@macports.org]:
Leopard's libX11 has a bug that causes gtk+ apps to crash, there's an unofficial update from Apples X11 maintainer available at http://www.x.org/wiki/XDarwin see if installed that helps.
I have installed the updates as well now and I am still getting the error. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: yves@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by pmq@macports.org): * owner: pmq@macports.org => yves@macports.org * status: assigned => new * summary: BUG: kedpm 0.4.1-cvs will not run in x11 under Leopard (10.5.1) => BUG: py25-gobject fails at runtime under Leopard (10.5.1) Comment: Sorry to assign this bug to you Yves, but I'm a bit lost too as to whom I should contact on this report. As you maintain py-gobject, you might be able to see where the error stems from? Thanks! -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13337#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: yves@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by cwalther@gmx.ch): I have no idea what I'm doing, but I seem to be able to circumvent the problem by applying this change to py25-gobject: {{{ --- gobject/Makefile.in +++ gobject/Makefile.in @@ -259,7 +259,7 @@ CLEANFILES = constants.py EXTRA_DIST = constants.py.in _gobject_la_CFLAGS = $(GLIB_CFLAGS) $(am__append_3) -_gobject_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gobject +_gobject_la_LDFLAGS = $(common_ldflags) _gobject_la_LIBADD = $(GLIB_LIBS) $(FFI_LIBS) _gobject_la_SOURCES = \ gobjectmodule.c \ }}} After this is done, ''import gtk'' results in errors of the same kind from _gtk.so and _cairo.so that can be treated in the same way. Or, as an even quicker-and-dirtier workaround, use {{{ cd /usr/bin mv nmedit nmedit-real ln -s true nmedit }}} while installing these packages. Hope this helps someone find and fix the real bug. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: yves@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by paul.totterman@gmail.com): It's working for me now, apparently thanks to [32469]. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: yves@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: ---------------------------+------------------------------------------------ Comment (by tc@pi3.co.uk): Replying to [comment:9 paul.totterman@gmail.com]:
It's working for me now, apparently thanks to [32469].
Also working for me now. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13337: BUG: py25-gobject fails at runtime under Leopard (10.5.1) ---------------------------+------------------------------------------------ Reporter: tc@pi3.co.uk | Owner: yves@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: ---------------------------+------------------------------------------------ Changes (by afb@macports.org): * status: new => closed * resolution: => fixed Comment: Workaround seems to work. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13337#comment:11> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts