Bug #54990 [Fbk->NoF]: doc-base/configure.php fails when project resides in path with a space

From: Date: Mon, 18 Feb 2013 00:34:53 +0000
Subject: Bug #54990 [Fbk->NoF]: doc-base/configure.php fails when project resides in path with a space
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9540@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54990&edit=1 ID: 54990 Updated by: php-bugs@lists.php.net Reported by: frozenfire at thefrozenfire dot com Summary: doc-base/configure.php fails when project resides in path with a space -Status: Feedback +Status: No Feedback Type: Bug Package: Doc Build problem Operating System: Linux (probably irrelevant) PHP Version: Irrelevant New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2011-07-05 17:07:10] bjori@php.net Hmh bjori@mini:~/Work/src test/php/phpdoc/doc-base/trunk$ php configure.php configure.php: $Id: configure.php 310808 2011-05-06 16:11:39Z bjori $ PHP version: 5.3.5-1ubuntu7.2 Checking for source directory... /home/bjori/Work/src test/php/phpdoc/doc- base/trunk Checking for output filename... /home/bjori/Work/src test/php/phpdoc/doc- base/trunk/.manual.xml Checking whether to include CHM... no Checking for PHP executable... /usr/bin/php5 Checking for language to build... en Checking whether the language is supported... yes Checking for partial build... no Checking whether to enable detailed XML error messages... no Checking libxml version... 2.7.8 Checking whether to enable detailed error reporting (may segfault)... yes Checking whether to optimize out the DTD (performance gain, but segfaults)... yes Generating /home/bjori/Work/src test/php/phpdoc/doc-base/trunk/manual.xml... done Generating /home/bjori/Work/src test/php/phpdoc/doc-base/trunk/install- unix.xml... done Generating /home/bjori/Work/src test/php/phpdoc/doc-base/trunk/install- win.xml... done Generating /home/bjori/Work/src test/php/phpdoc/doc- base/trunk/developer.template.xml... done Generating /home/bjori/Work/src test/php/phpdoc/doc- base/trunk/entities/version.ent... done Generating /home/bjori/Work/src test/php/phpdoc/doc-base/trunk/scripts/file- entities.php... done Iterating over extension specific version files... OK Saving it... OK Creating file /home/bjori/Work/src test/php/phpdoc/doc-base/trunk/entities/file- entities.ent... done Checking for if we should generate a simplified file... no Checking whether to save an invalid .manual.xml... no Loading and parsing manual.xml... done. Validating manual.xml... done. All good. Saving .manual.xml... done. All you have to do now is run 'phd -d /home/bjori/Work/src test/php/phpdoc/doc- base/trunk/.manual.xml' If the script hangs here, you can abort with ^C. (Run nice php configure.php next time!) PHP will segfault now :) - Don't worry though, the .manual.xml has been saved :D Segmentation fault works fine for me. If I however run it from below doc-base; php doc-base/trunk/configure.php I get the same result as you get, but only when there is a space. Does it work for you if you go into the doc-base folder? ------------------------------------------------------------------------ [2011-06-04 03:15:25] frozenfire at thefrozenfire dot com Description: ------------ When the check-out of the doc-en module falls within a path that contains a space, configure.php fails when invoked relatively. When invoked from the doc- base directory, the script operates successfully. Test script: --------------- justin@justin-laptop:~/Desktop/SVN Repositories/phpdoc$ php doc-base/configure.php Expected result: ---------------- configure.php: $Id: configure.php 310808 2011-05-06 16:11:39Z bjori $ PHP version: 5.3.5 Checking for source directory... /home/justin/Desktop/SVN Repositories/phpdoc/doc-base Checking for output filename... /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/.manual.xml Checking whether to include CHM... no Checking for PHP executable... /usr/local/bin/php Checking for language to build... en Checking whether the language is supported... yes Checking for partial build... no Checking whether to enable detailed XML error messages... no Checking libxml version... 2.7.8 Checking whether to enable detailed error reporting (may segfault)... yes Checking whether to optimize out the DTD (performance gain, but segfaults)... yes Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/manual.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/install- unix.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/install- win.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/developer.template.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/entities/version.ent... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/scripts/file- entities.php... done Iterating over extension specific version files... OK Saving it... OK Creating file /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/entities/file-entities.ent... done Checking for if we should generate a simplified file... no Checking whether to save an invalid .manual.xml... no Loading and parsing manual.xml... done. Validating manual.xml... done. All good. Saving .manual.xml... done. All you have to do now is run 'phd -d /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/.manual.xml' If the script hangs here, you can abort with ^C. (Run nice php configure.php next time!) PHP will segfault now :) - Don't worry though, the .manual.xml has been saved :D Segmentation fault Actual result: -------------- configure.php: $Id: configure.php 310808 2011-05-06 16:11:39Z bjori $ PHP version: 5.3.5 Checking for source directory... /home/justin/Desktop/SVN Repositories/phpdoc/doc-base Checking for output filename... /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/.manual.xml Checking whether to include CHM... no Checking for PHP executable... /usr/local/bin/php Checking for language to build... en Checking whether the language is supported... yes Checking for partial build... no Checking whether to enable detailed XML error messages... no Checking libxml version... 2.7.8 Checking whether to enable detailed error reporting (may segfault)... yes Checking whether to optimize out the DTD (performance gain, but segfaults)... yes Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/manual.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/install- unix.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/install- win.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/developer.template.xml... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/entities/version.ent... done Generating /home/justin/Desktop/SVN Repositories/phpdoc/doc-base/scripts/file- entities.php... done Iterating over extension specific version files... OK Saving it... OK Creating file /home/justin/Desktop/SVN Repositories/phpdoc/doc- base/entities/file-entities.ent... done Checking for if we should generate a simplified file... no Checking whether to save an invalid .manual.xml... no Loading and parsing manual.xml... failed. ERROR (/home/justin/Desktop/SVN Repositories/phpdoc/doc-base/manual.xml:11:13) %xhtml-lat1; -------------^ failed to load external entity "./entities/ISO/xhtml1-lat1.ent" ERROR (/home/justin/Desktop/SVN Repositories/phpdoc/doc-base/manual.xml:12:15) %xhtml-symbol; ---------------^ internal error Previous errors too severe. Stopping here. Eyh man. No worries. Happ shittens. Try again after fixing the errors above. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=54990&edit=1

« previous php.doc.bugs (#9540) next »