[MacPorts] #67147: maxima-devel @ 5.46-dev-20221029_5 +xmaxima: Git clone failed - certificate has expired
MacPorts
noreply at macports.org
Wed Mar 29 18:36:55 UTC 2023
#67147: maxima-devel @ 5.46-dev-20221029_5 +xmaxima: Git clone failed - certificate
has expired
------------------------------+--------------------
Reporter: dotnetCarpenter | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: maxima-devel |
------------------------------+--------------------
Comment (by tomio-arisaka):
> I don't really understand the error given from sbcl. I'm not a
C/C++/Objective-C developer...
Earlier versions of clang don't know {{{__builtin_cpu_init}}}.\\
So I think the simple solution is to use MacPorts clang or GCC. (e.g.
clang-14, gcc12)
\\
> Couldn't the {{{maxima-devel}}} package use and depend on macports'
{{{git}}} instead of {{{/usr/bin/git}}}?
For example, you can apply the next patch:
{{{
--- Portfile.orig 2023-02-28 17:28:51.000000000 +0900
+++ Portfile 2023-03-30 02:00:00.000000000 +0900
@@ -44,6 +44,17 @@
git.url https://git.code.sf.net/p/maxima/code
git.branch 5b42cccfd9eee54d0458d8f4e63e6b44c55d48a1
+ # On High-Sierra, fix SSL certificate problem: certificate has
expired
+ if {${os.major} < 19} {
+ depends_build-append path:bin/git:git
+
+ worksrcdir ${name}-${version}
+ fetch {
+ system -W ${workpath} "git clone --progress ${git.url}
${worksrcdir} 2>&1"
+ system -W ${worksrcpath} "git checkout -q ${git.branch} 2>&1"
+ }
+ }
+
use_autoreconf yes
livecheck.type none
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67147#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list