siemens / meta-iot2000

SIMATIC IOT2000 Yocto Board Support Package
Other
127 stars 85 forks source link

building the kas-example image 5 tasks failed, image not created #158

Closed R0HX closed 3 years ago

R0HX commented 4 years ago

Hello Guys,

I was trying to build the kas-example image native via Ubuntu 16.04LTS but in the end 5 tasks failed an I am not able to find the image. I got no idea where these errors come from. I need your help.

The complete output while building..

`jan@jansUbu:~$ kas build meta-iot2000/kas-example.yml

2020-08-04 13:52:02 - INFO - kas 2.1.1 started

2020-08-04 13:52:02 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:52:02 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:52:02 - INFO - Using /home/jan/meta-iot2000 as root for repository meta-iot2000

2020-08-04 13:52:02 - INFO - /home/jan$ git clone -q https://git.yoctoproject.org/git/poky /home/jan/poky

2020-08-04 13:52:02 - INFO - /home/jan$ git clone -q https://github.com/siemens/meta-efibootguard /home/jan/meta-efibootguard

2020-08-04 13:52:02 - INFO - /home/jan$ git clone -q https://github.com/sbabic/meta-swupdate /home/jan/meta-swupdate

2020-08-04 13:52:02 - INFO - /home/jan$ git clone -q http://git.openembedded.org/meta-openembedded /home/jan/meta-openembedded

2020-08-04 13:52:03 - INFO - Repository meta-efibootguard cloned

2020-08-04 13:52:04 - INFO - Repository meta-swupdate cloned

2020-08-04 13:53:01 - INFO - Repository meta-openembedded cloned

2020-08-04 13:53:45 - INFO - Repository poky cloned

2020-08-04 13:53:45 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:53:46 - INFO - Using /home/jan/meta-iot2000 as root for repository meta-iot2000

2020-08-04 13:53:46 - INFO - /home/jan/poky$ git status -s

2020-08-04 13:53:46 - INFO - /home/jan/poky$ git rev-parse --verify HEAD

2020-08-04 13:53:46 - INFO - 5e1bc3ef5ac83b244102011dc5bfd167a6342514

2020-08-04 13:53:46 - INFO - /home/jan/poky$ git checkout -q cf92a2d567260b91a259652bad0ecd790750f710

2020-08-04 13:53:46 - INFO - /home/jan/meta-efibootguard$ git status -s

2020-08-04 13:53:46 - INFO - /home/jan/meta-efibootguard$ git rev-parse --verify HEAD

2020-08-04 13:53:46 - INFO - a802993251b5245c6bb026a3a78464992fa280f6

2020-08-04 13:53:46 - INFO - /home/jan/meta-efibootguard$ git checkout -q 3295b62225465b4f792d2c0070420516e2beff45

2020-08-04 13:53:46 - INFO - /home/jan/meta-swupdate$ git status -s

2020-08-04 13:53:46 - INFO - /home/jan/meta-swupdate$ git rev-parse --verify HEAD

2020-08-04 13:53:46 - INFO - e3606b2a58409b8b9f74b076da4263f1b0e520f4

2020-08-04 13:53:46 - INFO - /home/jan/meta-swupdate$ git checkout -q 8ad6a75e1778cdda671b3d6aea2a9692613020ec

2020-08-04 13:53:46 - INFO - /home/jan/meta-openembedded$ git status -s

2020-08-04 13:53:46 - INFO - /home/jan/meta-openembedded$ git rev-parse --verify HEAD

2020-08-04 13:53:46 - INFO - 2cf66ec68f32e7fdebaf683ad9b05c399662960f

2020-08-04 13:53:46 - INFO - /home/jan/meta-openembedded$ git checkout -q e855ecc6d35677e79780adc57b2552213c995731

2020-08-04 13:53:46 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:53:46 - INFO - Using /home/jan/meta-iot2000 as root for repository meta-iot2000

2020-08-04 13:53:46 - INFO - /home/jan/poky$ /tmp/tmpinypkcwf /home/jan/build

2020-08-04 13:53:46 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:53:46 - INFO - Using /home/jan/meta-iot2000 as root for repository meta-iot2000

2020-08-04 13:53:46 - INFO - /home/jan/meta-iot2000$ git rev-parse --show-toplevel

2020-08-04 13:53:46 - INFO - Using /home/jan/meta-iot2000 as root for repository meta-iot2000

2020-08-04 13:53:46 - INFO - /home/jan/build$ /home/jan/poky/bitbake/bin/bitbake -k -c build iot2000-example-image

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

Parsing of 2285 .bb files complete (0 cached, 2285 parsed). 3410 targets, 94 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.44.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-16.04"

TARGET_SYS = "i586-poky-linux"

MACHINE = "iot2000"

DISTRO = "poky-iot2000"

DISTRO_VERSION = "V2.6.0"

TUNE_FEATURES = "m32 i586-nlp"

TARGET_FPU = ""

meta-efibootguard = "HEAD:3295b62225465b4f792d2c0070420516e2beff45"

meta-iot2000-bsp

meta-iot2000-example = "master:e5aa4d8910b7e7ab3ccd21086addb83d1511a0b9"

meta-networking

meta-oe

meta-python = "HEAD:e855ecc6d35677e79780adc57b2552213c995731"

meta-swupdate = "HEAD:8ad6a75e1778cdda671b3d6aea2a9692613020ec"

meta

meta-poky

meta-yocto-bsp = "HEAD:cf92a2d567260b91a259652bad0ecd790750f710"

NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216

WARNING: Failed to fetch URL http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216, attempting MIRRORS if available

ERROR: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jan/poky/scripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin/i586-poky-linux:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/bin:/home/jan/poky/bitbake/bin:/home/jan/build/tmp/hosttools"; export HOME="/tmp/tmpi6xfxdiq"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/jan/build/downloads/uninative/9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216 'http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz' --progress=dot -v failed with exit code 4, output:

--2020-08-04 13:55:19-- http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz

Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63

Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.

HTTP request sent, awaiting response... 504 Gateway Time-out

Retrying.

--2020-08-04 13:55:30-- (try: 2) http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz

Reusing existing connection to downloads.yoctoproject.org:80.

HTTP request sent, awaiting response... 504 Gateway Time-out

Giving up.

WARNING: Disabling uninative as unable to fetch uninative tarball: Fetcher failure for URL: 'http://downloads.yoctoproject.org/releases/uninative/2.7/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216'. Unable to fetch URL from any source.

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

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

Sstate summary: Wanted 1767 Found 0 Missed 1767 Current 0 (0% match, 0% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

WARNING: icu-native-64.2-r0 do_fetch: Checksum mismatch for local file /home/jan/build/downloads/icu4c-64_2-src.tgz

Cleaning and trying again.

WARNING: icu-native-64.2-r0 do_fetch: Renaming /home/jan/build/downloads/icu4c-64_2-src.tgz to /home/jan/build/downloads/icu4c-64_2-src.tgz_bad-checksum_a63c768c08b75efdb8c936f5fb583896

WARNING: icu-native-64.2-r0 do_fetch: Checksum failure encountered with download of http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz - will attempt other sources if available

ERROR: icu-native-64.2-r0 do_fetch: Fetcher failure for URL: 'http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz'. Checksum mismatch!

File: '/home/jan/build/downloads/icu4c-64_2-src.tgz' has md5 checksum a63c768c08b75efdb8c936f5fb583896 when a3d18213beec454e3cdec9a3116d6b05 was expected

File: '/home/jan/build/downloads/icu4c-64_2-src.tgz' has sha256 checksum cf4443cce263e8e99fc5ba0fb0ce52eb16d6bd40969b211bb083f2fff5f4b267 when 627d5d8478e6d96fc8c90fed4851239079a561a6a8b9e48b0892f24e82d31d6c 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] = "a63c768c08b75efdb8c936f5fb583896"

SRC_URI[sha256sum] = "cf4443cce263e8e99fc5ba0fb0ce52eb16d6bd40969b211bb083f2fff5f4b267"

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

ERROR: icu-native-64.2-r0 do_fetch: Fetcher failure for URL: 'http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/jan/build/tmp/work/x86_64-linux/icu-native/64.2-r0/temp/log.do_fetch.26800

ERROR: Task (virtual:native:/home/jan/poky/meta/recipes-support/icu/icu_64.2.bb:do_fetch) failed with exit code '1'

WARNING: icu-64.2-r0 do_fetch: Checksum mismatch for local file /home/jan/build/downloads/icu4c-64_2-src.tgz

Cleaning and trying again.

WARNING: icu-64.2-r0 do_fetch: Renaming /home/jan/build/downloads/icu4c-64_2-src.tgz to /home/jan/build/downloads/icu4c-64_2-src.tgz_bad-checksum_88a5556c276f93536886817512b62d56

WARNING: icu-64.2-r0 do_fetch: Checksum failure encountered with download of http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz - will attempt other sources if available

ERROR: icu-64.2-r0 do_fetch: Fetcher failure for URL: 'http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz'. Checksum mismatch!

File: '/home/jan/build/downloads/icu4c-64_2-src.tgz' has md5 checksum 88a5556c276f93536886817512b62d56 when a3d18213beec454e3cdec9a3116d6b05 was expected

File: '/home/jan/build/downloads/icu4c-64_2-src.tgz' has sha256 checksum dfa97461f727acd23d8ae67808424d6c2ea2d23a03276aa74f0af1ca7e1c3090 when 627d5d8478e6d96fc8c90fed4851239079a561a6a8b9e48b0892f24e82d31d6c 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] = "88a5556c276f93536886817512b62d56"

SRC_URI[sha256sum] = "dfa97461f727acd23d8ae67808424d6c2ea2d23a03276aa74f0af1ca7e1c3090"

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

ERROR: icu-64.2-r0 do_fetch: Fetcher failure for URL: 'http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/jan/build/tmp/work/i586-nlp-32-poky-linux/icu/64.2-r0/temp/log.do_fetch.11623

ERROR: Task (/home/jan/poky/meta/recipes-support/icu/icu_64.2.bb:do_fetch) failed with exit code '1'

WARNING: opkg-1_0.4.1-r0 do_fetch: Failed to fetch URL http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz, attempting MIRRORS if available

ERROR: opkg-1_0.4.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jan/poky/scripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot-native/usr/bin/i586-poky-linux:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot-native/usr/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot-native/usr/bin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot-native/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/recipe-sysroot-native/bin:/home/jan/poky/bitbake/bin:/home/jan/build/tmp/hosttools"; export HOME="/tmp/tmpi6xfxdiq"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/jan/build/downloads 'http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz' --progress=dot -v failed with exit code 4, output:

--2020-08-04 12:59:28-- http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz

Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63

Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.

HTTP request sent, awaiting response... 504 Gateway Time-out

Retrying.

--2020-08-04 12:59:40-- (try: 2) http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz

Reusing existing connection to downloads.yoctoproject.org:80.

HTTP request sent, awaiting response... 504 Gateway Time-out

Giving up.

ERROR: opkg-1_0.4.1-r0 do_fetch: Fetcher failure for URL: 'http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/jan/build/tmp/work/i586-nlp-32-poky-linux/opkg/1_0.4.1-r0/temp/log.do_fetch.20520

ERROR: Task (/home/jan/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_fetch) failed with exit code '1'

WARNING: haveged-1.9.6-r0 do_fetch: Failed to fetch URL git://github.com/jirka-h/haveged.git, attempting MIRRORS if available

ERROR: haveged-1.9.6-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jan/poky/scripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot-native/usr/bin/i586-poky-linux:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot/usr/bin/crossscripts:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot-native/usr/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot-native/usr/bin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot-native/sbin:/home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/recipe-sysroot-native/bin:/home/jan/poky/bitbake/bin:/home/jan/build/tmp/hosttools"; export HOME="/tmp/tmpi6xfxdiq"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/jirka-h/haveged.git /home/jan/build/downloads/git2/github.com.jirka-h.haveged.git --progress failed with exit code 128, output:

Cloning into bare repository '/home/jan/build/downloads/git2/github.com.jirka-h.haveged.git'...

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

ERROR: haveged-1.9.6-r0 do_fetch: Fetcher failure for URL: 'git://github.com/jirka-h/haveged.git'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/jan/build/tmp/work/i586-nlp-32-poky-linux/haveged/1.9.6-r0/temp/log.do_fetch.31337

ERROR: Task (/home/jan/meta-openembedded/meta-oe/recipes-extended/haveged/haveged_1.9.6.bb:do_fetch) failed with exit code '1'

WARNING: opkg-native-1_0.4.1-r0 do_fetch: Failed to fetch URL http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz, attempting MIRRORS if available

ERROR: opkg-native-1_0.4.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jan/poky/scripts/native-intercept:/home/jan/poky/scripts:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/usr/bin:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/usr/sbin:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/usr/bin:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/sbin:/home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/recipe-sysroot-native/bin:/home/jan/poky/bitbake/bin:/home/jan/build/tmp/hosttools"; export HOME="/tmp/tmpi6xfxdiq"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/jan/build/downloads 'http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz' --progress=dot -v failed with exit code 4, output:

--2020-08-04 14:02:06-- http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz

Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63

Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.

HTTP request sent, awaiting response... 504 Gateway Time-out

Retrying.

--2020-08-04 14:02:17-- (try: 2) http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz

Reusing existing connection to downloads.yoctoproject.org:80.

HTTP request sent, awaiting response... 504 Gateway Time-out

Giving up.

ERROR: opkg-native-1_0.4.1-r0 do_fetch: Fetcher failure for URL: 'http://downloads.yoctoproject.org/releases/opkg/opkg-0.4.1.tar.gz'. Unable to fetch URL from any source.

ERROR: Logfile of failure stored in: /home/jan/build/tmp/work/x86_64-linux/opkg-native/1_0.4.1-r0/temp/log.do_fetch.17860

ERROR: Task (virtual:native:/home/jan/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_fetch) failed with exit code '1'

NOTE: Tasks Summary: Attempted 4610 tasks of which 2 didn't need to be rerun and 5 failed.

Summary: 5 tasks failed:

virtual:native:/home/jan/poky/meta/recipes-support/icu/icu_64.2.bb:do_fetch

/home/jan/poky/meta/recipes-support/icu/icu_64.2.bb:do_fetch

/home/jan/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_fetch

/home/jan/meta-openembedded/meta-oe/recipes-extended/haveged/haveged_1.9.6.bb:do_fetch

virtual:native:/home/jan/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_fetch

Summary: There were 12 WARNING messages shown.

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

If anything else is needed please let me know! Thanks in advance BR

jan-kiszka commented 4 years ago

Use a public (non-corporate, non-filtered) Internet connection.

R0HX commented 4 years ago

Got it, thank you! But got another Problem after trying to compile the image via bitbake with a bluetooth layer added.

`ERROR: Error importing OE modules: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn' ERROR: Invalid signature generator 'OEBasicHash', using default 'noop' Available generators: basic, basichash, noop ERROR: Invalid signature generator 'OEBasicHash', using default 'noop' Available generators: basic, basichash, noop ERROR: Error importing OE modules: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn' ERROR: Invalid signature generator 'OEBasicHash', using default 'noop' Available generators: basic, basichash, noop ERROR: Invalid signature generator 'OEBasicHash', using default 'noop' Available generators: basic, basichash, noop ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:

