Bug 8845 - freetype-native fails to re-execute do_configure
Summary: freetype-native fails to re-execute do_configure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-12-21 20:30 UTC by Paul Eggleton
Modified: 2016-01-12 20:44 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

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2015-12-21 20:30:06 UTC
At some point freetype-native do_configure was triggered again on my system, presumably due to a change in a dependency, and the result was this failure:

--------- snip ---------
ERROR: Function failed: autotools_preconfigure (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/freetype-native/2.6-r0/temp/log.do_configure.13524)
ERROR: Logfile of failure stored in: /home/paul/poky/poky/build/tmp/work/x86_64-linux/freetype-native/2.6-r0/temp/log.do_configure.13524
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function autotools_preconfigure
| Running "make clean" in /home/paul/poky/poky/build/tmp/work/x86_64-linux/freetype-native/2.6-r0/freetype-2.6
| config.mk:25: builds/unix/unix-def.mk: No such file or directory
| config.mk:26: builds/unix/unix-cc.mk: No such file or directory
| make: execvp: ./include/freetype.h: Permission denied
| make: *** No rule to make target 'builds/unix/unix-cc.mk'.  Stop.
| WARNING: /home/paul/poky/poky/build/tmp/work/x86_64-linux/freetype-native/2.6-r0/temp/run.autotools_preconfigure.13524:1 exit 2 from
|   make clean
| ERROR: Function failed: autotools_preconfigure (log file is located at /home/paul/poky/poky/build/tmp/work/x86_64-linux/freetype-native/2.6-r0/temp/log.do_configure.13524)
ERROR: Task 1929 (virtual:native:/home/paul/poky/poky/meta/recipes-graphics/freetype/freetype_2.6.bb, do_configure) failed with exit code '1'
--------- snip ---------

If I clean and rebuild the issue goes away, and if I then force it with -c configure -f the problem unfortunately doesn't recur; however this isn't the first time I have had this problem recently so clearly there's some underlying issue.
Comment 1 Ross Burton 2016-01-07 15:39:22 UTC
Might just need a CLEAN_BROKEN=1, although it would be interesting to understand why freetype needs to use autotools-brokensep and to see if that can be fixed.
Comment 2 Paul Eggleton 2016-01-07 17:23:13 UTC
Nitpick - that would be CLEANBROKEN = "1".
Comment 3 Ross Burton 2016-01-07 21:41:22 UTC
Had a "quick" look at this during a meeting and ended up rewriting most of the recipe.  Patch on the list.
Comment 4 Ross Burton 2016-01-12 20:44:15 UTC
Fixed in oe-core 80b53d9366455f5e9f654fee53c685aa8fd365e7.