checking for id... /usr/bin/id checking for pw... no checking for rm... /bin/rm checking for pwd_mkdb... no configure: enabling core WinSCP and Vanilla SCP binaries... checking for sftp-server... no Can't find path to 'sftp-server' !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-misc/scponly-4.8-r6/work/scponly-4.8/config.log * ERROR: net-misc/scponly-4.8-r6::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 1808: Called econf '--with-sftp-server=/usr/lib64/misc/sftp-server' '--disable-restrictive-names' '--enable-chrooted-binary' '--enable-chroot-checkdir' '--disable-winscp-compat' '--enable-gftp-compat' '--enable-scp-compat' '--enable-sftp' '--enable-quota-compat' '--enable-passwd-compat' '--disable-rsync-compat' '--disable-unison-compat' '--disable-svn-compat' '--disable-svnserv-compat' '--enable-sftp-logging-compat' '--enable-wildcards' * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * Reproducible: Always
Created attachment 597652 [details, diff] scponly-4.8-sftp-server-path.patch Proposed patch adds necessary path to find sftp-server during configure.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cfdb10442be996e94f64bfaca9ba08317ac0e39 commit 0cfdb10442be996e94f64bfaca9ba08317ac0e39 Author: Hank Leininger <hlein@korelogic.com> AuthorDate: 2020-02-18 19:51:48 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-02-19 20:25:35 +0000 net-misc/scponly: GLEP-81, fix sftp-server path, add maintainer Redone to address feedback in https://github.com/gentoo/gentoo/pull/14286 scponly's sftp support has been broken since profile 17.1's move from /usr/lib/ to /usr/lib64/; this includes the fix for that. Also moved scponly's creation of a chroot user behind a USE=chroot flag, as it's entirely usable if you are setting up your own chroots and do not need it to create one. Added myself as proxy maintainer. Signed-off-by: Hank Leininger <hlein@korelogic.com> Closes: https://bugs.gentoo.org/701368 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org> .../files/scponly-4.8-sftp-server-path.patch | 42 ++++ net-misc/scponly/metadata.xml | 10 +- net-misc/scponly/scponly-4.8-r7.ebuild | 245 +++++++++++++++++++++ 3 files changed, 296 insertions(+), 1 deletion(-)
@atoth, @hlein: Thank you for reporting, for the patch, and for the pull request.