<?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: Build failed while compiling chromium-ozone-wayland in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385806#M6036</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Dharmik,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you try adding to&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;local.conf&amp;nbsp;&lt;/STRONG&gt;one more thing besides chromium package?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;PREFERRED_VERSION_gn-native = "0+git"&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if the issue still persists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diana&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2026 11:47:57 GMT</pubDate>
    <dc:creator>dianapredescu</dc:creator>
    <dc:date>2026-06-24T11:47:57Z</dc:date>
    <item>
      <title>Build failed while compiling chromium-ozone-wayland</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385802#M6035</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to compile chromium-ozone-wayland on Yocto for IMX8MP board, but the compilation fails with the error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;| DEBUG: Python function extend_recipe_sysroot finished&lt;BR /&gt;| DEBUG: Executing shell function do_configure&lt;BR /&gt;| ERROR at //.gn:150:5: Assignment had no effect.&lt;BR /&gt;| build_dotfile_settings.exec_script_allowlist +&lt;BR /&gt;| ^---------------------------------------------&lt;BR /&gt;| You set the variable "exec_script_allowlist" here and it was unused before it went&lt;BR /&gt;| out of scope.&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;ERROR: Task (/home/admin/Dharmik/IMX8M-Plus/sources/meta-browser/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_138.0.7204.157.bb:do_configure) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 2814 tasks of which 2800 didn't need to be rerun and 1 failed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have added&amp;nbsp;CORE_IMAGE_EXTRA_INSTALL += "chromium-ozone-wayland" in conf/local.conf&lt;/P&gt;&lt;P&gt;Below is my yocto configuration,&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "2.16.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "universal"&lt;BR /&gt;TARGET_SYS = "aarch64-poky-linux"&lt;BR /&gt;MACHINE = "imx8mp-lpddr4-evk"&lt;BR /&gt;DISTRO = "fsl-imx-wayland"&lt;BR /&gt;DISTRO_VERSION = "6.18-whinlatter"&lt;BR /&gt;TUNE_FEATURES = "aarch64 armv8a crc crypto"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dharmik&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 11:37:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385802#M6035</guid>
      <dc:creator>Dharmik_Vaghasana</dc:creator>
      <dc:date>2026-06-24T11:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Build failed while compiling chromium-ozone-wayland</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385806#M6036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Dharmik,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you try adding to&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;local.conf&amp;nbsp;&lt;/STRONG&gt;one more thing besides chromium package?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;PREFERRED_VERSION_gn-native = "0+git"&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if the issue still persists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diana&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 11:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385806#M6036</guid>
      <dc:creator>dianapredescu</dc:creator>
      <dc:date>2026-06-24T11:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Build failed while compiling chromium-ozone-wayland</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385812#M6037</link>
      <description>&lt;P&gt;After adding&amp;nbsp;&lt;SPAN&gt;PREFERRED_VERSION_gn-native = "0+git" changes I am getting below error,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;| DEBUG: Python function extend_recipe_sysroot finished&lt;BR /&gt;| DEBUG: Executing shell function do_configure&lt;BR /&gt;| ERROR at //build/config/linux/dri/BUILD.gn:11:20: Script returned non-zero exit code.&lt;BR /&gt;| dri_driver_dir = exec_script(pkg_config_script,&lt;BR /&gt;| ^----------&lt;BR /&gt;| Current dir: /home/admin/Dharmik/IMX8M-Plus/build-imx8mp/tmp/work/armv8a-mx8mp-poky-linux/chromium-ozone-wayland/138.0.7204.157/sources/chromium-138.0.7204.157/out/Release/&lt;BR /&gt;| Command: python3 /home/admin/Dharmik/IMX8M-Plus/build-imx8mp/tmp/work/armv8a-mx8mp-poky-linux/chromium-ozone-wayland/138.0.7204.157/sources/chromium-138.0.7204.157/build/config/linux/pkg-config.py --dridriverdir dri&lt;BR /&gt;| Returned 1 and printed out:&lt;BR /&gt;|&lt;BR /&gt;| Error from pkg-config.&lt;BR /&gt;|&lt;BR /&gt;| stderr:&lt;BR /&gt;|&lt;BR /&gt;| Package dri was not found in the pkg-config search path.&lt;BR /&gt;| Perhaps you should add the directory containing `dri.pc'&lt;BR /&gt;| to the PKG_CONFIG_PATH environment variable&lt;BR /&gt;| No package 'dri' found&lt;BR /&gt;|&lt;BR /&gt;| See //media/gpu/sandbox/BUILD.gn:31:18: which caused the file to be included.&lt;BR /&gt;| configs += [ "//build/config/linux/dri" ]&lt;BR /&gt;| ^-------------------------&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dharmik&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 11:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385812#M6037</guid>
      <dc:creator>Dharmik_Vaghasana</dc:creator>
      <dc:date>2026-06-24T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build failed while compiling chromium-ozone-wayland</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385813#M6038</link>
      <description>&lt;P&gt;I've seen this error in the past Chromium versions, and what worked for me in that build situation was a change in this file:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="3"&gt;\tmp\work\armv8a-mx8-poky-linux\chromium-ozone-wayland\117.0.5938.132\chromium-117.0.5938.132\media\gpu\sandbox\BUILD.gn&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;if (current_cpu != "s390x" &amp;amp;&amp;amp; current_cpu != "ppc64" &amp;amp;&amp;amp; is_linux &amp;amp;&amp;amp; ozone_platform_x11 &amp;amp;&amp;amp;
      !is_castos) {
    # For DRI_DRIVER_DIR.
    configs += [ "//build/config/linux/dri" ]
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding "&lt;EM&gt;&lt;STRONG&gt;&amp;amp;&amp;amp; ozone_platform_x11&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;" to the platform list at the bottom of this files fixed the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you check whether Chromium v138 has already ozone_platform_x11 added?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 12:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Build-failed-while-compiling-chromium-ozone-wayland/m-p/2385813#M6038</guid>
      <dc:creator>dianapredescu</dc:creator>
      <dc:date>2026-06-24T12:02:27Z</dc:date>
    </item>
  </channel>
</rss>

