Bug 178448 - app-office/gnucash-2.0.5 incorrect gtkhtml dependency
Bug#: 178448 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: devel@irasnyder.com
Component: Ebuilds
URL: 
Summary: app-office/gnucash-2.0.5 incorrect gtkhtml dependency
Keywords:  
Status Whiteboard: 
Opened: 2007-05-14 00:04 0000
Description:   Opened: 2007-05-14 00:04 0000
On ~x86, app-office/gnucash will not build because the ~x86 version of gtkhtml
is too new, and the configure script doesn't know about it. Either the
configure script needs to be patched to look for the new version, or the
dependency in the ebuild should be stricter.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge gnucash (without gtkhtml installed beforehand)
3. watch the gnucash configure fail

Actual Results:  
The gnucash configure fails to detect gtkhtml.

Expected Results:  
app-office/gnucash compiles normally

checking GNOME_PRINT_LIBS... -lgnomeprintui-2-2 -lgnomeprint-2-2 -lz
-lgnomecanvas-2 -lxml2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for libglade-2.0 >= 2.4... yes
checking GLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/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/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12  
checking GLADE_LIBS... -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0  
checking for libgtkhtml-3.8 ... checking for libgtkhtml-3.6 ... checking for
libgtkhtml-3.2 ... checking for libgtkhtml-3.1 ... configure: error: Could not
find a working gtkhtml version (need 3.1, 3.2, 3.6, or 3.8)

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-office/gnucash-2.0.5/work/gnucash-2.0.5/config.log

!!! ERROR: app-office/gnucash-2.0.5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  gnucash-2.0.5.ebuild, line 77:   Called econf '--disable-debug'
'--disable-ofx' '--disable-doxygen' '--disable-html-docs' '--disable-dot'
'--disable-hbci' '--disable-mt940' '--enable-locale-specific-tax'
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.



Portage 2.1.2.6 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r2,
2.6.21.1-ck1 i686)
=================================================================
System uname: 2.6.21.1-ck1 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz
Gentoo Base System release 2.0.0_alpha2
Timestamp of tree: Sun, 06 May 2007 21:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j3"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentopia
/usr/portage/local/layman/xeffects /usr/portage/local/layman/nx
/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa aoss aotuv bash-completion berkdb bitmap-fonts
cairo cdr chardet cli cracklib crypt cscope cups dbus djvu dri dts dvd dvdr
dvdread dvi emboss encode fam filter_default firefox flac fortran gdbm gif
glitz gnome gpm gsl gstreamer gtk hal iconv ipv6 isdnlog jpeg libg++ libnotify
mad matroska mikmod mmap mmkeys mmx mmxext mozbranding mp3 mpeg musepack
nautilus ncurses newspr nonfsv4 nptl nptlonly offensive ogg opengl oss pam pcre
pdf perl pertty png ppds pppd python qt3 quicktime readline real reflection rtc
rtsp samba sdl session skins smp spell spl sqlite sse sse2 ssl
startup-notification subtitles svg tcpd theora threads truetype truetype-fonts
type1-fonts unicode userlocales vorbis win32codecs wxwindows x86 xcb xcomposite
xforms xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2007-05-14 08:22:52 0000 -------
Well, the ebuild depends on >=gnome-extra/gtkhtml-3.10.1 (which apparently
doesn't match what the configure expects).

------- Comment #2 From Gilles Dartiguelongue 2007-05-14 08:38:26 0000 -------
iirc gnucash won't work with gtkhtml-3.14. There is a open thread on
evolution-hackers regarding this specific issue.

------- Comment #3 From Tony 2007-06-03 19:18:57 0000 -------
Deoendancy for GNUCash should be changed to =gnome-extra/gtkhtml-3.6.2 Its a
slot loading package so this version can easily be used, and is fully
compatible with GNUCash and has not broke anything else I'm aware of.

------- Comment #4 From Jakub Moc (RETIRED) 2007-06-18 20:04:00 0000 -------
*** Bug 182496 has been marked as a duplicate of this bug. ***

------- Comment #5 From Josh Sled 2007-06-18 20:20:18 0000 -------
(In reply to comment #3)
> Deoendancy for GNUCash should be changed to =gnome-extra/gtkhtml-3.6.2 Its a
> slot loading package so this version can easily be used, and is fully
> compatible with GNUCash and has not broke anything else I'm aware of.

3.6 is ancient; gtkhtml-3.10 fixes a reporting (graph width/height setting) bug
in particular; 3.12 is good as well.

------- Comment #6 From Alessio D'Ascanio 2007-06-18 21:05:44 0000 -------
We should to keep "gnome-extra/gtkhtml:3.8" to use the best version for this
SLOT.

------- Comment #7 From Daniel Gryniewicz 2007-06-23 00:46:44 0000 -------
We are not yet allowed to use slot deps in the tree, therefore we get to use a
fun || statement.  Anyway, fixed.