#59011 closed defect (fixed)
dmg2img @1.6.5_2 build fails against OpenSSL 1.1.1
Reported by: | i0ntempest | Owned by: | probono@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | yan12125 (Chih-Hsuan Yen) | |
Port: | dmg2img |
Description
It seems to be having problems with the new OpenSSL library, so maybe update the port file so it uses 1.0 libs? Also update to 1.6.7?
Attachments (2)
Change History (12)
Changed 5 years ago by i0ntempest
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 follow-up: 3 Changed 5 years ago by kencu (Ken)
comment:3 Changed 5 years ago by i0ntempest
Replying to kencu:
here's a clue <https://stackoverflow.com/questions/47518843/error-field-ctx-has-incomplete-type-evp-cipher-ctx>
1.6.7 does build with OpenSSL 1.0 (I just built it manually). For it to build with 1.1 libs maybe the dev needs to update his code.
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Cc: | yan12125 added |
---|---|
Owner: | set to probono@… |
Status: | new → assigned |
comment:5 Changed 5 years ago by kencu (Ken)
Cc: | yan12125 removed |
---|
all these old ports build with openssl 1.0 -- it's getting them to openssl 1.1.1 that is giving us trouble.
Homebrew just lists it as 'incompatible' with openssl 1.1.1, and browsing the web is not useful.
I have a partial patch for the first bit of the fix cooked up. The next bit, the HMAC_CTX
part, is not done yet. Info here on how to fix that <https://www.openssl.org/docs/man1.1.0/man3/HMAC.html>
Here's my partial patch for the first bits (incomplete).
Changed 5 years ago by kencu (Ken)
Attachment: | patch-dmg2img-partof-openssl111-fix-evp-part.diff added |
---|
WIP
comment:6 Changed 5 years ago by kencu (Ken)
Summary: | dmg2img @1.6.5_2 build fail on macOS 10.14.6 w/ Xcode 10.3, OpenSSL 1.1.1 → dmg2img @1.6.5_2 build fails against OpenSSL 1.1.1 |
---|
comment:7 Changed 5 years ago by kencu (Ken)
Cc: | yan12125 added |
---|
comment:8 Changed 5 years ago by kencu (Ken)
see what you think of this <https://github.com/macports/macports-ports/pull/5249>.
updates to latest version, and forces built against openssl 1.0.x pending someone updating the software to use openssl 1.1.1 someday
comment:9 Changed 5 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
updating to 1.6.7 alone doesn't fix it.