Re: Patch - roblem with a manual build

From: Date: Tue, 16 Jun 2015 09:55:20 +0000
Subject: Re: Patch - roblem with a manual build
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969385770@lists.php.net to get a copy of this message
Maciej Sobaczewski wrote: > thank you for your patience. It seems that a problem comes from a PHP > version, or rather libxml version bundled with it. I tried validating > the patch on the another machine with the same PHP version (5.6.8, > libxml 2.9.2) and I got bunch of errors like these: > >> ERROR (file:/C:/WWW/xampp/htdocs/phpdoc/doc-base/manual.xml:unknown) >> ID pdo-cubrid.constants already defined >> >> Warning: file(file:/C:/WWW/xampp/htdocs/phpdoc/doc-base/manual.xml): >> failed to o >> pen stream: Invalid argument in >> C:\WWW\xampp\htdocs\phpdoc\doc-base\configure.ph >> p on line 212 >> >> ERROR (file:/C:/WWW/xampp/htdocs/phpdoc/doc-base/manual.xml:unknown) >> ID ref.pdo-cubrid.connection already defined >> >> Warning: file(file:/C:/WWW/xampp/htdocs/phpdoc/doc-base/manual.xml): >> failed to o >> pen stream: Invalid argument in >> C:\WWW\xampp\htdocs\phpdoc\doc-base\configure.ph >> p on line 212 >> >> ERROR (file:/C:/WWW/xampp/htdocs/phpdoc/doc-base/manual.xml:unknown) >> ID pdo.cubrid-schema already defined > > (and so on, and so on, probably for every ID in the manual, so I killed > the process). > > Then I tried on PHP 5.5.6 with libxml 2.9.1 and it worked like a charm. > > Should I try running it on a latest version from 5.6 branch and just > report a bug if it won't help? The duplicate IDs are caused by a bug in libxml 2.9.2, see <http://news.php.net/php.doc/969385731>. The warnings are also caused by a bug in libxml (see <https://bugs.php.net/bug.php?id=69753>), but are secondary, as those will only occur if there are errors, and only on Windows. -- Christoph M. Becker

« previous php.doc (#969385770) next »