Bug 2860 - n450 : trace-cmd recipe fails to compile
Summary: n450 : trace-cmd recipe fails to compile
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard: (autobuilder)(Development complete)
Depends on:
Blocks:
 
Reported: 2012-07-31 04:05 UTC by Nitin Kamble
Modified: 2012-11-05 10:11 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2012-07-31 04:05:14 UTC
| In file included from /usr/include/python2.7/Python.h:58:0,
|                  from /srv/home/pokybuild/yocto-autobuilder/yocto-slave/n450/build/build/tmp/work/core2-poky-linux/trace-cmd-1.2+git1+7055ffd37beeb44714e86a4abc703f7e175a0db5-r2/git/plugin_python.c:1:
| /usr/include/python2.7/pyport.h:848:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."


Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "n450"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120730"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:7411158e1f980cd71c432026fa2f68ab80e3541e"
meta-intel        
meta-n450         
meta-tlk          = "master:7bd163e41f6b861448ab19a13ded4b7c48e16641"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"


Autobuilder log: 
http://autobuilder.yoctoproject.org:8010/builders/n450/builds/157/steps/shell_27/logs/stdio
Comment 1 Bruce Ashfield 2012-07-31 04:07:34 UTC
Looks like python native is required. Liang Li from Wind River just sent a 
patch for this .. and it should address the issue. 

Unless that patch was merged, and CAUSED this problem :)
Comment 2 Nitin Kamble 2012-07-31 04:11:25 UTC
not only n450, this bug shows for other BSPs as well.
Comment 3 Darren Hart 2012-07-31 16:21:04 UTC
Is this resolved with 5fe7d0467c668ee6c5b953a45be74e5c2305de3c ?

commit 5fe7d0467c668ee6c5b953a45be74e5c2305de3c
Author: Morgan Little <morgan.little@windriver.com>
Date:   Thu Jul 19 13:46:21 2012 -0400

    trace-cmd: Update for python-native changes
    
    Add pythonnative to the inherits list
    
    (From OE-Core rev: b3ef5a986e3bc1a29ba2b4a25d063a0267e2f72f)
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 4 Darren Hart 2012-08-02 14:54:56 UTC
.
Comment 5 Alexandru Georgescu 2012-08-27 10:37:37 UTC
(In reply to comment #3)
> Is this resolved with 5fe7d0467c668ee6c5b953a45be74e5c2305de3c ?
> 
> commit 5fe7d0467c668ee6c5b953a45be74e5c2305de3c
> Author: Morgan Little <morgan.little@windriver.com>
> Date:   Thu Jul 19 13:46:21 2012 -0400
> 
>     trace-cmd: Update for python-native changes
>     
>     Add pythonnative to the inherits list
>     
>     (From OE-Core rev: b3ef5a986e3bc1a29ba2b4a25d063a0267e2f72f)
>     
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(In reply to comment #2)
> not only n450, this bug shows for other BSPs as well.

Hi Nitin,
Do you have an update regarding this bug?

Thanks,
Alex.
Comment 6 Nitin Kamble 2012-08-27 17:29:27 UTC
I am not able to reproduce this issue with the latest master. Marking the bug as fixed.
Comment 7 Stoicescu Cornel 2012-11-05 10:11:28 UTC
Verified in master using n450 and crownbay:

commit e421e95de0ce430cc2c6db9b0712a66ab96288a1
Date:   Fri Nov 2 16:17:07 2012 +0000