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
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.
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")
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
New dev-tcltk/expect-5.45.4 install unbuffer now.
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(+)