Skip to content

Instantly share code, notes, and snippets.

@unxmaal
Created August 30, 2024 11:59
Show Gist options
  • Save unxmaal/2eba1faca8d96cb676f51d3617580181 to your computer and use it in GitHub Desktop.
Save unxmaal/2eba1faca8d96cb676f51d3617580181 to your computer and use it in GitHub Desktop.
rocknix dev branch build issue
[112/631] [DONE] build busybox:host
GET u-boot-Generic (archive)
--2024-08-30 11:13:19-- https://github.com/u-boot/u-boot/archive/v2024.07.tar.gz
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/u-boot/u-boot/tar.gz/refs/tags/v2024.07 [following]
--2024-08-30 11:13:19-- https://codeload.github.com/u-boot/u-boot/tar.gz/refs/tags/v2024.07
Resolving codeload.github.com (codeload.github.com)... 140.82.112.9
Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '/home/edodd/projects/github/rocknix/distribution/sources/u-boot-Generic/u-boot-Generic-v2024.07.tar.gz'
/home/edodd/project [ <=> ] 33.08M 7.61MB/s in 4.3s
2024-08-30 11:13:24 (7.67 MB/s) - '/home/edodd/projects/github/rocknix/distribution/sources/u-boot-Generic/u-boot-Generic-v2024.07.tar.gz' saved [34684157]
INFO Calculated checksum: b7f6137acc89e4a939075600de3a04cc3a8602fa936194c27bd9a14005bc61fd
UNPACK u-boot-Generic
APPLY PATCH (common) projects/Rockchip/devices/RK3566/packages/u-boot-Generic/patches/001-setup-boot-mode.patch
patching file board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
APPLY PATCH (common) projects/Rockchip/devices/RK3566/packages/u-boot-Generic/patches/001-v3-add_additional_boards_and_features_to_rgxx3.patch
patching file arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi
Hunk #1 succeeded at 38 (offset -37 lines).
Hunk #2 succeeded at 56 (offset -37 lines).
patching file arch/arm/mach-rockchip/Makefile
Hunk #1 succeeded at 15 with fuzz 2.
patching file arch/arm/mach-rockchip/boot_mode.c
Hunk #1 succeeded at 38 with fuzz 1.
Hunk #2 succeeded at 57 (offset 1 line).
Hunk #3 succeeded at 82 (offset 4 lines).
Hunk #4 succeeded at 101 (offset 4 lines).
Hunk #5 succeeded at 115 (offset 4 lines).
patching file common/spl/Kconfig
patching file configs/anbernic-rgxx3-rk3566_defconfig
Hunk #1 succeeded at 28 (offset -3 lines).
patching file drivers/Makefile
patching file drivers/adc/Makefile
patching file include/configs/anbernic-rgxx3-rk3566.h
APPLY PATCH (common) projects/Rockchip/devices/RK3566/packages/u-boot-Generic/patches/003-fix-dtb-and-vs.patch
patching file board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
Hunk #1 succeeded at 33 with fuzz 2 (offset -12 lines).
patching file configs/anbernic-rgxx3-rk3566_defconfig
Hunk #1 succeeded at 19 (offset -3 lines).
BUILD u-boot-Generic (target)
TOOLCHAIN manual
make[2]: Entering directory '/home/edodd/projects/github/rocknix/distribution/build.ROCKNIX-RK3566.aarch64/u-boot-Generic-v2024.07'
make[2]: Leaving directory '/home/edodd/projects/github/rocknix/distribution/build.ROCKNIX-RK3566.aarch64/u-boot-Generic-v2024.07'
make[2]: Entering directory '/home/edodd/projects/github/rocknix/distribution/build.ROCKNIX-RK3566.aarch64/u-boot-Generic-v2024.07'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
LEX scripts/kconfig/zconf.lex.c
YACC scripts/kconfig/zconf.tab.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf --syncconfig Kconfig
UPD include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN spl/include/autoconf.mk
GEN include/autoconf.mk
UPD include/generated/timestamp_autogenerated.h
UPD include/config/uboot.release
UPD include/generated/dt.h
ENVC include/generated/env.txt
UPD include/generated/version_autogenerated.h
ENVP include/generated/env.in
HOSTCC scripts/dtc/dtc.o
SHIPPED scripts/dtc/pylibfdt/libfdt.i
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
ENVT include/generated/environment.h
PYMOD rebuild
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.h
YACC scripts/dtc/dtc-parser.tab.c
CC lib/asm-offsets.s
HOSTCC scripts/dtc/dtc-lexer.lex.o
CC arch/arm/lib/asm-offsets.s
UPD include/generated/generic-asm-offsets.h
HOSTCC scripts/dtc/dtc-parser.tab.o
UPD include/generated/asm-offsets.h
LDS u-boot.lds
scripts/dtc/pylibfdt/libfdt_wrap.c:171:11: fatal error: Python.h: No such file or directory
171 | # include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command '/home/edodd/projects/github/rocknix/distribution/build.ROCKNIX-RK3566.aarch64/toolchain/bin/host-gcc' failed with exit code 1
make[5]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1
make[4]: *** [scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2
make[3]: *** [Makefile:2049: scripts_dtc] Error 2
make[2]: *** [Makefile:568: __build_one_by_one] Error 2
make[2]: Leaving directory '/home/edodd/projects/github/rocknix/distribution/build.ROCKNIX-RK3566.aarch64/u-boot-Generic-v2024.07'
FAILURE: scripts/install u-boot has failed!
[113/631] [FAIL] install u-boot
parallel: This job failed:
package_worker 8 107 631 'install u-boot'
Parallel build failure. Time of failure: Fri Aug 30 11:14:28 UTC 2024
make[1]: *** [Makefile:13: image] Error 1
make[1]: Leaving directory '/home/edodd/projects/github/rocknix/distribution'
make: *** [Makefile:57: RK3566] Error 2
make: *** [Makefile:143: docker-RK3566] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment