php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65834 scrypt PECL package not untarring correctly
Submitted: 2013-10-04 14:50 UTC Modified: 2013-10-05 03:03 UTC
From: mark at moderndeveloperllc dot com Assigned:
Status: Closed Package: PECL (PECL)
PHP Version: 5.5.4 OS: OSX 10.8.5
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: mark at moderndeveloperllc dot com
New email:
PHP Version: OS:

 

 [2013-10-04 14:50 UTC] mark at moderndeveloperllc dot com
Description:
------------
Trying to install scrypt on my machine is throwing an error:

sh-3.2# pecl install scrypt
downloading scrypt-1.2.tgz ...
Starting to download scrypt-1.2.tgz (20,361 bytes)
.......done: 20,361 bytes
could not extract the package.xml file from "/private/tmp/pear/download/scrypt-1.2.tgz"
Download of "pecl/scrypt" succeeded, but it is not a valid package archive
Error: cannot download "pecl/scrypt"
Download failed
install failed

When I go to the temp download directory, I can manually untar the tarball, but it creates the package.xml _outside_ of the resulting scrypt-1.2/ directory. If I move the package.xml file to be inside the scrypt-1.2/ directory and run pecl install package.xml, the extension will build properly and pecl sees it as being installed:

pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
scrypt  1.2     stable




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-05 03:03 UTC] mark at moderndeveloperllc dot com
-Status: Open +Status: Closed
 [2013-10-05 03:03 UTC] mark at moderndeveloperllc dot com
worked fine on different machine, so it's my install, not package - please close/delete
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC