Bug 8870

Summary: uclibc fails to build occasionally
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Khem Raj <raj.khem>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 2.0   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2016-01-05 16:04:10 UTC
| .done
|   GEN extra/locale/locale_tables.h
| UTF-8 locales are enabled
| 8-BIT locales are enabled
| total data size = 520
|   GEN extra/locale/locale_collate.h
| Makefile.in:187: recipe for target 'headers' failed
| make: *** [headers] Error 2
| make: *** Waiting for unfinished jobs....


and

| 0x10fffd : curr_stdclib    0 != 0x58 mine 6
| .done
|   GEN /extra/locale/locale_collate.h
| xargs: ../..//extra/locale/gen_collate: Text file busy
| make[1]: *** [../..//extra/locale/locale_collate.h] Error 126
| make: *** [headers] Error 2
| make: *** Waiting for unfinished jobs....
| WARNING: exit code 1 from a shell command.

Looks like a parallel race.  I've submitted a patch to disable parallel builds but unless uclibc is removed from oe-core entirely we should fix the race as it causes a big performance hit.
Comment 1 Ross Burton 2016-01-07 16:00:58 UTC
Reassigning to Khem as the best candidate for uclibc maintainer.  There's a workaround in tree but the performance hit is not good.

Obviously if musl reaches the point where it is better than uclibc in master then we can close this.
Comment 2 Khem Raj 2016-11-14 17:40:26 UTC
uclibc is removed from OE-core
Comment 3 Ross Burton 2016-11-14 17:42:16 UTC
I'm such a pedant but ...