[exp - 123amd64-default-build-as-user][science/dynare] Failed for dynare-5.0_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 25 Apr 2022 21:54:21 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        http://package19.nyi.freebsd.org/data/123amd64-default-build-as-user/bb2c57742c29/logs/dynare-5.0_1.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=123amd64-default-build-as-user&build=bb2c57742c29
Log:

=>> Building science/dynare
build started at Mon Apr 25 21:50:22 UTC 2022
port directory: /usr/ports/science/dynare
package name: dynare-5.0_1
building for: FreeBSD 123amd64-default-build-as-user-job-01 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 amd64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1203000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p5
UNAME_r=12.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/poudriere/data/.m/123amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/123amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/123amd64-default-build-as-user/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for dynare-5.0_1:
     OCTAVE=on: Integrate with Octave (main way to use Dynare)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-matlab  --disable-doc --enable-octave --disable-mex-kalman-steady-state --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/science/dynare/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dynare/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dynare/work/.cache  HOME=/wrkdirs/usr/ports/science/dynare/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dynare/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=5242
 88
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran10" FC="gfortran10" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc10" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc10" XDG_DATA_HOME=/wrkdirs/usr/ports/science/dynare/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/dynare/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/dynare/work/.cache  HOME=/wrkdirs/usr/ports/science/dynare/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/dynare/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -
 fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS="-L/usr/local/lib"  CXX="g++10" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OCTAVE="" NO_OCTAVE="@comment " TEXMFDIR="share/texmf" TEXMFDISTDIR="share/texmf-dist" TEXMFLOCALDIR="share/texmf-local" TEXMFVARDIR="share/texmf-var" TEXMFCONFIGDIR="share/texmf-config" FMTUTIL_CNF="share/texmf-config/web2c/fmtutil.cnf" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dynare"  EXAMPLESDIR="share/examples/dynare"  DATADIR="share/dynare"  WWWDIR="www/dynare"  ETCDIR="etc/dynare"
--End PLIST_SUB--

--SUB_LIST--
OCTAVE="" NO_OCTAVE="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dynare DOCSDIR=/usr/local/share/doc/dynare EXAMPLESDIR=/usr/local/share/examples/dynare  WWWDIR=/usr/local/www/dynare ETCDIR=/usr/local/etc/dynare
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p5
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dynare-5.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[123amd64-default-build-as-user-job-01] Installing pkg-1.17.5_1...
[123amd64-default-build-as-user-job-01] Extracting pkg-1.17.5_1: .......... done
===>   dynare-5.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dynare-5.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dynare-5.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dynare-5.0_1 for building
=> SHA256 Checksum OK for dynare-5.0.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by dynare-5.0_1 for building
===>  Extracting for dynare-5.0_1
=> SHA256 Checksum OK for dynare-5.0.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dynare-5.0_1
===>  Applying FreeBSD patches for dynare-5.0_1 from /usr/ports/science/dynare/files
===========================================================================
=======================<phase: build-depends  >============================
===>   dynare-5.0_1 depends on file: /usr/local/include/boost/tokenizer.hpp - not found
===>   Installing existing package /packages/All/boost-libs-1.72.0_7.pkg
[123amd64-default-build-as-user-job-01] Installing boost-libs-1.72.0_7...
[123amd64-default-build-as-user-job-01] `-- Installing icu-71.1,1...
[123amd64-default-build-as-user-job-01] `-- Extracting icu-71.1,1: .......... done
[123amd64-default-build-as-user-job-01] Extracting boost-libs-1.72.0_7: .......... done
=====
Message from boost-libs-1.72.0_7:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
===>   dynare-5.0_1 depends on file: /usr/local/include/boost/tokenizer.hpp - found
===>   Returning to build of dynare-5.0_1
===>   dynare-5.0_1 depends on executable: octave - not found
===>   Installing existing package /packages/All/octave-7.1.0_1.pkg
[123amd64-default-build-as-user-job-01] Installing octave-7.1.0_1...
[123amd64-default-build-as-user-job-01] `-- Installing GraphicsMagick-1.3.38_1,1...
[123amd64-default-build-as-user-job-01] |   `-- Installing freetype2-2.12.0...
<snip>
checking the archiver (/usr/local/bin/ar) interface... ar
checking whether ln -s works... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... bison
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran10 accepts -g... yes
checking how to get verbose linking output from gfortran10... -v
checking for Fortran 77 libraries of gfortran10...  -L/usr/local/lib/gcc10 -L/usr/local/lib -L/usr/local/bin -L/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.3/10.3.0 -L/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.3/10.3.0/../../../../../x86_64-portbld-freebsd12.3/lib -L/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.3/10.3.0/../../.. -lgfortran -lm -lssp_nonshared -lquadmath
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore, no extra underscore
checking if sgemm_ is being linked in already... no
checking for sgemm_ in -lopenblas... yes
checking for cheev_... yes
checking how to run the C++ preprocessor... g++10 -std=gnu++17 -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for compress in -lz... yes
checking for SZ_Compress in -lszip... no
checking for SZ_Compress in -lsz... yes
checking for H5Fcreate in -lhdf5... yes
checking matio.h usability... yes
checking matio.h presence... yes
checking for matio.h... yes
checking for Mat_Open in -lmatio... yes
checking for octave... octave
checking for mkoctfile... mkoctfile
configure:

Dynare is now configured for building the following components...

Binaries (with "make"):
 Dynare++:                              yes

