First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 148399
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Connett <chrisconnett@gmail.com>
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 148399 depends on: 156805 Show dependency tree
Show dependency graph
Bug 148399 blocks: 136924 148333
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: 2006-09-20 10:39 0000
This occurs in both the 2.4 series and 2.6 series of wxpython.
---------------------------------
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=k8
-pipe -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc
-I/usr/include/python2.5 -c src/helpers.cpp -o
build-gtk2.unicode/temp.linux-x86_64-2.5/src/helpers.o
-I/usr/lib64/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
src/helpers.cpp: In function `wxString* wxString_in_helper(PyObject*)':
src/helpers.cpp:1655: error: cannot convert `int*' to `Py_ssize_t*' for
argument `3' to `int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
src/helpers.cpp: In function `wxString Py2wxString(PyObject*)':
src/helpers.cpp:1701: error: cannot convert `int*' to `Py_ssize_t*' for
argument `3' to `int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)'
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/wxpython-2.4.2.4-r3 failed.
-------------------------------------------------
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -march=k8 -pipe -fPIC
-DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DNO_GCC_PRAGMA -Iinclude -Isrc
-I/usr/lib64/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/python2.5 -c
src/gtk/_core_wrap.cpp -o
build-gtk2.unicode/temp.linux-x86_64-2.5/src/gtk/_core_wrap.o
src/gtk/_core_wrap.cpp: In function `int SWIG_Python_ConvertPtr(PyObject*,
void**, swig_type_info*, int)':
src/gtk/_core_wrap.cpp:1231: error: invalid conversion from `const char*' to
`char*'
src/gtk/_core_wrap.cpp: In function `void SWIG_Python_FixMethods(PyMethodDef*,
swig_const_info*, swig_type_info**, swig_type_info**)':
src/gtk/_core_wrap.cpp:49119: error: invalid conversion from `const char*' to
`char*'
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/wxpython-2.6.3.2 failed.

------- Comment #1 From Mart Raudsepp 2006-09-20 21:18:43 0000 -------
wxpython-2.6.3.3 has some fixes for this.
Unfortunately I'll need a bit more to put this in the tree, but in the risk of
missing out some other fixes, python2.5 support could be tested out by copying
wxpython-2.6.3.2 to wxpython-2.6.3.3, and changing the SRC_URI ending from .gz
to .bz2

Does 2.6.3.3 fix problems for python2.5? The changelog states that there
_might_ be remaining problems for 64-bit support.

------- Comment #2 From Chris Connett 2006-09-21 02:08:59 0000 -------
It merged successfully for me on amd64 with version 2.6.3.3, achieved by
renaming the ebuild and changing the download URL.  I also had to change the
minimum version of wxGTK in the ebuild to 2.6.3.2 explicitly.

------- Comment #3 From Helmut Sauter 2006-10-15 09:56:58 0000 -------
wxpython-2.6.3.3 fixed the problem here.

h wxpython # equery --info
Traceback (most recent call last):
  File "/usr/bin/equery", line 27, in <module>
    import gentoolkit
  File "/usr/lib/gentoolkit/pym/gentoolkit/__init__.py", line 33, in <module>
    virtuals = portage.db[portage.root]["virtuals"]
  File "/usr/lib/portage/pym/portage_util.py", line 812, in __getitem__
    return value_callable(*pargs, **kwargs)
  File "/usr/lib/portage/pym/portage_util.py", line 796, in __call__
    self._value = self._callable(*self._pargs, **self._kwargs)
  File "/usr/lib/portage/pym/portage.py", line 1677, in getvirtuals
    self.treeVirtuals =
map_dictlist_vals(getCPFromCPV,temp_vartree.get_all_provides())
  File "/usr/lib/portage/pym/portage.py", line 4458, in get_all_provides
    for mykey in self.get_provide(node):
  File "/usr/lib/portage/pym/portage.py", line 4433, in get_provide
    mylines = grabfile(self.root+VDB_PATH+"/"+mycpv+"/PROVIDE")
  File "/usr/lib/portage/pym/portage_util.py", line 45, in grabfile
    mylines=grablines(myfilename, recursive)
  File "/usr/lib/portage/pym/portage_util.py", line 204, in grablines
    mylines = myfile.readlines()
KeyboardInterrupt
h wxpython # emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r3,
2.6.17-mm5 x86_64)
=================================================================
System uname: 2.6.17-mm5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Last Sync: Sun, 15 Oct 2006 15:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -mtune=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -mtune=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.mneisen.org/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acpi alsa aotuv apache2 artworkextra
asf audiofile avahi beagle berkdb bitmap-fonts bzip2 cairo caps cddb cdr cli
crypt cups curl dbus dga dlloader dri dts dv dvd dvdr dvdread eds elibc_glibc
emboss encode esd exif fam ffmpeg firefox flac fltk font-server fontconfig
foomaticdb fortran gdbm gif glitz gnome gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml hal hbci hddtemp howl imlib input_devices_evdev input_devices_keyboard
input_devices_mouse isdnlog jack jpeg kernel_linux libcaca libnotify
libsamplerate linguas_de logrotate lzo lzw lzw-tiff mad mikmod mjpeg modplug
mono mp3 mpeg musepack mysql nautilus ncurses nls nptl nptlonly nvtv ogg
oggvorbis opengl pam pam_console pcre pdf perl php png ppds pppd python qt3
quicktime readline reflection ruby samba sdl session sid smartcard sndfile
spell spl ssl t1lib tcpd theora tiff truetype truetype-fonts type1-fonts
unicode usb userland_GNU v4l2 vcd video_cards_nv video_cards_vesa
video_cards_vga vorbis wma xine xinerama xml xmms xorg xosd xpm xprint xrandr
xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #4 From Tiziano Müller 2006-12-29 05:02:01 0000 -------
Fixed in latest version bump (2.6.3.3)

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