[Fedora-packaging] rpmbuild and false dependancies when installing new rpm

Michael Schwendt mschwendt at gmail.com
Wed Feb 18 07:42:41 UTC 2009


On Wed, 18 Feb 2009 08:11:05 +0200, Gregory wrote:

> Hi all.
> 
> I'm quite new to building rpms.
> 
> I’m trying to build an rpm for lightsquid . I have got the rpm to build without any issues but now when I try and install it, it dies with missing dependencies the files are in the install list.
> 
> 
> 
> [root at gregory-workstation ~]# rpm -i /home/builder/rpm/RPMS/noarch/lightsquid-1.7-1.noarch.rpm
> 
> error: Failed dependencies:
> 
>                 perl(common.pl) is needed by lightsquid-1.7-1.noarch
> 
>                 perl(lightsquid.cfg) is needed by lightsquid-1.7-1.noarch
> 
> [root at gregory-workstation ~]#
> 
> 
> 
> 
> I have also used mc to browse the contents on the rpm and the files are in it.. so why do I get this error ?
>

These are not dependencies on files. These are automatically generated
dependencies on Perl modules, found by rpmbuild when scanning files for
Perl "use"/"require". These two modules are not made available in standard
search path, however, and don't declare the module name with "package" either.

You may need to filter them out, especially if the modules really are not
put into Perl module search path. Documentation can be found in the Wiki.

P.S. Your post does not point to the src.rpm




More information about the Fedora-packaging mailing list