1 1
moki

compile.sh fails with ERROR in function create_rootfs_cache [ debootstrap-ng.sh:157 ]

Recommended Posts

Sorry I missed it because my attention was focused on the bottom of the screen here is the error:

E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/wheezy/Release

This is the contents of

output/debug/output.log

Contents:

Displaying message: Command line: setting KERNEL_CONFIGURE to yes info
Displaying message: Preparing host info
Displaying message: Build host OS release jessie info
Displaying message: Host system support was not tested jessie wrn
## BUILD SCRIPT ENVIRONMENT

Version: 5fad0a2f605cc88d8ac2759a4eb1c424a221e9c7

## BUILD CONFIGURATION

Build target:
Board: cubieboard2
Branch: default

Kernel configuration:
Repository: https://github.com/linux-sunxi/linux-sunxi
Branch: branch:sunxi-3.4
Config file: linux-sun7i-default

U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: tag:v2015.10
Offset: 1
Size: 0

CPU configuration:
480000 - 1010000 with interactive
Displaying message: Starting Armbian build script @host info
Displaying message: Syncing clock host info
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2015.10 info
Displaying message: Checking out
Displaying message: Checking git sources linux-sunxi sunxi-3.4 info
Displaying message: Checking out
Displaying message: Checking git sources sunxi-display-changer master info
Displaying message: Up to date
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Cleaning u-boot/v2015.10 info
Displaying message: Cleaning linux-sunxi/sunxi-3.4 info
Displaying message: Cleaning output/debs for cubieboard2 default info
Displaying message: Started patching process for u-boot u-boot-default info
Displaying message: Looking for user patches in userpatches/u-boot/u-boot-default info
Displaying message: ... add-awsom-uboot.patch succeeded info
Displaying message: ... add-cubieboard4.patch succeeded info
Displaying message: ... add-lime2-emmc.patch succeeded info
Displaying message: ... add-missing-h3-boards.patch failed wrn
Displaying message: ... adjust-h3-dram-frequency.patch failed wrn
Displaying message: ... cubieboard1.patch succeeded info
Displaying message: ... disable-usb-keyboards.patch failed wrn
Displaying message: ... fix-h3-rev3-dram-calibration.patch failed wrn
Displaying message: ... h3-enable-power-led.patch failed wrn
Displaying message: Compiling uboot 2015.10 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 4.9.2 info
Displaying message: Building deb linux-u-boot-cubieboard2_5.20_armhf.deb info
Displaying message: Started patching process for kernel sun7i-default info
Displaying message: Looking for user patches in userpatches/kernel/sun7i-default info
Displaying message: ... 0001-arm-sunxi-disp-Fix-division-by-zero.patch succeeded info
Displaying message: ... 0001-arm-sunxi-disp-Fix-typo-in-get_src_window.patch succeeded info
Displaying message: ... 0002-arm-sunxi-g2d-Fix-handle-noop-blits.patch succeeded info
Displaying message: ... 0002-arm-sunxi-ir-Enable-IR-autorepeat.patch succeeded info
Displaying message: ... 0003-arm-sunxi-disp-Fix-csc-calculations.patch succeeded info
Displaying message: ... 0004-ax88179_178a-USB-3.0-Ethernet.patch succeeded info
Displaying message: ... 0008-Fix-zram-and-zcache-to-compile-on-non-x86-architectu.patch succeeded info
Displaying message: ... 0009-Added-new-backend-based-on-CMA-for-the-Mali-UMP-memo.patch succeeded info
Displaying message: ... 0010-patch-3.4.104-105.patch succeeded info
Displaying message: ... 0011-patch-3.4.105-106.patch succeeded info
Displaying message: ... 0012-Add-rc-core-driver-for-A20-in-tree.patch succeeded info
Displaying message: ... 0012-patch-3.4.106-107.patch succeeded info
Displaying message: ... 0013-patch-3.4.107-108.patch succeeded info
Displaying message: ... 0014-modified-pwm-sunxi.h.patch succeeded info
Displaying message: ... 0015-linux-sunxi-3.4.108-overlayfs.patch succeeded info
Displaying message: ... 0015-rewrite-function-bestprescale.patch succeeded info
Displaying message: ... 0016-patch-3.4.108-109.patch succeeded info
Displaying message: ... 0017-patch-3.4.109-110.patch succeeded info
Displaying message: ... 0018-patch-3.4.110-111.patch succeeded info
Displaying message: ... 0018-patch-3.4.111-112.patch succeeded info
Displaying message: ... 0020-clustering-patch-3.4-ja1.patch succeeded info
Displaying message: ... 0020-dev-bananapi-r1.patch succeeded info
Displaying message: ... 0021-IDE-led-trigger-to-generic-disk-activity.patch succeeded info
Displaying message: ... 0022-a20-temp.patch succeeded info
Displaying message: ... 0024-dev-chip-id-and-gmac-fixing-mac.patch succeeded info
Displaying message: ... 0025-gpio.patch succeeded info
Displaying message: ... 0026-rt8192cu-missing-case.patch succeeded info
Displaying message: ... 0027-banana_touch_screen.patch succeeded info
Displaying message: ... 0028-nikkov-i2s-spdif-2.0.patch succeeded info
Displaying message: ... 0029-HDMI-8ch-and-alsa-fix-2.0.patch succeeded info
Displaying message: ... 0029-dev-spi-sun7i.patch succeeded info
Displaying message: ... 0030-ap6210_module-cubietruck.patch succeeded info
Displaying message: ... 0031-ap6211_module-bananapro.patch succeeded info
Displaying message: ... 0050-lircgpio_and_raw.patch succeeded info
Displaying message: ... 0061-w1-fix.patch succeeded info
Displaying message: ... 1017-SPDIF-experiments.patch succeeded info
Displaying message: ... 1018-Some-magic.patch succeeded info
Displaying message: ... bash_to_afterinstall.patch succeeded info
Displaying message: ... cedar-remove-insecure-code.patch succeeded info
Displaying message: ... enable_watchdog_a20.patch succeeded info
Displaying message: ... fbtft_for_older.patch succeeded info
Displaying message: ... fix-gcc5.patch succeeded info
Displaying message: ... packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch succeeded info
Displaying message: ... rtl2832.patch succeeded info
Displaying message: ... tbs5520.patch succeeded info
Displaying message: Compiling default kernel 3.4.112 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 4.9.2 info
Displaying message: Using kernel config file lib/config/kernel/linux-sun7i-default.config info
Displaying message: Creating board support package cubieboard2 default info
Displaying message: Fingerprinting
Displaying message: Building package linux-wheezy-root-cubieboard2 info
Displaying message: Starting build process for cubieboard2 wheezy info
Displaying message: Creating new rootfs for wheezy info
Displaying message: Installing base system Stage 1/2 info
Displaying message: ERROR in function create_rootfs_cache debootstrap-ng.sh:157 err
Displaying message: Debootstrap base system first stage failed  err
Displaying message: Process terminated  info
Displaying message: ERROR in function unmount_on_exit debootstrap-ng.sh:576 err
Displaying message: debootstrap-ng was interrupted  err
Displaying message: Process terminated  info

Share this post


Link to post
Share on other sites

Please try adding NO_APT_CACHER=yes to compile.sh, if this doesn't help, please try setting another Debian mirror in userpatches/lib.config like this:

DEBIAN_MIRROR='ftp.si.debian.org/debian/' 

but in any case build script is designed to work on Xenial (mainly) and Trusty (not recommended but should still work), so there may be other issues

 

Displaying message: Build host OS release jessie info
Displaying message: Host system support was not tested jessie wrn

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