Uploaded image for project: 'GENIVI Development Platform'
  1. GENIVI Development Platform
  2. GDP-774

bitbake fetch error: gdp11 and gdp12: erlang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • High
    • GDP 11, GDP 12
    • GDP 11, GDP 12
    • None
    • None

    Description

      The erlang fetch error occurs on old versions (I just checked gdp11 and gdp12).

      it seems that it is occurred after certain point of building up GDP13. (the error message described below.)

      To solve the issue, meta-erlang needs FIX.

       

      After checking history of meta-erlang repository, meta-erlang does not have backward compatibility straight away.

      To have backward compatibility to solve the issues: 2 solutions:

          1. create branch for gdp11 and gdp12

          2. rebase the source

       
      =====================================================================

      source init.sh qemux86-64

      bitbake genivi-dev-platform (gdp11)

      Loading cache: 100% |##########################################################################| ETA: 00:00:00
      Loaded 2291 entries from dependency cache.
      Parsing recipes: 100% |########################################################################| Time: 00:00:01
      Parsing of 1719 .bb files complete (1718 cached, 1 parsed). 2291 targets, 307 skipped, 0 masked, 0 errors.
      NOTE: Resolving any missing task queue dependencies

      Build Configuration:
      BB_VERSION = "1.30.0"
      BUILD_SYS = "x86_64-linux"
      NATIVELSBSTRING = "Ubuntu-14.04"
      TARGET_SYS = "x86_64-poky-linux"
      MACHINE = "qemux86-64"
      DISTRO = "poky-ivi-systemd"
      DISTRO_VERSION = "11.0.0"
      TUNE_FEATURES = "m64 core2"
      TARGET_FPU = ""
      meta
      meta-yocto
      meta-yocto-bsp = "HEAD:12eb72ee3b02f826a156ff4e396c770f2b93571e"
      meta-ivi
      meta-ivi-bsp = "HEAD:1f172234b04e1439f8d66593c4326657a2428d83"
      meta-oe
      meta-filesystems
      meta-ruby = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
      meta-qt5 = "HEAD:d715f2c1d340fa38f8a9860acc73de5e14a38b75"
      meta-genivi-dev = "HEAD:e757709e60667de3ca6aba30477a522578ededd8"
      meta-rust = "HEAD:d0663639a08ed60bb83fd6eb99e3e2045b21b53c"
      meta-oic = "HEAD:4d215eb63a27b5fe14216a25a760092002d13a33"
      meta-erlang = "HEAD:4d7eacc8e6593934ed5b0c8abc3d3e9dc339d849"
      meta-rvi = "HEAD:de9d548fe35e2cee8688faaae910b4f6f7fea17e"

      NOTE: Preparing RunQueue
      NOTE: Executing SetScene Tasks
      NOTE: Executing RunQueue Tasks
      ERROR: erlang-native-18.2.3-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://github.com/erlang/otp/archive/OTP-18.2.3.tar.gz'. Unable to fetch URL from any source.
      ERROR: Logfile of failure stored in: /data/users/seansc.park/gdp11/gdp-src-build/tmp/work/x86_64-linux/erlang-native/18.2.3-r0/temp/log.do_fetch.17218
      ERROR: Task 3608 (/data/users/seansc.park/gdp11/gdp-src-build/../meta-erlang/recipes-devtools/erlang/erlang-native_18.2.3.bb, do_fetch) failed with exit code '1'
      WARNING: erlang-18.2.3-r0 do_fetch: Checksum mismatch for local file /data/users/seansc.park/gdp11/gdp-src-build/downloads/OTP-18.2.3.tar.gz
      Cleaning and trying again.
      WARNING: erlang-18.2.3-r0 do_fetch: Renaming /data/users/seansc.park/gdp11/gdp-src-build/downloads/OTP-18.2.3.tar.gz to /data/users/seansc.park/gdp11/gdp-src-build/downloads/OTP-18.2.3.tar.gz_bad-checksum_7fe1ad5c3575c2e9c036f7a4aad123e1
      WARNING: erlang-18.2.3-r0 do_fetch: Checksum failure encountered with download of https://github.com/erlang/otp/archive/OTP-18.2.3.tar.gz - will attempt other sources if available
      ERROR: erlang-18.2.3-r0 do_fetch: Fetcher failure for URL: 'https://github.com/erlang/otp/archive/OTP-18.2.3.tar.gz'. Checksum mismatch!
      File: '/data/users/seansc.park/gdp11/gdp-src-build/downloads/OTP-18.2.3.tar.gz' has md5 checksum 7fe1ad5c3575c2e9c036f7a4aad123e1 when 236741d3893b09cdd1699edd1549db6b was expected
      File: '/data/users/seansc.park/gdp11/gdp-src-build/downloads/OTP-18.2.3.tar.gz' has sha256 checksum ba15c13a6b08d8ad8ffbe7f41f701eab1a48a65006e0181394f630cdd827140d when afb2d7dd8671623044c2b6baaf980c3c21dec7159f0367ffa7e663
      03197fbf7b 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] = "7fe1ad5c3575c2e9c036f7a4aad123e1"
      SRC_URI[sha256sum] = "ba15c13a6b08d8ad8ffbe7f41f701eab1a48a65006e0181394f630cdd827140d"
      Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

      ERROR: erlang-18.2.3-r0 do_fetch: Function failed: Fetcher failure for URL: 'https://github.com/erlang/otp/archive/OTP-18.2.3.tar.gz'. Unable to fetch URL from any source.
      ERROR: Logfile of failure stored in: /data/users/seansc.park/gdp11/gdp-src-build/tmp/work/core2-64-poky-linux/erlang/18.2.3-r0/temp/log.do_fetch.17247
      ERROR: Task 3594 (/data/users/seansc.park/gdp11/gdp-src-build/../meta-erlang/recipes-devtools/erlang/erlang_18.2.3.bb, do_fetch) failed with exit code '1'
      NOTE: Tasks Summary: Attempted 4911 tasks of which 4904 didn't need to be rerun and 3 failed. 

      Attachments

        Activity

          People

            seanparky Sean Se-Chang Park [X] (Inactive)
            seanparky Sean Se-Chang Park [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: