On Mon, Aug 5, 2024 at 8:20 AM Ross Burton <[email protected]> wrote:

> > On 30 Jul 2024, at 21:33, Barry Grussling via lists.openembedded.org 
> > <[email protected]> wrote:
> > -DEPENDS = "libnsl2 readline tzcode-native"
> > +DEPENDS = "libnsl2 readline tzcode-native perl”
>
> This is a mandatory dependency on target perl, even if perl isn’t enabled.  
> Is this actually needed, as there’s a dependency on target perl in the perl 
> PACKAGECONFIG already.

Currently, perl appears to be a build dependency for Postgresql. With
the PACKAGECONFIG disabling perl, and without the perl DEPENDS, I get:

Can't locate Config_heavy-target.pl in @INC (@INC entries checked:
/srv/tmp/work/[snip]) at
/srv/tmp/work/cortexa72-cortexa53-poky-linux/postgresql/16.3/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.38.2/x86_64-linux/Config.pm
line 88.

WARNING: Backtrace (BB generated script):
    #1: autotools_do_configure,
/srv/tmp/work/cortexa72-cortexa53-poky-linux/postgresql/16.3/temp/run.do_configure.2395430,
line 246
    #2: do_configure,
/srv/tmp/work/cortexa72-cortexa53-poky-linux/postgresql/16.3/temp/run.do_configure.2395430,
line 165
    #3: main, 
/srv/tmp/work/cortexa72-cortexa53-poky-linux/postgresql/16.3/temp/run.do_configure.2395430,
line 356

The postgresql install-requirements
(https://www.postgresql.org/docs/current/install-requirements.html)
says
Perl 5.14 or later is needed under various circumstances. I'm guessing autotools
is trying to run perl for something.

I agree that removing the perl DEPENDS is an additional goal.

Barry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#111515): 
https://lists.openembedded.org/g/openembedded-devel/message/111515
Mute This Topic: https://lists.openembedded.org/mt/107635057/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to