Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error build all #28

Open
LaurentBEDIEF opened this issue Jul 9, 2021 · 5 comments
Open

Error build all #28

LaurentBEDIEF opened this issue Jul 9, 2021 · 5 comments

Comments

@LaurentBEDIEF
Copy link

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

@DrUm78
Copy link

DrUm78 commented Jul 9, 2021

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.

@DrUm78
Copy link

DrUm78 commented Jul 10, 2021

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

@LaurentBEDIEF
Copy link
Author

I try to compile sdk and os from source under windows wsl .

@DrUm78
Copy link

DrUm78 commented Jul 10, 2021

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".

@hansschmucker
Copy link

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants