<?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: Yocto LF5.10.52_2.1.0 BSP repo sync fail in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353184#M181322</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got similar message when I do "repo init" and "repo sync" as below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  File "/xxx/xxx/imx-yocto-bsp_5.10.52-2.1.0/.repo/repo/main.py", line 79
    file=sys.stderr)
        ^
SyntaxError: invalid syntax&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution but got same error in this moment.&lt;/P&gt;&lt;P&gt;Could you advise me to avoid this error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ko-hey&lt;/P&gt;</description>
    <pubDate>Mon, 11 Oct 2021 02:38:23 GMT</pubDate>
    <dc:creator>ko-hey</dc:creator>
    <dc:date>2021-10-11T02:38:23Z</dc:date>
    <item>
      <title>Yocto LF5.10.52_2.1.0 BSP repo sync fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1350955#M181110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to download newest Yocto BSP following&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" target="_blank"&gt;IMX_YOCTO_PROJECT_USERS_GUIDE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but when I try "repo init" and "repo sync", it failed.&lt;/P&gt;&lt;P&gt;fail log as below:&lt;/P&gt;&lt;PRE&gt;Fetching: 0% (0/13) warming up&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;poky:&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;poky: sleeping 4.0 seconds before retrying&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;poky:&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;error: Cannot fetch poky from https://git.yoctoproject.org/git/poky&lt;BR /&gt;Fetching: 30% (4/13) meta-freescale-3rdparty&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;meta-python2:&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;meta-python2: sleeping 4.0 seconds before retrying&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;meta-python2:&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;error: Cannot fetch meta-python2 from https://git.openembedded.org/meta-python2&lt;BR /&gt;Fetching: 100% (13/13), done in 7.633s&lt;BR /&gt;Garbage collecting: 100% (13/13), done in 0.026s&lt;BR /&gt;Fetching: 0% (0/2) warming up&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;meta-python2:&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;meta-python2: sleeping 4.0 seconds before retrying&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;meta-python2:&lt;BR /&gt;fatal: unable to access 'https://git.openembedded.org/meta-python2/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;error: Cannot fetch meta-python2 from https://git.openembedded.org/meta-python2&lt;BR /&gt;&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;poky:&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;poky: sleeping 4.0 seconds before retrying&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;&lt;BR /&gt;poky:&lt;BR /&gt;fatal: unable to access 'https://git.yoctoproject.org/git/poky/': server certificate verification failed. CAfile: none CRLfile: none&lt;BR /&gt;error: Cannot fetch poky from https://git.yoctoproject.org/git/poky&lt;BR /&gt;Fetching: 100% (2/2), done in 10.039s&lt;BR /&gt;Garbage collecting: 100% (2/2), done in 0.006s&lt;BR /&gt;fatal: failed to unpack tree object HEAD&lt;BR /&gt;error.GitError: Cannot checkout meta-python2: Cannot initialize work tree for meta-python2&lt;BR /&gt;error: Cannot checkout meta-python2&lt;BR /&gt;fatal: failed to unpack tree object HEAD&lt;BR /&gt;error.GitError: Cannot checkout poky: Cannot initialize work tree for poky&lt;BR /&gt;error: Cannot checkout poky&lt;BR /&gt;&lt;BR /&gt;error: Unable to fully sync the tree.&lt;BR /&gt;error: Downloading network changes failed.&lt;BR /&gt;error: Checking out local projects failed.&lt;BR /&gt;Failing repos:&lt;BR /&gt;sources/meta-python2&lt;BR /&gt;sources/poky&lt;BR /&gt;Try re-running with "-j1 --fail-fast" to exit at the first error.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;how can i fix this issue, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 07:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1350955#M181110</guid>
      <dc:creator>joshua_jhan</dc:creator>
      <dc:date>2021-10-06T07:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto LF5.10.52_2.1.0 BSP repo sync fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1350988#M181114</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/79495"&gt;@joshua_jhan&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I struggled similar issue. Then you might need to update the list of public CA in your host machine (Ubuntu for example) :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# update CA certificates
sudo apt-get install apt-transport-https ca-certificates -y
sudo update-ca-certificates&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 08:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1350988#M181114</guid>
      <dc:creator>khang_letruong</dc:creator>
      <dc:date>2021-10-06T08:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto LF5.10.52_2.1.0 BSP repo sync fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353184#M181322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got similar message when I do "repo init" and "repo sync" as below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  File "/xxx/xxx/imx-yocto-bsp_5.10.52-2.1.0/.repo/repo/main.py", line 79
    file=sys.stderr)
        ^
SyntaxError: invalid syntax&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your solution but got same error in this moment.&lt;/P&gt;&lt;P&gt;Could you advise me to avoid this error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ko-hey&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 02:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353184#M181322</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2021-10-11T02:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto LF5.10.52_2.1.0 BSP repo sync fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353224#M181329</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/21121"&gt;@ko-hey&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I have never gotten this kind of error. My proposed solution was for the issue&amp;nbsp; "&lt;EM&gt;server certificate verification failed. CAfile: none CRLfile: none&lt;/EM&gt;", subject of this question.&lt;/P&gt;&lt;P&gt;I would suspect that the python version on your host machine is not good (i.e. python3 is missing). Please setup you host machine according to the IMX_YOCTO_PROJECT_USERS_GUIDE.pdf included in every BSP release :&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Host-setup.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158727i47651C2942613797/image-size/large?v=v2&amp;amp;px=999" role="button" title="Host-setup.png" alt="Host-setup.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 04:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353224#M181329</guid>
      <dc:creator>khang_letruong</dc:creator>
      <dc:date>2021-10-11T04:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto LF5.10.52_2.1.0 BSP repo sync fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353244#M181332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/147542"&gt;@khang_letruong&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried those command by your advise and there are no update about the packages but the error message disappeared.&lt;/P&gt;&lt;P&gt;I'm not sure about the reason of error but it solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thank you for your advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ko-hey&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 05:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-LF5-10-52-2-1-0-BSP-repo-sync-fail/m-p/1353244#M181332</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2021-10-11T05:21:09Z</dc:date>
    </item>
  </channel>
</rss>

