Bug 1638961 - tpm2-tss-2.2.3_rc3 is available
Summary: tpm2-tss-2.2.3_rc3 is available
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: tpm2-tss
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-13 14:30 UTC by David Woodhouse
Modified: 2019-10-29 09:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-29 09:29:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2018-10-13 14:30:48 UTC
I tried a scratch build of OpenConnect to test what will be the 8.0 release with TPMv2 support.

I added 'BuildRequires: tss2-esys' to my package.

The build failed with 'cannot find -lgcrypt'.

https://kojipkgs.fedoraproject.org//work/tasks/658/30200658/build.log

I'm not sure why it was trying to find lgcrypt at link time; shouldn't your libraries just be linked to that without bothering the *application* link? But if you have included it in your pkg-config ldflags for some reason then you'll need to ensure your own -devel package also requires libgcrypt-devel.

Obviously I can work around it by manually requiring libgcrypt-devel for now, to smoke test my own release candidate. But that isn't viable in the general case.

Comment 1 David Woodhouse 2018-10-13 14:34:24 UTC
Obviously I mean I added 'BuildRequires: pkgconfig(tss2-esys)'.

Comment 2 David Woodhouse 2018-10-15 23:04:13 UTC
https://github.com/tpm2-software/tpm2-tss/issues/1169

Comment 3 Yunying Sun 2019-05-05 05:43:56 UTC
This issue has been fixed in upstream by commit:
a5ff71ab configure.ac: switch default ESAPI crypto backend to openSSL

The fix has been included since release 2.2.0. Fedora has latest 2.2.2 release available.

David, could you check whether this issue has been fixed with 2.2.x release on Fedora 30?

Comment 4 Yunying Sun 2019-05-17 02:39:08 UTC
@David, if issue is not seen with latest tpm2-tss release, is it ok to close this ticket?

Comment 5 Upstream Release Monitoring 2019-05-22 16:07:22 UTC
Latest upstream release: 2.2.3_rc3 Current version/release in rawhide: 2.2.2-1.fc31 URL: https://github.com/tpm2-software/tpm2-tss Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoringPlease keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.Based on the information from anitya: https://release-monitoring.org/project/12683/

Comment 6 Upstream Release Monitoring 2019-05-22 16:07:23 UTC
Skipping the scratch build because an SRPM could not be built: ['git', 'clone', 'https://src.fedoraproject.org/cgit/rpms/tpm2-tss.git', '/var/tmp/thn-a1es4tkb'] returned 128: b"Cloning into '/var/tmp/thn-a1es4tkb'...\nfatal: repository 'https://src.fedoraproject.org/cgit/rpms/tpm2-tss.git/' not found\n"

Comment 7 Yunying Sun 2019-10-29 09:29:47 UTC
Closing this ticket as it's supposed to be fixed already, and long time no update.


Note You need to log in before you can comment on or make changes to this bug.