<?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>i.MX Processors中的主题 Error in xtensor Installation: Package Not Found After Bitbake</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1940928#M227708</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with integrating&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;into my Yocto build. I used the&amp;nbsp;&lt;STRONG&gt;xtensor&amp;nbsp;&lt;/STRONG&gt;repository from &lt;A href="https://github.com/xtensor-stack/xtensor" target="_self"&gt;GitHub&lt;/A&gt; as the source for my recipe. Here is the relevant part of my recipe:&lt;/P&gt;&lt;P&gt;S = "${WORKDIR}/git"&lt;/P&gt;&lt;P&gt;# Ensure that the `xtensor` headers are correctly installed&lt;BR /&gt;FILES_${PN} += "${includedir}"&lt;/P&gt;&lt;P&gt;inherit allarch&lt;/P&gt;&lt;P&gt;do_configure() {&lt;BR /&gt;# No configuration needed for header-only libraries&lt;BR /&gt;:&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;do_compile() {&lt;BR /&gt;# No compilation needed for header-only libraries&lt;BR /&gt;:&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;do_install() {&lt;BR /&gt;# Install headers to the include directory&lt;BR /&gt;install -d ${D}${includedir}/xtensor&lt;BR /&gt;cp -r ${S}/include/xtensor/* ${D}${includedir}/xtensor/&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I successfully built the&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;recipe alone using Bitbake. However, after adding the recipe to &lt;STRONG&gt;.bblayers&lt;/STRONG&gt; and attempting to build the entire project with Bitbake, I encounter the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Package xtensor is not available, but is referred to by another package.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;This may mean that the package is missing, has been obsoleted, or is only available from another source&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Steps Taken:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Built the&amp;nbsp;&lt;STRONG&gt;xtensor&amp;nbsp;&lt;/STRONG&gt;recipe individually — successful.&lt;/LI&gt;&lt;LI&gt;Added the&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;recipe to&amp;nbsp;&lt;STRONG&gt;.bblayers&lt;/STRONG&gt; .&lt;/LI&gt;&lt;LI&gt;Attempted to build the full project — encountered the error above.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there something missing in my recipe or configuration that could cause this issue?&lt;/LI&gt;&lt;LI&gt;How can I ensure that&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;is correctly included in the full build process?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate any insights or suggestions on how to resolve this issue.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 05:54:16 GMT</pubDate>
    <dc:creator>Kiruthik-15</dc:creator>
    <dc:date>2024-08-27T05:54:16Z</dc:date>
    <item>
      <title>Error in xtensor Installation: Package Not Found After Bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1940928#M227708</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with integrating&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;into my Yocto build. I used the&amp;nbsp;&lt;STRONG&gt;xtensor&amp;nbsp;&lt;/STRONG&gt;repository from &lt;A href="https://github.com/xtensor-stack/xtensor" target="_self"&gt;GitHub&lt;/A&gt; as the source for my recipe. Here is the relevant part of my recipe:&lt;/P&gt;&lt;P&gt;S = "${WORKDIR}/git"&lt;/P&gt;&lt;P&gt;# Ensure that the `xtensor` headers are correctly installed&lt;BR /&gt;FILES_${PN} += "${includedir}"&lt;/P&gt;&lt;P&gt;inherit allarch&lt;/P&gt;&lt;P&gt;do_configure() {&lt;BR /&gt;# No configuration needed for header-only libraries&lt;BR /&gt;:&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;do_compile() {&lt;BR /&gt;# No compilation needed for header-only libraries&lt;BR /&gt;:&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;do_install() {&lt;BR /&gt;# Install headers to the include directory&lt;BR /&gt;install -d ${D}${includedir}/xtensor&lt;BR /&gt;cp -r ${S}/include/xtensor/* ${D}${includedir}/xtensor/&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I successfully built the&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;recipe alone using Bitbake. However, after adding the recipe to &lt;STRONG&gt;.bblayers&lt;/STRONG&gt; and attempting to build the entire project with Bitbake, I encounter the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Package xtensor is not available, but is referred to by another package.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;This may mean that the package is missing, has been obsoleted, or is only available from another source&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Steps Taken:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Built the&amp;nbsp;&lt;STRONG&gt;xtensor&amp;nbsp;&lt;/STRONG&gt;recipe individually — successful.&lt;/LI&gt;&lt;LI&gt;Added the&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;recipe to&amp;nbsp;&lt;STRONG&gt;.bblayers&lt;/STRONG&gt; .&lt;/LI&gt;&lt;LI&gt;Attempted to build the full project — encountered the error above.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is there something missing in my recipe or configuration that could cause this issue?&lt;/LI&gt;&lt;LI&gt;How can I ensure that&amp;nbsp;&lt;STRONG&gt;xtensor&lt;/STRONG&gt;&amp;nbsp;is correctly included in the full build process?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I would appreciate any insights or suggestions on how to resolve this issue.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 05:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1940928#M227708</guid>
      <dc:creator>Kiruthik-15</dc:creator>
      <dc:date>2024-08-27T05:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in xtensor Installation: Package Not Found After Bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1943078#M227793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The way to build recipe - xtensor - is not recommended. and here is the reference to the layer (&lt;A href="https://layers.openembedded.org/layerindex/branch/scarthgap/layer/meta-ros2-iron/" target="_blank"&gt;OpenEmbedded Layer Index - meta-ros2-iron&lt;/A&gt;) and recipes&amp;nbsp;&lt;A href="https://github.com/ros/meta-ros/blob/master/meta-ros2-iron/recipes-support/xtensor/xtensor_0.24.7.bb" target="_self"&gt;xtensor_0.24.7.bb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 05:56:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1943078#M227793</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-08-29T05:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in xtensor Installation: Package Not Found After Bitbake</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1943465#M227812</link>
      <description>&lt;P&gt;Hi Harvey,&lt;/P&gt;&lt;P&gt;Thank you for your feedback and for pointing me to the reference layer and recipes.&lt;/P&gt;&lt;P&gt;After reviewing the links and following the guidelines provided, I have encountered additional issues related to dependencies. Specifically, when attempting to build the entire project, I’m encountering the following errors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="times new roman,times"&gt;&lt;STRONG&gt;Package xsimd is not available, but is referred to by another package.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="times new roman,times"&gt;&lt;STRONG&gt;Package xtensor is not available, but is referred to by another package.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="times new roman,times"&gt;&lt;STRONG&gt;Package xtl is not available, but is referred to by another package.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The error messages also include:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;E: Package 'xsimd' has no installation candidate&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;E: Package 'xtensor' has no installation candidate&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;E: Package 'xtl' has no installation candidate&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It appears that while the xtensor recipe builds successfully when done individually, integrating it into the larger project results in these issues.&lt;/P&gt;&lt;P&gt;I have ensured that all the necessary layers are included like&amp;nbsp; xtensor , xtl and xsimd from recipies-support , and I have verified that the dependencies should be correctly referenced. However, these errors persist during the full project build.&lt;/P&gt;&lt;P&gt;Could you provide any insights or suggestions on how to resolve these issues? Any additional steps or troubleshooting tips would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you for your assistance!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Kiruthikram&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 12:58:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-in-xtensor-Installation-Package-Not-Found-After-Bitbake/m-p/1943465#M227812</guid>
      <dc:creator>Kiruthik-15</dc:creator>
      <dc:date>2024-08-29T12:58:48Z</dc:date>
    </item>
  </channel>
</rss>

