Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327511 - net-misc/ssvnc-1.0.25 xterm depencence
Summary: net-misc/ssvnc-1.0.25 xterm depencence
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 17:00 UTC by Nikita S. Kipriyanov
Modified: 2010-07-19 00:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the same ebuild as in portage, but with x11-terms/xterm added to RDEPEND (ssvnc-1.0.25.ebuild,1.47 KB, text/plain)
2010-07-08 17:03 UTC, Nikita S. Kipriyanov
Details
Screenshot of the error message (ssvnc-error-message.png,10.79 KB, image/png)
2010-07-14 06:02 UTC, Nikita S. Kipriyanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita S. Kipriyanov 2010-07-08 17:00:05 UTC
ssvnc is using xterm and refuses to operate without it (throws a tcl/tk error)

there should be a run-time dependency on x11-terms/xterm



Reproducible: Always

Steps to Reproduce:
1. Emerge ssvnc without xterm available on the system. It will emerge happily.
2. Run ssvnc, set some parameters and activate a 'connect' button


Actual Results:  
Tcl/tk error will appear, which says that xterm binary is missing

Expected Results:  
It should connect and work with remote VNC server
Comment 1 Nikita S. Kipriyanov 2010-07-08 17:03:25 UTC
Created attachment 238043 [details]
the same ebuild as in portage, but with x11-terms/xterm added to RDEPEND

another way is to emerge xterm separately

better solution is to rewrite the application to remove this dependency
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-07-13 12:17:36 UTC
Can you post the error log when xterm is not installed?

also provide us with a emerge -pv ssvnc output

Thanks
Comment 3 Nikita S. Kipriyanov 2010-07-14 06:02:02 UTC
Created attachment 238677 [details]
Screenshot of the error message

The error isn't prints to console, it gets displayed in the message window. The text there is:

Problem finding the 'xterm' command

/bin/sh: line 0: type: xtern: not found

Perhaps you need to install a package containing 'xterm' (Sigh...)
Comment 4 Nikita S. Kipriyanov 2010-07-14 06:04:07 UTC
> Can you post the error log when xterm is not installed?
> 
> also provide us with a emerge -pv ssvnc output

elvebook Screenshots # emerge -pv ssvnc

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

Calculating dependencies... done!
[ebuild R ] net-misc/ssvnc-1.0.25 USE="-java" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

And the x11-terms/xterm isn't emerged on this machine.
Comment 5 SpanKY gentoo-dev 2010-07-19 00:46:49 UTC
would be possible to avoid the xterm requirement, but i dont feel like rewriting the upstream code

http://sources.gentoo.org/net-misc/ssvnc/ssvnc-1.0.26.ebuild?r1=1.1&r2=1.2