Opened 2 years ago

Closed 7 months ago

#58123 closed defect (fixed)

ruby @1.8.7-p374_7 fails to build because asn1_mac.h was removed from libressl-devel

Reported by: hakoyamah Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: ruby

Description (last modified by ryandesign (Ryan Schmidt))

asn1_mac.h was removed from libressl-devel, so ruby-1.8.7 fails to build. Patches to use asn1.h may be a workaround.

-#include <openssl/asn1_mac.h>
+#include <openssl/asn1.h>

Change History (3)

comment:1 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: haspatch added; libressl-devel removed
Owner: set to kimuraw
Port: @1.8.7-p374_7 removed
Status: newassigned
Summary: ruby-1.8.7 fails to build because asn1_mac.h was removed from libressl-develruby @1.8.7-p374_7 fails to build because asn1_mac.h was removed from libressl-devel

comment:2 Changed 2 years ago by kimuraw (kimura wataru)

In 8b631fa62a828b3245ac27e85c16de6acf7955f3/macports-ports (master):

lang/ruby, ruby21, ruby22, ruby23: fix build error with liressl-devel

see #58123

<openssl/asn1_mac.h> is obsoleted in latest libressl and openssl.
this error occurs at ext/openssl on ruby-2.3 or earlier versions.

(build error on ruby19 and ruby20 is not solved.)

comment:3 Changed 7 months ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed

I missed closing this ticket. this PR has been merged at Mar 2019.

Note: See TracTickets for help on using tickets.