Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536414 - sci-geosciences/viking should RDEPEND on dev-tcltk/expect ? - viking: WARNING **: unbuffer not found in PATH
Summary: sci-geosciences/viking should RDEPEND on dev-tcltk/expect ? - viking: WARNING...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-12 14:34 UTC by jospezial
Modified: 2018-10-14 06:40 UTC (History)
2 users (show)

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 jospezial 2015-01-12 14:34:05 UTC
joerg@bastellinux ~ $ viking

** (viking:19949): WARNING **: unbuffer not found in PATH


The program works. Sometimes it segfaults in libgdk-x11-2.0.so.0.2400.25 but that is (I think) another bug.


I found that unbuffer is part of dev-tcltk/expect.

In /usr/share/doc/expect-5.45/ChangeLog.bz2 I find an entry:
example/unbuffer

But unbuffer is not installed.
dev-tcltk/expect has no "examples" USE-flag.

emerge -va expect

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-lang/tcl-8.6.3:0/8.6  USE="threads -debug" ABI_X86="(64) -32 (-x32)" 5.684 KiB
[ebuild  N     ] dev-tcltk/expect-5.45  USE="threads -debug -doc" 615 KiB

Total: 2 packages (2 new), Size of downloads: 6.298 KiB

[ebuild   R    ] sci-geosciences/viking-1.5.1  USE="exif magic nls -doc -gps" 0 KiB
Comment 1 Hans de Graaff gentoo-dev Security 2015-01-17 10:20:19 UTC
As far as I can tell unbuffer is an optional dependency that may improve performance with some (I assume serial) devices. I have cc'ed the tcltk maintainers in case they want to consider adding unbuffer in the expect package.
Comment 2 Evan Teran 2015-08-31 18:24:06 UTC
Just out of curiosity, has there been any response regarding unbuffer being added to the installed binaries?

I ask because I was working with some code which needed unbuffer, and the author informed me that it was simply part of expect... Unfortunately, it took me a bit to realize that while I had expect installed, the ebuild doesn't install this example (among others).

As a data point some other distributions install unbuffer, so to maximize script portability, it would be nice if it was there (even if only via USE="examples")
Comment 3 Martin Mokrejš 2018-01-03 22:05:05 UTC
Still happens with 

$ viking

** (viking:31195): WARNING **: unbuffer not found in PATH

...


$ emerge -pv dev-tcltk/expect viking

[ebuild   R    ] dev-tcltk/expect-5.45::gentoo  USE="threads -debug -doc" 0 KiB
[ebuild   R    ] sci-geosciences/viking-1.6.2::gentoo  USE="doc exif gps libexif magic mapnik nls sqlite" 0 KiB
Comment 4 Tupone Alfredo gentoo-dev 2018-09-26 17:09:04 UTC
New dev-tcltk/expect-5.45.4 install unbuffer now.
Comment 5 Larry the Git Cow gentoo-dev 2018-10-14 06:40:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6b4fb7658ffe5fa59109542da7c8aac938c143

commit ef6b4fb7658ffe5fa59109542da7c8aac938c143
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-10-14 06:40:12 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-10-14 06:40:12 +0000

    sci-geosciences/viking: add dependency for unbuffer tool
    
    Add dependency on new enough dev-tcltk/expect which provides the
    unbuffer tool that viking expects to be present.
    
    Closes: https://bugs.gentoo.org/536414
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sci-geosciences/viking/viking-1.6.2-r2.ebuild | 85 +++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)