<?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 ECI release 3.2 setup.sh first run fails in Edge Software Catalog</title>
    <link>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1595985#M740</link>
    <description>&lt;P&gt;I've run into 2 errors while attempting to build the ECI 3.2 release (release-eci_3.2.zip) per these instructions: &lt;A href="https://eci.intel.com/docs/3.2/getstarted/building.html#setup-build-dependencies" target="_blank" rel="noopener"&gt;https://eci.intel.com/docs/3.2/getstarted/building.html#setup-build-dependencies&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve error #1 and move forward but want to report it anyway for other users and for fixing in next release. I have not solved error #2 yet and kindly request some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error #1: setup.sh wget of meta-intel/tree/MAINTAINERS file fails because file is no longer hosted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When running setup.sh for the first time, it attempts to download the MAINTAINERS file from &lt;A href="https://git.yoctoproject.org/meta-intel/tree" target="_blank" rel="noopener"&gt;https://git.yoctoproject.org/meta-intel/tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This fails as shown below. It fails because yoctoproject no longer has a MAINTAINERS file at the top level of their source tree which you can see by browsing the URL above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;eci@eci-Default-string:/mnt/home/ubuntu/eci/release-eci_3.2/Edge-Controls-for-Industrial/eci-release$ ./setup.sh 

It looks like you're running the setup for the first time.
Would you like to verify that all dependencies are met? [Y/n] Y

--2024-05-08 11:09:13--  http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
Resolving git.yoctoproject.org (git.yoctoproject.org)... 199.204.45.23
Connecting to git.yoctoproject.org (git.yoctoproject.org)|199.204.45.23|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS [following]
--2024-05-08 11:09:13--  https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
Connecting to git.yoctoproject.org (git.yoctoproject.org)|199.204.45.23|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.yoctoproject.org/meta-intel/tree/MAINTAINERS [following]
--2024-05-08 11:09:13--  https://git.yoctoproject.org/meta-intel/tree/MAINTAINERS
Reusing existing connection to git.yoctoproject.org:443.
HTTP request sent, awaiting response... 404 Not found
2024-05-08 11:09:13 ERROR 404: Not found.

############################################################################

ERROR: wget fail to fetch http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
NOTE:
You are either not connected or behind corporate proxy
Please make sure network proxies are setup at /etc/environment or
~/.bashrc :-
http_proxy=&amp;lt;http proxy server path&amp;gt;:&amp;lt;port&amp;gt;
ftp_proxy=&amp;lt;ftp proxy server path&amp;gt;:&amp;lt;port&amp;gt;
https_proxy=&amp;lt;https proxy server path&amp;gt;:&amp;lt;port&amp;gt;
socks_server=&amp;lt;SOCKS server path&amp;gt;:&amp;lt;port&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround - Change the targets/scripts/setup-common shell script's TEST_FILE variable from MAINTAINERS to LICENSE. This will make the script download the LICENSE file instead which wget can find successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error #2: setup.sh fails to cleanly apply patches to Dockerfile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running setup.sh for the first time, the script creates a docker image. The Dockerfile is patched just prior to building the image, but the patch fails to apply cleanly as shown below. The setup.sh script continues on and says "Dependency check complete" in green as if everything worked correctly, but I fear that the ECI&amp;nbsp; kernel build will fail down the line if this patch did not apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eci@eci-Default-string:/mnt/home/ubuntu/eci/release-eci_3.2/Edge-Controls-for-Industrial/eci-release$ ./setup.sh 

It looks like you're running the setup for the first time.
Would you like to verify that all dependencies are met? [Y/n] Y
...
=============================================
#!/bin/bash
exec socat stdio SOCKS:&amp;lt;proxy IP/DNS&amp;gt;:$1:$2
=============================================
Creating Docker image for ECI builds...
patching file Dockerfile
patching file Dockerfile
Hunk #1 FAILED at 83.
1 out of 2 hunks FAILED -- saving rejects to file Dockerfile.rej
[+] Building 59.6s (17/17) FINISHED
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 15:48:26 GMT</pubDate>
    <dc:creator>jcaprooddeka</dc:creator>
    <dc:date>2024-05-08T15:48:26Z</dc:date>
    <item>
      <title>ECI release 3.2 setup.sh first run fails</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1595985#M740</link>
      <description>&lt;P&gt;I've run into 2 errors while attempting to build the ECI 3.2 release (release-eci_3.2.zip) per these instructions: &lt;A href="https://eci.intel.com/docs/3.2/getstarted/building.html#setup-build-dependencies" target="_blank" rel="noopener"&gt;https://eci.intel.com/docs/3.2/getstarted/building.html#setup-build-dependencies&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve error #1 and move forward but want to report it anyway for other users and for fixing in next release. I have not solved error #2 yet and kindly request some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error #1: setup.sh wget of meta-intel/tree/MAINTAINERS file fails because file is no longer hosted&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When running setup.sh for the first time, it attempts to download the MAINTAINERS file from &lt;A href="https://git.yoctoproject.org/meta-intel/tree" target="_blank" rel="noopener"&gt;https://git.yoctoproject.org/meta-intel/tree&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This fails as shown below. It fails because yoctoproject no longer has a MAINTAINERS file at the top level of their source tree which you can see by browsing the URL above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;eci@eci-Default-string:/mnt/home/ubuntu/eci/release-eci_3.2/Edge-Controls-for-Industrial/eci-release$ ./setup.sh 

