Bug 272205 - A presumed bug in KDELIBS (latest-stable)
Summary: A presumed bug in KDELIBS (latest-stable)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: docs.kde.org
Classification: Websites
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 05:04 UTC by Martín Cigorraga
Modified: 2011-06-12 09:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
build failure in english as requested (33.18 KB, text/plain)
2011-05-22 20:42 UTC, SteveK
Details
output of locate docbook (100.67 KB, application/octet-stream)
2011-05-23 10:50 UTC, SteveK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martín Cigorraga 2011-05-02 05:04:41 UTC
Version:           4.6 (using KDE 4.6.2) 
OS:                Linux

This bugs first shows up three days ago when trying to compile kcm-ufw (a KDE4 ufw front-end), I only could succefully compile the program after reinstalling the library as instructed by a fellow archer; a quick search by him shows up that a Slackware user had the same problem and fixed it by reinstalling KDELIBS too.

This is my error log (just in case it can be useful): http://pastebin.com/DATVnBPY
and this is the link to LinuxQuestions.org regarding Slackware's issue: http://www.linuxquestions.org/questions/slackware-14/slackware-13-1-installing-kmymoney-from-sb-868229/

Please take a look at this issue if you have any time, thanks!

Reproducible: Always

Steps to Reproduce:
1. Try to compile the desired application (it will not)
2. Reinstall KDELIBS package
3. Now compilation should go smooth

Actual Results:  
Point 1: compilation will fail
Point 2 and 3: compilation will be ok now

Expected Results:  
Compile as usual.
Comment 1 Christoph Feck 2011-05-02 12:27:36 UTC
1. Please attach the errors instead of using pastebin sites

2. Please use "LANG=C make" instead of "make" for the compilation process, so that error messages appear in plain english.

I am reassigning to the documentation team, as the errors appears to be caused by the documentation generators.
Comment 2 Albert Astals Cid 2011-05-03 19:51:22 UTC
I don't see why you think this is a kdelibs bugs since since you say reinstalling it fixes the problem. It would seem to me it is a packaging problem or that you were trying to use a too old kdelibs.
Comment 3 Yuri Chornoivan 2011-05-03 21:45:56 UTC
The documentation is correct regarding to docbook syntax (the only problem is the typo in "Adress", but it cannot break the compilation).

Compilation is smooth on my Mandriva 2010.2 (KDE 4.4.5), thus it rather new, not old kdelibs, that trigger the problem.

I cannot see what documentation team can do to fix this.
Comment 4 Martín Cigorraga 2011-05-13 17:14:27 UTC
Hi guys, thank you for replying and please excuse the delay to answer back but I'm really short of time these days...

@Christoph
1. ok.
2. ok.

@Albert
Actually reinstalling doesn't fix the problem in my case , I will do some research may be tomorroy Saturday compiling KDELIBS by my own and see what happens.

@Yuri
Great feedback, thanks.

Once again, thanks for your time guys, I will post any news when I got them either to complete the bug report or to close it.
Comment 5 SteveK 2011-05-22 20:42:23 UTC
Created attachment 60222 [details]
build failure in english as requested
Comment 6 SteveK 2011-05-22 20:42:44 UTC
I'm having the same problem in Arch Linux and I'm attaching the build failure in English.  Also just to confirm that reinstalling the SAME version of kdelibs, in this case 4.6.3 allows the build to complete successfully.  It seems that something is changing kdelibs from it's freshly installed state, unfortunately I'm clueless as to what that something may be
Comment 7 Burkhard Lück 2011-05-23 08:16:06 UTC
I have downloaded kcm_ufw-0.2.1 and can build in branch 4.6.3 compiled from sources and generate the documentation in kubuntu 10.10 with kde 4.6.2.
As it works for me with two different kdelibs maybe you miss some docbook stuff.
Do you have libxslt.so, libxml2.so, docbook/schema/dtd/4.2, docbook/stylesheet/docbook-xsl in your path?
Comment 8 SteveK 2011-05-23 10:49:59 UTC
Hello Burkhard,
The shared objects are there and dtd/4.2 is located at /usr/share/xml/docbook/xml-dtd-4.2.

docbook-xsl appears to be a package, not a file on my system.  I'll attach the output of "locate docbook" to clarify.
Comment 9 SteveK 2011-05-23 10:50:56 UTC
Created attachment 60237 [details]
output of locate docbook
Comment 10 Albert Astals Cid 2011-05-23 20:49:43 UTC
Arch packagers are ****** and refuse to do things correctly and make the kdelibs package specify all of its real dependencies. Install the docbook-xml and docbook-xsl packages and then go to their bugzilla and open a bug telling how much time you lost because of their fault.
Comment 11 SteveK 2011-05-23 22:01:43 UTC
I don't get it.  Both docbook-xml and docbook-xsl packages are already installed.  Do you mean that you suspect a packaging error in these packages or a problem with Arch's kdelibs packaging.  Please advise so that I can make the appropriate bug report downstream.
Comment 12 Albert Astals Cid 2011-05-23 23:05:40 UTC
index.docbook:7: warning: failed to load external entity "dtd/kdex.dtd"

That means that something is wrong with your installtion or the way you compile stuff since 

$ pacman -Ql kdelibs | grep kdex
kdelibs /usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd

the file is provided by kdelibs in arch. I don't see how this is a kdelibs bug, if you don't have that file, your system is broken, if you have it then it would seem to me kcm_ufw is doing something wrong.
Comment 13 SteveK 2011-05-23 23:39:10 UTC
Thanks for the explanation Albert.  All I can say is that somehow kdex.dtd is being removed from our systems and that reinstalling kdelibs replaces it until it mysteriously disappears again.  I just checked another box and no sign of kdex.dtd - wierd.  I'll try and keep track of anything that may cause it's disappearance in regard to updates etc.
Comment 14 SteveK 2011-06-08 02:16:52 UTC
Well, it turns out that Bleachbit was responsible for this in the end.  Whitelisting /usr/share/apps/ksgmltools2/ folder avoids any problems.

Cheers!
Comment 15 Martín Cigorraga 2011-06-12 09:25:48 UTC
Good work, thanks!