<?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>11951</bug_id>
          
          <creation_ts>2017-08-18 16:34:25 +0000</creation_ts>
          <short_desc>(refkit) tpm-tools-native-1.3.9.1 compile error</short_desc>
          <delta_ts>2017-11-14 13:04:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-security</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5</target_milestone>
          <dependson>11950</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Mikko Ylinen">mikko.ylinen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>mikko.ylinen</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="yeoh ee peng">ee.peng.yeoh</qa_contact>
          <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>75996</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2017-08-18 16:34:25 +0000</bug_when>
    <thetext>A seen in Autobuilder:
https://autobuilder.yocto.io/builders/nightly-refkit/builds/122/steps/BuildImages/logs/stdio

Relevant part:

ERROR: tpm-tools-native-1.3.9.1+gitAUTOINC+5c5126bedf-r0 do_compile: oe_runmake failed
ERROR: tpm-tools-native-1.3.9.1+gitAUTOINC+5c5126bedf-r0 do_compile: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/x86_64-linux/tpm-tools-native/1.3.9.1+gitAUTOINC+5c5126bedf-r0/temp/log.do_compile.946)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/x86_64-linux/tpm-tools-native/1.3.9.1+gitAUTOINC+5c5126bedf-r0/temp/log.do_compile.946
Log data follows:
...

tpm_extendpcr.c: In function ‘main’:
| tpm_extendpcr.c:139:14: error: storage size of ‘ctx’ isn’t known
|    EVP_MD_CTX ctx;
|               ^~~
| tpm_extendpcr.c:139:14: warning: unused variable ‘ctx’ [-Wunused-variable]
| make[3]: *** [Makefile:472: tpm_extendpcr.o] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76112</commentid>
    <comment_count>1</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-08-24 03:19:12 +0000</bug_when>
    <thetext>Same root cause and resolution as in bug #11950</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76128</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-08-24 14:44:05 +0000</bug_when>
    <thetext>We will end up moving to 1.1 so I think this needs to stay open to remind us this will need fixing eventually</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78200</commentid>
    <comment_count>3</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-11-14 13:04:14 +0000</bug_when>
    <thetext>Oe-core went back to openssl 1.0 and no plans to move to 1.1 just yet. Closing as obsolete for now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>