Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

main.log (13.3 KB) - added by i0ntempest 5 years ago.
patch-dmg2img-partof-openssl111-fix-evp-part.diff (4.0 KB) - added by kencu (Ken) 5 years ago.
WIP

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by i0ntempest

Attachment: main.log added

comment:1 Changed 5 years ago by kencu (Ken)

updating to 1.6.7 alone doesn't fix it.

comment:3 in reply to:  2 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: newassigned

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)

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.1dmg2img @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: assignedclosed

In df6821e1cc18fd4d7ee1e2d6dc969b647ea81fa9/macports-ports (master):

dmg2img: update to 1.6.7

force build against openssl 1.0.x
software needs to be updated to build against openssl 1.1.1
closes: #59011

comment:10 Changed 5 years ago by i0ntempest

Confirm fixed, thx

Note: See TracTickets for help on using tickets.