Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143300 - problem with gtkhtml dependencies
Summary: problem with gtkhtml dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 01:37 UTC by R Stephan
Modified: 2006-08-12 02:51 UTC (History)
0 users

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 R Stephan 2006-08-09 01:37:11 UTC
With liferea-1.0.18, I cannot see articles, error output: 'Browser command failed: Failed to execute 'gnome-open' (No such file...)'. This is a gnome-less system, and I noticed that 
1. liferea depends on gtkhtml although there is a -gtkhtml USE flag;
2. turning on this flag makes no difference with the things pulled in, but
3. emerge -pv gtkhtml lists much more things to be pulled in.
My guess is I haven't installed everything needed but I don't know why. 

Gentoo Base System version 1.6.15
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(R) M processor         1500MHz
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox severe sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://gentoo.intergenia.de ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X apm avi bash-completion berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd emboss encode foomaticdb fortran gdbm gif gnustep gtk gtk2 imlib ipv6 isdnlog jabber jpeg jpeg2k lcms lesstif libg++ libwww mad mbox mime mmx motif mozilla mp3 mpeg ncurses nls nocd nptl objc objc-gc ogg opengl oss pam pcre pdf pdflib png posix pppd python quicktime readline reflection sdl session spl sse sse2 ssl svg tcl tcpd tiff tk truetype truetype-fonts type1-fonts udev unicode videos vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-09 18:55:22 UTC
liferea needs one of gtkhtml, firefox, or seamonkey.  If you give -gtkhtml -firefox -seamonkey, then it will pull in gtkhtml, as the default browser.  If you really don't want gtkhtml, you will need to build against one of seamonkey or firefox.  I notice that none of gtkthml, firefox, or seamonkey are in your global USE flags, so this seems to likely be the problem.
Comment 2 R Stephan 2006-08-10 00:07:43 UTC
your response ignored point 2 in my analysis.
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-10 19:12:30 UTC
I don't think I did.  If you have none of the three flag on, it's the same as if you had the gtkhml flag on.  If you enable either the firefox or seamonkey USE flags, and have gtkhtml off, then the gtkhtml dependency won't be pulled in.

If I'm still wrong, please explain further.
Comment 4 R Stephan 2006-08-11 00:08:19 UTC
First, I want to know why liferea does not pull all dependencies in that gtkhtml needs, regardless if I set the gtkhtml USE flag or not. You correctly state that, when no flag is set, gtkhtml is assumed. Note that I want the gtkhtml backend, I just don't set the flag globally, I use "USE=gtkhtml emerge -pv liferea". Note also that I said this is a gnomeless system, so your results might differ.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-11 08:48:28 UTC
It does pull in all the dependencies here, whether I give no flags or the gtkhtml flag.  I'm not sure what's wrong with your system, but it all seems to be working correctly.

In particular, it pulls in gtk+ and gnome-vfs (which are the two gnome deps of gtkthml, and gnome-vfs pulls in gconf, libbonobo, gnome-mime-data, etc.  If you already have gnome, it will obviously not install any of these packages, because they'll already be there, but the deps appear to be working correctly.
Comment 6 R Stephan 2006-08-11 11:44:37 UTC
so in which package is this 'gnome-open' that is not found and failed to execute? can someone who has gnome tell?
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-11 12:19:36 UTC
It's part of libgnome, and liferea is apparently referencing it directly (not as part of the gtkhtml backend).  I'vel added it to the list of explicit deps in liferea, but at least here, liferea is already pulling it in.

Sync in a few hours, and emerge one of 1.0.20 or 1.0.21, and it should pull in libgnome unconditionally.
Comment 8 R Stephan 2006-08-12 00:08:17 UTC
this handles the liferea part, many thanks for the workaround. the real problem, however, is that liferea should have pulled libgnome because gtkhtml depends on libgnomeui depends on libgnome. libgnome is pulled normally when I emerge gtkhtml explicitly. You write:

> In particular, it pulls in gtk+ and gnome-vfs (which are the two gnome deps of
> gtkthml

Not true if you look at the gtkhtml-3.10.2 ebuild! libgnomeui is another dep.
So, a portage problem?

I have adapted the subject line accordingly.
Comment 9 R Stephan 2006-08-12 02:51:08 UTC
no sorry, I didn't notice that gtkhtml-2 deps differ from gtkhtml-3 ones, so it's just the use of libgnome by liferea that was the problem. I'm assuming the missing dep on libgnome in gtkhtml-2 is not a bug...