Skip to content

graphics/libyuv: Download libyuv from NuttX Mirror Repo instead of chromium.googlesource.com#3449

Open
lupyuen wants to merge 1 commit intoapache:masterfrom
lupyuen17:master
Open

graphics/libyuv: Download libyuv from NuttX Mirror Repo instead of chromium.googlesource.com#3449
lupyuen wants to merge 1 commit intoapache:masterfrom
lupyuen17:master

Conversation

@lupyuen
Copy link
Copy Markdown
Member

@lupyuen lupyuen commented Apr 8, 2026

Summary

NuttX Build Target sim:nxcamera failed to build because chromium.googlesource.com is blocking our download of libyuv library: https://github.com/apache/nuttx/actions/runs/24106742084/job/70356374433#step:10:603

Configuration/Tool: sim/nxcamera
Building NuttX...
curl -L https://chromium.googlesource.com/libyuv/libyuv/+archive/refs/heads/stable.tar.gz -o libyuv.tar.gz
gzip: stdin: not in gzip format

This PR updates the libyuv Makefile to download libyuv cached at NuttX Mirror Repo: https://github.com/NuttX/nuttx/releases/tag/libyuv

Impact

sim/nxcamera now builds correctly, by downloading libyuv from the NuttX Mirror Repo.

Please update the NuttX Mirror Repo when there are changes to the Stable Version of libyuv: https://github.com/NuttX/nuttx/releases/tag/libyuv

Testing

sim/nxcamera builds correctly with NuttX Docker Image: https://gist.github.com/lupyuen/a11b3cfbec49f8245da42f05163c4570

$ sudo docker run -it \
  ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest
$ cd ; pwd
$ git clone https://github.com/apache/nuttx
$ git clone https://github.com/lupyuen17/nuttx-apps apps
$ cd apps ; git log
commit 3681447e02ca2a33102ec826a9cf58a6d7d1ef0f (HEAD -> master, 
origin/master, origin/HEAD)
    graphics/libyuv: Download libyuv from NuttX Mirror Repo instead of chromium.googlesource.com
$ cd ../nuttx
$ tools/configure.sh sim:nxcamera 
$ make -j 10 
Create version.h
LN: platform/board to /root/apps/platform/dummy
curl -L https://github.com/NuttX/nuttx/releases/download/libyuv/libyuv-refs_heads_stable.tar.gz -o libyuv.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  485k  100  485k    0     0   784k      0 --:--:-- --:--:-- --:--:--  784k
patching file libyuv/include/libyuv/planar_functions.h
Register: dd
Register: gpio
Register: dumpstack
Register: hello
Register: nsh
Register: sh
Register: nxcamera
CP:  /root/nuttx/include/nuttx/config.h
CP:  /root/nuttx/include/nuttx/fs/hostfs.h
LD:  nuttx
Pac SIM with dynamic libs..
'/lib/x86_64-linux-gnu/libX11.so.6' -> 'sim-pac/libs/libX11.so.6'
'/lib/x86_64-linux-gnu/libXext.so.6' -> 'sim-pac/libs/libXext.so.6'
'/lib/x86_64-linux-gnu/libz.so.1' -> 'sim-pac/libs/libz.so.1'
'/lib/x86_64-linux-gnu/libc.so.6' -> 'sim-pac/libs/libc.so.6'
'/lib/x86_64-linux-gnu/libxcb.so.1' -> 'sim-pac/libs/libxcb.so.1'
'/lib/x86_64-linux-gnu/libXau.so.6' -> 'sim-pac/libs/libXau.so.6'
'/lib/x86_64-linux-gnu/libXdmcp.so.6' -> 'sim-pac/libs/libXdmcp.so.6'
'/lib/x86_64-linux-gnu/libbsd.so.0' -> 'sim-pac/libs/libbsd.so.0'
'/lib/x86_64-linux-gnu/libmd.so.0' -> 'sim-pac/libs/libmd.so.0'
'/lib64/ld-linux-x86-64.so.2' -> 'sim-pac/ld-linux-x86-64.so.2'
SIM elf with dynamic libs archive in nuttx.tgz

NuttX Build Target `sim:nxcamera` failed to build because chromium.googlesource.com is blocking our download of libyuv library: https://github.com/apache/nuttx/actions/runs/24106742084/job/70356374433#step:10:603

```
Configuration/Tool: sim/nxcamera
Building NuttX...
curl -L https://chromium.googlesource.com/libyuv/libyuv/+archive/refs/heads/stable.tar.gz -o libyuv.tar.gz
gzip: stdin: not in gzip format
```

This PR updates the libyuv Makefile to download libyuv from the NuttX Mirror Repo instead: https://github.com/NuttX/nuttx/releases/tag/libyuv

Signed-off-by: Lup Yuen Lee <luppy@appkaki.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant