Bug 6269 - gtk 2.24.20 fails at do_compile
Summary: gtk 2.24.20 fails at do_compile
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5.3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-06 14:08 UTC by Ionut Chisanovici
Modified: 2014-05-09 06:35 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
gtk_do_compile (2.95 MB, application/octet-stream)
2014-05-06 14:08 UTC, Ionut Chisanovici
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ionut Chisanovici 2014-05-06 14:08:02 UTC
Created attachment 1935 [details]
gtk_do_compile

Hi,

On our local AB, the nightly-world build fails at gtk do_compile task.
Attached the error log, below the build configuration:

Commit: 9b7d43963f54d25e087a4cc55623a4cfeac121a9
Branch: sgw/dora-next

DISTRO = "poky"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
BB_NUMBER_THREADS = "16"
PARALLEL_MAKE = "-j 16"
SDKMACHINE ?= "x86_64"
BB_TASK_NICE_LEVEL = "5"
BB_TASK_NICE_LEVEL_task-testimage = "0"
DL_DIR = "/home/autobuilder/yocto-autobuilder/downloads"
require conf/multilib.conf 
MULTILIBS = "multilib:lib32" 
DEFAULTTUNE_virtclass-multilib-lib32 = "x86" 
SSTATE_DIR ?= "/home/autobuilder/yocto-autobuilder/sstate/multilib" 
MACHINE = "qemux86"
PREMIRRORS = ""
ADTREPO = "http://adtrepo.yoctoproject.org//1.5.1"

Cheers,
Ionut C
Comment 1 Ionut Chisanovici 2014-05-06 14:10:35 UTC
Forgot to mention that this is happening on Ubuntu 13.10

Ionut C
Comment 2 Ionut Chisanovici 2014-05-08 07:02:11 UTC
On the new commit: 6a92f7ede3be3edd58d7819aa611b0c5270756bf on Ubuntu 13.10, gtk also fails at do compile:

make[2]: Entering directory `/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/build/demos'
| /home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/x86_64-linux/usr/bin/gdk-pixbuf-csource --raw --build-list		\
| 	        apple_red  /home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/gtk+-2.24.20/demos/apple-red.png	\
|                 gnome_foot /home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/gtk+-2.24.20/demos/gnome-foot.png	\
|         > test-inline-pixbufs.h				\
| 	|| (rm -f test-inline-pixbufs.h && false)
| failed to load "/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/gtk+-2.24.20/demos/apple-red.png": Couldn't recognize the image file format for file '/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/gtk+-2.24.20/demos/apple-red.png'
| make[2]: *** [test-inline-pixbufs.h] Error 1
| make[2]: Leaving directory `/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/build/demos'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/gtk+/2.24.20-r0/temp/log.do_compile.17508)
NOTE: recipe gtk+-2.24.20-r0: task do_compile: Failed
ERROR: Task 741 (/home/autobuilder/yocto-autobuilder/yocto-slave/nightly-world/build/meta/recipes-gnome/gtk+/gtk+_2.24.20.bb, do_compile) failed with exit code '1'

Cheers,
Ionut C
Comment 3 Ross Burton 2014-05-08 13:56:20 UTC
Until this is fixed, if this reproduces constantly then clearing the gdk-pixbuf-native sstate should work around it.
Comment 4 Chen Qi 2014-05-09 06:35:47 UTC
I built it on ubuntu12.04 and the build succeeded.
Also, Ionut rebuilt it on ubuntu13.10 and the build succeeded.

I think Ross's point holds.
So I close this bug as FIXED/WORKSFORME.

If there's any further problem, we can reopen it.

//Chen Qi