Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115722 - dev-python/wxpython-2.6.1.0 has incorrect error message
Summary: dev-python/wxpython-2.6.1.0 has incorrect error message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 179646 (view as bug list)
Depends on: 178824
Blocks:
  Show dependency tree
 
Reported: 2005-12-15 18:12 UTC by P Nienaber
Modified: 2007-10-14 02:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description P Nienaber 2005-12-15 18:12:21 UTC
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/lib64/wx/config/gtk-ansi-release-2.6 not found
!!! set-wxconfig:         /usr/lib64/wx/config/gtk-ansi-debug-2.6 not found
!!! You need to emerge wxGTK with wxgtk1 in your USE


And yet:

[ebuild   R   ] x11-libs/wxGTK-2.6.2-r1  +X -debug -doc -gnome +joystick -odbc
+opengl +sdl -unicode 0 kB


note that wxgtk1 is not in IUSE here.

I'm going to unmerge the package that actually needs wxPython (pysoulseek), but
I figured I might as well report the bug in case anyone else cares about it.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-ck5 x86_64)
=================================================================
System uname: 2.6.14-ck5 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/db/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib aim alsa apache2 audiofile avi berkdb bitmap-fonts bzip2
cddb cdr crypt cups curl dvd dvdr eds emboss encode ethereal exif expat fam
fbcon ffmpeg flac foomaticdb gdbm gif gimpprint glut gmp gpm gtk gtk2 idn
imagemagick imap imlib java javascript joystick jpeg junit kerberos krb4 lcms
lzw lzw-tiff mad mikmod mng mp3 mpeg ncurses nptl nptlonly nvidia objc ogg
oggvorbis opengl pam pdflib perl png postgres ppds python quicktime readline
real samba sdl slang spell ssl tcltk tcpd threads tiff truetype truetype-fonts
type1-fonts udev usb userlocales v4l2 vorbis xine xml xml2 xmms xpm xprint xv
xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mart Raudsepp gentoo-dev 2006-04-20 14:41:42 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?
Comment 2 Alastair Mailer 2006-04-27 12:41:42 UTC
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
Comment 3 Alastair Mailer 2006-04-27 12:46:08 UTC
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?
Comment 4 Mart Raudsepp gentoo-dev 2006-04-28 05:30:40 UTC
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.
Comment 5 Alastair Mailer 2006-04-29 09:03:17 UTC
(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.
Comment 6 ebfe 2007-03-23 21:17:38 UTC
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.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-05-24 18:32:27 UTC
*** Bug 179646 has been marked as a duplicate of this bug. ***
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2007-10-14 02:53:44 UTC
need-wxwidgets now checks for the proper USE flags when called.