[users] perl-Test-Inline and perl-Test-Expect
Dries Verachtert
dries at ulyssis.org
Mon Sep 3 21:34:57 CEST 2007
On Saturday August 18 2007, Kanwar Ranbir Sandhu wrote:
> On Tue, 2007-08-07 at 14:52 +0200, Dag Wieers wrote:
> > Can you try again and let me know ?
>
> Still can't install perl-Test-Inline. I had a look at the build log,
> and saw these errors:
>
> Warning: prerequisite File::Remove 0.37 not found.
> Warning: prerequisite File::chmod 0.31 not found.
>
> Also, perl-Test-Inline requires perl-script, but there is no perl-script
> RPM available.
>
> Here's the complete error from yum:
>
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
[..........]
> --> Finished Dependency Resolution
> Error: Missing Dependency: perl(File::chmod) is needed by package
> perl-Test-Inline
> Error: Missing Dependency: perl(script) is needed by package
> perl-Test-Inline
Hello Kanwar,
The requirement 'perl(script)' apparently is added because it's used in the
file Test-Inline-2.205/lib/Test/Inline/Content.pm . You can check this
with '--filerequire'. Apparently Test::Inline::Content provides some kind of
API with methods with a default implementation which should be overridden.
The default implementation of the method 'process' contains 'use script;'
and a call to this method will clearly fail when it's not overridden. I've
added a filter for the perl requirements to the spec file so this useless
dependency is removed. I've also added a spec file for perl-File-chmod so
perl-Test-Inline should be installable.
kind regards,
Dries
More information about the users
mailing list