On 22 Jul 2001 17:38:12 +0200
Frederic Lepied <[EMAIL PROTECTED]> wrote:
> Marcel Pol <[EMAIL PROTECTED]> writes:
> > > > 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.
> >
> > 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.*
Thanks for the reply.
My problem was with find-provides, not with find-requires.
So i set it up for find-provides.
I get the same error (building oaf0-0.6.5 from mdk 8.0)
I get 2 files in /tmp.
In /tmp/fr20094 it says:
[36l>liboaf.so.0
In /tmp/fr20143 it says:
[36l>
I can't make anything of it.
I hope you can.
Could it be that sed is not working correct?
The find-provides uses sed.
I can't seem to build the apt rpm's in contrib, nor the apt rpm's from
connectiva (with rpm4 fixes).
It bails out with sed errors.
Maybe this is non-information, but it's just what comes up in my mind.
Yesterday i removed and installed the sed rpm, but no difference.
Greetings,
--
Marcel Pol
[EMAIL PROTECTED]