| Summary: | Some wxPython functions are broken on amd64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Leverton <levertond> |
| Component: | [OLD] Library | Assignee: | Gentoo wxWidgets project <wxwidgets> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | amd64, blubb, python |
| Priority: | High | Keywords: | Inclusion |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
testcase
patch real patch |
||
Created attachment 76235 [details]
testcase
Created attachment 76236 [details, diff]
patch
Created attachment 76309 [details, diff]
real patch
Whee, I'm dumb... somehow, I forgot to fix the actual variable types. Sorry about that. :-/
Re-assigning to new primary herd it's fixed in 2.4.2.4-r4, thanks |
Some functions in dev-python/wxpython-2.4.2.4-r3 throw an exception when used with certain flags, due to confusion between ints and longs in the source. See the attached test-case for an example, it gives the following backtrace: Traceback (most recent call last): File "./test.py", line 18, in ? app = TestApp() File "/usr/lib/python2.4/site-packages/wx-2.4-gtk2-ansi/wxPython/wx.py", line 1951, in __init__ _wxStart(self.OnInit) File "./test.py", line 12, in OnInit htmlwin = html.wxHtmlWindow(frame, -1, style=wxVSCROLL) File "/usr/lib/python2.4/site-packages/wx-2.4-gtk2-ansi/wxPython/html.py", line 637, in __init__ self.this = htmlc.new_wxHtmlWindow(*_args,**_kwargs) OverflowError: signed integer is greater than maximum emerge info: Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -fomit-frame-pointer -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -pipe -fomit-frame-pointer -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ftp.easynet.nl/mirror/gentoo/" LINGUAS="en_GB" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acl alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr crypt curl dvd emacs emboss encode esd exif expat fam flac fortran gdbm gif glut gmp gtk gtk2 guile hal idn imagemagick imlib jack java jpeg kde lcms libcaca libwww lzw lzw-tiff mad mhash mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis openal opengl pam pcre pdflib perl php png postgres python qt quicktime readline recode ruby samba sdl speex spell ssl svg tcltk tcpd tetex theora timidity truetype truetype-fonts type1-fonts udev usb userlocales vorbis wifi xml2 xmms xpm xv xvid zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS