php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74787 ssh2 1.1 does not install with pecl
Submitted: 2017-06-20 16:36 UTC Modified: -
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: ari at diablomedia dot com Assigned:
Status: Open Package: ssh2 (PECL)
PHP Version: 7.0.20 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ari at diablomedia dot com
New email:
PHP Version: OS:

 

 [2017-06-20 16:36 UTC] ari at diablomedia dot com
Description:
------------
The ssh2-1.1 PECL package does not appear to include the tests/ folder, which causes the pecl install to fail.

Test script:
---------------
pecl install ssh2-alpha


Expected result:
----------------
ssh2 module should be installed.

Actual result:
--------------
# pecl install ssh2-alpha
downloading ssh2-1.1.tgz ...
Starting to download ssh2-1.1.tgz (27,483 bytes)
.........done: 27,483 bytes
ERROR: file /tmp/pear/temp/tmp7kkkVT/ssh2-1.1/tests/ssh2_auth.phpt does not exist

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-22 22:15 UTC] mradcliffe at softpixel dot com
I also ran into this issue using PHP 7.1.5.

I was able to workaround it by forcing the install using "pecl install --force --ignore-errors ssh2-1.1"
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sat Nov 18 15:03:12 2017 UTC