Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104119 - app-emulation/bochs-2.2.1 does not use wxwidgets.eclass properly
Summary: app-emulation/bochs-2.2.1 does not use wxwidgets.eclass properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 04:52 UTC by Karl-Johan Karlsson
Modified: 2005-09-02 05:16 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 Karl-Johan Karlsson 2005-08-29 04:52:12 UTC
Bochs works with wxGTK 2.6, but the ebuild app-emulation/bochs-2.2.1 doesn't. 
For wxwidgets.eclass to find the correct configuration script, the ebuild must 
set the variable WX_GTK_VER to "2.6" (see the function need-wxwidgets()), 
otherwise it will complain about not finding the 2.4 scripts (which are, of 
course, not installed). A workaround that at least works with x11-libs/wxGTK-2.
6.1 is to set WX_GTK_VER=2.6 in the shell prior to emerging.

This is probably best fixed by making the eclass default to a version of wxGTK 
that is actually installed, instead of always defaulting to 2.4.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.
12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre6
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer 
-fweb -ftracer -funit-at-a-time"
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/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -momit-leaf-frame-
pointer -fweb -ftracer -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.gentoo.se http://distfiles.gentoo.org http://www.
ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts crypt cscope cups 
eds emacs emboss encode fam flac foomaticdb fortran gdbm gif gstreamer gtk gtk2 
imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl 
ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl 
sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis 
wxwindows xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Luca Barbato gentoo-dev 2005-08-29 10:36:26 UTC
I'll fix that pushing the wxgtk to 2.6 soon
Comment 2 Patrizio Bassi 2005-09-02 03:14:33 UTC
yes and it's blocking actually. 
 
i have wx 2.6.1 
 
emerge bochs 
Calculating dependencies ...done! 
>>> emerge (1 of 1) app-emulation/bochs-2.2.1 to / 
>>> md5 files   ;-) bochs-2.1.1.ebuild 
>>> md5 files   ;-) bochs-2.2.1.ebuild 
>>> md5 files   ;-) bochs-2.1.ebuild 
>>> md5 files   ;-) files/digest-bochs-2.1.1 
>>> md5 files   ;-) files/digest-bochs-2.2.1 
>>> md5 files   ;-) files/bochs-2.1.1-regparm-typo.patch 
>>> md5 files   ;-) files/digest-bochs-2.1 
>>> md5 src_uri ;-) bochs-2.2.1.tar.gz 
>>> md5 src_uri ;-) dlxlinux4.tar.gz 
>>> Unpacking source... 
>>> Unpacking bochs-2.2.1.tar.gz to /var/tmp/portage/bochs-2.2.1/work 
>>> Source unpacked. 
!!! set-wxconfig: Error:  Can't find normal or debug version: 
!!! set-wxconfig:         /usr/bin/wxgtk2-2.4-config not found 
!!! set-wxconfig:         /usr/bin/wxgtk2d-2.4-config not found 
!!! You need to emerge wxGTK with gtk2 in your USE 
 
Comment 3 Luca Barbato gentoo-dev 2005-09-02 05:16:50 UTC
looks like I didn't commit it...

In cvs right now