Bug 11095 - Error building tpm-tools v1.3.9
Summary: Error building tpm-tools v1.3.9
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-security (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M4
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-02-21 16:42 UTC by Stavros Vagionitis
Modified: 2017-05-15 23:45 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Bitbake Log file of configure script for tpm-tools (35.40 KB, application/octet-stream)
2017-02-21 16:42 UTC, Stavros Vagionitis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.