Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58888 - kdevelop emerge fails due too kdex.dtd issues
Summary: kdevelop emerge fails due too kdex.dtd issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-30 06:10 UTC by Chris Bruner
Modified: 2004-08-10 23:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bruner 2004-07-30 06:10:36 UTC
This has happened with every single upgrade to kdevelop. The emerge fails while building the docs, because it can't find kdex.dtd. 
It can be fixed by pausing the build and manually editing the index.docbook so that it points to the proper place (see http://forums.gentoo.org/viewtopic.php?t=21363&highlight=kdex+dtd )
But there has to be a better solution. 
I've noticed that the bug reports at the kdevelop site for this problem are rejected because it's a distro specific (Gentoo only) problem. 



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-07-30 13:08:37 UTC
I never had problems, have you tried looking at this page?
http://dev.gentoo.org/~satai/sgmlfix.html
Comment 2 Chris Bruner 2004-07-30 20:45:50 UTC
Well I tried to follow the instructions, but they don't all work.
The first one:
emerge unmerge `cat packnames.txt`

gives an error, (I don't really know what it was even trying to accomplish). 

But I did my best, and basically unmerged anything dealing with smgl, deleted the /etc/smgl directory and then re-emerged it all (I hope). I believe that is the gist of what he was suggesting.  But I still have the same problem. 

Is it possible that /etc/env.d has something missing?
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-07-31 06:02:08 UTC
no idea, maybe some dev can CC satai@g.o
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-08-02 10:03:55 UTC
Did you download the packnames.txt file from the website?

These are the package names to unmerge/re-merge:

app-text/docbook-dsssl-stylesheets
app-text/docbook-sgml
app-text/docbook-sgml-dtd
app-text/docbook-sgml-utils
app-text/docbook-xml-dtd
app-text/docbook-xml-simple-dtd
app-text/docbook-xsl-stylesheets
app-text/jadetex
app-text/openjade
app-text/sgml-common
app-text/sgmltools-lite
dev-libs/libxml
dev-libs/libxml2
app-text/html401
app-text/xhtml1
Comment 5 Chris Bruner 2004-08-02 22:55:11 UTC
Well thanks for that, It makes much more sense when you download the file. (I didn't even see it the first time!)...

Following the directions precluded me from using gtk-doc and gconf due to emerge conflicts, but that's ok, I don't use them often enough to worry about it.

But after all that, kdevelop still dies in the docbook type of area.


index.docbook:2262: parser error : Entity 'documentation.index' not defined
&documentation.index;
                     ^
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/doc/kdevelop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.1_beta2/work/kdevelop-3.0.92'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.1_beta2 failed.
!!! Function kde_src_compile, Line 130, Exitcode 2
!!! died running emake, kde_src_compile:make

Comment 6 Chris Bruner 2004-08-10 23:17:41 UTC
Something has changed. (Don't know what) It now compiles and installs. Of course now there are a bunch of errors, but I'll close this bug.