"Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> writes:
> [...]
> perl(LWP::UserAgent) is needed by
> pcp-pmda-elasticsearch-3.10.8-1.x86_64
> perl(LWP::UserAgent) is needed by pcp-pmda-nginx-3.10.8-1.x86_64
> Now there is apparently no perl-LWP-UserAgent rpm for this SuSE version.
Iam assuming those LWP::UserAgent libraries are actually needed by those pmdas.
> [...]
> 1. how should I fix this for the SuSE QA machine?
Not sure.
One possibility would be to not ship those pmdas at all in the suse case
(maybe a Makepkgs-detected rpmbuild conditional?).
Another is to get suse to ship the LWP library.
Another is for us to bundle the library somehow.
Another is to change the pmdas not to require that library.
Another is to ignore the dependencies (drop from the .spec file).
> 2. should this sort of dependency really belong in the packaging?
> We don't do it at all for dpkg and we cannot do it for tarball, so
> this really means the pmda install scripts need to check in the
> required Perl modules are present.
IMHO definitely yes. Automatic satisfaction of dependencies is just
what distro packaging is supposed to accomplish. A run-time check is
a last-ditch effort to make perl errors more intelligible.
> 3. even if this should be in the rpm packaging, should it not (a) be
> consistent and (b) work without surprises?
Sure (though consistent with what?).
- FChE
|