luckfox-pico icon indicating copy to clipboard operation
luckfox-pico copied to clipboard

Build fails

Open al-heisner opened this issue 1 year ago • 4 comments

Forked project and kicked off Github action for build and the jobs fails with:

./build.sh: line 1073: /home/runner/work/luckfox-pico/luckfox-pico/sdk/output/out/rootfs_uclibc_rv1106/bin/sdkinfo: No such file or directory [build.sh:error] Running __PACKAGE_ROOTFS failed! [build.sh:error] exit code 1 from line 1073:

al-heisner avatar Dec 04 '24 18:12 al-heisner

Same: https://github.com/gbin/luckfox-pico-alpine/actions/runs/12536754265/job/34960103776

gbin avatar Dec 29 '24 15:12 gbin

Same: https://github.com/gbin/luckfox-pico-alpine/actions/runs/12536754265/job/34960103776

Adding this to rootfs.sh for the docker run fixed this for me:

--platform=linux/amd64

al-heisner avatar Dec 30 '24 14:12 al-heisner

Added it to the second docker run but I have still the same issue: https://github.com/gbin/luckfox-pico-alpine/actions/runs/12549356239/job/34990272044

Not found /home/runner/work/luckfox-pico-alpine/luckfox-pico-alpine/sdk/.repo/manifest.xml [ignore] !!!
./build.sh: line 1073: /home/runner/work/luckfox-pico-alpine/luckfox-pico-alpine/sdk/output/out/rootfs_uclibc_rv1106/bin/sdkinfo: No such file or directory
[build.sh:error] Running __PACKAGE_ROOTFS failed!
[build.sh:error] exit code 1 from line 1073:

gbin avatar Dec 31 '24 14:12 gbin

Sorry, I posted the wrong commit from my fork, try: --platform=linux/arm/v7 \

al-heisner avatar Dec 31 '24 19:12 al-heisner