Re: svn commit: r51260 - in head: en_US.ISO8859-1/htdocs/doc share/pgpkeys

Glen Barber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
On Tue, Dec 12, 2017 at 01:17:11PM +0100, Wolfram Schneider wrote:
> On 6 December 2017 at 19:50, Glen Barber <[email protected]> wrote:
> > Author: gjb
> > Date: Wed Dec  6 18:50:32 2017
> > New Revision: 51260
> > URL: https://svnweb.freebsd.org/changeset/doc/51260
> >
> > Log:
> >   Fix generating pgpkeyring.txt when it does not exist, which seems
> >   to have been broken following r51076 or r51077.
> 
> What do you mean with 'Fix generating pgpkeyring.txt when it does not exist'?
> 
> The file pgpkeyring.txt will be created while building the English
> docs for the web site:
> 
> $ make -C en_US.ISO8859-1/htdocs all
> 
> and then you will have the file
> doc/share/pgpkeys/pgpkeyring.txt
> 
> Your commit breaks `make -j' (parallel build)
> 
> $ make -j32 p-all
> 
> ===> articles/bsdl-gpl (all)
> keyring.xml:16385: parser error : CData section not finished
> 
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> mQINBFJCuag
> --- all_subdir_books/handbook ---
> ===> books/handbook (all)
> --- all_subdir_articles/contributing ---
> ===> articles/contributing (all)
> 1Ss13Y8Vf5UxzEvY8O8c4lT4XOVQLuDEZn7nUcmMBr+b0haGwTW1lrQv1DvPEo0
>                                                             ^
> 
> keyring.xml:16385: parser error : Premature end of data in tag
> programlisting line 16087
> 1Ss13Y8Vf5UxzEvY8O8c4lT4XOVQLuDEZn7nUcmMBr+b0haGwTW1lrQv1DvPEo0
>                                                                ^
> 
> keyring.xml:16385: parser error : Premature end of data in tag keyring line 2
> 1Ss13Y8Vf5UxzEvY8O8c4lT4XOVQLuDEZn7nUcmMBr+b0haGwTW1lrQv1DvPEo0
>                                                                ^
> 
> unable to parse keyring.xml
> *** [pgpkeyring] Error code 6
> 
> make[2]: stopped in /tmp/doc-build.PU3aNQj/doc/share/pgpkeys
> A failure has been detected in another branch of the parallel make
> 

Prior to this change pgpkeyring.txt was never created, and as such
failed to install.  I checked the timestamp of the file on the build
machine in the cluster, and confirmed it was not being generated there
as well, eliminating a local issue.

install -C  -o gjb -g gjb -m 444 imagelib/callouts/21.png  /home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1/books/porters-handbook/imagelib/callouts
/home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1/books/porters-handbook/handbook.html -> /home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1/books/porters-handbook/index.html
/home/gjb/public_html/FreeBSD/data/doc/faq -> /home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1/books/faq
/home/gjb/public_html/FreeBSD/data/doc/handbook -> /home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1/books/handbook
/home/gjb/public_html/FreeBSD/data/doc/en -> /home/gjb/public_html/FreeBSD/data/doc/en_US.ISO8859-1
cp -f /freebsd/doctemp/share/pgpkeys/pgpkeyring.txt /home/gjb/public_html/FreeBSD/data/doc/pgpkeyring.txt
cp: /freebsd/doctemp/share/pgpkeys/pgpkeyring.txt: No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /freebsd/doctemp/en_US.ISO8859-1/htdocs/doc
*** Error code 1

I have an idea on how to resolve the parallel build issue you reported.
It will take some time to verify the behavior is correct.

Glen
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlov5WUACgkQAxRYpUeP
4pOYSQ/9GlRNgmv2kMWO8RzJ/hVfLvGYjYcQCpKDr4kFy3nFDR4ZU4Fw2Zi2I1FZ
AWQuXHh41kXc4H5HJeZPWZnnN1PZRR50IhVY/uXceW4dzHeAACfQDVFPxBuTocDq
xPPCIcPjQHNJQrBC1RMKnUdzdGMxknYNBxdvSSNY2B4Pk39fvzOp5VjboMFJSgSI
WqebnTS+9dLr0WLORjn0nIqdDwd3PPe1MdI00BhPuqnq0zbVwlSkRCtbDJMOUHpa
+ixSCHRgyCGSLzY1yRwh5yG6HYabQt7BOseqomD4PvAQSsZzXbDvIvPTd6s90wMs
AEtagkFlUkVVFCAPL+i1v+yVCB4VpP6SbXsNpx1F9iEiTt6LI+b05RqMvGM5B3Y8
ctlKwq/Q7VxTXUEEA1sS8awrrb4S0kEXJWx3EKTEXDNav6Zl3TqEONuF4yG28M45
wfxic7dDkM9iChAjKsqRYmZWmqkSg3OApaYGJRz84TcxVjKKuNBjTvoPYcpEi7Sq
1pQjM7YCVmzfPdzxL/4Rva1jdvHhR9Wxuyx/5Z0PMjnLnIVyy6yc3nXrtoai55fb
RSNlI8IHsuyUrn/9RfX5sAt8WSJFfj7mQkV+Vlcd2TKtS1QKWYryHC8O/bo0UP5R
MwGKEIai97qtqE1rnPUdNuVAgs48phqZHvAk5tfqdJtthyLEfxY=
=MdqM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.