From kde-doc-english Mon Jun 15 06:20:13 2020 From: Burkhard =?ISO-8859-1?Q?L=FCck?= Date: Mon, 15 Jun 2020 06:20:13 +0000 To: kde-doc-english Subject: Re: Problem Building KMyMoney 5.1.0: translation problem? Message-Id: <2583013.B2N1Ytl5l2 () tuxedo> X-MARC-Message: https://marc.info/?l=kde-doc-english&m=159220214332039 Am Montag, 15. Juni 2020, 01:06:36 CEST schrieb Albert Astals Cid: > El dilluns, 15 de juny de 2020, a les 0:56:39 CEST, Jack va escriure: > > On 6/14/20 6:49 PM, Albert Astals Cid wrote: > > > El dilluns, 15 de juny de 2020, a les 0:22:50 CEST, Jack va escriure: > > >> KMyMoney just released version 5.1.0, and we received a build failure > > >> report on the mailing list. My comments/questions are at the bottom. > > >>=20 > > >> -------- Forwarded Message -------- > > >> With today's release of 5.1.0, decided to upgrade from a home compli= ed > > >> 5.0.8 > > >>=20 > > >> The source link used is: > > >>=20 > > >> https://download.kde.org/stable/kmymoney/5.1.0/src/ > > >> I'm running Kubuntu 18.04 (a.k.a Ubuntu 18.04) > > >>=20 > > >> Downloaded the released tar.xz file and extracted. Created a > > >> sub-directory of build and ran the following command from that > > >> directory > > >>=20 > > >> cmake .. -DCMAKE_INSTALL_PREFIX=3D/usr > > >>=20 > > >> And got the output text: > > >>=20 > > >> https://pastebin.com/raw/eszNxkDs > > >> When trying to run make I get: > > >>=20 > > >> Scanning dependencies of target po-uk-docs-kmymoney-kmymoney-1 > > >> [ 0%] Generating po/uk/docs/kmymoney/kmymoney.1 > > >> Note: Writing kmymoney.1 > > >> [ 0%] Built target po-uk-docs-kmymoney-kmymoney-1 > > >> Scanning dependencies of target po-it-docs-kmymoney-kmymoney-1 > > >> [ 0%] Generating po/it/docs/kmymoney/kmymoney.1 > > >> Note: Writing kmymoney.1 > > >> [ 0%] Built target po-it-docs-kmymoney-kmymoney-1 > > >> Scanning dependencies of target po-ca-docs-kmymoney-index-cache-bz2 > > >> [ 0%] Generating po/ca/docs/kmymoney/index.cache.bz2 > > >> details-formats.docbook:105: parser error : Entity 'ASCII' not defin= ed > > >>=20 > > >> >armadura &ASCII; > >> > > > >> ^ > > >>=20 > > >> details-formats.docbook:174: parser error : chunk is not well balanc= ed > > >>=20 > > >> ^ > > >> index.docbook:368: parser error : Failure to process entity > > >> details-formats > > >> &details-formats; > > >>=20 > > >> ^ > > >>=20 > > >> index.docbook:368: parser error : Entity 'details-formats' not defin= ed > > >> &details-formats; > > >>=20 > > >> ^ > > >>=20 > > >> kf5.kdoctools: Error: `xmllint --noout` outputted text > > >> CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/build.make:90: > > >> recipe > > >> for target 'po/ca/docs/kmymoney/index.cache.bz2' failed > > >> make[2]: *** [po/ca/docs/kmymoney/index.cache.bz2] Error 1 > > >> CMakeFiles/Makefile2:173: recipe for target > > >> 'CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/all' failed > > >> make[1]: *** [CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/all] > > >> Error 2 > > >> Makefile:140: recipe for target 'all' failed > > >> make: *** [all] Error 2 > > >>=20 > > >> -------------------- > > >>=20 > > >> The pastebin cmake output shows he is missing some dependency > > >> libraries, > > >> but I see nothing there that should affect the docbook errors. > > >>=20 > > >> His locale is en_US.UTF-8, and he is not trying to build for any oth= er > > >> locale. There is no entity ASCII anywhere in any of the original > > >> docbook files. The word "ASCII" appears once within the text in > > >> details-formats.docbook. > > >>=20 > > >> I got no errors when I previously ran checkXML5 on index.docbook, but > > >> now I get: > > >>=20 > > >> Note: namesp. add : added namespace before processing T= he > > >> KMyMoney Handbook > > >> Attributed 6226 IDs for element, cleaned up 0 > > >>=20 > > >> Have I missed something in the docbook files, or is it possible there > > >> is > > >> something wrong somewhere in the translation process? I'm not home > > >> now, > > >> and for irrelevant reasons, cannot actually try the build on my lapt= op. > > >> (cmake is failing due to missing some files that should be present, = and > > >> I have not debugged yet.) I will try compiling when I'm home in some > > >> days, but hopefully can figure this out before then. > > >=20 > > > The ASCII entity was added to kdoctools in 5.50, Ubuntu 18.04 only sh= ips > > > 5.44 so it won't work. > > >=20 > > > He can just delete the po folder before running cmake if he's not > > > interested in any of the translations > > >=20 > > > Cheers, > > >=20 > > > Albert > >=20 > > Hi Albert, > >=20 > > Thanks, but there is no use of the ascii entity in the docbooks. >=20 > Yes there is >=20 > $ wcgrep ASCII > ./kmymoney-5.1.0/po/ca/docs/kmymoney/details-formats.docbook:105:>armadura > &ASCII; > Is it > > that it is used in the po files, just to translate the word, even though > > the entity is not used in the original? Should I be using the entity in > > the original? >=20 > Not really a documentation writer myself. >=20 > Burkhard is the one that added the entity, maybe he can give you a qualif= ied > opinion :) >=20 I added it to general.entities in kdoctools for later use, i. e for all=20 docbooks depending on kdoctools > 5.50, but this is not true for kmymony =20 5.1.0 =2D-=20 Burkhard L=FCck