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.
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.
Nitpick - that would be CLEANBROKEN = "1".
Had a "quick" look at this during a meeting and ended up rewriting most of the recipe. Patch on the list.
Fixed in oe-core 80b53d9366455f5e9f654fee53c685aa8fd365e7.