From: Scheie, Peter M <Petre.Scheie at gd-ms.com>
To: tpm2@lists.01.org
Subject: [tpm2] building tpm2-tools with bitbake fails even though tpm2-tss builds fine
Date: Tue, 20 Feb 2018 20:37:36 +0000 [thread overview]
Message-ID: <2ba64c1cd60f46bda1192e4741b926ef@AZDC-MMB02.GD-MS.US> (raw)
[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]
I'm trying to build tpm2-tools with bitbake, but it fails saying it cannot find sapi ("Package requirements (sapi >- 1.3.0 sapi < 2.0.0) were not met") which is provided by tpm2-tss (right?). Tpm2-tss builds just fine, and when I try to build tpm2-tools, I can see tpm2-tss being built since it's listed as a dependency in the recipe. But something breaks somewhere.
I should add that I'm not using the git clone of tpm2-tools, but rather the tar file from releases. For my recipe, I've modified tpm2-tools_2.1.0.bb so that it points to the tar file rather than the github repo, and renamed it tpm2-tools_3.0.3.bb. Working through this, I'm confused by several things:
* Why is the recipe version 2.1.0 on the OpenEmbedded.org website when the latest tar file is 3.0.3?
* Why is the recipe made up of two files, tpm2-tools_2.1.0.bb and tpm2-tools.inc instead of just putting it all in the .bb file?
* Why does the SRC_URI in the .bb file point to gcc7.diff which references, among others, a main.c file that isn't in the tar file?
As I said, I've modified the recipe files to use the 3.0.3 tar file for the SRC_URI, but I suspect something else is not quite right perhaps because of how I'm mixing versions of tar files and recipes (even though I've removed all references to the 2.1.0 version) and causing the sapi error. Ideas?
Peter
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 6716 bytes --]
next reply other threads:[~2018-02-20 20:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 20:37 Scheie, Peter M [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-02-20 21:49 [tpm2] building tpm2-tools with bitbake fails even though tpm2-tss builds fine Philip Tricca
2018-02-20 23:33 Javier Martinez Canillas
2018-02-21 14:27 Scheie, Peter M
2018-02-21 16:19 Scheie, Peter M
2018-02-21 20:38 Scheie, Peter M
2018-02-22 5:04 Philip Tricca
2018-02-22 19:39 Scheie, Peter M
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ba64c1cd60f46bda1192e4741b926ef@AZDC-MMB02.GD-MS.US \
--to=tpm2@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox