Opened 4 years ago

Closed 4 years ago

#60235 closed defect (fixed)

softhsm 2.4.0 fails to install

Reported by: iay (Ian Young) Owned by: Jakker (Jaap Akkerhuis)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: softhsm

Description

Installing "sudo port install softhsm" under macOS Catalina 10.15.3 fails during configuration. I think this is down to lack of GOST support in the latest versions of OpenSSL:

configure:5835: result: Cannot find GOST engine
configure:5837: error: OpenSSL library has no GOST support

This appears to be correctly accounted for in the softhsm 2.6.0 release (and it would make sense to update the port to that release anyway).

Unfortunately, that release doesn't compile under macOS Catalina either, due to this:

https://github.com/opendnssec/SoftHSMv2/issues/535

One of the comments there does include source changes to fix that problem, but it's not part of an upstream release yet.

Change History (5)

comment:1 Changed 4 years ago by reneeotten (Renee Otten)

Owner: set to Jakker
Status: newassigned

comment:2 Changed 4 years ago by iay (Ian Young)

I have a Portfile change and associated patch that would bring softhsm to 2.6.0 and also allow compilation under Catalina. I'll make a PR from this in the next day or so once I get a response from one of the softhsm devs about whether this will be incorporated in a patch release any time soon.

comment:3 Changed 4 years ago by Jakker (Jaap Akkerhuis)

Yes, upgrading to 2.6.0 is the right answer. It would be great to see your proposed Portfile change. Can you attache it to this PR? It will save me some work. Meanwhile, I will also contact the developer.

Thanks in advance!

jaap

comment:4 Changed 4 years ago by iay (Ian Young)

Pull request at https://github.com/macports/macports-ports/pull/6707

The patch part of this has been accepted upstream: https://github.com/opendnssec/SoftHSMv2/pull/537

It looks like that may be replaced by a more comprehensive fix for the underlying problem: https://github.com/opendnssec/SoftHSMv2/pull/539

Either way, I would expect that we can remove the patch from the portfile when 2.6.1 comes along.

comment:5 Changed 4 years ago by iay (Ian Young)

Resolution: fixed
Status: assignedclosed

In 4f9db80054249f823009484fa35095d64a6ee299/macports-ports (master):

softhsm: patch for macOS 10.15.4, Xcode 11.4

Fixes: #60235

Note: See TracTickets for help on using tickets.