Bug 4310 - do_dumpdata_create_diff_gz fails for core-image-sato-qemux86-64
Summary: do_dumpdata_create_diff_gz fails for core-image-sato-qemux86-64
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4.1
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-16 11:38 UTC by Stoicescu Cornel
Modified: 2013-05-03 18:06 UTC (History)
6 users (show)

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


Attachments
log.do_dumpdata_create_diff_gz (8.36 KB, application/octet-stream)
2013-04-16 11:38 UTC, Stoicescu Cornel
no flags Details
debug info and possible fix (4.05 KB, patch)
2013-04-30 12:40 UTC, Cristian Iorga
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-04-16 11:38:25 UTC
Created attachment 1174 [details]
log.do_dumpdata_create_diff_gz

STATUS: FAILED
BUILD: dylan:dab237bc6a7679dfeaa981c14736aedc7b04ecb9
ENVIRONMENT: Ubuntu 12.04 X86_64
STEPS TO REPRODUCE: 
Feature request: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2473


Add the following lines to conf/local.conf:

ARCHIVER_MODE ?= "original"

ARCHIVER_MODE[type] ?= "tar" 

ARCHIVER_MODE[log_type] ?= "logs_with_scripts" 
ARCHIVER_MODE[filter] = "no"   
ARCHIVER_CLASS = "${@'archive-${ARCHIVER_MODE}-source' if ARCHIVER_MODE != 'none' else ''}" 

INHERIT += "${ARCHIVER_CLASS}" 

and run bitbake core-image-sato

Notice error ( see attached )
Comment 1 Cristian Iorga 2013-04-16 12:07:11 UTC
Investigation started.
Comment 2 Cristian Iorga 2013-04-22 06:09:21 UTC
The issue is reproducible on multiple architectures, but only for core-image-sato.
Comment 3 Cristian Iorga 2013-04-30 12:40:41 UTC
Created attachment 1203 [details]
debug info and possible fix

This patch improves debug info and also it *should* work as a fix, altough it doesn't.
Comment 4 Laurentiu Palcu 2013-05-02 14:33:00 UTC
I saw that it's always reproducible if:

EXTRA_IMAGE_FEATURES = "debug-tweaks dbg-pkgs dev-pkgs tools-sdk tools-debug"
Comment 5 Laurentiu Palcu 2013-05-03 09:11:54 UTC
Sent a patch on oe-core ML. However, in order to properly test this, tmp/cache must be removed first (if the build is not a clean one). This is because of:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=4447

The #4447 is not related to this one but influences the behavior if the build is not done from scratch.
Comment 6 Laurentiu Palcu 2013-05-03 18:06:50 UTC
Patch merged to master:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a8eca390019b569220d09d9c6d8039cb0898996b

The fix for #4447 has been also merged, so this one can be easily tested now.