Skip to content
This repository was archived by the owner on Aug 6, 2023. It is now read-only.
This repository was archived by the owner on Aug 6, 2023. It is now read-only.

Invalid XML document: zendextsrcrelease with xdebug 2.2.2 #128

@cweiske

Description

@cweiske

xdebug 2.2.2 cannot be installed because pyrus doesn't like the zendextsrcrelease element in the package.xml:

$ pyrus-5.3.26 install pecl/xdebug
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Using PEAR installation found at /opt/phpfarm/inst/php-5.3.26/pear
Downloading pecl.php.net/xdebug
Mime-type: application/octet-stream
Mime-type: application/octet-stream==================================================================>] 100% (244/244 kb)
Pyrus\Package\Exception: Could not download abstract package pecl.php.net/xdebug
 Pyrus\HTTPException: Download of http://pecl.php.net/get/xdebug-2.2.2.phar failed, file does not exist
  Pyrus\Package\Exception: Could not download from "http://pecl.php.net/get/xdebug-2.2.2.tgz"
   Pyrus\PackageFile\Exception: Invalid package.xml
    Pyrus\XMLParser\Exception: Invalid XML document
     Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}zendextsrcrelease': This element is not expected. Expected is one of ( {http://pear.php.net/dtd/package-2.0}providesextension, {http://pear.php.net/dtd/package-2.0}usesrole, {http://pear.php.net/dtd/package-2.0}usestask, {http://pear.php.net/dtd/package-2.0}srcpackage, {http://pear.php.net/dtd/package-2.0}srcuri, {http://pear.php.net/dtd/package-2.0}phprelease, {http://pear.php.net/dtd/package-2.0}extsrcrelease, {http://pear.php.net/dtd/package-2.0}extbinrelease, {http://pear.php.net/dtd/package-2.0}bundle ).

      Pyrus\Package\Exception: Could not download from "http://pecl.php.net/get/xdebug-2.2.2.tar"
       Pyrus\PackageFile\Exception: Invalid package.xml
        Pyrus\XMLParser\Exception: Invalid XML document
         Pyrus\XMLParser\Exception: Line 0: Element '{http://pear.php.net/dtd/package-2.0}zendextsrcrelease': This element is not expected. Expected is one of ( {http://pear.php.net/dtd/package-2.0}providesextension, {http://pear.php.net/dtd/package-2.0}usesrole, {http://pear.php.net/dtd/package-2.0}usestask, {http://pear.php.net/dtd/package-2.0}srcpackage, {http://pear.php.net/dtd/package-2.0}srcuri, {http://pear.php.net/dtd/package-2.0}phprelease, {http://pear.php.net/dtd/package-2.0}extsrcrelease, {http://pear.php.net/dtd/package-2.0}extbinrelease, {http://pear.php.net/dtd/package-2.0}bundle ).

          Pyrus\HTTPException: Download of http://pecl.php.net/get/xdebug-2.2.2.zip failed, file does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions