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
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/S...
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-...
There are also some tools here:
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/S...
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-...
There are also some tools here:
https://fedorahosted.org/SoftwareCollections/
CentOS mailing list CentOS@centos.org 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
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
On 02/10/2014 06:53 AM, Rainer Traut wrote:
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)
My question is, do you get the same dependency issues if you use the fedora SRPMs ... maybe they already patched to fix the issue.
Am 11.02.2014 12:13, schrieb Johnny Hughes:
On 02/10/2014 06:53 AM, Rainer Traut wrote:
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)
My question is, do you get the same dependency issues if you use the fedora SRPMs ... maybe they already patched to fix the issue.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes, I tried the Fedora SRPM and the dependencies are also there.
On 02/12/2014 07:20 AM, Nicole Hähnel wrote:
Am 11.02.2014 12:13, schrieb Johnny Hughes:
On 02/10/2014 06:53 AM, Rainer Traut wrote:
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)
My question is, do you get the same dependency issues if you use the fedora SRPMs ... maybe they already patched to fix the issue.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes, I tried the Fedora SRPM and the dependencies are also there.
Looks to me like this spec takes all that out:
https://apps.fedoraproject.org/packages/perl-Net-DNS/sources/spec
On 02/12/2014 07:20 AM, Nicole Hähnel wrote:
Am 11.02.2014 12:13, schrieb Johnny Hughes:
On 02/10/2014 06:53 AM, Rainer Traut wrote:
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)
My question is, do you get the same dependency issues if you use the fedora SRPMs ... maybe they already patched to fix the issue.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes, I tried the Fedora SRPM and the dependencies are also there.
Looks to me like this spec takes all that out:
https://apps.fedoraproject.org/packages/perl-Net-DNS/sources/spec