Bug 9445

Summary: Sporadic compilation failures in rsync-native
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Lock <joshuagloe>
Component: devtools / tool chainAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2016-04-12 13:41:12 UTC
The Ostro project CI machinery is seeing sporadic failures in rsync-native:do_compile:

20:56:30 ERROR: rsync-3.1.2-r0 do_compile: oe_runmake failed
20:56:30 ERROR: rsync-3.1.2-r0 do_compile: Function failed: do_compile (log file is located at /var/lib/jenkins/ostro-worker-14-slot-1-Pim28/ostro-os/build/tmp-glibc/work/i586-nlp-32-ostro-linux/rsync/3.1.2-r0/temp/log.do_compile.105648)
20:56:30 ERROR: Logfile of failure stored in: /var/lib/jenkins/ostro-worker-14-slot-1-Pim28/ostro-os/build/tmp-glibc/work/i586-nlp-32-ostro-linux/rsync/3.1.2-r0/temp/log.do_compile.105648
20:56:30 Log data follows:
20:56:30 | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
20:56:30 | DEBUG: Executing shell function do_compile
20:56:30 | NOTE: make -j 8 STRIP=
20:56:30 | autoconf -o configure.sh
20:56:30 | autoconf: error: no input file
20:56:30 | Makefile:151: recipe for target 'config.h.in' failed
20:56:30 | make: *** [config.h.in] Error 1
20:56:30 | ERROR: oe_runmake failed
20:56:30 | ERROR: Function failed: do_compile (log file is located at /var/lib/jenkins/ostro-worker-14-slot-1-Pim28/ostro-os/build/tmp-glibc/work/i586-nlp-32-ostro-linux/rsync/3.1.2-r0/temp/log.do_compile.105648)
20:56:30 NOTE: recipe rsync-3.1.2-r0: task do_compile: Failed

https://ostroproject.org/jenkins/view/Build/job/build_intel-quark/891/consoleFull

This looks like a race but I've been unable to reproduce it locally.
Comment 1 Ross Burton 2016-04-12 14:52:49 UTC
For some reason the rsync Makefiles have decided that they want to rebuild their configure/Makefile, and their hand-coded rebuild logic is broken.

I know, I was surprised too.

As this logic is redundant we can just delete it.
Comment 2 Ross Burton 2016-04-13 11:46:18 UTC
Fixed in oe-core ccc61cee8f097862640722abb9a9f53781efdac3 (hopefully).