[CentOS] Perl516 SCL modules

Mon Feb 10 12:53:20 UTC 2014
Rainer Traut <tr.ml at gmx.de>

Am 10.02.2014 11:12, schrieb Nicole Hähnel:
> ERROR: Command failed:
>    # ['/usr/bin/yum-builddep', '--installroot',
> '/var/lib/mock/epel-6-x86_64/root/',
> '/var/lib/mock/epel-6-x86_64/root///builddir/build/SRPMS/perl516-perl-Email-Valid-0.184-1.el6.src.rpm']
> Getting requirements for perl516-perl-Email-Valid-0.184-1.el6.src
>    --> Already installed : 4:perl516-perl-5.16.3-12.el6.centos.alt.x86_64
>    --> Already installed :
> perl516-perl-ExtUtils-MakeMaker-6.66-1.el6.centos.alt.noarch
>    --> perl516-perl-MailTools-2.13-1.el6.noarch
>    --> perl516-perl-Net-DNS-0.74-1.el6.x86_64
>    --> Already installed :
> perl516-perl-Test-Simple-0.98-12.el6.centos.alt.noarch
> Error: Package: perl516-perl-Net-DNS-0.74-1.el6.x86_64 (perl516_local)
>              Requires: perl516-perl(Win32::IPHelper)
> Error: Package: perl516-perl-Net-DNS-0.74-1.el6.x86_64 (perl516_local)
>              Requires: perl516-perl(Win32::TieRegistry)
>    You could try using --skip-broken to work around the problem
>    You could try running: rpm -Va --nofiles --nodigest
>
> DEBUG: kill orphans
>
>
> I do not understand why Win32::IPHelper and Win32::TieRegistry is needed
> with perl516 and with rhel6 standard perl not.

The problem seems to be if the perl module is build with mock 
scl-perl516 then there is a wierd dependency of
perl516-perl(Win32::IPHelper) and perl516-perl(Win32::TieRegistry)

Rainer