Bug 20957

Summary: kdenetwork-2.0-4.src.rpm does not build
Product: [Retired] Red Hat Raw Hide Reporter: ted
Component: kdenetworkAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-16 15:32:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ted 2000-11-16 15:32:21 UTC
Hi!

I am trying to build kdenetwork on my RH62 box. I picked up the .src.rpm on
the KDE (easy-linux) FTP server provided by RedHat. I have installed,
kdoc-2.0-5.src.rpm under the form of kdoc-2.0-5.noarch.rpm that I build by
myself. It seems to compile properly but at the end I get the following
message 

Processing files: kdenetwork-2.0-4
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
Provides: ksirc.so libkcm_ktalkd.so
Requires: kdesupport ksirc.so ld-linux.so.2 libc.so.6 libDCOP.so.1
libdl.so.2 libGL.so.1 libGLU.so.1 libICE.so.6 libjpeg.so.62 libkab.so.3
libkdecore.so.3 libkdesu.so.1 libkdeui.so.3 libkfile.so.3 libkhtml.so.3
libkio.so.3 libkjava.so.1 libkparts.so.1 libkspell.so.3 libkssl.so.2
libksycoca.so.3 libmimelib.so.1 libmng.so.0 libm.so.6 libpng.so.2
libpthread.so.0 libqt.so.2 libSM.so.6 libstdc++-libc6.1-1.so.2 libutil.so.1
libX11.so.6 libXext.so.6 libXi.so.6 libXmu.so.6 libXt.so.6 libz.so.1
/usr/bin/perl libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
Processing files: kdenetwork-ppp-2.0-4
File not found: /var/tmp/kdenetwork-buildroot/usr/doc/HTML/en/kppp
Requires: usermode

and the i386.rpm are not produced.

Thanks in advance for any help.

Best regards

Daniel Tourde

Comment 1 Bernhard Rosenkraenzer 2000-11-16 15:39:19 UTC
It's not supposed to compile on 6.2.

From a quick look, I'd say you need to update your kdoc and kdelibs (looks like the documentation isn't generated correctly).

Also, there might be some confusion about /usr/share/doc vs. /usr/doc.
If you're using the current kdoc and kdelibs, try replacing %{_docdir} with /usr/share/doc.


Comment 2 ted 2000-11-16 15:47:07 UTC
OK, I will try that.
So this has something to do with the .spec file?
Does the other .src.rpm have the same potential problem?

Daniel

Comment 3 Bernhard Rosenkraenzer 2000-11-16 15:50:34 UTC
I've just had a look, and it's definitely because of the /usr/doc->/usr/share/doc change.

KDE 2.0 is FHS compliant, and installs its docs to /usr/share/doc.

6.2 was released quite a while before the current FHS standard, so it expects its docs to be in /usr/doc.

Replacing %{_docdir} with a /usr/share/doc hardcode in the spec file should fix the problem.

The same thing can happen with any other package that installs its docs to the FHS location unconditionally.


Comment 4 ted 2000-11-16 15:59:41 UTC
This means that all the .i386.rpm files supposed to work with rh62 on
ftp.easy-linux suffer of the same problem. By the way I noticed that some are
missing (kdenetwork, or kdegraphic for instance...). Isn't it possible to put
there specific .src.rpm packages taking care of the /usr/doc /usr/share/doc
issue? Isn't it also possible to put corrected .i386.rpm files under the rh62
directory?

Thanks in advance

Daniel