1 1
OpenglMan

ERROR in function compile_uboot

Recommended Posts

Hello, I'm newbie to armbian,

 

I am trying to build my own image, and i following the steps of this link: 

https://docs.armbian.com/Developer-Guide_Build-Preparation/

(i am not using Virtualvox)

 

My OS is:

Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:    16.04
Codename:    xenial

 

And my GCC version:

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
 

I apologize, since I'll probably be asking some nonsense.

I follow the steps to build my own image, and I get the following error:

 

[ o.k. ] Building deb [ linux-u-boot-next-lime_5.33_armhf.deb ]
[ error ] ERROR in function compile_uboot [ compilation.sh:232 ]
[ error ] Building u-boot package failed 

 

Can you help me to identify what is wrong?

 

I wait for your answer, and thank you very much in advance

 

 

 

 

Share this post


Link to post
Share on other sites
(edited)

Thank you Igor for your quick response.

 

I show below the content of the output.log file:

 

Spoiler

## BUILD CONFIGURATION
Build target:
Board: lime
Branch: next
Desktop: 
Kernel configuration:
Repository: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Branch: branch:linux-4.13.y
Config file: linux-sunxi-next
U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: tag:v2017.09
Config file: A20-OLinuXino-Lime_defconfig
Partitioning configuration:
Root partition type: ext4
Boot partition type: (none)
User provided boot partition size: 0
Offset: 1
CPU configuration:
480000 - 960000 with ondemand
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2017.09 info
Displaying message: Checking out
Displaying message: Checking git sources linux-mainline linux-4.13.y info
Displaying message: Up to date
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Checking git sources armbian-config dev info
Displaying message: Up to date
Displaying message: Checking git sources rkbin-tools master info
Displaying message: Up to date
Displaying message: Checking git sources marvell-tools A3700_utils-armada-17.10 info
Displaying message: Up to date
Displaying message: Checking git sources odroidc2-blobs master info
Displaying message: Up to date
Displaying message: Cleaning output/debs for lime next info
Displaying message: Cleaning u-boot/v2017.09 info
Displaying message: Compiling u-boot 2017.09 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 7.1.1 info
Displaying message: Checking out sources
Displaying message: Cleaning u-boot/v2017.09 info
Displaying message: Started patching process for u-boot sunxi-lime-next 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  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] a10-a20-lower-dram-clk.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-a20-olinuxino-micro-emmc-support.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-cubieboard2-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-cubietruck-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-air-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopineoplus2.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-plus2-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-zeroplus2_h3.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-pinebook-defconfig.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-nanopi-neo-cpufreq.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-opi-zero-cpufreq.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] disable-usb-keyboards.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-DT-overlays-support.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fdt-setprop-fix-unaligned-access.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-sopine-defconfig.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-spi-spl-fit-support.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-sunxi-gpio-driver.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-usb-phy-probe.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-usb1-vbus-opiwin.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-Fix-PLL1-setup-to-never-use-dividers.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-adjust-dram-frequency.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-enable-power-led.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-set-safe-axi_apb-clock-dividers.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sun8i-set-machid.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sunxi-boot-splash.patch  info
Displaying message: Building deb linux-u-boot-next-lime_5.33_armhf.deb info
dpkg-deb: error: el directorio de control tiene permisos erróneos 777
(debe ser >=0755 y <=0775)
Displaying message: ERROR in function compile_uboot compilation.sh:232 err
Displaying message: Building u-boot package failed  err
Displaying message: Process terminated  info

 

 

Thank you very much

Edited by Igor
code under spoiler

Share this post


Link to post
Share on other sites

Here is the error (and solution :D):

13 minutes ago, OpenglMan said:

dpkg-deb: error: el directorio de control tiene permisos erróneos 777

(debe ser >=0755 y <=0775)

 

You need to change your folder permissions to something between 755 and 775.

Share this post


Link to post
Share on other sites

I tried to compile the sd-image for OrangePi Win in Ubuntu environment from Windows 10. Got the same error. Is it possible to continue the build in my environment, or require all of the same virtual machine?

 

output.log:

Spoiler

