[Mageia-sysadm] possibility to add a package in basesystem-minimal? (long)

Thomas Backlund tmb at mageia.org
Wed Nov 9 19:41:44 CET 2011

nicolas vigier skrev 9.11.2011 19:50:
> On Wed, 09 Nov 2011, Jerome Quelin wrote:
>> to fix this problem, i can see the following solutions:
>> ** 1. patch our perl to provide a more recent EUMM
>> this is a no-go from my side. even the perl5 porters aren't updating the
>> bundled modules anymore [8], and i don't want to go down that road. so i
>> veto this solution with my perl-the-package maintainer hat.
>> ** 2. update the buildrequires of all perl modules to require a more
>>        recent EUMM
>> this is a solution that's quite easy to do on my side: i just need to
>> update magpie to buildrequire a more recent EUMM if it's using a
>> makefile.PL and that no specific EUMM version is wanted. future perls
>> (5.16 and onward) will likely ship an updated EUMM, and therefore i'll
>> be able to remove this specific requirement in the spec files.  but i'm
>> wondering if that's not too much, given that it'll need ~1500 [9]
>> modules to be updated. and yes, the goal is to have a standard solution
>> for all modules, not only the problematic ones.
> If it's planned to have in the futur other dependencies like this or rpm
> macros to build perl packages, you can also create a new package
> perl-rpmbuild with a require on EUMM (and other required packages to
> build perl packages, if needed), with perl-rpmbuild added as buildrequire
> on all perl packages.

Well, having to change only one package instead of all would probably
be nicer if possible.

>> ** 3. do nothing, and just deal with the problems manually
>> this is the solution i adopted till now. but i bump in more and more of
>> those exceptions, and this is a burden for me. mageia ships more than
>> 2500 perl modules, and usually i don't have to really dwelve in the
>> details of their updates. but each exception is taking some time from my
>> side to deal with, and i fear that the number of problems will just
>> continue to rise. so i'm wanting to quit using this "solution", and find
>> a real one. almost as important, it means that finding a real solution
>> means we are following cpan evolution step by step, and i think it's a
>> Good Thing (tm).
>> ** 4. update basesystem-minimal to ship perl-ExtUtils-MakeMaker
>> this way, no need to add a buildrequires for the modules. they all get
>> the new build tool, and therefore will generate the MYMETA files.
> Maybe adding this require to rpm-build instead of basesystem-minimal
> would be enough.

That would make it more in line for only building rpms, or add it to 
iurt if we want to ensure it "only" the bs ...

Of course we probably will get complaints on "bloating" rpmbuild or iurt 
then :)

Or do we have to ensure it ends up on all systems that are used for perl 
development? should it then be pulled in by some perl-*

I see basesystem-minimal pulls only:

do we have some perl-* package that is required for all perl developers,
but that is not some of the above?


More information about the Mageia-sysadm mailing list