Hello,
WNeh i try to build last master branch (Allwinner H3), compilation break at u-boot:
Problem look like U-Boot - python3 support for pylibfdt (python3 +u-boot support?)
Code
BUILD u-boot (target)
TOOLCHAIN make (auto-detect)
make[1]: Entering directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts/dtc/pylibfdt
CLEAN scripts/dtc
CLEAN spl/u-boot.cfg
CLEAN u-boot.cfg u-boot.lds
CLEAN include/config include/generated spl
CLEAN .config include/autoconf.mk include/autoconf.mk.dep include/config.h
make[1]: Leaving directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
make[1]: Entering directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/../configs/orangepi_pc_defconfig:20:warning: override: reassigning to symbol USB_EHCI_HCD
arch/../configs/orangepi_pc_defconfig:21:warning: override: reassigning to symbol USB_OHCI_HCD
arch/../configs/orangepi_pc_defconfig:22:warning: override: reassigning to symbol SUN8I_EMAC
#
# configuration written to .config
#
make[1]: Leaving directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
make[1]: Entering directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
CHK include/config.h
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
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
SHIPPED scripts/dtc/pylibfdt/libfdt.i
PYMOD scripts/dtc/pylibfdt/_libfdt.so
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
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
CC arch/arm/lib/asm-offsets.s
CC lib/asm-offsets.s
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
CHK include/generated/generic-asm-offsets.h
UPD include/generated/generic-asm-offsets.h
LDS u-boot.lds
scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: Nie ma takiego pliku ani katalogu
# include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/toolchain/bin/host-gcc' failed with exit status 1
make[4]: *** [scripts/dtc/pylibfdt/Makefile:27: scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[3]: *** [scripts/Makefile.build:432: scripts/dtc/pylibfdt] Error 2
make[2]: *** [scripts/Makefile.build:432: scripts/dtc] Error 2
make[1]: *** [Makefile:528: scripts] Error 2
make[1]: Leaving directory '/home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/u-boot-2019.10'
FAILURE: scripts/install u-boot has failed!
[076/247] [FAIL] install u-boot
The following logs for this failure are available:
stdout: /home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/.threads/logs/83/stdout
stderr: /home/mg/LibreELEC.tv/build.LibreELEC-H3.arm-9.80-devel/.threads/logs/83/stderr
parallel: This job failed:
package_worker 4 83 247 'install u-boot'
Parallel build failure - see log for details. Time of failure: Wed Oct 30 13:53:00 CET 2019
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
Display More