Difference between revisions of "Armadeus 4.1 Troubleshots"
From ArmadeusWiki
Line 13: | Line 13: | ||
$ mkdir -p downloads | $ mkdir -p downloads | ||
$ wget --passive-ftp --tries=3 -P downloads ftp://ftp2.armadeus.com/armadeusw/download/buildroot-2011.05.tar.bz2 | $ wget --passive-ftp --tries=3 -P downloads ftp://ftp2.armadeus.com/armadeusw/download/buildroot-2011.05.tar.bz2 | ||
+ | </pre> | ||
+ | |||
+ | ==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: | ||
+ | <pre class="host"> | ||
+ | $ 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" | ||
+ | </pre> | ||
+ | |||
+ | * Apply this patch and rebuild ccache: | ||
+ | <pre class="host"> | ||
+ | $ ( 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 | ||
</pre> | </pre> |
Revision as of 15:35, 11 March 2012
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
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