Closed ikedas closed 2 years ago
Hi @ikedas
From the output you have included, it seems as if you are using OpenSSL 3, this is currently not supported, please see issue #91.
The Makefile.PL
uses the path from brew
dynamically, is it different for this particular environment? This repositorys own actions report no issues with the implemented approach.
Only some of builds are unsuccsessful (build logs are here). Because, some virtual environments for macOS have both openssl 3 & 1.1 and /usr/local/opt/openssl
links to openssl@3
, while some others have only 1.1 and openssl@1.1
is used. The former ones fail to build, and the latter ones success.
@ikedas I believe that https://github.com/dsully/perl-crypt-openssl-x509/pull/104 will help to move to resolving bugs with OpenSSL 3.
@ikedas I believe that #104 will help to move to resolving bugs with OpenSSL 3.
It looks promising for me. I'll try it if it will be included in the next release. Thanks!
This is believed to be addressed via #104, we will reopen or create new issue if the challenges persist
Hi @ikedas and @michal-josef-spacek
This has been included in the release 1.9.14-TRIAL, just uploaded to PAUSE/CPAN.
Please let me know if you experience any issues or have any feedback. The 1.9.14 release will be made in due time depending on the outcome/feedback of the trial release.
Thanks for your contributions.
Description
I tried to automate testing of Sympa with GitHub Actions workflow, then have a problem with macOS environment: It has both
openssl@3
andopenssl@1.1
installed, hardcodedinc
andlibs
inMakefile.PL
point the former and therefore building module fails.Specifying
INC=...
andLIBS=...
as command line arguments for MakeMaker is discouraged. Because it can break build of the other modules, as we use the package managercpanm
.Expected behaviour
It would be nice to be able to specify
INC
andLIBS
of C::O::X509's own. Or, some more precise way to specify them, likePKG_CONFIG_PATH
environment variable, is desirable.Actual behaviour
On Unixen systems
INC
andLIBS
are hardcoded as/usr/local/opt/openssl/*
and so on.Special suffixes like
/usr/local/opt/openssl@1.1
(on GH's virtual env.),/opt/homebrew/opt/openssl@1.1
(default location of recent homebrew) and so on cannot be specified.Operating system and version
macOS 10.15 (and maybe later) with homebrew, provided by GitHub Actions virtual environment.
Crypt::OpenSSL::X509 version
1.910.
Perl version
5.16 to 5.34, provided by shogo82148/actions-setup-perl.
OpenSSL version
We want to use
openssl@1.1
(1.1.1i), butopenssl@3
(3.0.0) is used.Output, if available
Step by step guide to reproducing the issue