Bug 13688 - gobject-introspection do_configure failure
Summary: gobject-introspection do_configure failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M2
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-12-06 13:41 UTC by Richard Purdie
Modified: 2020-02-06 15:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2019-12-06 13:41:47 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/1304

NOTE: recipe gobject-introspection-native-1.62.0-r0: task do_configure: Started
ERROR: gobject-introspection-native-1.62.0-r0 do_configure: Execution of '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/temp/run.do_configure.37685' failed with exit code 2:
sed: can't read /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/gobject-introspection-1.62.0/tools/g-ir-tool-template.in: No such file or directory
WARNING: exit code 2 from a shell command.

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/temp/log.do_configure.37685
Log data follows:
| DEBUG: Executing python function gobject_introspection_preconfigure
| DEBUG: Python function gobject_introspection_preconfigure finished
| DEBUG: Executing shell function do_configure
| sed: can't read /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/gobject-introspection-1.62.0/tools/g-ir-tool-template.in: No such file or directory
| WARNING: exit code 2 from a shell command.
| ERROR: Execution of '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/temp/run.do_configure.37685' failed with exit code 2:
| sed: can't read /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86_64-linux/gobject-introspection-native/1.62.0-r0/gobject-introspection-1.62.0/tools/g-ir-tool-template.in: No such file or directory
| WARNING: exit code 2 from a shell command.
| 
NOTE: recipe gobject-introspection-native-1.62.0-r0: task do_configure: Failed
ERROR: Task (virtual:native:/home/pokybuild/yocto-worker/qemux86-world/build/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb:do_configure) failed with exit code '1'
NOTE: recipe linux-yocto-5.2.20+gitAUTOINC+bd0762cd13_dd25a04fc5-r0: task do_validate_branches: Started
Comment 1 Alexander Kanavin 2019-12-10 11:30:44 UTC
What I am seeing in the logs is that do_configure task runs without do_unpack or do_patch, and so there is no source code in the workdir. And the same thing seems to happen for cairo-native.

Hash equivalency issue?
Comment 2 Richard Purdie 2019-12-10 15:05:13 UTC
Thanks Alex, this does look like a hash equiv/runqueue problem as do_prepare_recipe_sysroot runs but fetch/unpack/patch doesn't.

Key line in the logs may be:

 NOTE: Task virtual:native:/home/pokybuild/yocto-worker/qemux86-world/build/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb:do_populate_sysroot unihash 630f83a860231d5c9be5cfe442baf833832c306b2b4be022731c661a48a273e5 unchanged by server

Are we handling that case correctly?
Comment 3 Richard Purdie 2020-02-06 15:22:29 UTC
This was caused by bugs in the hashequiv runqueue code and has been resolved (not seen on the autobuilder for ages now).