Bug #54990 [NEW]: doc-base/configure.php fails when project resides in path with a space
| From: | frozenfire at thefrozenfire dot com | Date: | Sat, 04 Jun 2011 01:15:27 +0000 |
| Subject: | Bug #54990 [NEW]: doc-base/configure.php fails when project resides in path with a space | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6687@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux (probably irrelevant)
PHP version: Irrelevant
Package: Doc Build problem
Bug Type: Bug
Bug description:doc-base/configure.php fails when project resides in path with a space
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 bug report at http://bugs.php.net/bug.php?id=54990&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54990&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54990&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54990&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54990&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54990&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54990&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54990&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54990&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54990&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54990&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54990&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54990&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54990&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54990&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54990&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54990&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54990&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54990&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54990&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54990&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54990&r=mysqlcfg