Hi all,
during the last build filelight on Debian 8 (Jessie), I came across a serious problem with Docbook - catalogs in SGML format is no longer supported. So I prepared a XML version of catalogs. Please, before I'll push the patch, test it on other distributions.
See bug 2077: http://bugs.trinitydesktop.org/show_bug.cgi?id=2077
Thanks,
during the last build filelight on Debian 8 (Jessie), I came across a serious problem with Docbook - catalogs in SGML format is no longer supported. So I prepared a XML version of catalogs. Please, before I'll push the patch, test it on other distributions.
See bug 2077: http://bugs.trinitydesktop.org/show_bug.cgi?id=2077
Do you mean the docbook tool chain no longer supports sgml?
Darrell
On Sunday 20 of July 2014 21:45:43 Darrell wrote:
during the last build filelight on Debian 8 (Jessie), I came across a serious problem with Docbook - catalogs in SGML format is no longer supported. So I prepared a XML version of catalogs. Please, before I'll push the patch, test it on other distributions.
See bug 2077: http://bugs.trinitydesktop.org/show_bug.cgi?id=2077
Do you mean the docbook tool chain no longer supports sgml?
Darrell
Build docbook on Debian 8 (Jessie) ends with the following error:
/opt/trinity/bin/meinproc --check --cache index.cache.bz2 /tmp/buildd/filelight-trinity-14.0.0-s~133/./doc/sv/index.docbook /opt/trinity/share/apps/ksgmltools2/customization/catalog:1: parser error : Start tag expected, '<' not found -- ^ /opt/trinity/share/apps/ksgmltools2/docbook/xml-dtd-4.1.2/docbook.cat:1: parser error : Start tag expected, '<' not found -- ...................................................................... -- ^ index.docbook:11: warning: failed to load external entity "dtd/kdex.dtd" ]> ^ index.docbook:42: parser error : Entity 'language' not defined <book lang="&language;"> ^ index.docbook:42: element book: validity error : No declaration for attribute lang of element book <book lang="&language;"> ^ index.docbook:49: element application: validity error : No declaration for element application
Handbok &filelight;</title>
^
So far I did not inquire about the details of what is happening in docbook tool chain, but I have prepared catalogs in XML format.
So far I did not inquire about the details of what is happening in docbook tool chain, but I have prepared catalogs in XML format.
Hi Slavek, I will try to take a look at this problem as well, but will probably be over the weekend. It seems strange they decided to drop SGML. Are you experiencing the problem only in filelight?
Cheers Michele
On Monday 21 of July 2014 03:35:15 Michele Calgaro wrote:
So far I did not inquire about the details of what is happening in docbook tool chain, but I have prepared catalogs in XML format.
Hi Slavek, I will try to take a look at this problem as well, but will probably be over the weekend. It seems strange they decided to drop SGML. Are you experiencing the problem only in filelight?
Cheers Michele
It certainly is not a problem specific to Filelight. I tried to rebuild tdelibs without proposed patch:
[ 64%] Generating index.cache.bz2 cd "/tmp/buildd/tdelibs-trinity-14.0.0-s~811/obj-x86_64-linux-gnu/doc/tdespell" && ../../kdoctools/meinproc --srcdir=/tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools --check --cache index.cache.bz2 /tmp/buildd/tdelibs-trinity-14.0.0-s~811/doc/tdespell/index.docbook /tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools/customization/catalog:1: parser error : Start tag expected, '<' not found -- ^ /tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools/docbook/xml-dtd-4.1.2/docbook.cat:1: parser error : Start tag expected, '<' not found -- ...................................................................... -- ^ index.docbook:6: warning: failed to load external entity "dtd/kdex.dtd" ]> ^ index.docbook:8: parser error : Entity 'language' not defined <book lang="&language;"> ^ index.docbook:8: element book: validity error : No declaration for attribute lang of element book <book lang="&language;"> ^
Dne po 21. července 2014 Slávek Banko napsal(a):
On Monday 21 of July 2014 03:35:15 Michele Calgaro wrote:
So far I did not inquire about the details of what is happening in docbook tool chain, but I have prepared catalogs in XML format.
Hi Slavek, I will try to take a look at this problem as well, but will probably be over the weekend. It seems strange they decided to drop SGML. Are you experiencing the problem only in filelight?
Cheers Michele
It certainly is not a problem specific to Filelight. I tried to rebuild tdelibs without proposed patch:
[ 64%] Generating index.cache.bz2 cd "/tmp/buildd/tdelibs-trinity-14.0.0-s~811/obj-x86_64-linux-gnu/doc/tdespell " && ../../kdoctools/meinproc --srcdir=/tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools --check --cache index.cache.bz2 /tmp/buildd/tdelibs-trinity-14.0.0-s~811/doc/tdespell/index.docbook /tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools/customization/catalog:1: parser error : Start tag expected, '<' not found -- ^ /tmp/buildd/tdelibs-trinity-14.0.0-s~811/kdoctools/docbook/xml-dtd-4.1.2/do cbook.cat:1: parser error : Start tag expected, '<' not found -- ...................................................................... -- ^ index.docbook:6: warning: failed to load external entity "dtd/kdex.dtd" ]> ^ index.docbook:8: parser error : Entity 'language' not defined
<book lang="&language;"> ^ index.docbook:8: element book: validity error : No declaration for attribute lang of element book <book lang="&language;"> ^
As I have now traced, the change is probably associated with updating libxml2 to 2.9.1+dfsg1-4:
https://packages.qa.debian.org/libx/libxml2.html
As I have now traced, the change is probably associated with updating libxml2 to 2.9.1+dfsg1-4: https://packages.qa.debian.org/libx/libxml2.html
Well done Slavek. Yesterday I run a new build and I can confirm the problem on Jessie. Tonight I will try out your patch as well and report back. Anyhow before we push to git, I think we should try to find out what caused the problem. Maybe with a few adjustment somewhere, we will not need to convert all docbooks. I am a little short of time before the weekend, as already said :(
Cheers Michele
On Mon July 21 2014 7:58:58 pm Michele Calgaro wrote:
As I have now traced, the change is probably associated with updating libxml2 to 2.9.1+dfsg1-4: https://packages.qa.debian.org/libx/libxml2.html
Well done Slavek. Yesterday I run a new build and I can confirm the problem on Jessie. Tonight I will try out your patch as well and report back. Anyhow before we push to git, I think we should try to find out what caused the problem. Maybe with a few adjustment somewhere, we will not need to convert all docbooks. I am a little short of time before the weekend, as already said :(
I am using Slackware 14.1, which comes with libxml2 2.9.1. As of July 12-14, no build issues here with Trinity docbook help files. The Slackware libxml2 build script configuration is generic --- so nothing to note there. I wonder the difference.
Darrell
On Tuesday 22 of July 2014 03:18:03 Darrell wrote:
On Mon July 21 2014 7:58:58 pm Michele Calgaro wrote:
As I have now traced, the change is probably associated with updating libxml2 to 2.9.1+dfsg1-4: https://packages.qa.debian.org/libx/libxml2.html
Well done Slavek. Yesterday I run a new build and I can confirm the problem on Jessie. Tonight I will try out your patch as well and report back. Anyhow before we push to git, I think we should try to find out what caused the problem. Maybe with a few adjustment somewhere, we will not need to convert all docbooks. I am a little short of time before the weekend, as already said :(
I am using Slackware 14.1, which comes with libxml2 2.9.1. As of July 12-14, no build issues here with Trinity docbook help files. The Slackware libxml2 build script configuration is generic --- so nothing to note there. I wonder the difference.
Darrell
Note: Identified commit into libxml2, which leads to that problem - see comment in bug 2077:
http://bugs.trinitydesktop.org/show_bug.cgi?id=2077#c4
Slavek, all, see comments in http://bugs.trinitydesktop.org/show_bug.cgi?id=2077#c6 Please go ahead and push. Good job! Cheers Michele