Jump to content

Recommended Posts

Posted

hi, 

as of this morning, i tried updating my NanoPi Neo build (kernel=dev, os=ubuntu xenial,  type=no graphics/server).

Has been building fine for months. I think problem is in U-Boot (header missing ?)

LDFLAGS="" python ./lib/libfdt/setup.py \
	"-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer    -include ./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include -I./lib/libfdt -I./tools -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -D_GNU_SOURCE " lib/libfdt/fdt.c lib/libfdt/fdt_ro.c lib/libfdt/fdt_rw.c lib/libfdt/fdt_strerror.c lib/libfdt/fdt_wip.c lib/libfdt/fdt_region.c lib/libfdt/fdt_sw.c tools/libfdt_wrap.c
tools/libfdt_wrap.c:147:21: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
tools/Makefile:123: recipe for target 'tools/_libfdt.so' failed
make[1]: *** [tools/_libfdt.so] Error 1
Makefile:1229: recipe for target 'tools' failed
make: *** [tools] Error 2
[ error ] ERROR in function compile_uboot [ common.sh:97 ]
[ error ] U-boot compilation failed
[ o.k. ] Process terminated

real	1m23.452s

 

Posted

hi, 

here is the log file requested (i checked and i also do not have libpython2.7-dev installed). btw, am running ubuntu 16.04.2 on build machine.

Displaying message: Command line: setting BRANCH to dev info
Displaying message: Command line: setting BOARD to nanopineo info
Displaying message: Command line: setting KERNEL_ONLY to no info
Displaying message: Command line: setting PROGRESS_DISPLAY to plain info
Displaying message: Command line: setting RELEASE to xenial info
Displaying message: Command line: setting CLEAN_LEVEL to alldebs,make info
Displaying message: Command line: setting BUILD_DESKTOP to NO info
Displaying message: Command line: setting KERNEL_CONFIGURE to no info
Displaying message: Command line: setting KERNEL_KEEP_CONFIG to no info
Displaying message: Command line: setting USE_CCACHE to yes info
Displaying message: Preparing host info
Displaying message: Build host OS release xenial info
Displaying message: Using user configuration override userpatches/lib.config info
## BUILD SCRIPT ENVIRONMENT

Version: dd47a9447211624dfb04c052d33f20b2981174b1

## BUILD CONFIGURATION

Build target:
Board: nanopineo
Branch: dev
Desktop: no

Kernel configuration:
Repository: https://github.com/megous/linux/
Branch: branch:orange-pi-4.11
Config file: linux-sun8i-dev

U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: tag:v2017.03
Config file: nanopi_neo_defconfig

Partitioning configuration:
Root partition type: ext4
Boot partition type: (none)
User provided boot partition size: 0
Offset: 1

CPU configuration:
240000 - 912000 with ondemand
Displaying message: Syncing clock host info
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2017.03 info
Displaying message: Checking out
Displaying message: Checking git sources linux-sun8i-mainline orange-pi-4.11 info
Displaying message: Up to date
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Cleaning output/debs info
Displaying message: Cleaning u-boot/v2017.03 info
Displaying message: Compiling u-boot 2017.03 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 6.3.1 info
Displaying message: Checking out sources
Displaying message: Cleaning u-boot/v2017.03 info
Displaying message: Started patching process for u-boot sun8i-nanopineo-dev info
Displaying message: Looking for user patches in userpatches/u-boot/u-boot-sunxi info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] 4kfix-limit-screen-to-full-hd.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] Merrii_Hummingbird_A20.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] a10-a20-lower-dram-clk.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-awsom-defconfig.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-bpi-m2plus.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-defconfig-options-orangepizero.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-lime2-emmc.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-air.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-m1.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-m1plus.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-opizeroplus2-h3.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-plus2.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] addjust-nanopi-neo-cpufreq.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] disable-usb-keyboards.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] emmc-for-cubieboard2.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] enable-DT-overlays-support.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] fix-cubieboard1-defconfig.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-Fix-PLL1-setup-to-never-use-dividers.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-add-disp2-video-driver-configs.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-add-disp2-video-driver-jernej.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-adjust-dram-frequency.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-enable-power-led.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] h3-set-safe-axi_apb-clock-dividers.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] sun8i-set-machid.patch succeeded info
Displaying message: ... [\e[32ml\e[0m][\e[32mc\e[0m] sunxi-boot-splash.patch succeeded info
Displaying message: ERROR in function compile_uboot common.sh:97 err
Displaying message: U-boot compilation failed  err
Displaying message: Process terminated  info

 

Posted

hi Zador, 

yup - it's building as we speak :) Thank you !

Not sure if it became prerequisite recently ... have been using Amrbian toolset for months now ... Anyhow, appreciate fastest-ever-witnessed support !!!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines