From patchwork Sat Jul 25 16:21:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaap Crezee X-Patchwork-Id: 499982 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E4BA71402C3 for ; Sun, 26 Jul 2015 02:21:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2DA1D31E97; Sat, 25 Jul 2015 16:21:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zKBsEu2aZLoY; Sat, 25 Jul 2015 16:21:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A39352F97C; Sat, 25 Jul 2015 16:21:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 021671C2846 for ; Sat, 25 Jul 2015 16:21:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EFD6B8C72D for ; Sat, 25 Jul 2015 16:21:45 +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 zV1kpnHxbJ2J for ; Sat, 25 Jul 2015 16:21:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from jcz.nl (jcz.nl [94.126.37.106]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2C5798C725 for ; Sat, 25 Jul 2015 16:21:43 +0000 (UTC) Received: (qmail 15082 invoked by uid 210); 25 Jul 2015 16:21:41 -0000 Received: from 37.153.194.28 by www.jcz.nl (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.95.3/10458. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(37.153.194.28):. Processed in 0.035778 secs); 25 Jul 2015 16:21:41 -0000 Received: from hoevelaken.jcz.nl (HELO ?10.0.1.3?) (jaap@jcz.nl@37.153.194.28) by jcz.nl with ESMTPA; 25 Jul 2015 16:21:41 -0000 References: <55B0FEED.4070700@ecagroup.com> <55B1FA0C.6000809@ecagroup.com> <55B210AF.8010004@ecagroup.com> To: buildroot@busybox.net From: Jaap Crezee Organization: JCZ-Automatisering Message-ID: <55B3B794.3080706@jcz.nl> Date: Sat, 25 Jul 2015 18:21:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55B210AF.8010004@ecagroup.com> Subject: Re: [Buildroot] qt5base build issue X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jaap@jcz.nl Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On 07/24/15 12:17, Julien CORJON wrote: >>>>>>> During compilation I get following error: >>>>>>> >>>>>>> Running configuration tests... >>>>>>> Failed to process makespec for platform 'devices/linux-buildroot-g++' >>>>>>> Project ERROR: Compiler >>>>>>> /home/user/MyProjects/oss/buildroot/prods1/host/usr/bin/ccache >>>>>>> /home/user/MyProjects/oss/buildroot/prods1/host/usr/bin/arm-none-linux-gnueabi-g++ >>>>>>> not found. Check the value of CROSS_COMPILE -device-option >>>>>>> Could not read qmake configuration file >>>>>>> /home/user/MyProjects/oss/buildroot/prods1/build/qt5base-5.5.0/mkspecs/devices/linux-buildroot-g++/qmake.conf. Dear all, Please see attached patch. It fixes this build issue for me. Kind regards, Jaap Crezee From 4f589ddce4dbf93ab1b43f1aed6cc7b9de475d12 Mon Sep 17 00:00:00 2001 From: Jaap Crezee Date: Sat, 25 Jul 2015 18:17:38 +0200 Subject: [PATCH 1/1] Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5 Signed-off-by: Jaap Crezee --- package/qt5/qt5base/0008-ccache_buildroot_fix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/qt5/qt5base/0008-ccache_buildroot_fix.patch diff --git a/package/qt5/qt5base/0008-ccache_buildroot_fix.patch b/package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file mode 100644 index 0000000..62aa57b --- /dev/null +++ b/package/qt5/qt5base/0008-ccache_buildroot_fix.patch @@ -0,0 +1,16 @@ +Author: Jaap Crezee +--- +diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf +index cd3a0cf..674b3dd 100644 +--- a/mkspecs/features/device_config.prf ++++ b/mkspecs/features/device_config.prf +@@ -35,6 +35,9 @@ defineTest(deviceSanityCheckCompiler) { + return() + } + ++ # Last resort, check if we can still execute it (for example in Buildroot/Crosscompile...) ++ system("which $$QMAKE_CXX > /dev/null"):return() ++ + # QMAKE_CXX does not point to a compiler. + error("Compiler $$QMAKE_CXX not found. Check the value of CROSS_COMPILE -device-option") + } -- 2.4.6