[package - 131arm64-default][science/R-cran-eco] Failed for R-cran-eco-3.1.6_11 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 20 May 2023 05:53:17 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:     wen@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/131arm64-default/9c4846aa0ed1/logs/R-cran-eco-3.1.6_11.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=131arm64-default&build=9c4846aa0ed1
Log:

=>> Building science/R-cran-eco
build started at Sat May 20 05:52:41 UTC 2023
port directory: /usr/ports/science/R-cran-eco
package name: R-cran-eco-3.1.6_11
building for: FreeBSD 131arm64-default-job-02 13.1-RELEASE-p7 FreeBSD 13.1-RELEASE-p7 arm64
maintained by: wen@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p7
UNAME_r=13.1-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131arm64-default/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---
---End OPTIONS List---

--MAINTAINER--
wen@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work/.cache  HOME=/wrkdirs/usr/ports/science/R-cran-eco/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/R-cran-eco/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/R-cran-eco/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/R-cran-eco/work/.cache  HOME=/wrkdirs/usr/ports/science/R-cran-eco/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/R-cran-eco/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/R-cran-eco/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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" OBJDU
 MP="/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  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--
R_MOD_DIR=lib/R/library/eco OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/eco"  EXAMPLESDIR="share/examples/eco"  DATADIR="share/eco"  WWWDIR="www/eco"  ETCDIR="etc/eco"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/eco DOCSDIR=/usr/local/share/doc/eco EXAMPLESDIR=/usr/local/share/examples/eco  WWWDIR=/usr/local/www/eco ETCDIR=/usr/local/etc/eco
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p7
OSREL=13.1
OSVERSION=1301000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[131arm64-default-job-02] Installing pkg-1.19.1_1...
[131arm64-default-job-02] Extracting pkg-1.19.1_1: .......... done
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-eco-3.1.6_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by R-cran-eco-3.1.6_11 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by R-cran-eco-3.1.6_11 for building
=> SHA256 Checksum OK for eco_3.1-6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by R-cran-eco-3.1.6_11 for building
===>  Extracting for R-cran-eco-3.1.6_11
=> SHA256 Checksum OK for eco_3.1-6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for R-cran-eco-3.1.6_11
===========================================================================
=======================<phase: build-depends  >============================
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/bin/R - not found
===>   Installing existing package /packages/All/R-4.3.0.pkg
[131arm64-default-job-02] Installing R-4.3.0...
[131arm64-default-job-02] `-- Installing cairo-1.17.4_2,3...
[131arm64-default-job-02] |   `-- Installing fontconfig-2.14.2,1...
[131arm64-default-job-02] |   | `-- Installing expat-2.5.0...
[131arm64-default-job-02] |   | `-- Extracting expat-2.5.0: .......... done
[131arm64-default-job-02] |   | `-- Installing freetype2-2.12.1_2...
[131arm64-default-job-02] |   |   `-- Installing brotli-1.0.9,1...
[131arm64-default-job-02] |   |   `-- Extracting brotli-1.0.9,1: .......... done
[131arm64-default-job-02] |   |   `-- Installing png-1.6.39...
[131arm64-default-job-02] |   |   `-- Extracting png-1.6.39: .......... done
[131arm64-default-job-02] |   | `-- Extracting freetype2-2.12.1_2: .......... done
[131arm64-default-job-02] |   `-- Extracting fontconfig-2.14.2,1: .......... done
[131arm64-default-job-02] |   `-- Installing gettext-runtime-0.21.1...
[131arm64-default-job-02] |   | `-- Installing indexinfo-0.3.1...
[131arm64-default-job-02] |   | `-- Extracting indexinfo-0.3.1: .... done
[131arm64-default-job-02] |   `-- Extracting gettext-runtime-0.21.1: .......... done
[131arm64-default-job-02] |   `-- Installing glib-2.76.2,2...
[131arm64-default-job-02] |   | `-- Installing libffi-3.4.4...
<snip>
=====
Message from libthai-0.1.29:

--
===>   NOTICE:

The libthai port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/bin/R - found
===>   Returning to build of R-cran-eco-3.1.6_11
===>   R-cran-eco-3.1.6_11 depends on executable: gfortran12 - found
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for R-cran-eco-3.1.6_11
===========================================================================
=======================<phase: build          >============================
===========================================================================
=======================<phase: run-depends    >============================
===>   R-cran-eco-3.1.6_11 depends on file: /usr/local/bin/R - found
===>   R-cran-eco-3.1.6_11 depends on executable: gfortran12 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for R-cran-eco-3.1.6_11
===>   Generating temporary packing list
* installing *source* package 'eco' ...
** package 'eco' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)'
gmake[1]: Entering directory '/wrkdirs/usr/ports/science/R-cran-eco/work/eco/src'
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c bayes.c -o bayes.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c fintegrate.c -o fintegrate.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsBase.c -o gibbsBase.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsBase2C.c -o gibbsBase2C.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsBaseRC.c -o gibbsBaseRC.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsDP.c -o gibbsDP.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsEM.c -o gibbsEM.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsXBase.c -o gibbsXBase.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsXDP.c -o gibbsXDP.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c gibbsZBase.c -o gibbsZBase.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c preBaseX.c -o preBaseX.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c preDP.c -o preDP.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c preDPX.c -o preDPX.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c rand.c -o rand.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c sample.c -o sample.o
cc -I"/usr/local/lib/R/include" -DNDEBUG   -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fPIC  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c subroutines.c -o subroutines.o
subroutines.c:89:46: error: too few arguments to function call, expected 5, have 4
  F77_CALL(dpptrf)("U", &size, pdInv, &errorM);
  ~~~~~~~~~~~~~~~~                           ^
/usr/local/lib/R/include/R_ext/Lapack.h:892:1: note: 'dpptrf_' declared here
F77_NAME(dpptrf)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:205:1: note: expanded from here
dpptrf_
^
subroutines.c:91:48: error: too few arguments to function call, expected 5, have 4
    F77_CALL(dpptri)("U", &size, pdInv, &errorM);
    ~~~~~~~~~~~~~~~~                           ^
/usr/local/lib/R/include/R_ext/Lapack.h:897:1: note: 'dpptri_' declared here
F77_NAME(dpptri)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:206:1: note: expanded from here
dpptri_
^
subroutines.c:137:46: error: too few arguments to function call, expected 5, have 4
  F77_CALL(dpptrf)("U", &size, pdInv, &errorM);
  ~~~~~~~~~~~~~~~~                           ^
/usr/local/lib/R/include/R_ext/Lapack.h:892:1: note: 'dpptrf_' declared here
F77_NAME(dpptrf)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:205:1: note: expanded from here
dpptrf_
^
subroutines.c:139:48: error: too few arguments to function call, expected 5, have 4
    F77_CALL(dpptri)("U", &size, pdInv, &errorM);
    ~~~~~~~~~~~~~~~~                           ^
/usr/local/lib/R/include/R_ext/Lapack.h:897:1: note: 'dpptri_' declared here
F77_NAME(dpptri)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:206:1: note: expanded from here
dpptri_
^
subroutines.c:215:95: error: too few arguments to function call, expected 12, have 11
  F77_CALL(dsysv)("U", &size, &size, pdInv, &size, factor_out, B, &size, work0, &test, &errorM);
  ~~~~~~~~~~~~~~~                                                                             ^
/usr/local/lib/R/include/R_ext/Lapack.h:1320:1: note: 'dsysv_' declared here
F77_NAME(dsysv)(const char* uplo, const int* n,
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:252:1: note: expanded from here
dsysv_
^
subroutines.c:223:95: error: too few arguments to function call, expected 12, have 11
  F77_CALL(dsysv)("U", &size, &size, pdInv, &size, factor_out, B, &size, work, &lwork, &errorM);
  ~~~~~~~~~~~~~~~                                                                             ^
/usr/local/lib/R/include/R_ext/Lapack.h:1320:1: note: 'dsysv_' declared here
F77_NAME(dsysv)(const char* uplo, const int* n,
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:252:1: note: expanded from here
dsysv_
^
subroutines.c:259:47: error: too few arguments to function call, expected 5, have 4
  F77_CALL(dpptrf)("U", &size, pdTemp, &errorM);
  ~~~~~~~~~~~~~~~~                            ^
/usr/local/lib/R/include/R_ext/Lapack.h:892:1: note: 'dpptrf_' declared here
F77_NAME(dpptrf)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:205:1: note: expanded from here
dpptrf_
^
subroutines.c:346:47: error: too few arguments to function call, expected 5, have 4
  F77_CALL(dpptrf)("U", &size, pdTemp, &errorM);
  ~~~~~~~~~~~~~~~~                            ^
/usr/local/lib/R/include/R_ext/Lapack.h:892:1: note: 'dpptrf_' declared here
F77_NAME(dpptrf)(const char* uplo, const int* n, double* ap, int* info FCLEN);
^
/usr/local/lib/R/include/R_ext/RS.h:81:24: note: expanded from macro 'F77_NAME'
#define F77_NAME(x)    F77_CALL(x)
                       ^
/usr/local/lib/R/include/R_ext/RS.h:77:22: note: expanded from macro 'F77_CALL'
# define F77_CALL(x)    x ## _
                        ^
<scratch space>:205:1: note: expanded from here
dpptrf_
^
8 errors generated.
gmake[1]: *** [/usr/local/lib/R/etc/Makeconf:191: subroutines.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/science/R-cran-eco/work/eco/src'
ERROR: compilation failed for package 'eco'
* removing '/wrkdirs/usr/ports/science/R-cran-eco/work/stage/usr/local/lib/R/library/eco'
*** Error code 1

Stop.
make: stopped in /usr/ports/science/R-cran-eco