Documentation (with "make html pdf"):
 Manual and other documents             no
 Dynare internal doc:                   no

Testsuites (run with "make check"):
 Dynare for MATLAB:                     no
 Dynare for Octave:                     yes
 Dynare++:                              yes

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating VERSION
config.status: creating doc/Makefile
config.status: creating doc/manual/Makefile
config.status: creating doc/manual/utils/version.py
config.status: creating doc/parallel/Makefile
config.status: creating doc/internals/Makefile
config.status: creating doc/gsa/Makefile
config.status: creating doc/dseries-and-reporting/Makefile
config.status: creating tests/Makefile
config.status: creating matlab/dynare_version.m
config.status: creating dynare++/Makefile
config.status: creating dynare++/parser/cc/Makefile
config.status: creating dynare++/sylv/Makefile
config.status: creating dynare++/sylv/cc/Makefile
config.status: creating dynare++/sylv/testing/Makefile
config.status: creating dynare++/tl/Makefile
config.status: creating dynare++/tl/cc/Makefile
config.status: creating dynare++/tl/testing/Makefile
config.status: creating dynare++/doc/Makefile
config.status: creating dynare++/utils/cc/Makefile
config.status: creating dynare++/integ/Makefile
config.status: creating dynare++/integ/cc/Makefile
config.status: creating dynare++/integ/src/Makefile
config.status: creating dynare++/integ/testing/Makefile
config.status: creating dynare++/kord/Makefile
config.status: creating dynare++/src/Makefile
config.status: creating dynare++/tests/Makefile
config.status: creating mex/sources/Makefile
config.status: executing depfiles commands
=== configuring in preprocessor (/wrkdirs/usr/ports/science/dynare/work/dynare-5.0/preprocessor)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--disable-matlab' '--disable-doc' '--enable-octave' '--disable-mex-kalman-steady-state' '--localstatedir=/var' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd12.3' 'build_alias=amd64-portbld-freebsd12.3' 'CC=gcc10' 'CFLAGS=-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS= -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 ' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-isystem /usr/local/include' 'CXX=g++10' 'CXXFLAGS=-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include ' 'F77=gfortran10' 'FFLAGS=-O -Wl,-rpath=/usr/local/lib/gcc10' --cache-file=/dev/null --srcdir=.
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for gcc... gcc10
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc10 accepts -g... yes
checking for gcc10 option to accept ISO C89... none needed
checking whether gcc10 understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of gcc10... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++10 accepts -g... yes
checking dependency style of g++10... gcc3
checking whether g++10 supports C++17 features by default... no
checking whether g++10 supports C++17 features with -std=gnu++17... yes
checking build system type... amd64-portbld-freebsd12.3
checking host system type... amd64-portbld-freebsd12.3
checking for ar... /usr/local/bin/ar
checking for ranlib... /usr/local/bin/ranlib
checking the archiver (/usr/local/bin/ar) interface... ar
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... bison
checking for boostlib >= 1.36 (103600)... yes
checking how to run the C++ preprocessor... g++10 -std=gnu++17 -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking boost/graph/adjacency_list.hpp usability... yes
checking boost/graph/adjacency_list.hpp presence... yes
checking for boost/graph/adjacency_list.hpp... yes
checking boost/algorithm/string/trim.hpp usability... yes
checking boost/algorithm/string/trim.hpp presence... yes
checking for boost/algorithm/string/trim.hpp... yes
checking boost/algorithm/string/split.hpp usability... yes
checking boost/algorithm/string/split.hpp presence... yes
checking for boost/algorithm/string/split.hpp... yes
checking for doxygen... no
configure:

The Dynare Preprocessor is now configured to build...

Binaries (with "make")
 Dynare preprocessor:                         yes

PDF documentation (with "make pdf"):
 Preprocessor & Macroprocessor presentations: no

HTML documentation (with "make html"):
 Dynare preprocessor internal doc:            no (missing doxygen)


checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/macro/Makefile
config.status: creating doc/Makefile
config.status: creating doc/preprocessor/Makefile
config.status: creating doc/macroprocessor/Makefile
config.status: executing depfiles commands
=== configuring in mex/build/octave (/wrkdirs/usr/ports/science/dynare/work/dynare-5.0/mex/build/octave)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--disable-matlab' '--disable-doc' '--enable-octave' '--disable-mex-kalman-steady-state' '--localstatedir=/var' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd12.3' 'build_alias=amd64-portbld-freebsd12.3' 'CC=gcc10' 'CFLAGS=-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS= -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 ' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-isystem /usr/local/include' 'CXX=g++10' 'CXXFLAGS=-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -isystem /usr/local/include ' 'F77=gfortran10' 'FFLAGS=-O -Wl,-rpath=/usr/local/lib/gcc10' --cache-file=/dev/null --srcdir=.
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for octave... octave
checking for mkoctfile... mkoctfile
mkoctfile: warning: LFLAGS is deprecated and will be removed in a future version of Octave, use LDFLAGS instead
checking build system type... amd64-portbld-freebsd12.3
checking host system type... amd64-portbld-freebsd12.3
checking whether the Fortran compiler works... no
configure: error: in `/wrkdirs/usr/ports/science/dynare/work/dynare-5.0/mex/build/octave':
configure: error: Fortran compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for mex/build/octave
===>  Script "configure" failed unexpectedly.
Please report the problem to yuri@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/science/dynare/work/dynare-5.0/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/science/dynare