Fedora Account System
Red Hat Associate
Red Hat Customer
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.
Obviously I mean I added 'BuildRequires: pkgconfig(tss2-esys)'.
https://github.com/tpm2-software/tpm2-tss/issues/1169
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?
@David, if issue is not seen with latest tpm2-tss release, is it ok to close this ticket?
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/
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"
Closing this ticket as it's supposed to be fixed already, and long time no update.