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

Bug 154931

Summary: net-news/liferea bad dependencies on seamonkey
Product: Gentoo Linux Reporter: Daniel Drake (RETIRED) <dsd>
Component: New packagesAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modified DEPEND for liferea-1.1.9-r1
fixed DEPEND for liferea-1.1.9-r1

Description Daniel Drake (RETIRED) gentoo-dev 2006-11-12 13:35:04 UTC
liferea-1.1.9-r1.ebuild has these deps:

	|| (
		firefox? ( www-client/mozilla-firefox )
		seamonkey? ( www-client/seamonkey )
		=gnome-extra/gtkhtml-2*
	)

I do not have seamonkey installed. As I do have gtkhtml installed, the dep clause is satisfied. However I get a failure:

# USE="-firefox seamonkey" emerge liferea

checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3
checking for MOZILLA... no
seamonkey: no
configure: error:
*** You must have either the GtkHTML2, XulRunner or the Mozilla
*** development libraries installed in order to build Liferea!


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/net-news/liferea-1.1.9-r1/work/liferea-1.1.9/config.log

!!! ERROR: net-news/liferea-1.1.9-r1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   Called gnome2_src_compile
  gnome2.eclass, line 63:   Called gnome2_src_configure
  gnome2.eclass, line 59:   Called econf '--disable-gtkhtml2' '--enable-gecko=seamonkey' '--enable-dbus' '--disable-gnutls' '--enable-libnotify' '--disable-gtk-doc'
  ebuild.sh, line 540:   Called die

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


Workaround: explicitly install seamonkey first
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2006-11-12 13:59:08 UTC
Created attachment 101780 [details, diff]
modified DEPEND for liferea-1.1.9-r1
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2006-11-12 14:03:16 UTC
patch is bad ... don't use it just yet
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2006-11-12 14:05:55 UTC
Created attachment 101782 [details, diff]
fixed DEPEND for liferea-1.1.9-r1

This one works.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-13 08:02:22 UTC
How can changing the depends in the ebuild possibly affect the configure script at all?  If you have gtkhtml, it should build, and you said you had gtkthml.

I'm extremely suspicious of this...
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-11-13 09:52:26 UTC
The point is that I did USE=seamonkey but seamonkey wasn't pulled in as a dep
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-13 10:07:42 UTC
Ah, I see, I misunderstood.  I'll look into it.
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-13 10:19:38 UTC
Fixed.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2006-11-17 07:51:46 UTC
confirmed

Thanks!