Re: compilers PortGroup

2022-07-17 Thread Chris Jones
> On 17 Jul 2022, at 1:59 am, Mark Brethen wrote: > > I’ve tested the build with gfortran-mp-12 which fails: > > :info:build /opt/local/bin/gfortran-mp-12 -Wall -O2 -c gencontelem_n2f.f > :info:build gencontelem_n2f.f:595:39: > :info:build 184 |call > isortii(ialset(istart

Re: fetch timeout

2022-07-17 Thread Mark Brethen
I think I’m getting to the root of the problem. I tried to obtain the SSL certificate from the host server using openssl. Downloads $ echo | openssl s_client -servername wias-berlin.de -connect wias-berlin.de:443 |\ sed -ne

Re: compilers PortGroup

2022-07-17 Thread Mark Brethen
Hmm, 'compilers.allow_arguments_mismatch yes’ had no effect—same failure. I looked at the compilers group and with it set, and gfortran variant is selected, chooses ${compilers.gcc_default}. Which in my case was gcc12—which is already installed. Mark Brethen mark.bret...@gmail.com > On Jul 1

Re: compilers PortGroup

2022-07-17 Thread Chris Jones
Ok, shame. Nevertheless, this is not an issue with the compiler but the code itself. You might try discussing it with the upstream maintainers. Chris > On 17 Jul 2022, at 3:29 pm, Mark Brethen wrote: > > Hmm, 'compilers.allow_arguments_mismatch yes’ had no effect—same failure. I > looked at

Re: compilers PortGroup

2022-07-17 Thread Mark Brethen
Unfortunately spooles is no longer maintained, but I found this discussion online: If you compile with GCC 10 or newer, you will get the following error, originating from CalculiX: Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar) To work around

Re: fetch timeout

2022-07-17 Thread Mark Brethen
It’s interesting that curl fails from my older MacBook Air, but passes on the M1 iMac, both with OS 11 installed. Even after a clean reinstall. I suspect it’s something about Apple’s openssl. Browsers don’t seem to mind the certificate. As a work around, I’d like to add something like this: se

Re: compilers PortGroup

2022-07-17 Thread Mark Brethen
Have I got this right? It seems to work: set ver [regsub -all {[[:alpha:]]+} ${compilers.gcc_default} {}] if { ${ver} >= 10 } { reinplace \ "s|FFLAGS = -Wall -O2|FFLAGS = -Wall -O2 -fallow-argument-mismatch|g" \ ${worksrcpath}/src/Makefile } Thanks, M

Re: compilers PortGroup

2022-07-17 Thread Ken Cunningham
> Error: Rank mismatch between actual argument at (1) and actual argument at > (2) (rank-1 and scalar) > To work around this, you need to add -fallow-argument-mismatch to the FFLAGS > inside Makefile: Funny, that is exactly the argument that: compilers.allow_arguments_mismatch yes is supposed to

Re: compilers PortGroup

2022-07-17 Thread Mark Brethen
It’s a local port I’m updating. The source does not have configure, so the makefile has to be patched and build environment passed. Portfile Description: Binary data Mark Brethenmark.bret...@gmail.com On Jul 17, 2022, at 6:41 PM, Ken Cunningham wrote:Error: Ran