It looks like you're running the setup for the first time.
Would you like to verify that all dependencies are met? [Y/n] Y

--2024-05-08 11:09:13--  http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
Resolving git.yoctoproject.org (git.yoctoproject.org)... 199.204.45.23
Connecting to git.yoctoproject.org (git.yoctoproject.org)|199.204.45.23|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS [following]
--2024-05-08 11:09:13--  https://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
Connecting to git.yoctoproject.org (git.yoctoproject.org)|199.204.45.23|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.yoctoproject.org/meta-intel/tree/MAINTAINERS [following]
--2024-05-08 11:09:13--  https://git.yoctoproject.org/meta-intel/tree/MAINTAINERS
Reusing existing connection to git.yoctoproject.org:443.
HTTP request sent, awaiting response... 404 Not found
2024-05-08 11:09:13 ERROR 404: Not found.

############################################################################

ERROR: wget fail to fetch http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree//MAINTAINERS
NOTE:
You are either not connected or behind corporate proxy
Please make sure network proxies are setup at /etc/environment or
~/.bashrc :-
http_proxy=&amp;lt;http proxy server path&amp;gt;:&amp;lt;port&amp;gt;
ftp_proxy=&amp;lt;ftp proxy server path&amp;gt;:&amp;lt;port&amp;gt;
https_proxy=&amp;lt;https proxy server path&amp;gt;:&amp;lt;port&amp;gt;
socks_server=&amp;lt;SOCKS server path&amp;gt;:&amp;lt;port&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround - Change the targets/scripts/setup-common shell script's TEST_FILE variable from MAINTAINERS to LICENSE. This will make the script download the LICENSE file instead which wget can find successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error #2: setup.sh fails to cleanly apply patches to Dockerfile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running setup.sh for the first time, the script creates a docker image. The Dockerfile is patched just prior to building the image, but the patch fails to apply cleanly as shown below. The setup.sh script continues on and says "Dependency check complete" in green as if everything worked correctly, but I fear that the ECI&amp;nbsp; kernel build will fail down the line if this patch did not apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eci@eci-Default-string:/mnt/home/ubuntu/eci/release-eci_3.2/Edge-Controls-for-Industrial/eci-release$ ./setup.sh 

It looks like you're running the setup for the first time.
Would you like to verify that all dependencies are met? [Y/n] Y
...
=============================================
#!/bin/bash
exec socat stdio SOCKS:&amp;lt;proxy IP/DNS&amp;gt;:$1:$2
=============================================
Creating Docker image for ECI builds...
patching file Dockerfile
patching file Dockerfile
Hunk #1 FAILED at 83.
1 out of 2 hunks FAILED -- saving rejects to file Dockerfile.rej
[+] Building 59.6s (17/17) FINISHED
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 15:48:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1595985#M740</guid>
      <dc:creator>jcaprooddeka</dc:creator>
      <dc:date>2024-05-08T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: ECI release 3.2 setup.sh first run fails</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1595997#M741</link>
      <description>&lt;P&gt;Error #2: Workaround found&lt;/P&gt;&lt;P&gt;Replace &lt;STRONG&gt;targets/docker/eci-setup-build/0002-rerepro-revert-unzstd-bug-fix.patch&lt;/STRONG&gt; with the following:&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;--- a/Dockerfile
+++ b/Dockerfile
@@ -83,7 +83,7 @@
             binfmt-support bzip2 mmdebstrap arch-test apt-utils dosfstools \
             dpkg-dev gettext-base git mtools parted python3 python3-distutils \
             quilt qemu-user-static reprepro sudo unzip git-buildpackage \
-            pristine-tar sbuild schroot zstd \
+            pristine-tar sbuild schroot zstd equivs \
             libfribidi0 whiptail cpio \
             libonig5 jq uidmap acpica-tools \
 	         umoci skopeo \
@@ -94,6 +94,10 @@
     sbuild-adduser builder &amp;amp;&amp;amp; \
     sed -i 's|# kas-isar: ||g' /kas/container-entrypoint
 
+# Revert reprepro zstd 
+# https://bugs.launchpad.net/ubuntu/+source/reprepro/+bug/2008508 
+RUN apt reinstall -y -f /kas/reprepro_5.3.1-1ubuntu1_amd64.deb
+
 USER builder
 
 #&lt;/LI-CODE&gt;&lt;P&gt;Note that setup.sh will not rebuild the Docker container even if you delete your eci-release directory and start from scratch. You need to purge first: docker system prune --all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Able to figure it out on my own. Hopefully this helps someone out.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 16:29:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1595997#M741</guid>
      <dc:creator>jcaprooddeka</dc:creator>
      <dc:date>2024-05-08T16:29:20Z</dc:date>
    </item>
    <item>
      <title>Re:ECI release 3.2 setup.sh first run fails</title>
      <link>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1596257#M742</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing your findings.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Intel will no longer monitor this thread since this issue has been resolved.&amp;nbsp;If you need any additional information from Intel, please submit a new question&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Cordially,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Iffa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2024 09:17:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Edge-Software-Catalog/ECI-release-3-2-setup-sh-first-run-fails/m-p/1596257#M742</guid>
      <dc:creator>Iffa_Intel</dc:creator>
      <dc:date>2024-05-09T09:17:47Z</dc:date>
    </item>
  </channel>
</rss>

