Bug 11095

Summary: Error building tpm-tools v1.3.9
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Stavros Vagionitis <svagionitis>
Component: meta-securityAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Bitbake Log file of configure script for tpm-tools none

Description Stavros Vagionitis 2017-02-21 16:42:44 UTC
Created attachment 3637 [details]
Bitbake Log file of configure script for tpm-tools

Overview
---------

Building the tpm-tools ver 1.3.9 in the current meta-security master branch, rev 21e1f1177c7293b7b2fe622dd499767e1a766b5b, results in error during the configuration script. I have attached the log of the error.

It seems that it does not find the libtspi.so library which is installed by the trousers recipe.


Steps to Reproduce
-------------------

By using the latest master branch, I executed the following

  bitbake tpm-tools


Actual Results
--------------

It's returning error during configuration. See part of the error message below

  checking for Tspi_Context_Create in -ltspi... no
  configure: error: tss lib not found: libtspi.so
  WARNING: exit code 1 from a shell command.
  ERROR: Function failed: do_configure (log file is located at /home/svagionitis/workspace/Tyco0n/JIRA-ISSUES/TYCOONSDK-16_FPPSDK-108/fpp_release_integration/build-tgm-r2-poky-fpp-tgm/tmp/work/mips32r2el-24kec-nf-poky-linux-musl/tpm-tools/1.3.9+gitAUTOINC+80954ab83b-r0/temp/log.do_configure.8759)

I have attached the full log file.


Expected Results
----------------

To build successfully the tpm-tools.


Build Date & Platform
----------------------

Tue Feb 21 16:33:19 GMT 2017 on Ubuntu 16.04 x86_64


Additional Builds and Platforms
-------------------------------

The target architecture to build the tpm-tools is MIPS with musl.
Comment 1 Armin Kuster 2017-03-03 22:54:36 UTC
am able to reproduce with qemumips w/ musl. checking other permutations. A patch was commit that should have fixed this but maybe it added a regression.
Comment 2 Armin Kuster 2017-03-16 00:16:22 UTC
have fix. will be posting soon
Comment 3 Armin Kuster 2017-03-16 00:37:29 UTC
this is a trousers issue causing tpm-tools to fail.