Marcel Pol <[EMAIL PROTECTED]> writes:

> On 20 Jul 2001 21:26:45 +0200
> Frederic Lepied <[EMAIL PROTECTED]> wrote:
> 
> > Marcel Pol <[EMAIL PROTECTED]> writes:
> > 
> > > Hello,
> > > 
> > > When building a src.rpm from specfile i get this:
> > > Finding  Provides: (using /usr/lib/rpm/find-provides)...
> > > error: line 114: Dependency tokens must begin with alpha-numeric,
> '_'
> > > or '/':
> > > error: Failed to find Provides:
> > > PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> > > rpmlib(CompressedFileNames) <= 3.0.4-1
> > > Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> > > rpmlib(CompressedFileNames) <= 3.0.4-1
> > > 
> > > Line 114 of the specfile is even empty.
> > > Is it just me who gets this error?
> > > I've had it with 2 different src.rpm's now.
> > > 
> > 
> > Could you point me to such src.rpm ?
> 
> I run into it with every src.rpm I build actually.
> I built XFree86-libs-4.1.0-6mdk, and when i install an rpm now it
> doesn't seem to provide libX11.so.6 like it should (i believe)
> The case I was talking about was the rpm ShowImg, a kde2 image viewer
> which is posted to /incoming on mandrake's ftp.
> It's also on ftp://mpol.dhs.org
> 
> Apparently I'm the only one who ran into this.
> I should check the install of rpm i guess then...
> 

I have tested the ShowImg srpm and it builds without problem. The way
to debug this kind of stuff is to provide a fake find-provides which
spies the output of the real one. Put that line in your ~/.rpmmacros:

%__find_requires        /tmp/find-requires

and in /tmp/find-requires put:

#!/bin/sh

/usr/lib/rpm/find-requires | tee /tmp/fr.$$

exit 0

don't forget to chmod +x /tmp/find-requires and after a build, you
will see the result of the real find-requires in /tmp/fr.*
-- 
Fred - May the source be with you

Reply via email to