php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77835 PECL fails to install ds-1.2.7
Submitted: 2019-04-03 09:28 UTC Modified: 2021-06-22 14:41 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: leslaw dot kopec at dreamlab dot pl Assigned: cmb (profile)
Status: Duplicate Package: PECL website (PECL)
PHP Version: Irrelevant OS: Ubuntu 16.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: leslaw dot kopec at dreamlab dot pl
New email:
PHP Version: OS:

 

 [2019-04-03 09:28 UTC] leslaw dot kopec at dreamlab dot pl
Description:
------------
I'm trying to install ds version 1.2.7 I'm getting the following error:

$ pecl -v install -f ds-1.2.7
Package "ds" Version "1.2.7" does not have REST xml available
Cannot initialize 'channel://pecl.php.net/ds-1.2.7', invalid or missing package file
Package "channel://pecl.php.net/ds-1.2.7" is not valid
install failed

It seems that this is due to https://pecl.php.net/rest/r/ds/1.2.7.xml returning "404 Not Found". PEAR internally reports:

File https://pecl.php.net:443/rest/r/ds/1.2.7.xml not valid (received: HTTP/1.1 404 Not Found)

Other versions of ds extension seem to have a proper XML file and can be installed without a problem.

Test script:
---------------
pecl install -f ds-1.2.7

Expected result:
----------------
PECL installs the ds extension in 1.2.7 version.

Actual result:
--------------
$ pecl install -f ds-1.2.7
Package "ds" Version "1.2.7" does not have REST xml available
install failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-22 14:41 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-06-22 14:41 UTC] cmb@php.net
There is a comprehensive list of invalid REST endpoints as bug
#80615, so I'm closing this as duplicate.

Latest ds (1.3.0) should work fine anyway
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 12:01:29 2025 UTC