Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
index.docbook:1378: validity error: No declaration for element simplesect </simplesect> ^ index.docbook:1356: validity error: No declaration for element chapter </chapter> ^ index.docbook:17: validity error: No declaration for element book </book> ^ make[3]: *** [index.cache.bz2] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc/kdevelop' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0_alpha2 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make
which libxml2 is installed? if libxml2-2.4.26, please upgrade to libxml2-2.4.28.
>------ Additional Comment #1 From Hannes Mehnert 2002-12-02 05:03 ------- >which libxml2 is installed? if libxml2-2.4.26, please upgrade to >libxml2-2.4.28. voicu@starshooter voicu $ emerge -p libxml2 These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] dev-libs/libxml2-2.4.28
well, this is again such a libxslt/libxml2 issue where i don't know exactly what's wrong. i have libxml-2.4.28 & libxslt-1.0.22 and kdevelop works here. maybe your kdelibs was compiled with libxml2-2.4.26 present (don't know if this is a problem, it should not be)? possibly this is resolved by reemerging kdelibs. please try.
Ok, these are my settings: starshooter voicu # emerge -p libpng kdelibs libxml2 These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] media-libs/libpng-1.2.5 [ebuild R ] kde-base/kdelibs-3.0.4-r1 [ebuild R ] dev-libs/libxml2-2.4.28 and kdevelop_alfa failed again: [code] index.docbook:1369: validity error: No declaration for element simplesect </simplesect> ^ index.docbook:1378: validity error: No declaration for attribute id of element simplesect <simplesect id="licensing"> ^ index.docbook:1379: validity error: No declaration for element title <title>Licensing</title> ^ index.docbook:1381: validity error: No declaration for element para </para> ^ index.docbook:1384: error: Entity 'underFDL' not defined &underFDL; ^ index.docbook:1385: error: Entity 'underGPL' not defined &underGPL; ^ index.docbook:1378: validity error: No declaration for element simplesect </simplesect> ^ index.docbook:1356: validity error: No declaration for element chapter </chapter> ^ index.docbook:17: validity error: No declaration for element book </book> ^ make[3]: *** [index.cache.bz2] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc/kdevelop' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0_alpha2 failed. !!! Function kde_src_compile, Line 88, Exitcode 2 !!! died running emake, kde_src_compile:make [/code]
did you re-emerge kdelibs? which version of libxslt do you have?
Sure I reemerged kdelibs, even libpng,: # emerge -p libxslt These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] dev-libs/libxslt-1.0.22
My "emerge -e world" was interrupted with this error yesterday. Everything in ~x86 was rebuilt, including libxml-2.4.28 , libxslt-1.0.22 , and kdelibs-3.0.4-r1
which versions of app-text/docbook-sgml-dtd are installed?
3.0 3.1 4.0 4.1
please post the full output of 'emerge -s docbook'
* app-text/docbook-dsssl-stylesheets Latest version available: 1.77 Latest version installed: 1.77 Size of downloaded files: 385 kB Homepage: http://www.sourceforge.net/docbook/ Description: DSSSL Stylesheets for DocBook. * app-text/docbook-sgml Latest version available: 1.0 Latest version installed: [ Not Installed ] Size of downloaded files: 0 kB Homepage: Description: A helper package for sgml docbook * app-text/docbook-sgml-dtd Latest version available: 4.1 Latest version installed: 4.1 Size of downloaded files: 55 kB Homepage: http://www.oasis-open.org/docbook/sgml/4.1/index.html Description: Docbook SGML DTD 4.1 * app-text/docbook-sgml-utils Latest version available: 0.6.11-r2 Latest version installed: 0.6.11-r2 Size of downloaded files: 115 kB Homepage: http://sources.redhat.com/docbook-tools/ Description: Shell scripts to manage DocBook documents * app-text/docbook-xml-dtd Latest version available: 4.1.2-r3 Latest version installed: 4.1.2-r3 Size of downloaded files: 73 kB Homepage: http://www.oasis-open.org/docbook/ Description: Docbook DTD for XML * app-text/docbook-xml-simple-dtd Latest version available: 4.1.2.4 Latest version installed: 4.1.2.4 Size of downloaded files: 34 kB Homepage: http://www.oasis-open.org/docbook/ Description: Docbook DTD for XML * app-text/docbook-xsl-stylesheets Latest version available: 1.52.2 Latest version installed: 1.52.2 Size of downloaded files: 1,190 kB Homepage: http://www.oasis-open.org/docbook/ Description: XSL Stylesheets for Docbook * app-text/docbook2X Latest version available: 0.6.1 Latest version installed: [ Not Installed ] Size of downloaded files: 225 kB Homepage: http://docbook2x.sourceforge.net Description: Tolls to convert docbook to man and info
ok this is the same here, but i forgot that emerge -s only show the latest version. please also add ls /var/db/pkg/app-text/. mine is: a2ps-4.13b-r4 docbook-xsl-stylesheets-1.52.2 aspell-0.50.2 enscript-1.6.3-r1 dgs-0.5.10-r1 ghostscript-7.05.5 docbook-dsssl-stylesheets-1.77 ghostview-1.5 docbook-sgml-dtd-3.0 jadetex-3.12 docbook-sgml-dtd-3.1 openjade-1.3.1-r5 docbook-sgml-dtd-4.0 psutils-1.17 docbook-sgml-dtd-4.1 sgml-common-0.6.3-r2 docbook-sgml-utils-0.6.11-r2 sgmltools-lite-3.0.3-r5 docbook-xml-dtd-4.1.2-r3 tetex-1.0.7-r11 docbook-xml-simple-dtd-4.1.2.4
root@localhost app-text # ls a2ps-4.13b-r4 freefonts-0.10-r1 aspell-0.50.2 ghostscript-7.05.5 dgs-0.5.10-r1 ghostview-1.5-r1 docbook-dsssl-stylesheets-1.77 jadetex-3.12 docbook-sgml-dtd-3.0 openjade-1.3.1-r5 docbook-sgml-dtd-3.1 psutils-1.17 docbook-sgml-dtd-4.0 scrollkeeper-0.3.11-r1 docbook-sgml-dtd-4.1 sgml-common-0.6.3-r2 docbook-sgml-utils-0.6.11-r2 sgmltools-lite-3.0.3-r5 docbook-xml-dtd-4.1.2-r3 sharefonts-0.10-r1 docbook-xml-simple-dtd-4.1.2.4 tetex-1.0.7-r11 docbook-xsl-stylesheets-1.52.2 xpdf-1.01-r1 enscript-1.6.3-r1 By the way this the beginning of the error messages: Making all in kdevelop make[3]: Entering directory `/var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc/kdevelop' make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. /usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook index.docbook:15: error: failed to load external entity "dtd/kdex.dtd" ]> ^ index.docbook:17: error: Entity 'language' not defined <book lang="&language;"> ^ index.docbook:17: validity error: No declaration for attribute lang of element book
just found this: http://barney.cs.uni-potsdam.de/pipermail/kdevelop-devel/2002-July/008740.html well, i don't think copying of any files is needed. what does 'env | grep KDE' return? i have KDEDIR=/usr/kde/3.1 and KDEDIRS=/usr/kde/3.1:/usr
root@localhost etc # env | grep KDE KDEDIR=/usr/kde/3 KDEDIRS=/usr:/usr/kde/3 root@localhost etc # find / -name kdex.dtd /usr/kde/3/share/apps/ksgmltools2/customization/dtd/kdex.dtd
ok, a solution should be: ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild unpack cd /var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc/ cp -R /usr/kde/3/share/apps/ksgmltools2/customization/dtd kde2book/ cp -R /usr/kde/3/share/apps/ksgmltools2/customization/dtd kdearch/ ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild qmerge
anyone tried the solution i proposed in comment #16?
Shouldn't there be a `ebuild <package> compile` prior to the `ebuild <package> qmerge`?
Hannes solution helped me somewhat although it required more to get it successfully merged. Here are the steps it took to get it to merge from scratch (I've been trying for three days so this was a big deal for me ;-)): ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild unpack cd /var/tmp/portage/kdevelop-3.0_alpha2/work/kdevelop-3.0a2/doc/ cp -R /usr/kde/3/share/apps/ksgmltools2/customization/dtd kde2book/ cp -R /usr/kde/3/share/apps/ksgmltools2/customization/dtd kdearch/ cp -R /usr/kde/3/share/apps/ksgmltools2/customization/dtd kdevelop/ ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild compile ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild install ebuild /usr/portage/dev-util/kdevelop/kdevelop-3.0_alpha2.ebuild qmerge
That worked... thanks Hannes and Lee kdevelop 3 looks really cool so far
>------- Additional Comment #20 From Matt Hart 2002-12-13 19:31 ------- > >That worked... thanks Hannes and Lee >kdevelop 3 looks really cool so far Yeah but the documents aren't installed :-( Any clue?
which documents aren't installed? kde documentation missing? if so, what is in settings->configure gideon->documentation tree->location of kdelibs documentation generated by doxygen? it should point to /usr/kde/3.1/share/doc/HTML/en/kdelibs-apidocs/.
no, kdevelop_alpha has perl/php/and_more/ docs in the right "tree" but all is missing...
ok, back again. i could reproduce this bug, but don't get it any longer with kdevelop-3.0_alpha3, so please try that. this perl/php/and_more not showing in documentation tree is probably also fixed in alpha3.
forgot to add others who committed comments here to Cc, so please all test if this is still a bug in alpha3, thanks.
When you report issue with missing kdex.dtd what we need is the following: The DOCTYPE statement of the corresponding index.docbook failing. The content of the /usr/kde/<version>/share/apps/ksgmltools2/customization/catalog What's happening is that kdevelop alpha was writting with more recent stuff than kde 3.0/3.1 and therefore its documentation is using a DTD document more recent that what those verison of KDE install. The catalog file indicate what version is installed on your system and the DOCTYPE of the index.docbook specify which version that docbook require in order to compile. The solution for the kdevelop 3.0 alpha is to also install the newest kdex.dtd or have a dependency on a kdelibs which include the proper kdex.dtd version.
i think this can be closed? any objections?
ok, no one has any objections, so i'll close. please reopen if you still have problems (or post a new bug).