<?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: SRCREV = &amp;quot;${AUTOREV}&amp;quot; Error in NXP Yocto Rev. LF5.15.52_2.1.0 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562505#M198219</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81068"&gt;@wang12zhe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please clean all files about this package, use 'bitbake &lt;SPAN&gt;nxp-demo-experience&amp;nbsp;&lt;/SPAN&gt;-c cleanall' and then rebuild it .&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 03:26:25 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2022-12-01T03:26:25Z</dc:date>
    <item>
      <title>SRCREV = "${AUTOREV}" Error in NXP Yocto Rev. LF5.15.52_2.1.0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562439#M198211</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm use&amp;nbsp;NXP Yocto Rev. LF5.15.52_2.1.0 to build image for IMXQM but got error when do fetch task for nxp-demo-experience recipe：&lt;/P&gt;&lt;P&gt;ERROR: ExpansionError during parsing /home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/meta-nxp-demo-experience/recipes-nxp-demo-experience/nxp-demo-experience/nxp-demo-experience_git.bb&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1212, in srcrev_internal_helper(ud=&amp;lt;bb.fetch2.FetchData object at 0x7fe06c8b8280&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7fe06c8c1040&amp;gt;, name='nxp-demo-experience'):&lt;BR /&gt;if srcrev == "AUTOINC":&lt;BR /&gt;&amp;gt; srcrev = ud.method.latest_revision(ud, d, name)&lt;/P&gt;&lt;P&gt;File "/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1624, in Git.latest_revision(ud=&amp;lt;bb.fetch2.FetchData object at 0x7fe06c8b8280&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7fe06c8c1040&amp;gt;, name='nxp-demo-experience'):&lt;BR /&gt;except KeyError:&lt;BR /&gt;&amp;gt; revs[key] = rev = self._latest_revision(ud, d, name)&lt;BR /&gt;return rev&lt;BR /&gt;File "/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/lib/bb/fetch2/git.py", line 739, in Git._latest_revision(ud=&amp;lt;bb.fetch2.FetchData object at 0x7fe06c8b8280&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7fe06c8c1040&amp;gt;, name='nxp-demo-experience'):&lt;/P&gt;&lt;P&gt;&amp;gt; output = self._lsremote(ud, d, "")&lt;BR /&gt;# Tags of the form ^{} may not work, need to fallback to other form&lt;BR /&gt;File "/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/lib/bb/fetch2/git.py", line 722, in Git._lsremote(ud=&amp;lt;bb.fetch2.FetchData object at 0x7fe06c8b8280&amp;gt;, d=&amp;lt;bb.data_smart.DataSmart object at 0x7fe06c8c1040&amp;gt;, search=''):&lt;BR /&gt;bb.fetch2.check_network_access(d, cmd, repourl)&lt;BR /&gt;&amp;gt; output = runfetchcmd(cmd, d, True)&lt;BR /&gt;if not output:&lt;BR /&gt;File "/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 929, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/scripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/hosttools"; export HOME="/home/wzg"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote &lt;A href="https://github.com/nxp-imx-support/nxp-demo-experience.git" target="_blank"&gt;https://github.com/nxp-imx-support/nxp-demo-experience.git&lt;/A&gt; ', d=&amp;lt;bb.data_smart.DataSmart object at 0x7fe06c8b8d90&amp;gt;, quiet=True, cleanup=[], log=None, workdir=None):&lt;/P&gt;&lt;P&gt;&amp;gt; raise FetchError(error_message)&lt;/P&gt;&lt;P&gt;bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/scripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/hosttools"; export HOME="/home/wzg"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat ls-remote &lt;A href="https://github.com/nxp-imx-support/nxp-demo-experience.git" target="_blank"&gt;https://github.com/nxp-imx-support/nxp-demo-experience.git&lt;/A&gt; failed with exit code 128, output:&lt;BR /&gt;fatal: unable to access '&lt;A href="https://github.com/nxp-imx-support/nxp-demo-experience.git/" target="_blank"&gt;https://github.com/nxp-imx-support/nxp-demo-experience.git/&lt;/A&gt;': GnuTLS recv error (-110): The TLS connection was non-properly terminated.&lt;/P&gt;&lt;P&gt;The variable dependency chain for the failure is: SRCPV -&amp;gt; PV -&amp;gt; BP -&amp;gt; FILESPATH&lt;/P&gt;&lt;P&gt;ERROR: Parsing halted due to errors, see error messages above&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the root case is&amp;nbsp;SRCREV = "${AUTOREV}"&amp;nbsp; &amp;nbsp;in&amp;nbsp;nxp-demo-experience_git.bb ,&lt;/P&gt;&lt;P&gt;How to it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;anybody can help me and thanks very much&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 01:35:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562439#M198211</guid>
      <dc:creator>wang12zhe</dc:creator>
      <dc:date>2022-12-01T01:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: SRCREV = "${AUTOREV}" Error in NXP Yocto Rev. LF5.15.52_2.1.0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562505#M198219</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81068"&gt;@wang12zhe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please clean all files about this package, use 'bitbake &lt;SPAN&gt;nxp-demo-experience&amp;nbsp;&lt;/SPAN&gt;-c cleanall' and then rebuild it .&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 03:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562505#M198219</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2022-12-01T03:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: SRCREV = "${AUTOREV}" Error in NXP Yocto Rev. LF5.15.52_2.1.0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562588#M198228</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had do it, but still got the same error massage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 06:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1562588#M198228</guid>
      <dc:creator>wang12zhe</dc:creator>
      <dc:date>2022-12-01T06:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: SRCREV = "${AUTOREV}" Error in NXP Yocto Rev. LF5.15.52_2.1.0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1634015#M204239</link>
      <description>&lt;P&gt;I just ran into a similar issue. To debug, I ended up changing the failing command to a command that just finds where the git command is from:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;$ export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/scripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/work/armv8a-poky-linux/nxp-demo-experience/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/sources/poky/bitbake/bin:/home/wzg/8TB/Yocto/L5.15.52-2.1.0/build-wayland/tmp/hosttools"; export HOME="/home/wzg"; which git&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;That showed that the git command was a link in tmp/hosttools. The problem was the link was in fact pointing into a different Yocto folder that I had recently used. I simply did remove the tmp folder and everything was fine again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 17:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1634015#M204239</guid>
      <dc:creator>tomhochstein</dc:creator>
      <dc:date>2023-04-14T17:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: SRCREV = "${AUTOREV}" Error in NXP Yocto Rev. LF5.15.52_2.1.0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1805200#M219871</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I got a related problem with nxp-demo-experience repo. If you looked at demo-experience-demo.bb recipe you can see SRCREV_model = "${AUTOREV}". If you have a network issue or you tried to building offline, this recipe is trying to access githun page and you can get fetch error for nxp-demo-experience-repo.&lt;/P&gt;&lt;P&gt;Instead, you can use a commit id in the github repo. I did not get fetch error with this method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 11:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SRCREV-quot-AUTOREV-quot-Error-in-NXP-Yocto-Rev-LF5-15-52-2-1-0/m-p/1805200#M219871</guid>
      <dc:creator>Safak28</dc:creator>
      <dc:date>2024-02-12T11:12:43Z</dc:date>
    </item>
  </channel>
</rss>

