On 2003-09-04(Thu) 13:42:57 -0500, Tim Mooney wrote: > >> RPM is running a script that scans perl scripts and libraries for > >> "use" and "require" lines. You need to go through MySQL's sources and > >> see if there are anyone ones that call for the (the) perl module > >> (which I have never heard of by the way, and it seems like a false > >> positive). If it is a false positive, then you can do something silly > >> in their spec file like: > >> > >> Provides perl(the) > > > >I agree with you, and I had even gone through CPAN looking for a "the" > >module; no luck. It really seems like a false positive. ... which makes > >me wonder what could have caused it. Any hints? Currently the perl provide thing is not very robust. You can try find . -type f | xargs egrep '^[[:space:]]*use the ' And these files will likely be the ones you're looking for. Apache-ASP has this problem too. I'm not really sure why, but when searching for perl dependency, it seems that documentation inside .pm files are scanned as well. Abel > > I don't recall seeing an answer to this question, but if someone else beat > me to it, sorry. > > To figure out what caused it, you can use a couple of strategies: > > - Do a package build and get things installed into your buildroot, but > don't actually generate RPMs (i.e. rpmbuild -bi). > > - Generate a list of all the files that were installed into your > buildroot: > > find YOUR_BUILD_ROOT -print > /tmp/flist > > - iterate through that list, running the perl "find-prov" script for > each file: > > for f in `cat /tmp/flist` > do > echo > echo "Provides for $f:" > echo "$f" | /usr/lib/rpm/perl.prov > done > > > That should tell you which file in the list is the culprit. > > Once you know which file is doing it, you can try debugging what it is > in that file that's cause the perl.prov to generate bogus output. > > Tim > -- > Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu > Information Technology Services (701) 231-1076 (Voice) > Room 242-J6, IACC Building (701) 231-8541 (Fax) > North Dakota State University, Fargo, ND 58105-5164 > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@redhat.com > https://www.redhat.com/mailman/listinfo/rpm-list -- Abel Cheung Linux counter #256983 | http://counter.li.org GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
Attachment:
pgp00002.pgp
Description: PGP signature