Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689280 - net-misc/x2goclient hardcodes sftp-server path to /usr/lib/misc
Summary: net-misc/x2goclient hardcodes sftp-server path to /usr/lib/misc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-04 15:47 UTC by MarisN
Modified: 2019-07-30 20:48 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 MarisN 2019-07-04 15:47:40 UTC
In the x2go source is a hardcoded value of sftp-server location on Gentoo ("/usr/lib/misc"). Unfortunately it breaks with 17.1 profile (lib vs lib64).
There is an upstream bug report with a patch to fix it. Still this patch should be applied also to (all?) current x2go versions present in the portage.

https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1393;msg=2

diff --git a/x2goclient-4.1.2.1/src/onmainwindow.cpp b/x2goclient-
4.1.2.1/src/onmainwindow.cpp
index 405b124..16eeeb5 100644
--- a/x2goclient-4.1.2.1/src/onmainwindow.cpp
+++ b/x2goclient-4.1.2.1/src/onmainwindow.cpp
@@ -10444,6 +10444,7 @@ void ONMainWindow::generateEtcFiles()
                      << "/usr/lib/ssh" /* Mageia, OpenSUSE, SLE{S,D} <
12 x86, SLE{S,D} 12, Arch */
                      << "/usr/lib64/ssh" /* SLE{S,D} < 12 x86_64 */
                      << "/usr/lib/misc" /* Gentoo */
+                     << "/usr/lib64/misc" /* Gentoo 17.1 x64 */
                      << "/usr/libexec"; /* Slackware, OS X */
 
 #if QT_VERSION < 0x050000
Comment 1 Bernard Cafarelli gentoo-dev 2019-07-30 20:31:24 UTC
Thanks for the report! And Lars had kept me updated on the upstream bug, sorry for the delay.

This will get in a -r1 ebuild, I will start a quick stabling round on this one after a few days (minimal changes, and current broken stable)
Comment 2 Larry the Git Cow gentoo-dev 2019-07-30 20:48:06 UTC
The bug has been closed via the following commit(s):

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

commit 13eb61d316b00795d68f15c975e3a9ed03d9d3be
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2019-07-30 20:31:58 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2019-07-30 20:47:03 +0000

    net-misc/x2goclient: support 17.1 profiles
    
    Closes: https://bugs.gentoo.org/689280
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/x2goclient-4.1.2.1-gentoo-17.1.patch     | 14 ++++
 net-misc/x2goclient/x2goclient-4.1.2.1-r1.ebuild   | 75 ++++++++++++++++++++++
 2 files changed, 89 insertions(+)