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

Bug 303893

Summary: www-client/uzbl: Missing socat rdepend
Product: Gentoo Linux Reporter: Roger <rogerx.oss>
Component: New packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roger 2010-02-07 18:44:40 UTC
Uzbl uses socat within one of it's script files for loading bookmarks from a users .local/uzble/ file.


Error output looks like this:
/usr/share/uzbl/examples/data/scripts/load_url_from_bookmarks.sh: line 20: socat: command not found

Following examination, determined socat wasn't installed when uzbl was emerged.

=www-client/uzbl-2010.02.02

(Could be, socat was recently integrated and/or might only be a temporary solution as I've scanned their logs and noted they were using quick fixes for somethings.)

Reproducible: Always
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2010-02-10 10:22:42 UTC
The example scripts are not part of the uzbl core, thats why uzbl does not hard depend on socat or other helper apps.

There is a "helper" USE flag that enables all the runtime dependencies needed by the example scripts:

The ebuild warns you when you install it:

elog "uzbl's extra scripts use various optional applications:"
elog
elog "   dev-lang/perl"
elog "   dev-perl/gtk2-perl"
elog "   dev-python/pygtk"
elog "   dev-python/pygobject"
elog "   gnome-extra/zenity"
elog "   net-misc/socat"
elog "   x11-libs/pango"
elog "   x11-misc/dmenu"
elog "   x11-misc/xclip"
elog
elog "Make sure you emerge the ones you need manually."
elog "You may also activate the *helpers* USE flag to"
elog "install all of them automatically."

:)
Comment 2 Roger 2010-02-10 16:40:03 UTC
My sincere apologies.

I even emerged this separately and still failed to see the elog info.

bah!  No Wonder I didn't see this...

The stdout messages are within pkg_setup() function, and only output at the very beginning of the compile!  As such, they blend in quite well with other configure statements!

Should post these messages should be within pkg_postinst().


Other then this, the messages are quite clear and I'm remerging using "helpers" flag.  Some might debate all hard coded deps should be included, and if they do or somebody gets time, maybe one option to fix would be to include a "minimal" flag instead -- to avoid installing these extra deps -- because they are somewhat hardcoded in and provide such functions such as bookmarks (socat).