edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

Issue Building Sumo Branch #149

Closed ColeMurray closed 9 months ago

ColeMurray commented 1 year ago

I am experiencing an issue running make setup using the sumo32 branch.

System: Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic

Repro:

git clone https://github.com/edison-fw/meta-intel-edison.git
ln -s meta-intel-edison/utils/Makefile.mk Makefile
make setup

Full log:

Already on 'sumo'
Your branch is up to date with 'origin/sumo'.
Cloning Mingw layer to /home/ferry/sumo-build/out/linux64/poky/meta-mingw directory from local cache
Cloning into 'meta-mingw'...
done.
Cloning Darwin layer to /home/ferry/sumo-build/out/linux64/poky/meta-darwin directory from local cache
Cloning into 'meta-darwin'...
done.
Note: checking out '29b5ff31cee24e796f2eb2d2fd1269e3e92c831c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 29b5ff3 gcc-runtime: Don't pollute global export namespace
Cloning Openembedded layer to /home/ferry/sumo-build/out/linux64/poky/meta-openembedded directory from local cache
Cloning into 'meta-openembedded'...
done.
Branch 'sumo' set up to track remote branch 'sumo' from 'origin'.
Switched to a new branch 'sumo'
Cloning meta-intel layer to /home/ferry/sumo-build/out/linux64/poky/meta-intel directory from local cache
Cloning into 'meta-intel'...
done.
Branch 'sumo' set up to track remote branch 'sumo' from 'origin'.
Switched to a new branch 'sumo'
Cloning meta-acpi layer to /home/ferry/sumo-build directory from local cache
Cloning into 'meta-acpi'...
done.
Branch 'eds' set up to track remote branch 'eds' from 'origin'.
Switched to a new branch 'eds'
Cloning meta-arduino layer to /home/ferry/sumo-build directory from GitHub.com/01org/meta-arduino
Cloning into 'meta-arduino'...
remote: Enumerating objects: 72, done.
remote: Total 72 (delta 0), reused 0 (delta 0), pack-reused 72
Unpacking objects: 100% (72/72), done.
Already on '1.6.x'
Your branch is up to date with 'origin/1.6.x'.
Applying patch on poky
error: patch failed: meta/recipes-core/coreutils/coreutils_8.29.bb:21
error: meta/recipes-core/coreutils/coreutils_8.29.bb: patch does not apply
Makefile:25: recipe for target 'setup' failed
htot commented 1 year ago

I haven't built Sumo in a very long time. It is possible that this patch was made obsolete by upstream changes. You can try to disable the patch here.

If you are not depending on MRAA and UPM you might be better off trying hardknott (or soon honister). Development of mraa and upm seems to have slowed down anyway.And Yocto Sumo is long EOL. With honister we will be moving to libiio, libgpiod and libserialport as alternatives.