Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118187

Summary: x11-misc/xchm-0.9.6 fails to build with wxGTK-2.6.1
Product: Gentoo Linux Reporter: Alexandru Toma <flash3001>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rhill
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexandru Toma 2006-01-07 08:20:46 UTC
xchm-0.9.6 fails to build with wxGTK-2.6.1 even though it has >=x11-libs/wxGTK-2.4.0 in DEPEND

It want wx-config and wxGTK-2.6.1 provides wx-config-2.6
Comment 1 Alexandru Toma 2006-01-07 08:21:28 UTC
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync2.ro.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib alsa apm audiofile avi bitmap-fonts bzip2 cairo cdr crypt cups curl dts eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd geoip gif glut gpm gstreamer gtk2 guile idn imagemagick imlib imlib2 jikes jpeg junit lcms libcaca libwww lua lzo mad matroska mhash mikmod mmx mmxext mng motif mp3 mpeg ncurses network nls no_wxgtk1 ogg oggvorbis openal opengl pam pcre png python quicktime readline rtc ruby sdl slang spell sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xchatdccserver xml2 xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 08:26:42 UTC

*** This bug has been marked as a duplicate of 96032 ***
Comment 3 Alexandru Toma 2006-01-07 08:37:12 UTC
This is not really a duplicate, though if you choose to treat it as such then that's fine with me.

The problem is that the version currently marked stable (0.9.6) doesn't compile on a normal gentoo system. The DEPEND ih that ebuild should be changed to something like DEPEND="=x11-libs/wxGTK-2.4*" or a newer version should be unmasked... again, I know this is fixed in the masked ebuilds... if you want to treat this as a duplicate then it's OK with me.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2006-01-07 13:10:25 UTC
yeah, this isn't a dupe.  it's the exact opposite situation.  that bug is xchm > 1.0 depends on wxGTK =2.6*.  this is xchm < 1.0 needs to depend on wxGTK =2.4*.  they're slotted so Alexandru's suggestion should work.
--- xchm-0.9.6.ebuild-orig	2006-01-07 09:05:30.000000000 -0600
+++ xchm-0.9.6.ebuild	2006-01-07 09:09:51.000000000 -0600
@@ -13,7 +13,7 @@
 
 IUSE="doc"
 DEPEND=">=app-doc/chmlib-0.31
-	>=x11-libs/wxGTK-2.4.0"
+	=x11-libs/wxGTK-2.4*"
 
 src_compile() {
 	econf || die "configure failed"

--- xchm-0.9.6.ebuild-orig	2006-01-07 09:05:30.000000000 -0600
+++ xchm-0.9.6.ebuild	2006-01-07 09:09:51.000000000 -0600
@@ -13,7 +13,7 @@
 
 IUSE="doc"
 DEPEND=">=app-doc/chmlib-0.31
-	>=x11-libs/wxGTK-2.4.0"
+	=x11-libs/wxGTK-2.4*"
 
 src_compile() {
 	econf || die "configure failed"