From patchwork Tue Mar 20 23:09:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 147863 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 2ED8DB6ED0 for ; Wed, 21 Mar 2012 10:12:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 113CB101113; Tue, 20 Mar 2012 23:12:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Wn9in8eiuvS; Tue, 20 Mar 2012 23:12:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A681E101117; Tue, 20 Mar 2012 23:11:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8EF678F75B for ; Tue, 20 Mar 2012 23:11:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 74AD58D089 for ; Tue, 20 Mar 2012 23:11:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g80VQJoMiUn0 for ; Tue, 20 Mar 2012 23:10:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2EFF18D0AB for ; Tue, 20 Mar 2012 23:10:57 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id m1so946014wer.16 for ; Tue, 20 Mar 2012 16:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=peoowEAB5I3jBkpdm8kvGGkJ1TuZASJYxNXicvPqcoQ=; b=J1fQrfvLczCogFv+/hiiHiSDnvSZoUv3No3UtaKA/q9g8Ki19iQ1HQbAlxMR2zm5Sm D6sNcf/0QCfr0+HpB4sHNDOYFNp2Rx/rJptVhoB4HJky+n5+ENxiKvoWOg24JQJTd0FP muS1BbMx2Yri0OKuXRXOGamzOwX6vcZ9xD0MuB00crdsf4f5poZBbhuyd0WDqys1X/9l 4xABdB6DyIyNamUbsaIX4OqVz8RfQ82k66QEk1Ol4+65nYeoC8Aw1oCR9fbnP0Ymbj8U gfbGZoztNCDWnAPcL7VKvmdaQNPcaSL+lK6C1NP1yoCg70fEfrGaWiYnLtUWU0/PC8EG 26hQ== Received: by 10.180.95.1 with SMTP id dg1mr3674802wib.21.1332285057705; Tue, 20 Mar 2012 16:10:57 -0700 (PDT) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id fz9sm37727837wib.3.2012.03.20.16.10.56 (version=SSLv3 cipher=OTHER); Tue, 20 Mar 2012 16:10:56 -0700 (PDT) From: Samuel MARTIN To: buildroot@busybox.net Date: Wed, 21 Mar 2012 00:09:57 +0100 Message-Id: <1332285001-12881-8-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.9.4 In-Reply-To: <1332285001-12881-1-git-send-email-s.martin49@gmail.com> References: <1332285001-12881-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 07/11] manual: update troubleshooting.txt X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Samuel MARTIN --- docs/manual/troubleshooting.txt | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docs/manual/troubleshooting.txt b/docs/manual/troubleshooting.txt index 4eddddd..db9277d 100644 --- a/docs/manual/troubleshooting.txt +++ b/docs/manual/troubleshooting.txt @@ -1,2 +1,46 @@ Troubleshooting =============== + +LZO package configuration failure due to incorrect host architecture detection +------------------------------------------------------------------------------ + +Typical error output +~~~~~~~~~~~~~~~~~~~~ + +------------------------ +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 (see +https://bugs.busybox.net/show_bug.cgi?id=4808) that occurs when the +zlib version of the host system is more recent that the one provided +by Buildroot. This misleads the Buildroot host binary +ccache+. + +This bug has been spotted, then fixed shortly after the Buildroot +2012.02 release. + +If you are using the release 2012.02 or elder and got this issue, then +applying this patch +http://git.buildroot.net/buildroot/patch/package/ccache/ccache.mk?id=7ea11dafff37c5403432f691cf3c46d1d5566e46 +should fix it. + +Solution +~~~~~~~~ + +* Get the upstream patch: ++ +----------------------- + $ wget -O /tmp/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 < /tmp/ccache-Force-ccache-to-use-its-internal-zlib.patch + $ make host-ccache-dirclean + $ make +------------------------