First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 105757
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zarick Lau <zarick@nixstyle.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 105757 depends on: 136924 Show dependency tree
Bug 105757 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-12 20:09 0000
wxpython (or may be wxGTK) is not yet compatible with latest pango (stable)
release 1.10.0.

When I run a wxPython based apps called, "picard". I get an ImportError.

The root cause for this should be "x font backend" is deprecated in pango 1.8.
And I think, it has be taken away fully in 1.10.

As a sidenote, pango 1.10.0 is currently package.mask'd in portage
However, as pango-1.10.0 is released with the latest Gnome 2.12
I think this issue should be addressed.

Also, if the bug report is valid, I think, this issue may be linked to gnome
2.12 bug report somehow...

Reproducible: Always
Steps to Reproduce:
1. echo ">=x11-libs/pango-1.10.0" > /etc/portage/package.unmask
2. echo "x11-libs/wxGTK ~x86" > /etc/portage/package.keywords
3. echo "dev-python/wxpython ~x86" > /etc/portage/package.keywords
4. emerge pango wxpython
5. run a wxpython based apps
Actual Results:  

Traceback (most recent call last):
  File "tagger.py", line 55, in ?
    import sys, os, locale, copy, wx
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
    from wx._core import *
  File "/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line
4, in ?
    import _core_
ImportError: /usr/lib/libwx_gtk2u_core-2.6.so.0: undefined symbol:
pango_x_get_context

Expected Results:  
The wxpython based program run successfully.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.10-hardened-r3-b1 i686)
=================================================================
System uname: 2.6.10-hardened-r3-b1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
ftp://ftp.jaist.ac.jp/pub/os/Linux/Gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en zh_HK zh_TW zh_CN ja kr"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm avi berkdb bitmap-fonts cjk crypt cscope cups curl eds
emboss encode esd evo fam fbcon firefox foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 java jpeg junit libg++ libwww
mad mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis
opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl sdl
slang spell sqlite sse sse2 ssl svga tcpd tiff truetype truetype-fonts
type1-fonts unicode usb vorbis xml2 xrandr xv zlib linguas_en linguas_zh_HK
linguas_zh_TW linguas_zh_CN linguas_ja linguas_kr userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Sander Sweers 2005-10-03 06:22:34 0000 -------
Hi,

This should be fixed in wxwidgets 2.6.2. Can you try that version (not in
portage yet i think)? I will try it as soon as i am back home.

Regards
Sander

------- Comment #2 From Congtat Cia 2005-10-13 12:49:33 0000 -------
wxGTK-2.6.2 works fine here without this problem when using opendict, an
application that requires wxpython-2.6. Runnig with wxGTK-2.6.1 fails due to
this pango_x_get_context error.

------- Comment #3 From Congtat Cia 2005-10-16 12:14:47 0000 -------
This bug has been fixed in the current ebuild.

------- Comment #4 From Manns 2006-01-25 15:01:15 0000 -------
It does not seem so (current unmasked ebuild wxpython 2.6.1.0):


~ $ python
Python 2.4.2 (#1, Jan 25 2006, 17:17:35)
[GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from wxPython import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/__init__.py",
line 10, in ?
    import _wx
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.py",
line 3, in ?
    from _core import *
  File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_core.py", line
15, in ?
    import wx._core
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
    from wx._core import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line
4, in ?
    import _core_
ImportError: /usr/lib/libwx_gtk2u_core-2.6.so.0: undefined symbol:
pango_x_get_context
>>>

------- Comment #5 From Mart Raudsepp 2006-04-20 15:38:53 0000 -------
Pending stabilization of wxpython-2.6.3.2, together with wxGTK-2.6.3.2.
However, as wxGTK-2.6.2 is free of the problem, I don't think wxpython-2.6.1
should cause problems with wxGTK-2.6.3.2 in this regard, but not 100% sure

------- Comment #6 From Mart Raudsepp 2007-03-12 11:10:50 0000 -------
Marking this as fixed as wxGTK and wxpython 2.6.3.3 are now marked stable on
all arches.
Please reopen if this problem persist with these versions, but I'm pretty sure
it's OK :)

First Last Prev Next    No search results available      Search page      Enter new bug