<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8845</bug_id>
          
          <creation_ts>2015-12-21 20:30:06 +0000</creation_ts>
          <short_desc>freetype-native fails to re-execute do_configure</short_desc>
          <delta_ts>2016-01-12 20:44:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57413</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-12-21 20:30:06 +0000</bug_when>
    <thetext>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 &quot;make clean&quot; 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 &apos;builds/unix/unix-cc.mk&apos;.  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 &apos;1&apos;
--------- snip ---------

If I clean and rebuild the issue goes away, and if I then force it with -c configure -f the problem unfortunately doesn&apos;t recur; however this isn&apos;t the first time I have had this problem recently so clearly there&apos;s some underlying issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57627</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-07 15:39:22 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57649</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-01-07 17:23:13 +0000</bug_when>
    <thetext>Nitpick - that would be CLEANBROKEN = &quot;1&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57656</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-07 21:41:22 +0000</bug_when>
    <thetext>Had a &quot;quick&quot; look at this during a meeting and ended up rewriting most of the recipe.  Patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57771</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-01-12 20:44:15 +0000</bug_when>
    <thetext>Fixed in oe-core 80b53d9366455f5e9f654fee53c685aa8fd365e7.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>