Hello...
I am trying to add a new perl Yahoo-Marketing module package to fedora/epel, https://bugzilla.redhat.com/show_bug.cgi?id=524698. One of the dependencies is for perl-Test-Class. The current fedora package requires newer versions of several existing modules.
from koji scratch build: https://koji.fedoraproject.org/koji/getfile?taskID=1693325&name=build.lo...
+ /usr/bin/perl Build.PL installdirs=vendor - ERROR: Test::More (0.62) is installed, but we need version >= 0.78 - ERROR: perl (5.008008) is installed, but we need version >= 5.6001 - ERROR: Test::Builder (0.32) is installed, but we need version >= 0.78 - ERROR: Test::Simple (0.62) is installed, but we need version >= 0.78 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'Test-Class' version '0.31'
What is the general consensus on updating EPEL perl modules as requirements for other perl modules? Yes? maybe? never? maintainers choice?
Hello...
On Mon, 2009-09-21 at 14:34 -0700, Christopher wrote:
Hello...
I am trying to add a new perl Yahoo-Marketing module package to fedora/epel, https://bugzilla.redhat.com/show_bug.cgi?id=524698. One of the dependencies is for perl-Test-Class. The current fedora package requires newer versions of several existing modules.
from koji scratch build: https://koji.fedoraproject.org/koji/getfile?taskID=1693325&name=build.lo...
- /usr/bin/perl Build.PL installdirs=vendor
- ERROR: Test::More (0.62) is installed, but we need version >= 0.78
- ERROR: perl (5.008008) is installed, but we need version >= 5.6001
- ERROR: Test::Builder (0.32) is installed, but we need version >= 0.78
- ERROR: Test::Simple (0.62) is installed, but we need version >= 0.78
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'Test-Class' version '0.31'
What is the general consensus on updating EPEL perl modules as requirements for other perl modules? Yes? maybe? never? maintainers choice?
When I looked closer, the Test:: modules needed are newer versions of the core perl package.
I built a newer version of perl-Test-Simple-0.94 here: https://koji.fedoraproject.org/koji/taskinfo?taskID=1696081
So, what is the consensus on updating core perl modules?
On Tue, 22 Sep 2009, Manuel Wolfshant wrote:
On 09/22/2009 01:46 AM, Christopher wrote:
[...] So, what is the consensus on updating core perl modules?
that's a no-no
ugh, what a painful problem. Why can't all this stuff just be easy :) Seems like stuff like this might have to wait until RHEL6.
-Mike
On Fri, Sep 25, 2009 at 4:10 AM, Mike McGrath mmcgrath@redhat.com wrote:
On Tue, 22 Sep 2009, Manuel Wolfshant wrote:
On 09/22/2009 01:46 AM, Christopher wrote:
[...] So, what is the consensus on updating core perl modules?
that's a no-no
ugh, what a painful problem. Why can't all this stuff just be easy :) Seems like stuff like this might have to wait until RHEL6.
Assuming there is one and it does not contain any security holes then can an older Yahoo-Marketing module be built and added to EPEL.
It seems reasonable to me. I am interested in the general case as well as this one since I have a similar item with something I wish to add.
Steve
-Mike
epel-devel-list mailing list epel-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/epel-devel-list
Hello...
On Mon, 2009-09-28 at 22:16 +0200, Steve Traylen wrote:
On Fri, Sep 25, 2009 at 4:10 AM, Mike McGrath mmcgrath@redhat.com wrote:
On Tue, 22 Sep 2009, Manuel Wolfshant wrote:
On 09/22/2009 01:46 AM, Christopher wrote:
[...] So, what is the consensus on updating core perl modules?
that's a no-no
ugh, what a painful problem. Why can't all this stuff just be easy :) Seems like stuff like this might have to wait until RHEL6.
Assuming there is one and it does not contain any security holes then can an older Yahoo-Marketing module be built and added to EPEL.
It might be possible, but I think this case is similar to something like clamav versions. At least in our local case, when yahoo adds API functionality, you frequently need to get the latest perl module version to use that new API. Hence we are almost always at the latest version, plus whatever it requires.
It seems reasonable to me. I am interested in the general case as well as this one since I have a similar item with something I wish to add.
For the general case of getting newer versions of modules that are in the perl core rpm, all I could find was this:
http://fedoraproject.org/wiki/SIGs/Perl How to update core perl modules? Use the site_perl dirs? /usr/local dirs? Problems with man pages conflicts, version provides clashes (can cause strange problems during package upgrades), ....
/me uses ... MAN1EXT=1cpan MAN3EXT=3cpan ... in the build portion
<side bit> I am also trying to build up some other perl modules we use into fedora. As odd as it sounds, I don't have a good place to publicly post the .spec files. http://fedorapeople.org/ would work, but I need to be in a SIG like EPEL which requires being sponsored, (hint, my FAS id is chrismcc :) . </side bit>
For everyone: Would, for example, building all the BuildRequires for perl-Yahoo-Marketing and the module itself within koji, then posting the five or so resulting rpms in a small yum repo on fedorapeople be an acceptable solution?
Then users could always get the latest versions either for Fedora Latest or for RHEL, built via EPEL, but not in EPEL proper.
<snip>
On Mon, Sep 21, 2009 at 02:34:04PM -0700, Christopher wrote:
- /usr/bin/perl Build.PL installdirs=vendor
- ERROR: Test::More (0.62) is installed, but we need version >= 0.78
- ERROR: perl (5.008008) is installed, but we need version >= 5.6001
- ERROR: Test::Builder (0.32) is installed, but we need version >= 0.78
- ERROR: Test::Simple (0.62) is installed, but we need version >= 0.78
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'Test-Class' version '0.31'
I wonder if it really needs perl 5.6? If so then it seems you're out of luck. However, for the Test:: modules: if they are only needed to run some tests but not for the runtime package, then you could either not run the tests, or run the tests against a private copy of the Test::* library which is only used for build and not distributed.
Rich.
On Tuesday 29 September 2009, Richard W.M. Jones wrote:
On Mon, Sep 21, 2009 at 02:34:04PM -0700, Christopher wrote:
- ERROR: perl (5.008008) is installed, but we need version >= 5.6001
[...]
I wonder if it really needs perl 5.6? If so then it seems you're out of luck.
Guesswork: there's something wrong with whatever is producing the above error output; it's not comparing perl versions correctly. Probably it wants (in human readable terms) perl >= 5.6.1, but fails/yells when 5.8.8 is installed. BTW, EL-3 already has perl 5.8.0, EL-4 has 5.8.5, and EL-5 has 5.8.8.
On Tue, Sep 29, 2009 at 07:19:33PM +0300, Ville Skyttä wrote:
On Tuesday 29 September 2009, Richard W.M. Jones wrote:
On Mon, Sep 21, 2009 at 02:34:04PM -0700, Christopher wrote:
- ERROR: perl (5.008008) is installed, but we need version >= 5.6001
[...]
I wonder if it really needs perl 5.6? If so then it seems you're out of luck.
Guesswork: there's something wrong with whatever is producing the above error output; it's not comparing perl versions correctly. Probably it wants (in human readable terms) perl >= 5.6.1, but fails/yells when 5.8.8 is installed.
Yes, I'd say that is correct analysis. It doesn't understand the "old style" Perl version numbers.
Rich.
epel-devel@lists.fedoraproject.org