1 1
Da Alchemist

Error in compile.sh?

Recommended Posts

Today i wanted to try some changes an build a new kernel for my H3 PCPlus.  When I executed compile.sh i got a Message that the script was outdated. So i copied a newer Version from lib to my root directory. I made thechanges i did before: Set KERNEL_Configure to "yes" and set DEST_LANG="de_DE.UTF-8" (that was the only way to get a clean translated german Desktop before..)

 

Now I get a warning Message:

[ warn ] Can't update since you made changes to: 
compile.sh

When I hit Enter the next thing happens: The Toolchan is downloaded every time. Is this really necessary? I have only a volume based Internet connection...

 

Regards

Share this post


Link to post
Share on other sites

Today i wanted to try some changes an build a new kernel for my H3 PCPlus.  When I executed compile.sh i got a Message that the script was outdated. So i copied a newer Version from lib to my root directory. I made thechanges i did before: Set KERNEL_Configure to "yes" and set DEST_LANG="de_DE.UTF-8" (that was the only way to get a clean translated german Desktop before..)

Did you edit lib/compile.sh instead of a copy next to lib, sources and toolchains directory? Please delete lib directory and run compilation process again to download a fresh copy of build scripts, and in the future edit only copy of compile.sh

 

 

The Toolchan is downloaded every time. Is this really necessary? I have only a volume based Internet connection...

This process is not perfect, I'll try to add more logging to this process to catch the problem

Share this post


Link to post
Share on other sites

I edited just a copy of compile.sh ( in the first post it should be: "So i copied a newer Version from the lib directory to my root directory", this is what is what the script warning told me to do..)

 

Regards

Share this post


Link to post
Share on other sites

This should be fixed now

I am afraid it is not, i have deleted the lib directory and started from the beginning, i have compiled two kernels, both times the toolchain was downloaded...

Share this post


Link to post
Share on other sites
(edited)

Here it is:

 

 

