Created
April 10, 2025 09:22
-
-
Save lupyuen/4753bc001049f284dde7105d50726aa5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
luppy@thinkstation:~/nuttx-test-bot$ cd /tmp | |
luppy@thinkstation:/tmp$ sudo docker run -it ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest /bin/bash -c ' | |
set -x ; | |
uname -a ; | |
cd ; | |
pwd ; | |
git clone https://github.com/anchao/nuttx nuttx --branch 25020501 ; | |
git clone https://github.com/anchao/nuttx-apps apps --branch 25020501 ; | |
pushd nuttx ; git reset --hard HEAD ; echo NuttX Source: https://github.com/apache/nuttx/tree/$(git rev-parse HEAD) ; popd ; | |
pushd apps ; git reset --hard HEAD ; echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/$(git rev-parse HEAD) ; popd ; | |
cd nuttx ; | |
tools/configure.sh esp32-devkitc:elf ; | |
make -j || echo '\''***** BUILD FAILED'\'' ; | |
' | |
[sudo] password for luppy: | |
+ uname -a | |
Linux 8aa2ac5a44a9 6.11.0-21-generic #21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 24 16:52:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux | |
+ cd | |
+ pwd | |
/root | |
+ git clone https://github.com/anchao/nuttx nuttx --branch 25020501 | |
Cloning into 'nuttx'... | |
remote: Enumerating objects: 858296, done. | |
remote: Counting objects: 100% (124/124), done. | |
remote: Compressing objects: 100% (107/107), done. | |
remote: Total 858296 (delta 23), reused 32 (delta 13), pack-reused 858172 (from 1) | |
Receiving objects: 100% (858296/858296), 335.51 MiB | 16.70 MiB/s, done. | |
Resolving deltas: 100% (671444/671444), done. | |
Updating files: 100% (24309/24309), done. | |
+ git clone https://github.com/anchao/nuttx-apps apps --branch 25020501 | |
Cloning into 'apps'... | |
remote: Enumerating objects: 107295, done. | |
remote: Counting objects: 100% (243/243), done. | |
remote: Compressing objects: 100% (173/173), done. | |
remote: Total 107295 (delta 127), reused 82 (delta 70), pack-reused 107052 (from 4) | |
Receiving objects: 100% (107295/107295), 36.64 MiB | 16.88 MiB/s, done. | |
Resolving deltas: 100% (85749/85749), done. | |
+ pushd nuttx | |
~/nuttx ~ | |
+ git reset --hard HEAD | |
HEAD is now at 58eee966a2 libc/elf: rename modlib to libelf | |
++ git rev-parse HEAD | |
+ echo NuttX Source: https://github.com/apache/nuttx/tree/58eee966a2e88736bc0d775d37563587ecc8c746 | |
NuttX Source: https://github.com/apache/nuttx/tree/58eee966a2e88736bc0d775d37563587ecc8c746 | |
+ popd | |
~ | |
+ pushd apps | |
~/apps ~ | |
+ git reset --hard HEAD | |
HEAD is now at d54ef6024 libc/elf: rename modlib to libelf | |
++ git rev-parse HEAD | |
+ echo NuttX Apps: https://github.com/apache/nuttx-apps/tree/d54ef6024a299f8a4bbaad5643b1fe2cee6f5579 | |
NuttX Apps: https://github.com/apache/nuttx-apps/tree/d54ef6024a299f8a4bbaad5643b1fe2cee6f5579 | |
+ popd | |
~ | |
+ cd nuttx | |
+ tools/configure.sh esp32-devkitc:elf | |
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/xtensa/include | |
LN: include/arch/board to /root/nuttx/boards/xtensa/esp32/esp32-devkitc/include | |
LN: drivers/platform to /root/nuttx/drivers/dummy | |
LN: include/arch/chip to /root/nuttx/arch/xtensa/include/esp32 | |
LN: arch/xtensa/src/chip to /root/nuttx/arch/xtensa/src/esp32 | |
LN: arch/xtensa/src/board to /root/nuttx/boards/xtensa/esp32/esp32-devkitc/../common | |
LN: arch/xtensa/src/board/board to /root/nuttx/boards/xtensa/esp32/esp32-devkitc/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' | |
+ make -j | |
Create version.h | |
Cloning Espressif HAL for 3rd Party Platforms | |
LN: platform/board to /root/apps/platform/dummy | |
Register: hello | |
Register: elf | |
Register: nsh | |
Register: sh | |
Espressif HAL for 3rd Party Platforms: a461ca0750d1a3deca6b10a283064dbcd2b76fb1 | |
CC: chip/esp-hal-3rdparty/components/efuse/src/efuse_controller/keys/without_key_purposes/tCC: driver/fs_registerdriver.c CC: struct_main.c | |
CC: struct_dummy.c | |
CC: mutex.c | |
CC: chip/esp-hal-3rdparty/components/esp_system/port/soc/esp32/system_internal.c CC: hello.c | |
CC: signal.c | |
CC: hello++1.cxx | |
CC: hello++3.cxx | |
CC: driver/fs_closeblockdriver.c CC: hello++2.cxx | |
CC: pthread.c | |
CC: task.c | |
CC: misc/lib_fstatat.c CC: errno.c | |
CC: chip/esp-hal-3rdparty/components/bootloader_support/bootloader_flash/src/bootloader_flaCC: chip/esp-hal-3rdparty/components/bootloader_support/bootloader_flash/src/bootloader_flaLD: mutex.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
make[4]: *** [Makefile:57: mutex] Error 1 | |
make[3]: *** [Makefile:73: mutex_install] Error 2 | |
make[3]: *** Waiting for unfinished jobs.... | |
LD: pthread.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: | |
make[4]: *** [Makefile:57: pthread] Error 1 | |
make[3]: *** [Makefile:73: pthread_install] Error 2 | |
LD: struct_main.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
make[4]: *** [Makefile:56: struct] Error 1 | |
make[3]: *** [Makefile:73: struct_install] Error 2 | |
LD: task.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
make[4]: *** [Makefile:57: task] Error 1 | |
make[3]: *** [Makefile:73: task_install] Error 2 | |
LD: signal.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
make[4]: *** [Makefile:57: signal] Error 1 | |
make[3]: *** [Makefile:73: signal_install] Error 2 | |
LD: hello++2.o | |
CC: net/lib_inetntoa.c : No such file or directory | |
make[4]: *** [Makefile:105: hello++2] Error 1 | |
make[4]: *** Waiting for unfinished jobs.... | |
LD: hello.o | |
CC: net/lib_etherntoa.c xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
CC: common/xtensa_lowputs.c make[4]: *** [Makefile:57: hello] Error 1 | |
make[3]: *** [Makefile:73: hello_install] Error 2 | |
CC: obstack/lib_obstack_vprintf.c LD: errno.o | |
xtensa-esp32-elf-ld: cannot open linker script file /root/nuttx/libs/libc/modlib/gnu-elf.ld: No such file or directory | |
make[4]: *** [Makefile:57: errno] Error 1 | |
make[3]: *** [Makefile:73: errno_install] Error 2 | |
make[3]: *** [Makefile:73: helloxx_install] Error 2 | |
make[2]: *** [Makefile:61: build] Error 2 | |
make[1]: *** [Makefile:54: /root/apps/examples/elf_all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
make: *** [tools/LibTargets.mk:248: /root/apps/libapps.a] Error 2 | |
make: *** Waiting for unfinished jobs.... | |
+ echo '***** BUILD FAILED' | |
***** BUILD FAILED | |
luppy@thinkstation:/tmp$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment