Bug 11951

Summary: (refkit) tpm-tools-native-1.3.9.1 compile error
Product: [Yocto Project Subprojects] IoT Reference OS Kit Reporter: Juro Bystricky <juro.bystricky>
Component: intel-iot-refkit-securityAssignee: Mikko Ylinen <mikko.ylinen>
Status: RESOLVED OBSOLETE QA Contact: yeoh ee peng <ee.peng.yeoh>
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, mikko.ylinen, richard.purdie
Version: 2.4   
Target Milestone: 2.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 11950    
Bug Blocks:    

Description Juro Bystricky 2017-08-18 16:34:25 UTC
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
Comment 1 Mikko Ylinen 2017-08-24 03:19:12 UTC
Same root cause and resolution as in bug #11950
Comment 2 Richard Purdie 2017-08-24 14:44:05 UTC
We will end up moving to 1.1 so I think this needs to stay open to remind us this will need fixing eventually
Comment 3 Mikko Ylinen 2017-11-14 13:04:14 UTC
Oe-core went back to openssl 1.0 and no plans to move to 1.1 just yet. Closing as obsolete for now.