Bug #76464 [NEW]: PEAR installation fails with Phar extension enabled
| From: | peterkokot at gmail dot com | Date: | Wed, 13 Jun 2018 00:37:50 +0000 |
| Subject: | Bug #76464 [NEW]: PEAR installation fails with Phar extension enabled | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-215672@lists.php.net to get a copy of this message | ||
From: peterkokot at gmail dot com
Operating system: Fedora 28
PHP version: master-Git-2018-06-12 (Git)
Package: *Compile Issues
Bug Type: Bug
Bug description:PEAR installation fails with Phar extension enabled
Description:
------------
When building PHP with Phar extension enabled the PEAR installation
fails.
Test script:
---------------
./configure --disable-all \
--with-pear \
--enable-xml \
--enable-libxml \
--with-openssl \
--enable-phar
make && make install
Expected result:
----------------
Successful installation without PEAR errors.
Actual result:
--------------
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing phpdbg binary: /usr/local/bin/
Installing phpdbg man page: /usr/local/php/man/man1/
Installing PHP CGI binary: /usr/local/bin/
Installing PHP CGI man page: /usr/local/php/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar: File "docs/Archive_Tar.txt" in directory "<dir
name="/">" has invalid role "doc", should be one of
[PEAR] Archive_Tar: File "Archive/Tar.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] Archive_Tar: Parsing of package.xml from file
"/tmp/pear/temp/pearTy1XMJ/package.xml" failed
[PEAR] Console_Getopt: File "tests/bug13140.phpt" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Console_Getopt: File "tests/bug11068.phpt" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Console_Getopt: File "tests/bug10557.phpt" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Console_Getopt: File "tests/001-getopt.phpt" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Console_Getopt: File "Console/Getopt.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] Console_Getopt: Parsing of package.xml from file
"/tmp/pear/temp/pearsEVNLV/package.xml" failed
[PEAR] Structures_Graph: File "LICENSE" in directory "<dir
name="/">"
has invalid role "doc", should be one of
[PEAR] Structures_Graph: File "tests/helper.inc" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Structures_Graph: File "tests/BasicGraphTest.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] Structures_Graph: File "tests/AcyclicTestTest.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] Structures_Graph: File "tests/TopologicalSorterTest.php" in
directory "<dir name="/">" has invalid role "test", should be
one of
[PEAR] Structures_Graph: File "tests/BasicGraphTest.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] Structures_Graph: File "tests/AllTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] Structures_Graph: File "Structures/Graph.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] Structures_Graph: File "Structures/Graph/Node.php" in directory
"<dir name="/">" has invalid role "php", should be one of
[PEAR] Structures_Graph: File
"Structures/Graph/Manipulator/TopologicalSorter.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] Structures_Graph: File
"Structures/Graph/Manipulator/AcyclicTest.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] Structures_Graph: File
"docs/tutorials/Structures_Graph/Structures_Graph.pkg" in directory
"<dir name="/">" has invalid role "doc", should be one of
[PEAR] Structures_Graph: Parsing of package.xml from file
"/tmp/pear/temp/pearLSVWK7/package.xml" failed
[PEAR] XML_Util: File "XML/Util.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] XML_Util: File "tests/Bug21184Tests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/Bug21177Tests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/Bug18343Tests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/Bug5392Tests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/Bug4950Tests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/SplitQualifiedNameTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/ReverseEntitiesTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/ReplaceEntitiesTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/RaiseErrorTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/IsValidNameTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/GetXmlDeclarationTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/GetDocTypeDeclarationTests.php" in
directory "<dir name="/">" has invalid role "test", should be
one of
[PEAR] XML_Util: File "tests/CreateTagFromArrayTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CreateTagTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CreateStartElementTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CreateEndElementTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CreateCommentTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CreateCDataSectionTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/CollapseEmptyTagsTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/AttributesToStringTests.php" in directory
"<dir name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/ApiVersionTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "tests/AbstractUnitTests.php" in directory "<dir
name="/">" has invalid role "test", should be one of
[PEAR] XML_Util: File "examples/example2.php" in directory "<dir
name="/">" has invalid role "doc", should be one of
[PEAR] XML_Util: File "examples/example.php" in directory "<dir
name="/">" has invalid role "doc", should be one of
[PEAR] XML_Util: Parsing of package.xml from file
"/tmp/pear/temp/pearebRxKj/package.xml" failed
[PEAR] PEAR: File "template.spec" in directory "<dir name="/">"
has
invalid role "data", should be one of
[PEAR] PEAR: File "System.php" in directory "<dir name="/">" has
invalid
role "php", should be one of
[PEAR] PEAR: File "README.rst" in directory "<dir name="/">" has
invalid
role "doc", should be one of
[PEAR] PEAR: File "PEAR.php" in directory "<dir name="/">" has
invalid
role "php", should be one of
[PEAR] PEAR: File "package.dtd" in directory "<dir name="/">"
has
invalid role "data", should be one of
[PEAR] PEAR: File "INSTALL" in directory "<dir name="/">" has
invalid
role "doc", should be one of
[PEAR] PEAR: File "LICENSE" in directory "<dir name="/">" has
invalid
role "doc", should be one of
[PEAR] PEAR: File "scripts/peclcmd.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "scripts/pearcmd.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "scripts/pecl.sh" in directory "<dir
name="/">" has
invalid role "script", should be one of
[PEAR] PEAR: File "scripts/peardev.sh" in directory "<dir
name="/">" has
invalid role "script", should be one of
[PEAR] PEAR: File "scripts/pear.sh" in directory "<dir
name="/">" has
invalid role "script", should be one of
[PEAR] PEAR: File "scripts/pecl.bat" in directory "<dir
name="/">" has
invalid role "script", should be one of
[PEAR] PEAR: File "scripts/peardev.bat" in directory "<dir
name="/">"
has invalid role "script", should be one of
[PEAR] PEAR: File "scripts/pear.bat" in directory "<dir
name="/">" has
invalid role "script", should be one of
[PEAR] PEAR: File "PEAR/XMLParser.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Validate.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/RunTest.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/REST.php" in directory "<dir name="/">"
has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Registry.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Proxy.php" in directory "<dir name="/">"
has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Packager.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Frontend.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Exception.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/ErrorStack.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Downloader.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Dependency2.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/DependencyDB.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Config.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Common.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/ChannelFile.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Builder.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Validator/PECL.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Windowseol.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Unixeol.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Replace.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Postinstallscript.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Common.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Windowseol/rw.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Unixeol/rw.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Replace/rw.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Task/Postinstallscript/rw.php" in directory
"<dir name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/REST/13.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/REST/11.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/REST/10.php" in directory "<dir
name="/">" has
invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/v2.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/v1.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/v2/Validator.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/v2/rw.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/Parser/v2.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/Parser/v1.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/Generator/v2.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/PackageFile/Generator/v1.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Www.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Www.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Test.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Test.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Src.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Src.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Script.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Script.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Php.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Php.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Man.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Man.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Ext.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Ext.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Doc.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Doc.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Data.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Data.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Cfg.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Cfg.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Installer/Role/Common.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Frontend/CLI.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Downloader/Package.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Test.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Test.xml" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Remote.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Remote.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Registry.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Registry.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Pickle.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Pickle.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Package.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Package.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Mirror.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Mirror.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Install.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Install.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Config.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Config.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Common.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Channels.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Channels.xml" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Build.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Build.xml" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Auth.php" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/Command/Auth.xml" in directory "<dir
name="/">"
has invalid role "php", should be one of
[PEAR] PEAR: File "PEAR/ChannelFile/Parser.php" in directory "<dir
name="/">" has invalid role "php", should be one of
[PEAR] PEAR: File "OS/Guess.php" in directory "<dir name="/">"
has
invalid role "php", should be one of
[PEAR] PEAR: Parsing of package.xml from file
"/tmp/pear/temp/pearAgDfLv/package.xml" failed
/opt/php-src/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f phar.phar /usr/local/bin/phar
--
Edit bug report at https://bugs.php.net/bug.php?id=76464&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76464&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76464&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76464&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76464&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76464&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76464&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76464&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76464&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76464&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76464&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76464&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76464&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76464&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76464&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76464&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76464&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76464&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76464&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76464&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76464&r=mysqlcfg