Bitbake version 1.43.2 is required and version 1.36.0 was found

` Again I have no idea why Bitbake isn't the latest version. I installed just a view days ago the master of poky...

Thank you in advance BR

jan-kiszka commented 4 years ago

Are you building current master? That is Yocto 3.0-based and comes with bitbake 1.44. Our last release is... older.

R0HX commented 4 years ago

HI Jan, im so sorry for answering that late all the time. Last time I just messed up something, after rebuilding with master it worked better, but unfortunately there is a new error which gets me again a headache. Again I'm sorry for my late replys.

Loading cache: 100% |######################################################| Time: 0:00:01 Loaded 3410 entries from dependency cache. ERROR: ParseError at /home/ctree/meta-iot2000/meta-iot2000-bsp/recipes-kernel/linux/linux-cip_4.4.bb:12: unparsed line: 'KMACHINE_iot2000 = "intel-quark"s' Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Thank you in advance BR

jan-kiszka commented 4 years ago

Please describe your build environment in more details (native or kas-docker, Linux distro used, build command issued).

R0HX commented 4 years ago

I'm using a virtual machine with ubuntu 16.04.6. I was using the guide from the siemens forum to create a image with bluetooth support. include_BT.pdf I followed all steps until the error occurred after I tried bitbake iot2000-example-image

BR

jan-kiszka commented 4 years ago

The instructions under "Build the Image with the added components" are outdated by several releases. Please follow the README of this layer, it's in sync with what is required.

R0HX commented 4 years ago

Sorry for the pathetic question. But which layer do you mean?

BR

jan-kiszka commented 4 years ago

meta-iot2000 - actually "repo", containing the two layers (bsp and example). They have external deps which are resolved and configured by kas. Thus call kas to build the example-image.

R0HX commented 4 years ago

I'm sorry for beeing so totaly out of order right now. But how do I go on? Or is it even a good idea to try to implement bluetooth?

rifelipe commented 4 years ago

Hello, Maybe I can help with this topic: @R0HX: first of all, maybe try building the image from scratch using this guide as mentioned by jan, without changing any configs. If this works out fine, then we have a good starting point. Instead of changing the recipes, maybe its more fail-proof to just add the additional kernel-flags for bluetooth in this file

CONFIG_BT=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
CONFIG_BT_HCIBTUSB=m
CONFIG_BT_HCIVHCI=m

Then add the respective bluez5 packages in iot2000-example-image.inc as described, and rebuild the image using the kas script (not bitbake commands like in this old PDF).

Hope this helps. Let us know if everything worked out, then we could include these changes to future images.

BR Felipe R.

R0HX commented 4 years ago

Thank you for your engagment! Executed all steps but unfortunately got the same error again :(

ctree@ctree-VirtualBox:~$ kas build meta-iot2000/kas-example.yml 2020-08-19 12:31:23 - INFO - kas 2.1.1 started 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - Using /home/ctree/meta-iot2000 as root for repository meta-iot2000 2020-08-19 12:31:23 - INFO - /home/ctree/meta-openembedded$ git remote set-url origin http://git.openembedded.org/meta-openembedded 2020-08-19 12:31:23 - INFO - /home/ctree/meta-swupdate$ git remote set-url origin https://github.com/sbabic/meta-swupdate 2020-08-19 12:31:23 - INFO - /home/ctree/poky$ git remote set-url origin https://git.yoctoproject.org/git/poky 2020-08-19 12:31:23 - INFO - /home/ctree/meta-efibootguard$ git remote set-url origin https://github.com/siemens/meta-efibootguard 2020-08-19 12:31:23 - INFO - /home/ctree/meta-openembedded$ git cat-file -t e855ecc6d35677e79780adc57b2552213c995731 2020-08-19 12:31:23 - INFO - /home/ctree/meta-swupdate$ git cat-file -t 8ad6a75e1778cdda671b3d6aea2a9692613020ec 2020-08-19 12:31:23 - INFO - /home/ctree/poky$ git cat-file -t cf92a2d567260b91a259652bad0ecd790750f710 2020-08-19 12:31:23 - INFO - /home/ctree/meta-efibootguard$ git cat-file -t 3295b62225465b4f792d2c0070420516e2beff45 2020-08-19 12:31:23 - INFO - Repository meta-openembedded already contains e855ecc6d35677e79780adc57b2552213c995731 as commit 2020-08-19 12:31:23 - INFO - Repository meta-swupdate already contains 8ad6a75e1778cdda671b3d6aea2a9692613020ec as commit 2020-08-19 12:31:23 - INFO - Repository poky already contains cf92a2d567260b91a259652bad0ecd790750f710 as commit 2020-08-19 12:31:23 - INFO - Repository meta-efibootguard already contains 3295b62225465b4f792d2c0070420516e2beff45 as commit 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - Using /home/ctree/meta-iot2000 as root for repository meta-iot2000 2020-08-19 12:31:23 - INFO - /home/ctree/meta-openembedded$ git status -s 2020-08-19 12:31:23 - INFO - /home/ctree/meta-openembedded$ git rev-parse --verify HEAD 2020-08-19 12:31:23 - INFO - e855ecc6d35677e79780adc57b2552213c995731 2020-08-19 12:31:23 - INFO - Repo meta-openembedded has already been checked out with correct refspec. Nothing to do. 2020-08-19 12:31:23 - INFO - /home/ctree/meta-swupdate$ git status -s 2020-08-19 12:31:23 - INFO - /home/ctree/meta-swupdate$ git rev-parse --verify HEAD 2020-08-19 12:31:23 - INFO - 8ad6a75e1778cdda671b3d6aea2a9692613020ec 2020-08-19 12:31:23 - INFO - Repo meta-swupdate has already been checked out with correct refspec. Nothing to do. 2020-08-19 12:31:23 - INFO - /home/ctree/poky$ git status -s 2020-08-19 12:31:23 - INFO - /home/ctree/poky$ git rev-parse --verify HEAD 2020-08-19 12:31:23 - INFO - cf92a2d567260b91a259652bad0ecd790750f710 2020-08-19 12:31:23 - INFO - Repo poky has already been checked out with correct refspec. Nothing to do. 2020-08-19 12:31:23 - INFO - /home/ctree/meta-efibootguard$ git status -s 2020-08-19 12:31:23 - INFO - /home/ctree/meta-efibootguard$ git rev-parse --verify HEAD 2020-08-19 12:31:23 - INFO - 3295b62225465b4f792d2c0070420516e2beff45 2020-08-19 12:31:23 - INFO - Repo meta-efibootguard has already been checked out with correct refspec. Nothing to do. 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - Using /home/ctree/meta-iot2000 as root for repository meta-iot2000 2020-08-19 12:31:23 - INFO - /home/ctree/poky$ /tmp/tmpjll45yj_ /home/ctree/build 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - Using /home/ctree/meta-iot2000 as root for repository meta-iot2000 2020-08-19 12:31:23 - INFO - /home/ctree/meta-iot2000$ git rev-parse --show-toplevel 2020-08-19 12:31:23 - INFO - Using /home/ctree/meta-iot2000 as root for repository meta-iot2000 2020-08-19 12:31:23 - INFO - /home/ctree/build$ /home/ctree/poky/bitbake/bin/bitbake -k -c build iot2000-example-image Loading cache: 100% |######################################################| Time: 0:00:01 Loaded 3410 entries from dependency cache. ERROR: ParseError at /home/ctree/meta-iot2000/meta-iot2000-bsp/recipes-kernel/linux/linux-cip_4.4.bb:12: unparsed line: 'KMACHINE_iot2000 = "intel-quark"s' Summary: There was 1 ERROR message shown, returning a non-zero exit code.

jan-kiszka commented 4 years ago

Your meta-iot2000 repository checkout is clean? I can't see a reason for this anymore, and works properly here for current master in a clean checkout.

You may also try the kas-docker build variant, to reduce the impact of your rather old host distro on the build.

jan-kiszka commented 3 years ago

Assuming the issue was resolved as there was no follow-up.