<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: s32g2 bitbake failure with perl in S32G</title>
    <link>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1814052#M6000</link>
    <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;&amp;nbsp;. I rerun the command to rebuild the BSP. It finally worked.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 18:36:07 GMT</pubDate>
    <dc:creator>Juin0223</dc:creator>
    <dc:date>2024-02-22T18:36:07Z</dc:date>
    <item>
      <title>s32g2 bitbake failure with perl</title>
      <link>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1796380#M5796</link>
      <description>&lt;P&gt;I followed the&amp;nbsp;&lt;SPAN&gt;S32G2_LinuxBSP_35.0_User_Manual.pdf to build the fsl-image-auto for&amp;nbsp;s32g274ardb2.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It failed during build/install the perl package:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;~/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.&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 28 Jan 2024 06:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1796380#M5796</guid>
      <dc:creator>Juin0223</dc:creator>
      <dc:date>2024-01-28T06:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: s32g2 bitbake failure with perl</title>
      <link>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1796477#M5798</link>
      <description>&lt;P&gt;Hello, @&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228647" target="_blank"&gt;Juin0223&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the question.&lt;/P&gt;
&lt;P&gt;I have tested it on my own BSP35 setup carefully with the commands listed in your log, but no issues from my side.&lt;/P&gt;
&lt;P&gt;From the “Linux BSP 35.0 User Manual for S32G2 platforms”, all the steps described in the user manual have been run and validated on Ubuntu-18.04 LTS, as a result, we recommend to install &amp;nbsp;Ubuntu-18.04 LTS for building the BSP.&lt;/P&gt;
&lt;P&gt;Furthermore, don’t forget to run the following script before the build.&lt;/P&gt;
&lt;P&gt;./sources/meta-alb/scripts/host-prepare.sh&lt;/P&gt;
&lt;P&gt;Let me know if it helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 02:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1796477#M5798</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-01-29T02:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: s32g2 bitbake failure with perl</title>
      <link>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1814052#M6000</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;&amp;nbsp;. I rerun the command to rebuild the BSP. It finally worked.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 18:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1814052#M6000</guid>
      <dc:creator>Juin0223</dc:creator>
      <dc:date>2024-02-22T18:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: s32g2 bitbake failure with perl</title>
      <link>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1814231#M6003</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228647"&gt;@Juin0223&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Glad to know it, you are welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 02:20:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/s32g2-bitbake-failure-with-perl/m-p/1814231#M6003</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-02-23T02:20:12Z</dc:date>
    </item>
  </channel>
</rss>