Displaying message: Preparing host info
Displaying message: Build host OS release trusty info
Displaying message: Downloading toolchain gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux info
Displaying message: Verifying
gpg: WARNUNG: Unsicheres Besitzverhältnis der Konfigurationsdatei `/home/ek/.gnupg/gpg.conf'
gpg: error reading key: Öffentlicher Schlüssel nicht gefunden
gpg: WARNUNG: Unsicheres Besitzverhältnis der Konfigurationsdatei `/home/ek/.gnupg/gpg.conf'
gpg: Ausführen von externen Programmen ist ausgeschaltet, da die Dateirechte nicht sicher sind
gpg: Schlüsselserver-Datenübertragunsfehler: Allgemeiner Fehler
gpg: Empfangen vom Schlüsselserver fehlgeschlagen: Allgemeiner Fehler
gpg: WARNUNG: Unsicheres Besitzverhältnis der Konfigurationsdatei `/home/ek/.gnupg/gpg.conf'
gpg: Unterschrift vom Mi 16 Apr 2014 20:29:14 CEST mittels RSA-Schlüssel ID 8F427EAF
gpg: Unterschrift kann nicht geprüft werden: Öffentlicher Schlüssel nicht gefunden
Displaying message: Verification failed  wrn
## BUILD CONFIGURATION
Kernel configuration:
Repository: https://github.com/igorpecovnik/linux
Branch: sun8i
Config file: linux-sun8i-default

U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: v2016.07
Offset: 1
Size: 0

CPU configuration:
480000 - 1296000 with interactive
11.08.2016 20:24:50 Armbian 5.17 Orangepipc Debian default
Build script version: 5bf1dfdd90068a9c88d3f9608b140267c0ef20a3
Displaying message: Starting Armbian build script @host info
Displaying message: Compiling kernel orangepipc info
Displaying message: Syncing clock host info
Displaying message: source downloading @host info
Displaying message: ... you have latest sources u-boot v2016.07 info
Displaying message: ... you have latest sources linux-sun8i sun8i info
Displaying message: ... you have latest sources sunxi-tools  info
Displaying message: ... you have latest sources sunxi-display-changer  info
Displaying message: Compiling sunxi tools @host & target info
Displaying message: Cleaning u-boot/v2016.07 info
Displaying message: Cleaning linux-sun8i/sun8i info
Displaying message: Cleaning output/debs for orangepipc default info
Displaying message: Started patching process for u-boot u-boot-default 2016.07 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-emmc-orangepi.patch succeeded info
Displaying message: ... cubieboard1.patch succeeded info
Displaying message: ... h3-enable-power-led.patch succeeded info
Displaying message: ... u-boot-02-support-cheap-mmc.patch succeeded info
Displaying message: ... u-boot-99-add-missing-boards.patch succeeded info
Displaying message: Compiling uboot 2016.07 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 4.8 info
Displaying message: Building deb linux-u-boot-orangepipc_5.17_armhf.deb info
Displaying message: Started patching process for kernel sun8i-default 3.4.39 info
Displaying message: Looking for user patches in userpatches/kernel/sun8i-default info
Displaying message: ... 0001-Fix-compilation-problems-with-more-modern-version-of.patch succeeded info
Displaying message: ... 0001-Fix-ump-build.patch succeeded info
Displaying message: ... 0003-sunxi-mali-Add-Mali400-r3p0-driver-code-from-sunxi-3.patch succeeded info
Displaying message: ... 0004-HACK-Make-Mali400-driver-work-on-H3.patch succeeded info
Displaying message: ... 0006-sunxi-disp2-FBIO_WAITFORVSYNC-as-a-modifier-for-FBIO.patch succeeded info
Displaying message: ... 0010-Import-GMAC_PHY_POWER-support-from-the-loboris-sourc.patch succeeded info
Displaying message: ... 0011-gpu-drm-Add-Mali-DX910-SW-99002-r2p4-02rel1.patch succeeded info
Displaying message: ... 0012-drm-mali-fix-for-3.4.patch succeeded info
Displaying message: ... 0013-gpu-drm-mali_drv-fixed-integration-with-3.x-kernels-.patch succeeded info
Displaying message: ... 0015-Fix-paths-to-files-in-src-erroneously-searched-for-i.patch succeeded info
Displaying message: ... 0016-gcc5-fixes.patch succeeded info
Displaying message: ... 0017-linux-sunxi-add-missing-compiler-gcc5.h-from-master.patch succeeded info
Displaying message: ... 0018-orangepi_h3_gc2035_camera.patch succeeded info
Displaying message: ... 0023-WIP-remove-vsync_task-from-sunxi-fb-driver.patch succeeded info
Displaying message: ... 0024-pwm-sunxi-support-for-H3-as-appears-in-loboris-initi.patch succeeded info
Displaying message: ... 0025-h3-hdmi-table-reformatting-for-readability-from-lobo.patch succeeded info
Displaying message: ... 0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch succeeded info
Displaying message: ... 0027-h3-hdmi-HDMI_EDID-from-loboris-initial-source-import.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.39-40.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.40-41.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.41-42.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.42-43.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.43-44.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.44-45.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.45-46.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.46-47.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.47-48.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.48-49.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.49-50.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.50-51.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.51-52.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.52-53.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.53-54.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.54-55.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.55-56.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.56-57.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.57-58.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.58-59.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.59-60.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.60-61.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.61-62.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.62-63.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.63-64.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.64-65.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.65-66.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.66-67.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.67-68.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.68-69.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.69-70.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.70-71.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.71-72.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.72-73.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.73-74.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.74-75.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.75-76.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.76-77.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.77-78.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.78-79.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.79-80.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.80-81.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.81-82.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.82-83.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.83-84.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.84-85.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.85-86.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.86-87.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.87-88.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.88-89.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.89-90.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.90-91.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.91-92.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.92-93.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.93-94.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.94-95.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.95-96.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.96-97.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.97-98.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.98-99.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.99-100.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.100-101.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.101-102.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.102-103.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.103-104.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.104-105.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.105-106.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.106-107.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.107-108.patch succeeded info
Displaying message: ... 02-0003-linux-sunxi-3.4.108-overlayfs.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.108-109.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.109-110.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.110-111.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.111-112.patch succeeded info
Displaying message: ... 02-0005-backport-firmware-loader.patch succeeded info
Displaying message: ... 02-0007-fbdev-fixes.patch.patch succeeded info
Displaying message: ... 02-0008-backport-lirc-sunxi-driver.patch succeeded info
Displaying message: ... 02-0009-unify-ethernet-settings.patch succeeded info
Displaying message: ... 02-0010-export_read_current_timer.patch succeeded info
Displaying message: ... 02-0011-fbtft_for_older.patch succeeded info
Displaying message: ... 02-0013-w1_h3.patch succeeded info
Displaying message: ... 02-0014-no_dev_console.patch succeeded info
Displaying message: ... 02-0015-openelec-audio-and-video-fixes.patch succeeded info
Displaying message: ... 02-rtl2832.patch succeeded info
Displaying message: ... add_8189es_v4.3.18.1_15373.20151005.patch succeeded info
Displaying message: ... add_8189fs_v4.3.24_15589.20151023.patch succeeded info
Displaying message: ... bash_to_afterinstall.patch succeeded info
Displaying message: ... cedar-remove-insecure-code.patch succeeded info
Displaying message: ... cpufreq-add-more-frequencies.patch succeeded info
Displaying message: ... enable_g_ether.patch succeeded info
Displaying message: ... fix-kswapd.patch succeeded info
Displaying message: ... linux-82-fix-build-on-non-amd64-hosts.patch succeeded info
Displaying message: ... linux-88-enable-tv.patch succeeded info
Displaying message: ... m2-plus-ap6212-wireless.patch succeeded info
Displaying message: ... packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch succeeded info
Displaying message: ... remove-sunxi-debug.patch succeeded info
Displaying message: ... sun8i-led-behaviour-through-fex.patch succeeded info
Displaying message: ... sun8i-simple-cpu-corekeeper.patch succeeded info
Displaying message: ... tbs5520.patch succeeded info
Displaying message: ... wdt_reduce_logging.patch succeeded info
Displaying message: ... z-0003-add-additional-video-modes.patch succeeded info
Displaying message: Compiling default kernel 3.4.112 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 4.8 info
Displaying message: Using kernel config file lib/config/kernel/linux-sun8i-default.config info
Displaying message: Kernel building done @host info
Displaying message: Target directory /home/ek/output/debs/ info
Displaying message: File name linux-image-sun8i_5.17_armhf.deb info
Displaying message: Runtime 9 min info

 

 

This time there was an update  when i started compile.sh

Edited by zador.blood.stained
Added spoiler tags

Share this post


Link to post
Share on other sites

 

 

Displaying message: Build host OS release trusty info

I think this is the main "problem".

If you are using separate VM for working with Armbian, I would recommend upgrading to Xenial (or installing it from scratch) later, currently build script is tested only on Xenial.

Since these toolchains are not needed on Trusty AFAIK, they won't be downloaded on Trusty in the future.

Share this post


Link to post
Share on other sites

oops, I must have missed that - so the recommended build environment is Xenial now?

Yes. Building (especially u-boot and kernel packages) should still work in Trusty without issues, but some features (container environment detection and building desktop acceleration and some other packages) will work only in Xenial.

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