Summary: | dev-python/wxpython-2.6.1.0 has incorrect error message | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | P Nienaber <gentoobugs> |
Component: | [OLD] Unspecified | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | letharion |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 178824 | ||
Bug Blocks: |
Description
P Nienaber
2005-12-15 18:12:21 UTC
Weird. Does it happen with wxpython-2.6.3.2 too (while still happening with whatever version you had at that point), or could it be a lib64 issue in disguise? Same error here. Only trying to upgrade xpilot-ng, so no major problem. Strange though - perhaps the ebuild is broken after some upgrade in the wxGTK ebuild where the wxgtk1 useflag was removed? Xerxes agm # emerge -v wxpython >>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index OK... Calculating dependencies... done! >>> Emerging (1 of 1) dev-python/wxpython-2.6.1.0 to / >>> checking ebuild checksums >>> checking auxfile checksums >>> checking miscfile checksums >>> checking distfiles checksums >>> Unpacking source... >>> Unpacking wxPython-src-2.6.1.0.tar.gz to /var/tmp/portage/wxpython-2.6.1.0/work * Applying scripts-multiver-2.6.1.0.diff ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/wxpython-2.6.1.0/work/wxPython-src-2.6.1.0/wxPython/ ... !!! set-wxconfig: Error: Can't find normal or debug version: !!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-release-2.6 not found !!! set-wxconfig: /usr/lib/wx/config/gtk-ansi-debug-2.6 not found !!! You need to emerge wxGTK with wxgtk1 in your USE Xerxes agm # USE=wxgtk1 emerge -pv wxGTK >>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index OK... These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/wxGTK-2.6.2-r1 USE="X opengl sdl -debug -doc -gnome -joystick -odbc -unicode" 0 kB Total size of downloads: 0 kB Xerxes agm # emerge --info >>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum index OK... Portage 2.1_pre9-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1-3 i686) ================================================================= System uname: 2.6.15-gentoo-r1-3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups directfb dlloader dri eds emboss encode ffmpeg foomaticdb fortran ftp fuse gdbm gif glitz gpm gstreamer hal imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg kde libg++ libwww lm_sensors mad mikmod mime mmx motif mp3 mpeg msn musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pda pdflib perl php pic png pppd python qt quicktime readline reflection samba sdl session sockets socks5 spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev visualisation win32codecs xml xml2 xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nvidia video_cards_nv video_cards_vga" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS OK. I tried "USE="gtk gtk2" emerge -v wxpython" and it emerged fine. Haven't tested if wxpython actually works yet though. Is there some way to test it? python
Python 2.4.2 (#1, Mar 18 2006, 09:39:23)
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
People could also test ~x86 versions of wxGTK AND wxpython (matching versions).
wxGTK-2.6.2-r1 removes gtk1 support, but latest stable wxpython still has it, hence the problems.
I hope we can push wxGTK-2.6.3.2 and wxpython-2.6.3.2 to stable soon.
(In reply to comment #4) > python > Python 2.4.2 (#1, Mar 18 2006, 09:39:23) > Type "help", "copyright", "credits" or "license" for more information. > >>> import wx > >>> > > People could also test ~x86 versions of wxGTK AND wxpython (matching versions). > wxGTK-2.6.2-r1 removes gtk1 support, but latest stable wxpython still has it, > hence the problems. > I hope we can push wxGTK-2.6.3.2 and wxpython-2.6.3.2 to stable soon. > OK, the above seems to load OK with one error message: >>> import wx /usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py:13155: UserWarning: wxPython/wxWidgets release number mismatch warnings.warn("wxPython/wxWidgets release number mismatch") >>> I guess if I have any problems I'll have to upgrade to the ~x86 version. Otherwise this seems to fix it. the error is still present in wxpython-2.6.3.3 while wxpython needs wxgtk to be compiled with unicode, it seems the "need-wxwidgets unicode" function is looking for the wrong files, which are created when wxgtk is compiled with X useflag. compile wxgtk with uncode and X to fix this problem. *** Bug 179646 has been marked as a duplicate of this bug. *** need-wxwidgets now checks for the proper USE flags when called. |