<?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 Can't build for scarthgap in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108277#M237805</link>
    <description>&lt;P&gt;We have a custom target and have been using the Debian package management&lt;/P&gt;&lt;PRE&gt;PACKAGE_CLASSES = "package_deb"&lt;BR /&gt;EXTRA_IMAGE_FEATURES += "package-management"&lt;/PRE&gt;&lt;P&gt;When I upgraded from kirkstone to scarthgap, I get the following error as its trying to populate my rootfs "do_rootfs"&lt;/P&gt;&lt;PRE&gt;W: No sandbox user '_apt' on the system, can not drop privileges&lt;BR /&gt;E: Sub-process dpkg returned an error code (1)&lt;/PRE&gt;&lt;P&gt;I know building the stock "imx-image-core" works so its must be something with one of my recipes or some recipe I'm missing. &amp;nbsp;&lt;/P&gt;&lt;P&gt;For the life of me I can't figure out what I need to do different.&lt;/P&gt;&lt;P&gt;Also, If I comment out the above 2 lines, related to package management, everything builds and I end up with a working image (just without Debian package management).&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 22:27:15 GMT</pubDate>
    <dc:creator>dvlogic</dc:creator>
    <dc:date>2025-05-30T22:27:15Z</dc:date>
    <item>
      <title>Can't build for scarthgap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108277#M237805</link>
      <description>&lt;P&gt;We have a custom target and have been using the Debian package management&lt;/P&gt;&lt;PRE&gt;PACKAGE_CLASSES = "package_deb"&lt;BR /&gt;EXTRA_IMAGE_FEATURES += "package-management"&lt;/PRE&gt;&lt;P&gt;When I upgraded from kirkstone to scarthgap, I get the following error as its trying to populate my rootfs "do_rootfs"&lt;/P&gt;&lt;PRE&gt;W: No sandbox user '_apt' on the system, can not drop privileges&lt;BR /&gt;E: Sub-process dpkg returned an error code (1)&lt;/PRE&gt;&lt;P&gt;I know building the stock "imx-image-core" works so its must be something with one of my recipes or some recipe I'm missing. &amp;nbsp;&lt;/P&gt;&lt;P&gt;For the life of me I can't figure out what I need to do different.&lt;/P&gt;&lt;P&gt;Also, If I comment out the above 2 lines, related to package management, everything builds and I end up with a working image (just without Debian package management).&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 22:27:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108277#M237805</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2025-05-30T22:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build for scarthgap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108819#M237828</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181079"&gt;@dvlogic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears the log is related to the _apt system user not being present in your root filesystem. This user is required by apt to safely drop privileges when downloading or installing packages.&lt;/P&gt;
&lt;P&gt;Please try add the below to the local.conf:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IMAGE_INSTALL:append = " apt base-passwd passwd adduser"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 18:06:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108819#M237828</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-06-02T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build for scarthgap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108914#M237834</link>
      <description>&lt;P&gt;Thanks for the reply, but it turns out it was something different. &amp;nbsp; Looking back at my error, I should have noticed the failure was from to my uci recipe (which is a legacy library some of our sources use when we ported from OpenWRT).&lt;/P&gt;&lt;PRE&gt;Errors were encountered while processing:&lt;BR /&gt;/home/fpBuild/build/tmp/work/fspimxv7-poky-linux/fsp-image-core-dev/1.0/oe-rootfs-repo/armv8a/./uci_git-r0_arm64.deb&lt;BR /&gt;W: No sandbox user '_apt' on the system, can not drop privileges&lt;BR /&gt;E: Sub-process dpkg returned an error code (1)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;By removing the uci dependency I'm able to use the Debian package manager. &amp;nbsp;&lt;/P&gt;&lt;P&gt;My next step is to figure out why my uci recipe is failing - it comes from here&amp;nbsp;&lt;A href="https://github.com/kraj/meta-openwrt/blob/master/recipes-core/uci/uci_git.bb" target="_blank"&gt;https://github.com/kraj/meta-openwrt/blob/master/recipes-core/uci/uci_git.bb&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 21:16:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2108914#M237834</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2025-06-02T21:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build for scarthgap</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2112382#M237975</link>
      <description>&lt;P&gt;In the above github repo, the sym link lines (&lt;A href="https://github.com/kraj/meta-openwrt/blob/a5f219e0e6a4bc32db06569079ed5785f05c5dde/recipes-core/uci/uci_git.bb#L29" target="_blank"&gt;https://github.com/kraj/meta-openwrt/blob/a5f219e0e6a4bc32db06569079ed5785f05c5dde/recipes-core/uci/uci_git.bb#L29)&lt;/A&gt;&amp;nbsp;were the cause of my apt packaging problem. &amp;nbsp;I totally overlooked that they were trying to link via the host absolute path which was obviously why it was failing.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 14:17:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-t-build-for-scarthgap/m-p/2112382#M237975</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2025-06-07T14:17:53Z</dc:date>
    </item>
  </channel>
</rss>

