Re: This PHP Manual build is broken
Christopher Jones <[email protected]>
| Newsgroups | gmane.comp.php.documentation.general |
|---|---|
| Message-ID | <[email protected]> |
On 25/11/20 9:34 pm, Christoph M. Becker wrote: > On 25.11.2020 at 03:36, Christopher Jones wrote: > >> On 24/11/20 11:31 pm, Christopher Jones wrote: >>> On 24/11/20 8:43 pm, Yoshinari Takaoka wrote: >>>> On Tue, 24 Nov 2020 09:46:41 +0100 >>>> Andreas Heigl <[email protected]> wrote: >>>> >>>>> Hey List! >>>>> >>>>> That was not me! ;-) >>>>> >>>>> That is a "real" issue! >>>> Yes, real issue! I fixed it, maybe. >>>> >>>> https://urldefense.com/v3/__http://svn.php.net/viewvc?view=revision&revision=351568__;!!GqivPVa7Brio!Pq23PmhyfEGxO5XySTB1Xf31nRhcvyx_s-WuDFYf80T3ubKxh6aEVLpcLXwFq3htVbW-DA$ >>>> >>>> >>>> ---- >>>> >>>> It seems that this issue was caused by oci8 related id change. >>>> >>>> https://urldefense.com/v3/__https://github.com/php/doc-en/commit/0e0c883110b62cc4e5805696a56ff717f7088bfa__;!!GqivPVa7Brio!Pq23PmhyfEGxO5XySTB1Xf31nRhcvyx_s-WuDFYf80T3ubKxh6aEVLpcLXwFq3jvLNfu5w$ >>>> >>>> >>>> Best Regards. >>>> >>> Yes it was me; thought it was due to a timing / commit change. My >>> local builds all went fine. >>> >>> I'll check the above commit in my morning tomorrow. >>> >>> CHris >>> >> That patch broke the OCI8 class names so I need to revert it. I >> reverted locally and still didn't see any build breakage. Do you know >> exactly what caused the build system to fail? >> >> The OCI-Lob and OCI-Collection classes necessarily got renamed >> <https://urldefense.com/v3/__https://github.com/php/php-src/blob/PHP-8.0/UPGRADING*L401-L403__;Iw!!GqivPVa7Brio!K5P8CEKs_55AtErrrWyvy3nSxNmK5b50PeAiZs_CrbKfp6QjVHKUzSR_nDCDcOgGazUeSw$ > to >> OCILob and OCICollection in PHP 8. My intent is just to document the >> latter names, and have notes that older PHP releases used the old >> names. E.g like this doc >> <https://urldefense.com/v3/__https://github.com/php/doc-en/commit/0e0c883110b62cc4e5805696a56ff717f7088bfa*diff-721eda1c783c04504a8bad4c13858ec911056cc8bd6d26e10eb7ceb81b516470R66-R74__;Iw!!GqivPVa7Brio!K5P8CEKs_55AtErrrWyvy3nSxNmK5b50PeAiZs_CrbKfp6QjVHKUzSR_nDCDcOgEj5Ij_g$ >. > From a quick look, the actual problem seems to be the renaming of > > &reference.oci8.OCI-Collection; > &reference.oci8.OCI-Lob; > > to > > &reference.oci8.OCICollection; > &reference.oci8.OCILob; > > The new names do not match the directory names, and as such the > directories would need to be renamed as well. Ah, yes, I missed pushing the renamed dirs. But since I had them locally, that's why doc was building fine for me. > However, renaming files and xml:ids likely causes translation builds to > fail, and it may not be necessary at all. Instead all occurrences of > "OCI-Lob" and "OCI-Collection" in the DocBook XML files need to be > replaced; except where the renaming is mentioned Point taken about translations; but it will be nice to move forward. > (and that should better > be put in a changelog entry instead of a note). That niceness will have to be done after the build is sorted. > It might be best to have a PR (<https://urldefense.com/v3/__https://github.com/php/doc-en/pulls__;!!GqivPVa7Brio!K5P8CEKs_55AtErrrWyvy3nSxNmK5b50PeAiZs_CrbKfp6QjVHKUzSR_nDCDcOgaMoOVcw$ >) > which is automatically build (albeit very slowly due to Travis' policy > change), and can be reviewed. > > Christoph I've created PR https://github.com/php/doc-en/pull/237 This has the id & files renames, which is what I currently have building on my dev box. For various reasons I wasn't able to build doc from this clone, so I'm crossing my fingers. If the build fails, I can spend more time on this. Chris -- https://twitter.com/ghrd