[Buildroot] [PATCH 03/15] perl-file-listing: fix dependencies

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 24 09:30:49 UTC 2015


François,

On Fri, 24 Jul 2015 11:19:10 +0200, François Perrad wrote:

> After reading pkg-python.mk, its dependency handling seems complicated to me.

Hu? What do you find complicated? It's maybe a bit complicated by the
Python 2 vs. Python 3 thing, which you don't have in the Perl world.

> By opposite, in Perl infrastructure, it seems trivial:
>  - in pkg-perl.mk, host-perl is always added as dependency (for target
> and host),
>  - the scancpan script adds perl as dependency only for target package.
> 
> This series contains many dependency fixes because these packages were
> hand-written, instead of generated by scancpan. I found these issues
> with scancpan when regenerating these packages.

I'm sorry, but if there is no reason to have a Perl module on the
target without the Perl interpreter, then the dependency on 'perl'
should be added automatically by the package infrastructure. Then you
simply adjust the scancpan script to *not* add 'perl' to the list of
dependencies for each Perl module, and that's it.

Can you work on that and respin your patch series accordingly?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list