Re: help needed for fixing manual build
| From: | Peter Cowburn | Date: | Thu, 20 Sep 2018 12:19:53 +0000 |
| Subject: | Re: help needed for fixing manual build | ||
| References: | 1 2 3 | Groups: | php.doc php.doc.zh |
| Request: | Send a blank email to phpdoc+get-969387032@lists.php.net to get a copy of this message | ||
On 20 September 2018 at 13:13, Christoph M. Becker <cmbecker69@gmx.de>
wrote:
> On 19.09.2018 at 18:22, CHU Zhaowei wrote:
>
> > The build of Chinese version has been keep failing for several days, and
> I’
> > m trying to fix it. However, I cannot see anything wrong, and I also
> cannot
> > reproduce this issue on my own computer. Here is what I found:
> >
> > According to the build log (http://news.php.net/php.doc.zh/5254 ), the
> > problem should be some missing ID:
> >
> >> IDREF attribute linkend references an unknown ID
> >> "arrayiterator.constants.std-prop-list"
> >> IDREF attribute linkend references an unknown ID
> >> "arrayiterator.constants.array-as-props"
> >> IDREF attribute linkend references an unknown ID
> > "arrayiterator.constants"
> >
> > Actually these elements do exist:
> > http://svn.php.net/viewvc/phpdoc/zh/trunk/reference/spl/
> arrayiterator.xml?re
> > vision=345577&view=markup line 87 - 108
> >
> > So I'm trying to build it to see if I can get any details, but everything
> > looks good.
> >
> >> configure.php: $Id: configure.php 344134 2018-01-31 12:33:50Z vrana $
> >> PHP version: 7.1.20
> >>
> >> Checking for source directory... /home/jhdxr/phpdoc/doc-zh/doc-base
> >> Checking for output filename...
> >> /home/jhdxr/phpdoc/doc-zh/doc-base/.manual.xml
> >> Checking whether to include CHM... no
> >> Checking for PHP executable... /usr/bin/php Checking for language to
> >> build... zh 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.9.1 Checking whether to
> >> enable detailed error reporting (may segfault)... yes Checking whether
> >> to optimize out the DTD (performance gain, but segfaults)... yes
> >> Generating /home/jhdxr/phpdoc/doc-zh/doc-base/manual.xml... done
> >> Generating /home/jhdxr/phpdoc/doc-zh/doc-base/install-unix.xml... done
> >> Generating /home/jhdxr/phpdoc/doc-zh/doc-base/install-win.xml... done
> >> Generating
> >> /home/jhdxr/phpdoc/doc-zh/doc-base/developer.template.xml... done
> >> Generating
> >> /home/jhdxr/phpdoc/doc-zh/doc-base/scripts/file-entities.php... done
> >> Iterating over extension specific version files... OK Saving it... OK
> >> Creating file
> >> /home/jhdxr/phpdoc/doc-zh/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.
> >>
> >
> > So, now I'm puzzled. Is there anything really wrong with the document
> > source? Or maybe we need to update the build environment?
>
> It seems to me that the document sources are fine (validation succeeds
> for me locally as well),
The translation appears to be fine in SVN (that's at least 3 of us able to
build it locally).
> but rather that there's something wrong on the
> docs server. It also doesn't update its own manuals anymore[1].
>
> Could anyone with access to this machine[2] please have a look?
>
It certainly looks like the box isn't quite right still. I don't have
access right now, but am in the process of trying to re-gain it. If that
happens, I'll have a poke around to see if we can resolve the zh build
issue and any other problems that have been ongoing.
>
> [1] <https://bugs.php.net/bug.php?id=76902>
> [2] <https://wiki.php.net/systems/euk2>
>
> --
> Christoph M. Becker
>