Error build all
hi,
OS : WSL - Ubuntu 20.04
error during build :
2021-07-09T12:38:07 /usr/bin/install -c ncurses-config /mnt/e/FunKey-S/FunKey-OS/SDK/output/target/usr/bin/ncurses6-config 2021-07-09T12:38:07 installing ncurses.pc 2021-07-09T12:38:07 installing ncurses.pc 2021-07-09T12:38:07 installing panel.pc 2021-07-09T12:38:07 installing menu.pc 2021-07-09T12:38:07 installing form.pc 2021-07-09T12:38:07 make[4]: warning: Clock skew detected. Your build may be incomplete. 2021-07-09T12:38:07 rm -f -rf /mnt/e/FunKey-S/FunKey-OS/SDK/output/target/usr/share/terminfo /mnt/e/FunKey-S/FunKey-OS/SDK/output/target/usr/share/tabset 2021-07-09T12:38:10 /usr/bin/install -D -m 0644 /mnt/e/FunKey-S/FunKey-OS/SDK/output/host/arm-funkey-linux-musleabihf/sysroot/usr/share/terminfo/a/ansi /mnt/e/FunKey-S/FunKey-OS/SDK/output/target/usr/share/terminfo/a/ansi 2021-07-09T12:38:10 /usr/bin/install: cannot stat '/mnt/e/FunKey-S/FunKey-OS/SDK/output/host/arm-funkey-linux-musleabihf/sysroot/usr/share/terminfo/a/ansi': No such file or directory 2021-07-09T12:38:10 make[2]: *** [package/pkg-generic.mk:345: /mnt/e/FunKey-S/FunKey-OS/SDK/output/build/ncurses-6.1/.stamp_target_installed] Error 1 2021-07-09T12:38:10 make[1]: *** [Makefile:84: _all] Error 2 2021-07-09T12:38:10 make[1]: Leaving directory '/mnt/e/FunKey-S/FunKey-OS/buildroot'
do you have an idea ?
thanks br.log
I already had this strange issue and could not get rid of it. I solved it with a "make clean" and a simple "make" to rebuild all the targets from scratch. Should take about 30 minutes to rebuild everything with a recent cpu (it does not rebuild the SDK) but worth it.
Also, maybe a stupid question but did you source your SDK before? Before running the "make all" command, type something like this:
source FunKey-sdk-2.3.0/environment-setup
You need the SDK to build an OS or a new SDK. If you have not downloaded it yet, grab it here:
https://github.com/FunKey-Project/FunKey-OS/releases/tag/FunKey-OS-2.3.0
I try to compile sdk and os from source under windows wsl .
So, do what I wrote above. You need the default SDK to do that. Download it and install it in "/opt" for instance then use the command:
source <YOUR_SDK_PATH>/environment-setup
Then try again a "make all".
@DrUm78 just ran into the same problem trying to set up FunKey-OS. so it defineitely wasn't a stupid question. But I've got one ;) If this is necessary, why doesn't the README.md include it?
Thank you for your wonderful fork BTW!