Bug 201210 - dev-haskell/gtk2hs-0.9.12.1 needs <x11-libs/gtksourceview-2
Bug#: 201210 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: haskell@gentoo.org Reported By: jlec@j-schmitz.net
Component: Ebuilds
URL: 
Summary: dev-haskell/gtk2hs-0.9.12.1 needs <x11-libs/gtksourceview-2
Keywords:  
Status Whiteboard: 
Opened: 2007-12-04 11:16 0000
Description:   Opened: 2007-12-04 11:16 0000
Tryed to emerge dev-haskell/gtk2hs-0.9.12.1 and it breaks with

checking for SOURCEVIEW... no
configure: error: GtkSourceView requirement not met. Perhaps you need to
install gtksourceview or gtksourceview-devel

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!!
/var/tmp/portage/dev-haskell/gtk2hs-0.9.12.1/work/gtk2hs-0.9.12.1/config.log
 * 
 * ERROR: dev-haskell/gtk2hs-0.9.12.1 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   gtk2hs-0.9.12.1.ebuild, line   34:  Called econf '--enable-packager-mode'
'--enable-cairo' '--enable-libglade' '--enable-gconf' '--enable-sourceview'
'--disable-svg' '--enable-opengl' '--disable-seamonkey' '--enable-firefox'
'--disable-xulrunner' '--disable-docs' '--disable-profiling'
 *                ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"

At that time only x11-libs/gtksourceview-2.0.1-r1 was installed. So I emerged
the highest version in slot 1 namely x11-libs/gtksourceview-1.8.5-r1 and
reemerge dev-haskell/gtk2hs-0.9.12.1. which went fine.


Reproducible: Always

------- Comment #1 From Justin Lecher (jlec) 2007-12-04 11:17:22 0000 -------
Created an attachment (id=137700) [details]
build.log of dev-haskell/gtk2hs-0.9.12.1

------- Comment #2 From Justin Lecher (jlec) 2007-12-04 11:24:04 0000 -------
Created an attachment (id=137705) [details]
ebuild diff

If this is the real solution, this is the ebuild diff

------- Comment #3 From Duncan Coutts (RETIRED) 2007-12-08 13:39:07 0000 -------
Fixed in the haskell overlay. Will propagate to portage after due testing.

------- Comment #4 From Duncan Coutts (RETIRED) 2007-12-13 00:44:48 0000 -------
Now fixed in portage.