Displaying message: Preparing host info
Displaying message: Build host OS release xenial info
Displaying message: Updating from external repository aptly info
Displaying message: Syncing clock host info
Displaying message: Installing build dependencies
Displaying message: Downloading gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
Displaying message: Verifying
gpg: keyring `/home/mozg/armbian_build/build/cache/.gpg/pubring.gpg' created
gpg: /home/mozg/armbian_build/build/cache/.gpg/trustdb.gpg: trustdb created
gpg: error reading key: public key not found
gpg: keyring `/home/mozg/armbian_build/build/cache/.gpg/secring.gpg' created
gpg: requesting key 8F427EAF from hkp server keyserver.ubuntu.com
gpg: key 8F427EAF: public key "Linaro Toolchain Builder <michael.hope+cbuild@linaro.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
gpg: assuming signed data in `gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
gpg: Signature made Ср 16 апр 2014 22:29:14 DST using RSA key ID 8F427EAF
gpg: Good signature from "Linaro Toolchain Builder <michael.hope+cbuild@linaro.org>"
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabi
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-5.5.0-2017.10-x86_64_aarch64-linux-gnu
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-6.4.1-2017.11-x86_64_aarch64-linux-gnu
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
Displaying message: Downloading gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
Displaying message: Verifying
Displaying message: Extracting
Displaying message: Download complete  info
## BUILD SCRIPT ENVIRONMENT

Version: ac76d47785c130a20f8f2c6447bbae7f2c40bc14
Host OS: xenial
Host arch: amd64
Dirty: No

## BUILD CONFIGURATION

Build target:
Board: orangepiwin
Branch: next
Desktop: no

Kernel configuration:
Repository: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Branch: branch:linux-4.14.y
Config file: linux-sunxi64-next

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

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

CPU configuration:
480000 - 1200000 with
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2017.11 info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources linux-mainline linux-4.14.y info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources arm-trusted-firmware-sunxi-mainline allwinner-stable info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources rkbin-tools master info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources marvell-tools A3700_utils-armada-17.10 info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Checking git sources odroidc2-blobs master info
Displaying message: Creating local copy
Displaying message: Fetching updates
Displaying message: Checking out
Displaying message: Compiling sunxi-tools info
Displaying message: Installing rkbin-tools info
Displaying message: Cleaning output/debs for orangepiwin next info
Displaying message: Cleaning arm-trusted-firmware-sunxi-mainline/allwinner-stable info
Displaying message: Compiling ATF  info
Displaying message: Compiler version aarch64-linux-gnu-gcc 6.4.1 info
Displaying message: Started patching process for atf sunxi64-orangepiwin-next info
Displaying message: Looking for user patches in userpatches/atf/atf-sunxi64 info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-SRAM-mapping-for-SCPI.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-a53-errata-workaround.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-additional-regulators.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] set-rsb-to-nonsec.patch  info
Displaying message: Cleaning u-boot/v2017.11 info
Displaying message: Compiling u-boot 2017.11 info
Displaying message: Compiler version aarch64-linux-gnu-gcc 7.2.1 info
Displaying message: Checking out sources
Displaying message: Cleaning u-boot/v2017.11 info
Displaying message: Started patching process for u-boot sunxi64-orangepiwin-next 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] 0020-sunxi-call-fdt_fixup_ethernet-again-to-set-macaddr-f.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] 4kfix-limit-screen-to-full-hd.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-a20-olinuxino-micro-emmc-support.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-a20-optional-eMMC.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-beelink-x2.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-air-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-duo.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopi-m1-plus2-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-nanopineoplus2.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-plus2-emmc.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-zeroplus.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-orangepi-zeroplus2_h3.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-sunvell-r69.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add-tritium.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] add_emmc_orangepiwin.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-default-dram-clockspeeds.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] adjust-small-boards-cpufreq.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-DT-overlays-support.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] enable-autoboot-keyed.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fdt-setprop-fix-unaligned-access.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-sunxi-gpio-driver.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] fix-usb1-vbus-opiwin.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-Fix-PLL1-setup-to-never-use-dividers.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-enable-power-led.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] h3-set-safe-axi_apb-clock-dividers.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] lower-default-DRAM-freq-A64-H5.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] lower-default-cpufreq-H5.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sun8i-set-machid.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] sunxi-boot-splash.patch  info
Displaying message: * [\e[32ml\e[0m][\e[32mc\e[0m] video-fix-vsync-polarity-bits.patch  info
Displaying message: * [\e[32ml\e[0m][\e[33mb\e[0m] workaround-reboot-is-poweroff-olimex-a20.patch  info
Displaying message: Building deb linux-u-boot-next-orangepiwin_5.37_arm64.deb info
fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Displaying message: ERROR in function compile_uboot compilation.sh:232 err
Displaying message: Building u-boot package failed  err
Displaying message: Process terminated  info

 

Share this post


Link to post
Share on other sites
13 minutes ago, Алексей Недобежкин said:

in Ubuntu environment from Windows 10


This kind of building is not supported and probably won't work, rather stick to some - proven to work/recommended - virtualized method.

Share this post


Link to post
Share on other sites

I have the same problems with building a kernel with XFS options on Ubuntu Bionic 18.04 x64. The hints above don't work for me:

 

root@hgplab01:~/armbian/build# ./compile.sh BOARD=cubietruck BRANCH=next KERNEL_ONLY=yes RELEASE=stretch
[ o.k. ] Using config file [ config-default.conf ]
[ o.k. ] Command line: setting BOARD to [ cubietruck ]
[ o.k. ] Command line: setting BRANCH to [ next ]
[ o.k. ] Command line: setting KERNEL_ONLY to [ yes ]
[ o.k. ] Command line: setting RELEASE to [ stretch ]
[ o.k. ] This script will try to update
Bereits aktuell.
Bereits auf 'master'
Ihr Branch ist auf demselben Stand wie 'origin/master'.
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ bionic ]
[ o.k. ] Syncing clock [ host ]
[ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
############################################################################################################# 100,0%
############################################################################################################# 100,0%
[ .... ] Verifying 
gpg: error reading key: No public key
gpg: keyserver receive failed: No data
gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
gpg: Signature made Mi 16 Apr 2014 20:29:14 CEST
gpg:                using RSA key D47877808F427EAF
gpg: Can't check signature: No public key
[ warn ] Verification failed 
[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ u-boot v2018.11 ]
fatal: unable to connect to git.denx.de:
git.denx.de[0: 85.214.130.205]: errno=Connection refused

fatal: unable to connect to git.denx.de:
git.denx.de[0: 85.214.130.205]: errno=Connection refused

[ .... ] Fetching updates 
fatal: unable to connect to git.denx.de:
git.denx.de[0: 85.214.130.205]: errno=Connection refused

[ .... ] Checking out 
error: pathspec 'FETCH_HEAD' did not match any file(s) known to git.
[ o.k. ] Checking git sources [ linux-mainline orange-pi-4.19 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ sunxi-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ rkbin-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-ddr mv_ddr-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ odroidc2-blobs master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ testing-reports master ]
[ .... ] Up to date 
[ o.k. ] Cleaning output/debs for [ cubietruck next ]
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
[ o.k. ] Compiling u-boot [ 0 ]
[ o.k. ] Compiler version [ arm-linux-gnueabihf-gcc 7.2.1 ]
[ .... ] Checking out sources 
error: pathspec 'HEAD' did not match any file(s) known to git.
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
[ o.k. ] Started patching process for [ u-boot sunxi-cubietruck-next ]
[ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-sunxi ]
[ warn ] * [l][c] 0020-sunxi-call-fdt_fixup_ethernet-again-to-set-macaddr-f.patch [ failed ]
[ warn ] * [l][c] 4kfix-limit-screen-to-full-hd.patch [ failed ]
[ o.k. ] * [l][c] Merrii_Hummingbird_A20.patch 
[ warn ] * [l][c] add-a20-olinuxino-micro-emmc-support.patch [ failed ]
[ warn ] * [l][c] add-a20-optional-eMMC.patch [ failed ]
[ o.k. ] * [l][c] add-awsom-defconfig.patch 
[ warn ] * [l][c] add-bananapi-bpi-zero.patch [ failed ]
[ warn ] * [l][c] add-beelink-x2.patch [ failed ]
[ warn ] * [l][c] add-emmc_support_to_neo1_and_2.patch [ failed ]
[ warn ] * [l][c] add-nanopi-air-emmc.patch [ failed ]
[ warn ] * [l][c] add-nanopi-duo.patch [ failed ]
[ warn ] * [l][c] add-nanopi-m1-plus2-emmc.patch [ failed ]
[ o.k. ] * [l][c] add-nanopineoplus2.patch 
[ warn ] * [l][c] add-orangepi-plus2-emmc.patch [ failed ]
[ warn ] * [l][c] add-orangepi-zero-usb-boot-support.patch [ failed ]
[ o.k. ] * [l][c] add-orangepi-zeroplus.patch 
[ o.k. ] * [l][c] add-orangepi-zeroplus2_h3.patch 
[ warn ] * [l][c] add-sunvell-r69.patch [ failed ]
[ warn ] * [l][c] add-xx-boot-auto-dt-select-neo2.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopi-k1-plus-emmc.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopineocore2.patch [ failed ]
[ warn ] * [l][c] add_emmc_olinuxino_a64.patch [ failed ]
[ warn ] * [l][c] add_emmc_orangepiwin.patch [ failed ]
[ warn ] * [l][c] adjust-default-dram-clockspeeds.patch [ failed ]
[ warn ] * [l][c] adjust-small-boards-cpufreq.patch [ failed ]
[ warn ] * [l][c] enable-DT-overlays-support.patch [ failed ]
[ warn ] * [l][c] enable-autoboot-keyed.patch [ failed ]
[ warn ] * [l][c] enable-ethernet-orangepiprime.patch [ failed ]
[ warn ] * [l][c] enable-r_pio-gpio-access-h3-h5.patch [ failed ]
[ warn ] * [l][c] fdt-setprop-fix-unaligned-access.patch [ failed ]
[ warn ] * [l][c] fix-usb1-vbus-opiwin.patch [ failed ]
[ warn ] * [l][c] h3-Fix-PLL1-setup-to-never-use-dividers.patch [ failed ]
[ warn ] * [l][c] h3-enable-power-led.patch [ failed ]
[ warn ] * [l][c] h3-set-safe-axi_apb-clock-dividers.patch [ failed ]
[ warn ] * [l][c] lower-default-DRAM-freq-A64-H5.patch [ failed ]
[ warn ] * [l][c] sun8i-set-machid.patch [ failed ]
[ warn ] * [l][c] sunxi-boot-splash.patch [ failed ]
[ warn ] * [l] workaround-reboot-is-poweroff-olimex-a20.patch [ failed ]
make: *** No rule to make target 'Cubietruck_config'.  Stop.
sed: can't read .config: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
[ error ] ERROR in function compile_uboot [ compilation.sh:175 ]
[ error ] U-boot compilation failed 
[ o.k. ] Process terminated 
 


 

Share this post


Link to post
Share on other sites
1 hour ago, hgp8102 said:

[ o.k. ] Checking git sources [ u-boot v2018.11 ]
fatal: unable to connect to git.denx.de:
git.denx.de[0: 85.214.130.205]: errno=Connection refused

fatal: unable to connect to git.denx.de:
git.denx.de[0: 85.214.130.205]: errno=Connection refused 

You've got networking issue and checkout the source failed ...

Check with "ping" first and then restart a new build !

Share this post


Link to post
Share on other sites

Thanks for the hint, but the lab system is behind a firewall with authenticated proxy support. All requiered proxy settings are enabled in the shell enviroment variables, so direct ping will never work. I also added the proxy configuration to the git config with:

 

git config --global http.proxy $HTTP_PROXY

 

But this also doesn't work. Is there another trick I have to apply...?

Share this post


Link to post
Share on other sites

UPDATE:

I fixed the problem with git and the proxy by editing the .gitconfig:

[http]
    proxy = http://<PROXY_USER>:<PROXY_PASSWORD>@<PROXY_HOST or IP>:<PROXY_PORT>
[https]
    proxy = http://<PROXY_USER>:<PROXY_PASSWORD>@<PROXY_HOST or IP>:<PROXY_PORT>

    insteadOf = git://

 

But the compilation ended in the same issue, that it is unable to find a usable kernel config AND I do not see any cubietruck/cubieboard support anymore. Except in the "Show a kernel configuration menue before compilation":

 

---------------------------------------------------------------------------------------------------

TRY 1 [with coosing the option of changing the kernel configuration]:

---------------------------------------------------------------------------------------------------

./compile.sh BOARD=cubietruck BRANCH=next KERNEL_ONLY=yes RELEASE=stretch
[ o.k. ] Using config file [ config-default.conf ]
[ o.k. ] Command line: setting BOARD to [ cubietruck ]
[ o.k. ] Command line: setting BRANCH to [ next ]
[ o.k. ] Command line: setting KERNEL_ONLY to [ yes ]
[ o.k. ] Command line: setting RELEASE to [ stretch ]
[ o.k. ] This script will try to update
Bereits aktuell.
Bereits auf 'master'
Ihr Branch ist auf demselben Stand wie 'origin/master'.
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ bionic ]
[ o.k. ] Syncing clock [ host ]
[ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
########################################################################################################################### 100,0%
########################################################################################################################### 100,0%
[ .... ] Verifying 
gpg: error reading key: No public key
gpg: keyserver receive failed: No data
gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
gpg: Signature made Mi 16 Apr 2014 20:29:14 CEST
gpg:                using RSA key D47877808F427EAF
gpg: Can't check signature: No public key
[ warn ] Verification failed 

 Armbian building script, http://www.armbian.com | Author: Igor Pecovnik
 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────────────────────────────────Choose an option──────────────────────────────────────────────────────┐
  │ Select the kernel configuration                                                                                          │  
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │  
  │ │                                Do not change the kernel configuration                                                │ │  
  │ │                                Show a kernel configuration menu before compilation                                   │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │  
  │                                                                                                                          │  
  ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤  
  │                                         <  OK  >                     <Cancel>                                            │  
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  
                                                                                                                                


[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ u-boot v2018.11 ]
[ .... ] Remote URL does not match, removing existing local copy 
[ .... ] Creating local copy 
[ .... ] Fetching updates 
fatal: dumb http transport does not support shallow capabilities
[ .... ] Checking out 
error: pathspec 'FETCH_HEAD' did not match any file(s) known to git.
[ o.k. ] Checking git sources [ linux-mainline orange-pi-4.19 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ sunxi-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ rkbin-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-ddr mv_ddr-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ odroidc2-blobs master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ testing-reports master ]
[ .... ] Up to date 
[ o.k. ] Cleaning output/debs for [ cubietruck next ]
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
[ o.k. ] Compiling u-boot [ 0 ]
[ o.k. ] Compiler version [ arm-linux-gnueabihf-gcc 7.2.1 ]
[ .... ] Checking out sources 
error: pathspec 'HEAD' did not match any file(s) known to git.
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
[ o.k. ] Started patching process for [ u-boot sunxi-cubietruck-next ]
[ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-sunxi ]
[ warn ] * [l][c] 0020-sunxi-call-fdt_fixup_ethernet-again-to-set-macaddr-f.patch [ failed ]
[ warn ] * [l][c] 4kfix-limit-screen-to-full-hd.patch [ failed ]
[ o.k. ] * [l][c] Merrii_Hummingbird_A20.patch 
[ warn ] * [l][c] add-a20-olinuxino-micro-emmc-support.patch [ failed ]
[ warn ] * [l][c] add-a20-optional-eMMC.patch [ failed ]
[ o.k. ] * [l][c] add-awsom-defconfig.patch 
[ warn ] * [l][c] add-bananapi-bpi-zero.patch [ failed ]
[ warn ] * [l][c] add-beelink-x2.patch [ failed ]
[ warn ] * [l][c] add-emmc_support_to_neo1_and_2.patch [ failed ]
[ warn ] * [l][c] add-nanopi-air-emmc.patch [ failed ]
[ warn ] * [l][c] add-nanopi-duo.patch [ failed ]
[ warn ] * [l][c] add-nanopi-m1-plus2-emmc.patch [ failed ]
[ o.k. ] * [l][c] add-nanopineoplus2.patch 
[ warn ] * [l][c] add-orangepi-plus2-emmc.patch [ failed ]
[ warn ] * [l][c] add-orangepi-zero-usb-boot-support.patch [ failed ]
[ o.k. ] * [l][c] add-orangepi-zeroplus.patch 
[ o.k. ] * [l][c] add-orangepi-zeroplus2_h3.patch 
[ warn ] * [l][c] add-sunvell-r69.patch [ failed ]
[ warn ] * [l][c] add-xx-boot-auto-dt-select-neo2.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopi-k1-plus-emmc.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopineocore2.patch [ failed ]
[ warn ] * [l][c] add_emmc_olinuxino_a64.patch [ failed ]
[ warn ] * [l][c] add_emmc_orangepiwin.patch [ failed ]
[ warn ] * [l][c] adjust-default-dram-clockspeeds.patch [ failed ]
[ warn ] * [l][c] adjust-small-boards-cpufreq.patch [ failed ]
[ warn ] * [l][c] enable-DT-overlays-support.patch [ failed ]
[ warn ] * [l][c] enable-autoboot-keyed.patch [ failed ]
[ warn ] * [l][c] enable-ethernet-orangepiprime.patch [ failed ]
[ warn ] * [l][c] enable-r_pio-gpio-access-h3-h5.patch [ failed ]
[ warn ] * [l][c] fdt-setprop-fix-unaligned-access.patch [ failed ]
[ warn ] * [l][c] fix-usb1-vbus-opiwin.patch [ failed ]
[ warn ] * [l][c] h3-Fix-PLL1-setup-to-never-use-dividers.patch [ failed ]
[ warn ] * [l][c] h3-enable-power-led.patch [ failed ]
[ warn ] * [l][c] h3-set-safe-axi_apb-clock-dividers.patch [ failed ]
[ warn ] * [l][c] lower-default-DRAM-freq-A64-H5.patch [ failed ]
[ warn ] * [l][c] sun8i-set-machid.patch [ failed ]
[ warn ] * [l][c] sunxi-boot-splash.patch [ failed ]
[ warn ] * [l] workaround-reboot-is-poweroff-olimex-a20.patch [ failed ]
make: *** No rule to make target 'Cubietruck_config'.  Stop.
sed: can't read .config: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
[ error ] ERROR in function compile_uboot [ compilation.sh:175 ]
[ error ] U-boot compilation failed 
[ o.k. ] Process terminated 

 

---------------------------------------------------------------------------------------------------

TRY 2 [without coosing the option of changing the kernel configuration]::

---------------------------------------------------------------------------------------------------

./compile.sh BOARD=cubietruck BRANCH=next KERNEL_ONLY=yes RELEASE=stretch
[ o.k. ] Using config file [ config-default.conf ]
[ o.k. ] Command line: setting BOARD to [ cubietruck ]
[ o.k. ] Command line: setting BRANCH to [ next ]
[ o.k. ] Command line: setting KERNEL_ONLY to [ yes ]
[ o.k. ] Command line: setting RELEASE to [ stretch ]
[ o.k. ] This script will try to update
Bereits aktuell.
Bereits auf 'master'
Ihr Branch ist auf demselben Stand wie 'origin/master'.
[ o.k. ] Preparing [ host ]
[ o.k. ] Build host OS release [ bionic ]
[ o.k. ] Syncing clock [ host ]
[ .... ] Downloading [ gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux ]
########################################################################################################################### 100,0%
########################################################################################################################### 100,0%
[ .... ] Verifying 
gpg: error reading key: No public key
gpg: keyserver receive failed: No data
gpg: assuming signed data in 'gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz'
gpg: Signature made Mi 16 Apr 2014 20:29:14 CEST
gpg:                using RSA key D47877808F427EAF
gpg: Can't check signature: No public key
[ warn ] Verification failed 

 Armbian building script, http://www.armbian.com | Author: Igor Pecovnik
 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────────────────────────────────Choose an option──────────────────────────────────────────────────────┐
  │ Select the kernel configuration                                                                                          │  
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │  
  │ │                                Do not change the kernel configuration                                                │ │  
  │ │                                Show a kernel configuration menu before compilation                                   │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ │                                                                                                                      │ │  
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │  
  │                                                                                                                          │  
  ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤  
  │                                         <  OK  >                     <Cancel>                                            │  
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  
                                                                                                                                


[ o.k. ] Downloading sources 
[ o.k. ] Checking git sources [ u-boot v2018.11 ]
[ .... ] Remote URL does not match, removing existing local copy 
[ .... ] Creating local copy 
[ .... ] Fetching updates 
fatal: dumb http transport does not support shallow capabilities
[ .... ] Checking out 
error: pathspec 'FETCH_HEAD' did not match any file(s) known to git.
[ o.k. ] Checking git sources [ linux-mainline orange-pi-4.19 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ sunxi-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ rkbin-tools master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ marvell-ddr mv_ddr-armada-18.12 ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ odroidc2-blobs master ]
[ .... ] Up to date 
[ o.k. ] Checking git sources [ testing-reports master ]
[ .... ] Up to date 
[ o.k. ] Cleaning output/debs for [ cubietruck next ]
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
grep: /root/armbian/build/cache/sources/u-boot/v2018.11/Makefile: No such file or directory
[ o.k. ] Compiling u-boot [ 0 ]
[ o.k. ] Compiler version [ arm-linux-gnueabihf-gcc 7.2.1 ]
[ .... ] Checking out sources 
error: pathspec 'HEAD' did not match any file(s) known to git.
[ o.k. ] Cleaning [ u-boot/v2018.11 ]
[ o.k. ] Started patching process for [ u-boot sunxi-cubietruck-next ]
[ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-sunxi ]
[ warn ] * [l][c] 0020-sunxi-call-fdt_fixup_ethernet-again-to-set-macaddr-f.patch [ failed ]
[ warn ] * [l][c] 4kfix-limit-screen-to-full-hd.patch [ failed ]
[ o.k. ] * [l][c] Merrii_Hummingbird_A20.patch 
[ warn ] * [l][c] add-a20-olinuxino-micro-emmc-support.patch [ failed ]
[ warn ] * [l][c] add-a20-optional-eMMC.patch [ failed ]
[ o.k. ] * [l][c] add-awsom-defconfig.patch 
[ warn ] * [l][c] add-bananapi-bpi-zero.patch [ failed ]
[ warn ] * [l][c] add-beelink-x2.patch [ failed ]
[ warn ] * [l][c] add-emmc_support_to_neo1_and_2.patch [ failed ]
[ warn ] * [l][c] add-nanopi-air-emmc.patch [ failed ]
[ warn ] * [l][c] add-nanopi-duo.patch [ failed ]
[ warn ] * [l][c] add-nanopi-m1-plus2-emmc.patch [ failed ]
[ o.k. ] * [l][c] add-nanopineoplus2.patch 
[ warn ] * [l][c] add-orangepi-plus2-emmc.patch [ failed ]
[ warn ] * [l][c] add-orangepi-zero-usb-boot-support.patch [ failed ]
[ o.k. ] * [l][c] add-orangepi-zeroplus.patch 
[ o.k. ] * [l][c] add-orangepi-zeroplus2_h3.patch 
[ warn ] * [l][c] add-sunvell-r69.patch [ failed ]
[ warn ] * [l][c] add-xx-boot-auto-dt-select-neo2.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopi-k1-plus-emmc.patch [ failed ]
[ warn ] * [l][c] add-xx-nanopineocore2.patch [ failed ]
[ warn ] * [l][c] add_emmc_olinuxino_a64.patch [ failed ]
[ warn ] * [l][c] add_emmc_orangepiwin.patch [ failed ]
[ warn ] * [l][c] adjust-default-dram-clockspeeds.patch [ failed ]
[ warn ] * [l][c] adjust-small-boards-cpufreq.patch [ failed ]
[ warn ] * [l][c] enable-DT-overlays-support.patch [ failed ]
[ warn ] * [l][c] enable-autoboot-keyed.patch [ failed ]
[ warn ] * [l][c] enable-ethernet-orangepiprime.patch [ failed ]
[ warn ] * [l][c] enable-r_pio-gpio-access-h3-h5.patch [ failed ]
[ warn ] * [l][c] fdt-setprop-fix-unaligned-access.patch [ failed ]
[ warn ] * [l][c] fix-usb1-vbus-opiwin.patch [ failed ]
[ warn ] * [l][c] h3-Fix-PLL1-setup-to-never-use-dividers.patch [ failed ]
[ warn ] * [l][c] h3-enable-power-led.patch [ failed ]
[ warn ] * [l][c] h3-set-safe-axi_apb-clock-dividers.patch [ failed ]
[ warn ] * [l][c] lower-default-DRAM-freq-A64-H5.patch [ failed ]
[ warn ] * [l][c] sun8i-set-machid.patch [ failed ]
[ warn ] * [l][c] sunxi-boot-splash.patch [ failed ]
[ warn ] * [l] workaround-reboot-is-poweroff-olimex-a20.patch [ failed ]
make: *** No rule to make target 'Cubietruck_config'.  Stop.
sed: can't read .config: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
[ error ] ERROR in function compile_uboot [ compilation.sh:175 ]
[ error ] U-boot compilation failed 
[ o.k. ] Process terminated 
 

Question: What I am doing wrong?

 

Share this post


Link to post
Share on other sites
Quote

fatal: dumb http transport does not support shallow capabilities

This is not a networking issue but a repository and protocol limitation, as I remember git.denx.de supports shallow clones only via the git:// protocol

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1