X2Go Bug report logs - #1393
sftp-server binary not found gentoo (profile 17.1)

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Tobias Ehrig <me@t0by.eu>

Date: Tue, 18 Jun 2019 07:20:02 UTC

Severity: normal

Tags: pending

Found in version 4.1.2.1

Fixed in version 4.1.2.2

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 18 Jun 2019 07:18:01 +0000
From me@t0by.eu  Tue Jun 18 09:18:00 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_05,RCVD_IN_MSPIKE_H2,
	SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 843B15DB18
	for <submit@bugs.x2go.org>; Tue, 18 Jun 2019 09:18:00 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OzVumNMKjiMp for <submit@bugs.x2go.org>;
	Tue, 18 Jun 2019 09:17:54 +0200 (CEST)
X-Greylist: delayed 300 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Tue, 18 Jun 2019 09:17:53 CEST
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D3DD05DAF4
	for <submit@bugs.x2go.org>; Tue, 18 Jun 2019 09:17:53 +0200 (CEST)
Received: from nb01194.fritz.box ([46.80.184.22]) by mrelayeu.kundenserver.de
 (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M2Plu-1hcZGk30TW-003y6B
 for <submit@bugs.x2go.org>; Tue, 18 Jun 2019 09:12:52 +0200
Message-ID: <6f820bb96ef55175c50465dbaa2d98408f1b598c.camel@t0by.eu>
Subject: sftp-server binary not found gentoo (profile 17.1)
From: Tobias Ehrig <me@t0by.eu>
To: submit@bugs.x2go.org
Date: Tue, 18 Jun 2019 09:12:48 +0200
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.30.5 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:vOV6/UzpKQJiO+CjeUaye297zYSS42gY6PMKKqPcUpdf2iHYIPD
 HYD879FyVC8tlYg37d04EhPwOhZuIAgi6OJa5ODJhKYFtIiyMNTC0VzgALQxmWnGd3DSMm5
 LDFjE8TaSvmPPYUSdYRY35AoIQTiLJEXT7n6EiiqnE921T2y1Yd/d0azNGOBmmhyeJ1/IAn
 Ga0jHRoJkE6+M4IRLYF4g==
X-UI-Out-Filterresults: notjunk:1;V03:K0:bjUfgrEA4H8=:i9o0DkRvQBt3T8xx/OIE2f
 ZdA4YDDuQD+8AGdx5RaYeA2/9kGVUU4OruDbPSpMyDVYGu0f76zO+q8kE5unnUBDVYBICFKSb
 zC9nkA1wxQGqWPFr7DQuNCP1COCUUr4X3NLm9oSr/BevVwadoWmBtl4ljxRH1h0H1Bpuy9trK
 eluXJLhpRGAnNC/zlboaShKU8NQKXcJ8EWc2yc3K1SMh64WrNnaVbqsGrVwJGADeBIWt9L0C6
 66lUnW5vX7jj87FYjVEt3kDAzWqXkfRjr+pwNTsNiEAb2y3WBxUnanExKllXg0MEwRDPX28ef
 Bz4fYdmy5fOYThytexB8HtMX77c9k1IiPSjg4R0eQirLy1E5FyHOOhWbd+1rlboEOrL6pPTn4
 aZQTpVDvOLahNa7QHOzu4a3Ah/juOvkswk2XRVMC/KexAUcM1Ha+38p2ZjpAidTYzJfVvhyV8
 PMEVv4aR/GxIFmQRepe+j2VSeJRdVZ1DyZ7/TkgmZWNTXFMhF2tv5y8ry1AYR09vN4Rexa1md
 Ftg+IRr+Vh4giA4HRUK0CXffkPMTzXGEomSb/ooVJjsydOM2H6Tq2K2w1ic83rm7AAHR8ZdhJ
 ckFgWFa21C7ENU6csZvc6Ciqc1c9qN5ByApf20+7bcyfqKU8dCuinPJQtV42VGQGuDAeT+WeM
 TTMU9wB6BA+8erHmyiZe6Kntrx3/3377xOibKzuc7MdyCrovrzlxL0v30tOlaveroEdGFgsJc
 n7veViy1iZg5h587GZ6RMuoOfcAR+3dnYtbg1Jexz86daUXxTFhUllL816g=
Package: net-misc/x2goclient
Version: 4.1.2.1

On Gentoo (eselect profile 17.1) the x2goclient can't find the binary
sftp-server which is located at

/usr/lib64/misc/sftp-server


Here is a patch

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



Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jan 19 08:06:43 2020; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.