Bug 5296 - meta-toolchain build error: sdl.c
Summary: meta-toolchain build error: sdl.c
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: unspecified
Hardware: x86 arm
: Medium normal
Target Milestone: 1.5.1
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-30 14:48 UTC by Gabriel Barbu
Modified: 2013-10-29 08:25 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
meta-toolchain build log (10.88 KB, text/plain)
2013-10-01 06:52 UTC, Gabriel Barbu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Barbu 2013-09-30 14:48:09 UTC
Attempting to build meta-toolchain for qemuarm results in the error below: 

Error: 
| ui/sdl.c:62:8: warning: type defaults to 'int' in declaration of 'doing_grabs' [-Wimplicit-int]
 | static doing_grabs = True; 
| ^ 
| ui/sdl.c:62:22: error: 'True' undeclared here (not in a function) 
| static doing_grabs = True;
Comment 1 Saul Wold 2013-09-30 17:35:01 UTC
I was not able to reproduce this, can you provide some additional details about what actually failed and maybe the bitbake "info block" (what it prints when you start bitbake), for example my successful build:

bitbake -k meta-toolchain
Parsing recipes: 100% |###################################################| Time: 00:00:08
Parsing of 855 .bb files complete (0 cached, 855 parsed). 1186 targets, 32 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.10"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5"
TUNE_FEATURES     = "armv5 thumb dsp"
TARGET_FPU        = "soft"
meta              
meta-yocto        
meta-yocto-bsp    = "mut:d74b36fc5dd58f73f575df1e6c3ce0d657ad648b"

It appears that you were building qemu at the time, do you have the host system sdl packages installed correctly?
Comment 2 Gabriel Barbu 2013-10-01 06:52:45 UTC
Created attachment 1534 [details]
meta-toolchain build log

Please see the full log attached.

This used to work for us until recently.
Could it be related to this change? 
http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg44329.html

I'm not sure which host sdl packages you are referring to... Are there any supplementary packages that have recently become required?
Comment 3 Gabriel Barbu 2013-10-01 13:42:39 UTC
I tried to reproduce this in Yocto and could not/the build works!
So it looks like there is something in our environment that broke it recently.
Sorry for bothering you.
Comment 4 Laurentiu Palcu 2013-10-29 08:25:48 UTC
(In reply to comment #3)
> I tried to reproduce this in Yocto and could not/the build works!
> So it looks like there is something in our environment that broke it
> recently.
> Sorry for bothering you.

Closing this then!