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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 + 42 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC