I followed the S32G2_LinuxBSP_35.0_User_Manual.pdf to build the fsl-image-auto for s32g274ardb2.
It failed during build/install the perl package:
~/fsl-auto-yocto-bsp/build_s32g274ardb2$ bitbake -c cleanall perl
Loading cache: 100% |##########################################################################################################################################| Time: 0:00:01
Loaded 4898 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################| Time: 0:00:01
Parsing of 3301 .bb files complete (3300 cached, 1 parsed). 4901 targets, 265 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.48.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32g274ardb2"
DISTRO = "fsl-auto"
DISTRO_VERSION = "35.0"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:6a751048e50c00261d99c2d8d69534f7a8da38a9"
meta-oe
meta-multimedia
meta-python = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-python2 = "HEAD:3fae17aece0e6d82f56965fe501bf7080c671df8"
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-virtualization = "HEAD:fa093228c02c4a42da1f9abb77c4c57d70d5a212"
meta-optee = "HEAD:fb96032b38e3064290ab0891238c92d47a45f151"
meta-security = "HEAD:3daf99fd138b0eebe864bbe1b9c71241d97c4512"
meta-freescale = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b"
meta-alb = "HEAD:80cfe1f8d78da5bc46d646942047cd5ec13c3e11"
Initialising tasks: 100% |#####################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 0 (0% match, 0% complete)
NOTE: No setscene tasks
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and all succeeded.
~/fsl-auto-yocto-bsp/build_s32g274ardb2$ bitbake perl
Loading cache: 100% |##########################################################################################################################################| Time: 0:00:01
Loaded 4898 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################| Time: 0:00:00
Parsing of 3301 .bb files complete (3300 cached, 1 parsed). 4901 targets, 265 skipped, 6 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.48.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "s32g274ardb2"
DISTRO = "fsl-auto"
DISTRO_VERSION = "35.0"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "HEAD:6a751048e50c00261d99c2d8d69534f7a8da38a9"
meta-oe
meta-multimedia
meta-python = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-python2 = "HEAD:3fae17aece0e6d82f56965fe501bf7080c671df8"
meta-networking
meta-gnome
meta-filesystems
meta-webserver
meta-perl
meta-xfce = "HEAD:f3f7a5f1a4713f145107bb043e0d14cb3a51c62f"
meta-virtualization = "HEAD:fa093228c02c4a42da1f9abb77c4c57d70d5a212"
meta-optee = "HEAD:fb96032b38e3064290ab0891238c92d47a45f151"
meta-security = "HEAD:3daf99fd138b0eebe864bbe1b9c71241d97c4512"
meta-freescale = "HEAD:41d4f625c6db7a778f0f9a735c2cb48e023bc49b"
meta-alb = "HEAD:80cfe1f8d78da5bc46d646942047cd5ec13c3e11"
Initialising tasks: 100% |#####################################################################################################################################| Time: 0:00:00
Checking sstate mirror object availability: 100% |#############################################################################################################| Time: 0:00:00
Sstate summary: Wanted 172 Found 0 Missed 172 Current 134 (0% match, 43% complete)
NOTE: Executing Tasks
ERROR: perl-native-5.32.0-r0 do_install: oe_runmake failed
ERROR: perl-native-5.32.0-r0 do_install: Execution of '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/temp/run.do_install.22667' failed with exit code 1:
make install.perl
make[1]: Entering directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
./miniperl_top installperl --destdir=/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/image
perl isn't executable!
Makefile:424: recipe for target 'install.perl' failed
make[1]: *** [install.perl] Error 2
make[1]: Leaving directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
Makefile:420: recipe for target 'install' failed
make: *** [install] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/temp/log.do_install.22667
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make -j 6 DESTDIR=/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/image install
| make install.perl
| make[1]: Entering directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
| ./miniperl_top installperl --destdir=/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/image
| perl isn't executable!
| ERROR: oe_runmake failed
| Makefile:424: recipe for target 'install.perl' failed
| make[1]: *** [install.perl] Error 2
| make[1]: Leaving directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
| Makefile:420: recipe for target 'install' failed
| make: *** [install] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/temp/run.do_install.22667' failed with exit code 1:
| make install.perl
| make[1]: Entering directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
| ./miniperl_top installperl --destdir=/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/image
| perl isn't executable!
| Makefile:424: recipe for target 'install.perl' failed
| make[1]: *** [install.perl] Error 2
| make[1]: Leaving directory '/home/debing/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/x86_64-linux/perl-native/5.32.0-r0/perl-5.32.0'
| Makefile:420: recipe for target 'install' failed
| make: *** [install] Error 2
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (virtual:native:/home/debing/fsl-auto-yocto-bsp/sources/poky/meta/recipes-devtools/perl/perl_5.32.0.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 594 tasks of which 584 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/debing/fsl-auto-yocto-bsp/sources/poky/meta/recipes-devtools/perl/perl_5.32.0.bb:do_install
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.