10 Replies Latest reply on Apr 24, 2017 2:08 PM by Intel Corporation

    Unable to build Ref-OS-IOT

    Maor_Izenberg

      Hello

       

      I followed the instructions here: ref-os-iot/meta-ref-os-iot at master · 01org/ref-os-iot · GitHub

      Using "source 5xx-init-build-env"

      When I try to bitbake full-image I got the following error after about 53%:

      Thanks in advanced!

       

      ERROR: realsense-objectrecognition-0.5.1-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-rnLrXIIvEk"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/maor/work/ref-os-iot/build/tmp-glibc/sysroots-uninative/x86_64-linux/usr/bin:/home/maor/work/ref-os-iot/intel-iot-refkit/openembedded-core/scripts:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot-native/usr/bin/x86_64-refos-linux:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot-native/usr/sbin:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot-native/usr/bin:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot-native/sbin:/home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/recipe-sysroot-native/bin:/home/maor/work/ref-os-iot/intel-iot-refkit/openembedded-core/scripts:/home/maor/work/ref-os-iot/intel-iot-refkit/bitbake/bin:/home/maor/bin:/home/maor/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/maor"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/maor/work/ref-os-iot/build/downloads 'http://realsense-alm-public.s3.amazonaws.com/apt-repo/pool/xenial/main/libr/librealsense-object-recognition/librealsense-object-recognition0_0.5.1.rc0-0ubuntu2~57.gbp0901bb_amd64.deb' --progress=dot -v failed with exit code 8, output:

      --2017-04-13 15:11:29--  http://realsense-alm-public.s3.amazonaws.com/apt-repo/pool/xenial/main/libr/librealsense-object-recognition/librealsense-object-recognition0_0.5.1.rc0-0ubuntu2~57.gbp0901bb_amd64.deb

      Resolving realsense-alm-public.s3.amazonaws.com (realsense-alm-public.s3.amazonaws.com)... 52.218.48.17

      Connecting to realsense-alm-public.s3.amazonaws.com (realsense-alm-public.s3.amazonaws.com)|52.218.48.17|:80... connected.

      HTTP request sent, awaiting response... 403 Forbidden

      2017-04-13 15:11:30 ERROR 403: Forbidden.

       

       

       

       

      ERROR: realsense-objectrecognition-0.5.1-r0 do_fetch: Fetcher failure for URL: 'http://realsense-alm-public.s3.amazonaws.com/apt-repo/pool/xenial/main/libr/librealsense-object-recognition/librealsense-object-recognition0_0.5.1.rc0-0ubuntu2~57.gbp0901bb_amd64.deb;name=lib'. Unable to fetch URL from any source.

      ERROR: realsense-objectrecognition-0.5.1-r0 do_fetch: Function failed: base_do_fetch

      ERROR: Logfile of failure stored in: /home/maor/work/ref-os-iot/build/tmp-glibc/work/corei7-64-refos-linux/realsense-objectrecognition/0.5.1-r0/temp/log.do_fetch.23448

      ERROR: Task (/home/maor/work/ref-os-iot/build/../meta-ref-os-iot/recipes-realsense/realsense-mw/realsense-objectrecognition_0.5.1.bb:do_fetch) failed with exit code '1'

        • 1. Re: Unable to build Ref-OS-IOT
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi Maor_Izenberg,

           

          Thanks for your interest in the Intel® Joule™ Platform.

           

          I'm sorry to hear that you are having issues building the Ref OS IoT image. Is there any particular reason why you are building this image? Because you can find the latest image on this link: Index of /ref-os-iot/releases/1703/5xx .

           

          After you download this image you can create a bootable device (IoT ), then you can flash the image by following these guides:

           

          - IoT
          - IoT

           

          I will be waiting for your reply, have a nice day!

           

          Best Regards,
          -Jose P.

          1 of 1 people found this helpful
          • 2. Re: Unable to build Ref-OS-IOT
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi Maor_Izenberg,

            We have just received an update regarding building the Ref OS IoT image, could you be so kind to disable the Realsense layer and try again building the image.

            We will be waiting for your results, have a nice day!

            Best Regards,
            -Jose P.

            1 of 1 people found this helpful
            • 3. Re: Unable to build Ref-OS-IOT
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi Maor_Izenberg,

              Were you able to build the Ref OS IoT image? Please let me know in order to assist you.

              We hope you have a nice day!

              Best Regards,
              -Jose P.

              • 4. Re: Unable to build Ref-OS-IOT
                Maor_Izenberg

                Hi

                 

                Sorry for the late reply.

                Disabling the layer did help me - thank you!

                However, I still have not checked the image yet. I will update for details

                • 5. Re: Unable to build Ref-OS-IOT
                  Intel Corporation
                  This message was posted on behalf of Intel Corporation

                  Hi Maor_Izenberg,

                  I'm glad to know that my advice helped! Please let me know if any questions come up, we will be happy to help.

                  Have a nice day!

                  Best Regards,
                  -Jose P.

                  • 6. Re: Unable to build Ref-OS-IOT
                    happy_jack

                    I have the same issue. and pass it by disable realsense-xxxx

                     

                    [jackwu@jackwu-ubuntu1604]$ git diff 683b1ab

                    diff --git a/meta-ref-os-iot/classes/refosiot-image.bbclass b/meta-ref-os-iot/classes/refosiot-image.bbclass

                    index 2aefded..9852538 100644

                    --- a/meta-ref-os-iot/classes/refosiot-image.bbclass

                    +++ b/meta-ref-os-iot/classes/refosiot-image.bbclass

                    @@ -8,18 +8,10 @@ FEATURE_PACKAGES_opencv = "opencv"

                    FEATURE_PACKAGES_opencl = "packagegroup-opencl"

                    FEATURE_PACKAGES_realsense = "\

                                               realsense-sdk \

                    -                          realsense-persontracking \

                    -                          realsense-projectionopt \

                    -                          realsense-objectrecognition \

                    -                          realsense-slam \

                                               librealsense \

                                               "

                    FEATURE_PACKAGES_realsense-dev = "\

                                               realsense-sdk-dev \

                    -                          realsense-persontracking-dev \

                    -                          realsense-projectionopt-dev \

                    -                          realsense-objectrecognition-dev \

                    -                          realsense-slam-dev \

                                               librealsense-dev \

                                               librealsense-graphical-examples \

                    "

                    • 7. Re: Unable to build Ref-OS-IOT
                      Umesh@pro3

                      im also facing same issue's.

                      it was not create image file. (.wic)

                      i get following error

                       

                      root@pro:~/work/ref-os-iot/devlopment_image$ bitbake full-image

                      Parsing recipes: 100% |#########################################################################################################################################################################| Time: 0:01:50

                      Parsing of 2547 .bb files complete (0 cached, 2547 parsed). 3359 targets, 145 skipped, 0 masked, 0 errors.

                      WARNING: No bb files matched BBFILE_PATTERN_batman '^/home/root123/work/ref-os-iot/devlopment_image/../meta-ref-os-iot/meta-common/meta-batman/'

                      WARNING: No bb files matched BBFILE_PATTERN_intel-arduino '^/home/root123/work/ref-os-iot/devlopment_image/../meta-ref-os-iot/meta-common/meta-intel-arduino/'

                      NOTE: Resolving any missing task queue dependencies

                       

                       

                      Build Configuration:

                      BB_VERSION        = "1.33.1"

                      BUILD_SYS         = "x86_64-linux"

                      NATIVELSBSTRING   = "sparky-4"

                      TARGET_SYS        = "x86_64-refos-linux"

                      MACHINE           = "intel-5xx-64"

                      DISTRO            = "ref-os-iot"

                      DISTRO_VERSION    = "1.0+snapshot-20170420"

                      TUNE_FEATURES     = "m64 corei7"

                      TARGET_FPU        = ""

                      meta             

                      meta-selftest     = "HEAD:9f225ef5620f2e47e762b2fd16fa5f8d6f1f60fd"

                      meta-intel        = "HEAD:5153dad2fa695bbb579c03ff795ef649269e8420"

                      meta-refkit       = "HEAD:11c3a736d9e824c85f50653db3ec5adabe47a8ae"

                      meta-oic          = "HEAD:b9ba736871b8f8b741cc9c1d88dda56e63a35091"

                      meta-iot-web      = "HEAD:7960e39f92434ee968fc86e38a98eeffdc5041fa"

                      meta-gnome       

                      meta-networking  

                      meta-oe          

                      meta-python      

                      meta-xfce         = "HEAD:5ecbf9bab404af0de7d0f058d1620f40dae0d2d8"

                      meta-intel-realsense = "HEAD:d60a3c69e0a9f38bdead72bc39857d891f32585c"

                      meta-ref-os-iot   = "master:c320ccd962953eee52be7584167f10a99ac308ca"

                      meta-qt5          = "HEAD:81fb771c3f31110e50eebcb004809361fdb28194"

                      meta-ros          = "HEAD:2cd378a1c1702e7b3e4ef3e97e987eb6af7b56e0"

                      meta-java         = "HEAD:a265b31ec7d022be254abdf959360a7624208585"

                      meta-clang        = "HEAD:dc1d9d550a5d33d76a3bc6162739edccbd8bf012"

                      meta-batman       = "HEAD:925ad8343613ca3c4274840b9e18225f5be0d231"

                      meta-intel-camera = "HEAD:a8c6730c2ca7608646a00b7da5460cbc6a08d902"

                      meta-intel-arduino

                      meta-5xx          = "master:c320ccd962953eee52be7584167f10a99ac308ca"

                       

                       

                      NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/1.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca

                      --2017-04-20 19:27:07--  http://download.01.org/ref-os-iot/mirror/source/x86_64-nativesdk-libc.tar.bz2

                      Resolving download.01.org (download.01.org)... 104.121.232.125, 2600:140f:c000:187::ae6, 2600:140f:c000:181::ae6

                      Connecting to download.01.org (download.01.org)|104.121.232.125|:80... connected.

                      HTTP request sent, awaiting response... 301 Moved Permanently

                      Location: https://download.01.org/ [following]

                      --2017-04-20 19:27:09--  https://download.01.org/

                      Connecting to download.01.org (download.01.org)|104.121.232.125|:443... connected.

                      HTTP request sent, awaiting response... 200 OK

                      Length: 5279 (5.2K) [text/html]

                      Saving to: ‘/home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2’

                       

                       

                       

                       

                      2017-04-20 19:27:10 (696 MB/s) - ‘/home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2’ saved [5279/5279]

                       

                       

                      WARNING: Checksum mismatch for local file /home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2

                      Cleaning and trying again.

                      WARNING: Renaming /home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2 to /home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2_bad-checksum_a192f2246ebc18cb13e3d0569f959863

                      ERROR: Checksum failure fetching http://downloads.yoctoproject.org/releases/uninative/1.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca

                      WARNING: Disabling uninative as unable to fetch uninative tarball: Fetcher failure for URL: 'http://downloads.yoctoproject.org/releases/uninative/1.4/x86_64-nativesdk-libc.tar.bz2;sha256sum=101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca'. Checksum mismatch!

                      File: '/home/root123/work/ref-os-iot/devlopment_image/downloads/uninative/101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca/x86_64-nativesdk-libc.tar.bz2' has sha256 checksum 1c064fc2366e9f31d7a8eba8d142b4c2f645834b59c702e4fdc413a730578a16 when 101ff8f2580c193488db9e76f9646fb6ed38b65fb76f403acb0e2178ce7127ca was expected

                      If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:

                      SRC_URI[md5sum] = "a192f2246ebc18cb13e3d0569f959863"

                      SRC_URI[sha256sum] = "1c064fc2366e9f31d7a8eba8d142b4c2f645834b59c702e4fdc413a730578a16"

                      Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

                       

                       

                      WARNING: To build your own uninative loader, please bitbake uninative-tarball and set UNINATIVE_TARBALL appropriately.

                      Initialising tasks: 100% |######################################################################################################################################################################| Time: 0:00:13

                      NOTE: Executing SetScene Tasks

                      NOTE: Executing RunQueue Tasks

                      WARNING: gnu-config-native-20161231+gitAUTOINC+6a82322dd0-r0 do_fetch: Failed to fetch URL git://git.sv.gnu.org/config.git, attempting MIRRORS if available

                      ERROR: gnu-config-native-20161231+gitAUTOINC+6a82322dd0-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-gbDoEdWo0T"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/root123/work/ref-os-iot/intel-iot-refkit/openembedded-core/scripts/native-intercept:/home/root123/work/ref-os-iot/intel-iot-refkit/openembedded-core/scripts:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/usr/bin:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/usr/sbin:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/usr/bin:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/sbin:/home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/recipe-sysroot-native/bin:/home/root123/work/ref-os-iot/intel-iot-refkit/openembedded-core/scripts:/home/root123/work/ref-os-iot/intel-iot-refkit/bitbake/bin:/home/root123/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin"; export HOME="/home/root123"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.sv.gnu.org/config.git /home/root123/work/ref-os-iot/devlopment_image/downloads/git2/git.sv.gnu.org.config.git --progress failed with exit code 128, output:

                      Cloning into bare repository '/home/root123/work/ref-os-iot/devlopment_image/downloads/git2/git.sv.gnu.org.config.git'...

                      fatal: read error: Connection reset by peer

                       

                       

                      ERROR: gnu-config-native-20161231+gitAUTOINC+6a82322dd0-r0 do_fetch: Fetcher failure for URL: 'git://git.sv.gnu.org/config.git'. Unable to fetch URL from any source.

                      ERROR: gnu-config-native-20161231+gitAUTOINC+6a82322dd0-r0 do_fetch: Function failed: base_do_fetch

                      ERROR: Logfile of failure stored in: /home/root123/work/ref-os-iot/devlopment_image/tmp-glibc/work/x86_64-linux/gnu-config-native/20161231+gitAUTOINC+6a82322dd0-r0/temp/log.do_fetch.8247

                      ERROR: Task (virtual:native:/home/root123/work/ref-os-iot/devlopment_image/../intel-iot-refkit/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch) failed with exit code '1'

                      NOTE: Tasks Summary: Attempted 53 tasks of which 0 didn't need to be rerun and 1 failed.

                       

                       

                      Summary: 1 task failed:

                        virtual:native:/home/root123/work/ref-os-iot/devlopment_image/../intel-iot-refkit/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch

                      Summary: There were 7 WARNING messages shown.

                      Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

                      • 8. Re: Unable to build Ref-OS-IOT
                        Intel Corporation
                        This message was posted on behalf of Intel Corporation

                        Hi guys,

                         

                        Thanks for your interest in the Intel® Realsense™ Platform.

                         

                        happy_jack, you said: "I have the same issue. and pass it by disable realsense-xxxx", are you just sharing your experience, or do you have any more questions?

                         

                        Umesh@pro3, have you try disabling the Realsense layer?

                         

                        We will be waiting for your reply, have a nice day!

                         

                        Best Regards,
                        -Jose P.

                        • 9. Re: Unable to build Ref-OS-IOT
                          Umesh@pro3

                          thanx...... jose P

                          i didn't tried by disabling this layer,can u tell me more that how i can disable that layer.

                          step by step

                          im facing the same fetching error for sensor layers also.

                          to disable it what changes i have to made.

                          and one more thing

                          1st time when im fetching from git,after that how i can use local downloaded file to avoid fetching

                          with bitbake cmd.

                          • 10. Re: Unable to build Ref-OS-IOT
                            Intel Corporation
                            This message was posted on behalf of Intel Corporation

                            Hi Umesh@pro3,

                             

                            I would encourage you to read the Yocto Project Reference Manual Yocto Project Reference Manual . Please look for the package exclude and remove information.

                             

                            Also you can find the latest image of the Ref OS IoT at this link: GitHub - 01org/ref-os-iot: This is the official distribution of the Intel(R) Reference Operating System for the Internet… .

                             

                            Hope this helps, have a nice day!

                             

                            Best Regards,
                            -Jose P.