Re: Perl516 SCL modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 08.02.2014 16:24, schrieb Johnny Hughes:
> On 02/07/2014 01:53 AM, Nicole Hähnel wrote:
>> Hi,
>>
>> I'm trying to build several SCL perl516 modules for using assp spamfilter.
>> Some modules have dependencies which spend a lot of errors or can not be
>> build on a x86_64 system.
>> perl-Email-Valid-0.184 for example needs Win32::IPHelper and
>> Win32::TieRegistry.
>> If I build this rpm for standard perl510, the Win32 modules are not
>> required.
>> Why are theses dependencies only for perl516?
>> Can I exclude the Win32 modules without getting problems?
>>
>> Does anyone have a few tips?
>>
>> Thanks in advance!
>>
>> Kind regards,
>> Nicole
> I don't know where you are trying to get the SRPMs for your modules from
> ... but I think I would try by going to Fedora19 os and updates here:
>
> http://dl.fedoraproject.org/pub/fedora/linux/releases/19/Everything/source/SRPMS/p/
>
> and here:
>
> http://dl.fedoraproject.org/pub/fedora/linux/updates/19/SRPMS/
>
> and pick the newest of those to begin with ... then convert the SPEC
> file to an SCL as necessary .. based on looking at the modules that are
> already SCLs and this link:
>
> http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html-single/Software_Collections_Guide/index.html#sect-Converting_a_Conventional_Spec_File
>
> There are also some tools here:
>
> https://fedorahosted.org/SoftwareCollections/
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Hi,

on rhel6 x86_64 I'm getting the spec file and sources with

cpanspec Email::Valid

and then

spec2scl -i -m perl-Email-Valid.spec

to add the necessary SCl macros.

But if I try to build the rpm with
mock -r epel-6-x86_64-perl516-scl -D "scl perl516" rebuild 
/home/hae/rpm/SRPMS/perl516-perl-Email-Valid-0.184-1.el6.src.rpm -v

I get these errors:

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.


Thanks!

Kind regards,
Nicole
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux