First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 11476
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Voicu Liviu <liviu.voicu@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 11476 depends on: Show dependency tree
Bug 11476 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-02 02:45 0000
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

------- Comment #1 From Hannes Mehnert (RETIRED) 2002-12-02 05:03:34 0000 -------
which libxml2 is installed? if libxml2-2.4.26, please upgrade to
libxml2-2.4.28. 

------- Comment #2 From Voicu Liviu 2002-12-02 05:43:08 0000 -------
>------ 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 

------- Comment #3 From Hannes Mehnert (RETIRED) 2002-12-02 06:10:24 0000 -------
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. 

------- Comment #4 From Voicu Liviu 2002-12-02 09:16:10 0000 -------
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]  

------- Comment #5 From Hannes Mehnert (RETIRED) 2002-12-02 15:37:42 0000 -------
did you re-emerge kdelibs? 
which version of libxslt do you have? 

------- Comment #6 From Voicu Liviu 2002-12-03 00:26:20 0000 -------
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 

------- Comment #7 From Matt Hart 2002-12-03 08:22:36 0000 -------
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

------- Comment #8 From Hannes Mehnert (RETIRED) 2002-12-03 08:48:03 0000 -------
which versions of app-text/docbook-sgml-dtd are installed? 

------- Comment #9 From Matt Hart 2002-12-03 16:10:31 0000 -------
3.0 3.1 4.0 4.1

------- Comment #10 From Hannes Mehnert (RETIRED) 2002-12-03 18:49:33 0000 -------
please post the full output of 'emerge -s docbook' 

------- Comment #11 From Matt Hart 2002-12-03 19:04:29 0000 -------
*  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

------- Comment #12 From Hannes Mehnert (RETIRED) 2002-12-03 19:26:15 0000 -------
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 
 

------- Comment #13 From Matt Hart 2002-12-03 20:18:29 0000 -------
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


------- Comment #14 From Hannes Mehnert (RETIRED) 2002-12-04 17:02:34 0000 -------
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 

------- Comment #15 From Matt Hart 2002-12-04 18:14:39 0000 -------
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

------- Comment #16 From Hannes Mehnert (RETIRED) 2002-12-05 18:37:27 0000 -------
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 

------- Comment #17 From Hannes Mehnert (RETIRED) 2002-12-11 16:05:21 0000 -------
anyone tried the solution i proposed in comment #16? 

------- Comment #18 From Lee J. Moore 2002-12-13 06:08:02 0000 -------
Shouldn't there be a `ebuild <package> compile` prior to the `ebuild <package>
qmerge`?

------- Comment #19 From Lee J. Moore 2002-12-13 09:24:02 0000 -------
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

------- Comment #20 From Matt Hart 2002-12-13 19:31:38 0000 -------
That worked... thanks Hannes and Lee
kdevelop 3 looks really cool so far

------- Comment #21 From Voicu Liviu 2002-12-15 06:08:15 0000 -------
>------- 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? 

------- Comment #22 From Hannes Mehnert (RETIRED) 2002-12-16 21:18:52 0000 -------
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/. 

------- Comment #23 From Voicu Liviu 2002-12-16 22:50:53 0000 -------
no, kdevelop_alpha has perl/php/and_more/ docs in the right "tree" but all is
missing... 

------- Comment #24 From Hannes Mehnert (RETIRED) 2003-01-09 01:11:06 0000 -------
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. 

------- Comment #25 From Hannes Mehnert (RETIRED) 2003-01-09 01:13:31 0000 -------
forgot to add others who committed comments here to Cc, so please all test if
this 
is still a bug in alpha3, thanks. 

------- Comment #26 From Yannick Koehler 2003-01-11 12:11:52 0000 -------
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. 

------- Comment #27 From Hannes Mehnert (RETIRED) 2003-02-02 17:54:25 0000 -------
i think this can be closed? any objections? 

------- Comment #28 From Hannes Mehnert (RETIRED) 2003-02-12 08:31:07 0000 -------
ok, no one has any objections, so i'll close. please reopen if you still have
problems 
(or post a new bug). 

First Last Prev Next    No search results available      Search page      Enter new bug