Created
January 30, 2025 01:24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -it \ | |
ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \ | |
/bin/bash | |
cd | |
git clone https://github.com/apache/nuttx | |
git clone https://github.com/apache/nuttx-apps apps | |
cd nuttx | |
tools/configure.sh sim:quickjs | |
make -j | |
luppy@thinkstation:~/nuttx-build-farm$ sudo docker run -it \ | |
ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \ | |
/bin/bash | |
[sudo] password for luppy: | |
root@1a979eea4f03:/tools# cd | |
root@1a979eea4f03:~# git clone https://github.com/apache/nuttx | |
Cloning into 'nuttx'... | |
remote: Enumerating objects: 841299, done. | |
remote: Counting objects: 100% (93/93), done. | |
remote: Compressing objects: 100% (64/64), done. | |
remote: Total 841299 (delta 42), reused 29 (delta 29), pack-reused 841206 (from 4) | |
Receiving objects: 100% (841299/841299), 309.06 MiB | 16.13 MiB/s, done. | |
Resolving deltas: 100% (658661/658661), done. | |
Updating files: 100% (23835/23835), done. | |
root@1a979eea4f03:~# git clone https://github.com/apache/nuttx-apps apps | |
Cloning into 'apps'... | |
remote: Enumerating objects: 94502, done. | |
remote: Counting objects: 100% (1865/1865), done. | |
remote: Compressing objects: 100% (738/738), done. | |
remote: Total 94502 (delta 1498), reused 1127 (delta 1127), pack-reused 92637 (from 4) | |
Receiving objects: 100% (94502/94502), 27.39 MiB | 15.83 MiB/s, done. | |
Resolving deltas: 100% (75458/75458), done. | |
root@1a979eea4f03:~# cd nuttx | |
root@1a979eea4f03:~/nuttx# tools/configure.sh sim:quickjs | |
Copy files | |
Select CONFIG_HOST_LINUX=y | |
Refreshing... | |
CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
LN: platform/board to /root/apps/platform/dummy | |
LN: include/arch to arch/sim/include | |
LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
LN: drivers/platform to /root/nuttx/drivers/dummy | |
LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
mkkconfig in /root/apps/audioutils | |
mkkconfig in /root/apps/benchmarks | |
mkkconfig in /root/apps/boot | |
mkkconfig in /root/apps/canutils | |
mkkconfig in /root/apps/crypto | |
mkkconfig in /root/apps/database | |
mkkconfig in /root/apps/examples/mcuboot | |
mkkconfig in /root/apps/examples/module | |
mkkconfig in /root/apps/examples/rust | |
mkkconfig in /root/apps/examples/sotest | |
mkkconfig in /root/apps/examples | |
mkkconfig in /root/apps/fsutils | |
mkkconfig in /root/apps/games | |
mkkconfig in /root/apps/graphics | |
mkkconfig in /root/apps/industry | |
mkkconfig in /root/apps/inertial | |
mkkconfig in /root/apps/interpreters/luamodules | |
mkkconfig in /root/apps/interpreters | |
mkkconfig in /root/apps/logging | |
mkkconfig in /root/apps/lte | |
mkkconfig in /root/apps/math | |
mkkconfig in /root/apps/mlearning | |
mkkconfig in /root/apps/netutils | |
mkkconfig in /root/apps/sdr | |
mkkconfig in /root/apps/system | |
mkkconfig in /root/apps/testing/arch | |
mkkconfig in /root/apps/testing/cxx | |
mkkconfig in /root/apps/testing/drivers | |
mkkconfig in /root/apps/testing/fs | |
mkkconfig in /root/apps/testing/libc | |
mkkconfig in /root/apps/testing/mm | |
mkkconfig in /root/apps/testing/sched | |
mkkconfig in /root/apps/testing | |
mkkconfig in /root/apps/videoutils | |
mkkconfig in /root/apps/wireless/bluetooth | |
mkkconfig in /root/apps/wireless/ieee802154 | |
mkkconfig in /root/apps/wireless | |
mkkconfig in /root/apps | |
Loaded configuration '.config' | |
Configuration saved to '.config' | |
root@1a979eea4f03:~/nuttx# make -j | |
Create version.h | |
LN: platform/board to /root/apps/platform/dummy | |
Downloading quickjs-2020-11-08.tar.xz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 734k 100 734k 0 0 255k 0 0:00:02 0:00:02 --:--:-- 255k | |
Unpacking quickjs-2020-11-08.tar.xz to quickjs | |
patching file quickjs-libc.c | |
Hunk #1 succeeded at 3558 (offset -137 lines). | |
Hunk #2 succeeded at 3573 with fuzz 2 (offset -137 lines). | |
Hunk #3 FAILED at 3743. | |
1 out of 3 hunks FAILED -- saving rejects to file quickjs-libc.c.rej | |
patching file CMakeLists.txt | |
patching file qjsc.cmake | |
make[3]: *** [Makefile:74: quickjs] Error 1 | |
make[2]: *** [Makefile:57: /root/apps/interpreters/quickjs_context] Error 2 | |
make[1]: *** [Makefile:187: context] Error 2 | |
make: *** [tools/Unix.mk:458: /root/apps/.context] Error 2 | |
root@1a979eea4f03:~/nuttx# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment