lupyuen opened a new pull request, #3449: URL: https://github.com/apache/nuttx-apps/pull/3449
## 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 from the NuttX Mirror Repo instead: 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 ```bash $ 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 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
