Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701368 - net-misc/scponly-4.8-r6 USE=sftp-server - configure: Can't find path to 'sftp-server'
Summary: net-misc/scponly-4.8-r6 USE=sftp-server - configure: Can't find path to 'sftp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hank Leininger
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-28 00:39 UTC by Attila Tóth
Modified: 2020-02-19 20:37 UTC (History)
2 users (show)

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


Attachments
scponly-4.8-sftp-server-path.patch (scponly-4.8-sftp-server-path.patch,2.63 KB, patch)
2019-11-28 00:42 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2019-11-28 00:39:35 UTC
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
Comment 1 Attila Tóth 2019-11-28 00:42:28 UTC
Created attachment 597652 [details, diff]
scponly-4.8-sftp-server-path.patch

Proposed patch adds necessary path to find sftp-server during configure.
Comment 2 Larry the Git Cow gentoo-dev 2020-02-19 20:26:41 UTC
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(-)
Comment 3 Ulrich Müller gentoo-dev 2020-02-19 20:37:13 UTC
@atoth, @hlein: Thank you for reporting, for the patch, and for the pull request.