An attempt to emerge kmerlin using unstable packages results in the following compile failure: Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/kmerlin-1.3_beta2/work/kmerlin-1.3Beta2' Making all in doc make[2]: Entering directory `/var/tmp/portage/kmerlin-1.3_beta2/work/kmerlin-1.3Beta2/doc' Making all in . make[3]: Entering directory `/var/tmp/portage/kmerlin-1.3_beta2/work/kmerlin-1.3Beta2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/kmerlin-1.3_beta2/work/kmerlin-1.3Beta2/doc' Making all in en make[3]: Entering directory `/var/tmp/portage/kmerlin-1.3_beta2/work/kmerlin-1.3Beta2/doc/en' make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. /usr/kde/3.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook index.docbook:6: error: failed to load external entity "dtd/kdex.dtd" This is followed by lots of errors to do with the contents of index.docbook. I'm running KDE 3.1rc6
Reproduced. Needs fixing. BTW, in case it proves to be important later, what version of libxml2 do you have installed?
I've got libxml2 2.4.30 installed ATM. I can install other versions from portage to try and narrow the problem down if it helps.
This bug still exists in the ebuild that has just been unmasked in portage. Please, either fix the ebuild, or leave it masked; if you can't find the fault, I'm happy to do what I can to help you locate it.
Created attachment 8576 [details] An ebuild for KMerlin 1.3Beta4; this beta has not yet been completely released.
Hmm. This turned out to be a matter of dtd versioning. beta3 and earlier specifies "docbook xml v4.2-based variant v1.1" which only exists in newer kde cvs (?), not in 3.1, thus compiling fails with kde 3.1. beta4 specifies "v4.1-based variant v1.0" which works with 3.1, but not with kde cvs head. v4.1.2-based on the other hand works for both 3.1 and cvs head (kde 3.0.x isn't supported because kmerlin uses kpassivepopup; added a dep on 3.1 to the ebuild). I'm committing an ebuild for beta3 with the patch (please test) and sending a mail upstream.
It builds correctly. Thanks for your help :)
And Olaf Lueg, the kmerlin author, replied saying: ---- > I've changed the Gentoo kmerlin ebuild (for beta3) to patch the sources to > say v4.1.2. What do you think, is that the correct fix? Thats the correct way. I'm updating the cvs to this. ---- So this can be closed.