Armadeus 4.1 Troubleshots
From ArmadeusWiki
Contents
Buildroot 2011.05 downloading failure
~/armadeus/armadeus-4.1$ make apf27_defconfig mkdir -p downloads wget --passive-ftp --tries=3 -P downloads http://buildroot.uclibc.org/downloads/buildroot-2011.05.tar.bz2 --2012-02-29 08:27:17-- http://buildroot.uclibc.org/downloads/buildroot-2011.05.tar.bz2 Résolution de buildroot.uclibc.org... échec: Nom ou service inconnu. wget : impossible de résoudre l'adresse de l'hôte «buildroot.uclibc.org» make: *** [downloads/buildroot-2011.05.tar.bz2] Erreur 4
Solution
- Get it manually from Armadeus FTP backup:
$ mkdir -p downloads $ wget --passive-ftp --tries=3 -P downloads ftp://ftp2.armadeus.com/armadeusw/download/buildroot-2011.05.tar.bz2
LZO package configuration failure due to incorrect detection of the host architecture
configure: Configuring LZO 2.03 checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh autoconf/config.sub x86_64-unknown-linux- failed
Actually this is a known ccache/zlib issue in Buildroot (see https://bugs.busybox.net/show_bug.cgi?id=4808)
Solution
- Get the upstream patch:
$ wget -O patches/buildroot/2011.05/999-ccache-Force-ccache-to-use-its-internal-zlib.patch \ "http://git.buildroot.net/buildroot/patch/package/ccache/ccache.mk?id=7ea11dafff37c5403432f691cf3c46d1d5566e46"
- Apply this patch and rebuild ccache:
$ ( cd buildroot && \ patch -p1 < ../patches/buildroot/2011.05/999-ccache-Force-ccache-to-use-its-internal-zlib.patch ) $ make host-ccache-dirclean -C buildroot $ make