You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Proposed Updates to NuttX Dockerfile: NuttX Code + Ubuntu OS + Python + GCC + Zig #18057
@lupyuen I created the repository and also an image with all the tools and toolchains updated in @Barto22's Dockerfile.
Now we just need to add a workflow to test the NuttX jobs matrix.
====================================================================================
Configuration/Tool: sim/adb
2026-01-22 17:37:01
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
Cloning into 'tlsf/tlsf'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 44130 100 44130 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k
100 1646k 100 1646k 0 0 3954k 0 --:--:-- --:--:-- --:--:-- 3954k
In file included from netdev/netdev_checksum.c:27:
netdev/netdev_checksum.c: In function 'hardware_chksum_get_proto':
Error: netdev/netdev_checksum.c:107:37: error: implicit declaration of function 'IOB_DATA' [-Wimplicit-function-declaration]
107 | FAR struct ipv4_hdr_s *ipv4 = IPv4BUF;
| ^~~~~~~
make[1]: *** [Makefile:86: netdev_checksum.o] Error 1
make[1]: Target 'libnet.a' not remade because of errors.
make: *** [tools/LibTargets.mk:77: net/libnet.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 385: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
[1/1] Normalize sim/adb
====================================================================================
Cmake in present: sim/alsa
Configuration/Tool: sim/alsa
2026-01-22 17:37:56
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Select HOST_LINUX=y
Select HOST_X86_64=y
TOOLS_DIR path is "/github/workspace/sources/nuttx"
HOST = Linux
Building NuttX...
[1/4] cd /github/workspace/sources/nuttx/build/libs/libc/misc && /usr/bin/cmake -E touch /github/workspace/sources/nuttx/libs/libc/misc/lib_utsname.c
[2/4] Linking C executable nuttx
FAILED: nuttx
: && /tools/ccache/bin/cc -Wl,--gc-sections -m32 -Wl,-Ttext-segment=0x40000000 -Wl,-z,noexecstack -T nuttx.ld @CMakeFiles/nuttx.rsp -o nuttx && :
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc: No such file or directory
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/14/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
cp: cannot stat 'nuttx': No such file or directory
====================================================================================
Hi @lupyuen, I have added a new workflow, but I need to change the package visibility Packages permissions from private to public, otherwise the new workflow cannot access the new NuttX docker image.
Run docker pull ghcr.io/nuttx/nuttx-docker-testing/apache-nuttx-ci-linux:latest
Error response from daemon: denied
Error: Process completed with exit code 1
Sorry I didn’t see this earlier. I agree with you all — I’ve added some changes, which have already been merged. I’ll get back to this in April when the new Ubuntu LTS is released. At that point, we’ll have the latest GCC and other packages available, and I’ll try to optimize the Dockerfile and update everything.
Activity
simbit18 commentedon Jan 21, 2026
Hi @lupyuen, can I create a test repository for NuttX Docker image on https://github.com/nuttx this afternoon UTC?
That way we can test everything thoroughly and identify any critical issues.
lupyuen commentedon Jan 21, 2026
@simbit18 Yep please proceed thanks! Wonder if the testing will get complicated, since we're storing and pulling the Docker Image at ghcr.io.
@Barto22 You might wanna learn how we're testing the new Docker Image through ghcr.io.
simbit18 commentedon Jan 21, 2026
@lupyuen we need to understand how much space it takes up. The new toolchains are very heavy.
simbit18 commentedon Jan 22, 2026
@lupyuen I created the repository and also an image with all the tools and toolchains updated in @Barto22's Dockerfile.
Now we just need to add a workflow to test the NuttX jobs matrix.
https://github.com/NuttX/nuttx-docker-testing
simbit18 commentedon Jan 22, 2026
from job sim-01
simbit18 commentedon Jan 23, 2026
Hi @lupyuen, I have added a new workflow, but I need to change the package visibility Packages permissions from private to public, otherwise the new workflow cannot access the new NuttX docker image.
Can I proceed?
lupyuen commentedon Jan 23, 2026
@simbit18 Yes please proceed thanks!
simbit18 commentedon Jan 23, 2026
Hi @lupyuen, done. The new workflow is now running
https://github.com/NuttX/nuttx-docker-testing/actions/runs/21284423363/job/61262110006
As a test, I only added these jobs
simbit18 commentedon Jan 23, 2026
Hi @lupyuen, the workflow test is OK.
Of course, updating the toolchains caused errors in the build of some board configurations.
It might be useful for finding some currently silent bugs. :)
I have now added all the jobs so that you can see the impact of the new NuttX image on the build of all boards.
https://github.com/NuttX/nuttx-docker-testing/actions/runs/21285480349
In any case, we now have a repository for testing NuttX docker images.
@raiden00pl
Barto22 commentedon Jan 30, 2026
Sorry I didn’t see this earlier. I agree with you all — I’ve added some changes, which have already been merged. I’ll get back to this in April when the new Ubuntu LTS is released. At that point, we’ll have the latest GCC and other packages available, and I’ll try to optimize the Dockerfile and update everything.