From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 83F4DE00816 for ; Thu, 23 Jan 2014 05:23:14 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 513E0F811E7; Thu, 23 Jan 2014 06:23:12 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 0E32AF811E4; Thu, 23 Jan 2014 06:23:10 -0700 (MST) Message-ID: <52E117CF.1090400@mlbassoc.com> Date: Thu, 23 Jan 2014 06:23:27 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <52DEEC17.60406@mlbassoc.com> <52DEEE0E.6070208@gmail.com> <52E10646.60806@mlbassoc.com> In-Reply-To: <52E10646.60806@mlbassoc.com> Subject: Re: [meta-fsl-arm] Can't build QT5 for i.MX6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 13:23:16 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-01-23 05:08, Gary Thomas wrote: > On 2014-01-21 15:00, John Weber wrote: >> Hi Gary, >> >> On 1/21/14 3:52 PM, Gary Thomas wrote: >>> I've been trying to build QT5 from meta-qt5 layer without success. >>> All attempts result in compile errors, as seen in http://ix.io/a2F >>> I'm using Poky/Yocto + meta-fsl-arm* latest master: >>> Build Configuration: >>> BB_VERSION = "1.21.1" >>> BUILD_SYS = "x86_64-linux" >>> NATIVELSBSTRING = "Ubuntu-12.04" >>> TARGET_SYS = "arm-poky-linux-gnueabi" >>> MACHINE = "wandboard-quad" >>> DISTRO = "poky" >>> DISTRO_VERSION = "1.5+snapshot-20140121" >>> TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9" >>> TARGET_FPU = "vfp-neon" >>> meta = "master:97d7e8689ca83a13ea511c0b91bf80974b8750b0" >>> meta-fsl-arm = "master:a899296ac603f549b28200a7c38d4ec4ca5c1ad5" >>> meta-fsl-arm-extra = "master:6a8759c593e8cd85f0dccb9e3b6de25adf2b3bb1" >>> meta-yocto >>> meta-yocto-bsp = "master:97d7e8689ca83a13ea511c0b91bf80974b8750b0" >>> meta-qt5 = "master:775d77e482f1ea203c78003cccd2547075fd720f" >>> I've tried different built hosts (Fedora/i586 as well) and other i.MX6 >>> targets, all fail the same way. >>> >>> The key error from the log seems to be: >>> /local/wandboard_test/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/include/QtCore/../../src/corelib/io/qurl.h:132:9: error: >>> expected identifier before numeric constant >>> None = 0x0, >>> ^ >>> /local/wandboard_test/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/include/QtCore/../../src/corelib/io/qurl.h:132:9: error: >>> expected '}' before numeric constant >>> >>> It looks like somehow 'None' has been defined to be something? >>> >>> It appears that QT5 has been built, at least at some point, according to >>> the page http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard >>> I tried to duplicate this using the 'dora' branches with the same >>> failure as above. >> That's strange, because I just built it with Dora like 12 times in a row suing the instructions from the above link while trying to see what was causing a boot problem and never >> saw this failure. >>> >>> The problem is definitely i.MX related as I can build for other ARM >>> targets, OMAP3, OMAP4, qemuarm, etc. >>> >>> Any ideas about this? You can't imagine how many hours I've been chasing this one! >>> >>> Thanks > > I just tried this again, following exactly the steps from the wandboard wiki, > with still the same failures. > > What could be different? I've tried different build hosts, different branches, > even different build sequences. I have no problem building this package for > any other target, but it always fails for i.MX6 > Interestingly, I can build if I remove/disable this .bbappend meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_5.1.1.bbappend I don't see how that file can cause the error I'm getting, but at least I know how to get _something_ built. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------