[package - 130i386-quarterly][biology/treekin] Failed for treekin-0.5.1_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 03 Aug 2021 02:54:57 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://beefy13.nyi.freebsd.org/data/130i386-quarterly/40ddde769e74/logs/treekin-0.5.1_3.log
Build URL:      http://beefy13.nyi.freebsd.org/build.html?mastername=130i386-quarterly&build=40ddde769e74
Log:

=>> Building biology/treekin
build started at Tue Aug  3 02:54:39 UTC 2021
port directory: /usr/ports/biology/treekin
package name: treekin-0.5.1_3
building for: FreeBSD 130i386-quarterly-job-10 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 i386
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p3
UNAME_r=13.0-RELEASE-p3
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130i386-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130i386-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130i386-quarterly/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--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--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/biology/treekin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/treekin/work  HOME=/wrkdirs/usr/ports/biology/treekin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/treekin/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=524288
--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/biology/treekin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/treekin/work  HOME=/wrkdirs/usr/ports/biology/treekin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/treekin/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-stri
 ct-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc10  -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -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--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/treekin"  EXAMPLESDIR="share/examples/treekin"  DATADIR="share/treekin"  WWWDIR="www/treekin"  ETCDIR="etc/treekin"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/treekin DOCSDIR=/usr/local/share/doc/treekin EXAMPLESDIR=/usr/local/share/examples/treekin  WWWDIR=/usr/local/www/treekin ETCDIR=/usr/local/etc/treekin
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 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" "-m" "elf_i386_fbsd" "-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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p3
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 LatticeLib accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   treekin-0.5.1_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130i386-quarterly-job-10] Installing pkg-1.16.3...
[130i386-quarterly-job-10] Extracting pkg-1.16.3: .......... done
===>   treekin-0.5.1_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of treekin-0.5.1_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LatticeLib accepted by the user
===> Fetching all distfiles required by treekin-0.5.1_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LatticeLib accepted by the user
===> Fetching all distfiles required by treekin-0.5.1_3 for building
=> SHA256 Checksum OK for Treekin-0.5.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LatticeLib accepted by the user
===> Fetching all distfiles required by treekin-0.5.1_3 for building
===>  Extracting for treekin-0.5.1_3
=> SHA256 Checksum OK for Treekin-0.5.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for treekin-0.5.1_3
===>  Applying FreeBSD patches for treekin-0.5.1_3 from /usr/ports/biology/treekin/files
===========================================================================
=======================<phase: build-depends  >============================
===>   treekin-0.5.1_3 depends on package: lapacke>0 - not found
===>   Installing existing package /packages/All/lapacke-3.10.0.txz
[130i386-quarterly-job-10] Installing lapacke-3.10.0...
[130i386-quarterly-job-10] `-- Installing blas-3.10.0...
[130i386-quarterly-job-10] |   `-- Installing gcc10-10.3.0...
[130i386-quarterly-job-10] |   | `-- Installing binutils-2.33.1_4,1...
[130i386-quarterly-job-10] |   |   `-- Installing gettext-runtime-0.21...
[130i386-quarterly-job-10] |   |   | `-- Installing indexinfo-0.3.1...
[130i386-quarterly-job-10] |   |   | `-- Extracting indexinfo-0.3.1: .... done
[130i386-quarterly-job-10] |   |   `-- Extracting gettext-runtime-0.21: .......... done
[130i386-quarterly-job-10] |   | `-- Extracting binutils-2.33.1_4,1: .......... done
[130i386-quarterly-job-10] |   | `-- Installing gmp-6.2.1...
[130i386-quarterly-job-10] |   | `-- Extracting gmp-6.2.1: .......... done
<snip>
===>   treekin-0.5.1_3 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   treekin-0.5.1_3 depends on shared library: libblas.so - found (/usr/local/lib/libblas.so)
===>   treekin-0.5.1_3 depends on shared library: liblapack.so - found (/usr/local/lib/liblapack.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for treekin-0.5.1_3
configure: loading site script /usr/ports/Templates/config.site
checking whether gmake supports nested variables... yes
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 build system type... i386-portbld-freebsd13.0
checking host system type... i386-portbld-freebsd13.0
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 c++ accepts -g... yes
checking for style of include used by gmake... GNU
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for ranlib... /usr/local/bin/ranlib
checking whether gmake sets $(MAKE)... (cached) yes
checking for autoconf... autoconf
checking for aclocal... aclocal
checking for make... /wrkdirs/usr/ports/biology/treekin/work/.bin/make
checking for ar... /usr/local/bin/ar
checking whether c++ supports C++11 features with -std=gnu++11... yes
checking for gengetopt... no
checking for sgemm_... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... yes
checking for dgemm_ in -ldgemm... no
checking for sgemm_ in -lmkl... no
checking for sgemm_... (cached) no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) yes
checking for sgemm_ in -lessl... no
checking for sgemm_ in -lblas... (cached) yes
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 -L/usr/local/lib/gcc10 -L/usr/local/bin -L/usr/local/lib/gcc10/gcc/i386-portbld-freebsd13.0/10.3.0 -L/usr/local/lib/gcc10/gcc/i386-portbld-freebsd13.0/10.3.0/../../../../../i386-portbld-freebsd13.0/lib -L/usr/local/lib/gcc10/gcc/i386-portbld-freebsd13.0/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 how to run the C preprocessor... cpp
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 cheev_... no
checking for cheev_ in -llapack... yes
checking openblas/lapacke.h usability... no
checking openblas/lapacke.h presence... no
checking for openblas/lapacke.h... no
checking lapacke/lapacke.h usability... yes
checking lapacke/lapacke.h presence... yes
checking for lapacke/lapacke.h... yes
checking for ANSI C header files... (cached) yes
checking for errno.h... (cached) yes
checking for math.h... (cached) yes
checking for pkg-config... no
checking how to run the C++ preprocessor... c++ -std=gnu++11 -E
checking for mlapack... no
configure: WARNING:
**********************************************************************
Failed to setup linking the program against the MLAPACK library.

In case you have installed mlapack in a non-standard directory, consider
using the

  --with-mlapack=/path/to/mlapack

parameter to specify the location where to find MLAPACK.
Otherwise, you can obtain the mlapack library from

https://github.com/RaumZeit/mlapack

**********************************************************************
        
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking for help2man... no
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 packaging/treekin.spec
config.status: creating packaging/PKGBUILD
config.status: creating packaging/treekin-mlapack.spec
config.status: creating packaging/PKGBUILD-mlapack
config.status: creating man/Makefile
config.status: creating man/cmdlopt.sh
config.status: creating config.h
config.status: executing depfiles commands
configure:

======================================
    Treekin 0.5.1
======================================

Configured successful with the following options:

Extra Libraries
---------------
  * MLapack             : no ( mlapack library missing or not of version 0.8 or higher ) 

Install Directories
-------------------
  * Executables       : /usr/local/bin
  * Libraries         : /usr/local/lib
  * Header files      : /usr/local/include
  * Extra Data        : /usr/local/share
  * Man pages         : /usr/local/man

Note, that the most recent version of the DrTransformer program requires Treekin to be linked against the MLAPACK library!

You can run make now.

===========================================================================
=======================<phase: build          >============================
===>  Building for treekin-0.5.1_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1'
/wrkdirs/usr/ports/biology/treekin/work/.bin/make  all-recursive
make[2]: Entering directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1'
Making all in src
make[3]: Entering directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1/src'
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -MT treekin-mxccm.o -MD -MP -MF .deps/treekin-mxccm.Tpo -c -o treekin-mxccm.o `test -f 'mxccm.cpp' || echo './'`mxccm.cpp
mv -f .deps/treekin-mxccm.Tpo .deps/treekin-mxccm.Po
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -MT treekin-globals.o -MD -MP -MF .deps/treekin-globals.Tpo -c -o treekin-globals.o `test -f 'globals.cpp' || echo './'`globals.cpp
mv -f .deps/treekin-globals.Tpo .deps/treekin-globals.Po
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -MT treekin-barparser.o -MD -MP -MF .deps/treekin-barparser.Tpo -c -o treekin-barparser.o `test -f 'barparser.cpp' || echo './'`barparser.cpp
mv -f .deps/treekin-barparser.Tpo .deps/treekin-barparser.Po
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..   -isystem /usr/local/include  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -MT treekin-calcpp.o -MD -MP -MF .deps/treekin-calcpp.Tpo -c -o treekin-calcpp.o `test -f 'calcpp.cpp' || echo './'`calcpp.cpp
In file included from calcpp.cpp:6:
./calcpp.h:317:74: error: too few arguments to function call, expected 23, have 20
              (double *)z, ldz, (double *)work, lwork, iwork, ifail, info);
                                                                         ^
/usr/local/include/lapacke/lapack.h:17248:6: note: 'dsyevx_' declared here
void LAPACK_dsyevx_base(
     ^
/usr/local/include/lapacke/lapack.h:17247:28: note: expanded from macro 'LAPACK_dsyevx_base'
#define LAPACK_dsyevx_base LAPACK_GLOBAL(dsyevx,DSYEVX)
                           ^
/usr/local/include/lapacke/lapacke_mangling.h:5:34: note: expanded from macro 'LAPACK_GLOBAL'
#define LAPACK_GLOBAL(name,NAME) name##_
                                 ^
<scratch space>:326:1: note: expanded from here
dsyevx_
^
In file included from calcpp.cpp:6:
./calcpp.h:373:33: error: too few arguments to function call, expected 27, have 23
              lwork, iwork, info);
                                ^
/usr/local/include/lapacke/lapack.h:1900:6: note: 'dgeevx_' declared here
void LAPACK_dgeevx_base(
     ^
/usr/local/include/lapacke/lapack.h:1899:28: note: expanded from macro 'LAPACK_dgeevx_base'
#define LAPACK_dgeevx_base LAPACK_GLOBAL(dgeevx,DGEEVX)
                           ^
/usr/local/include/lapacke/lapacke_mangling.h:5:34: note: expanded from macro 'LAPACK_GLOBAL'
#define LAPACK_GLOBAL(name,NAME) name##_
                                 ^
<scratch space>:377:1: note: expanded from here
dgeevx_
^
2 errors generated.
make[3]: *** [Makefile:514: treekin-calcpp.o] Error 1
make[3]: Leaving directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1/src'
make[2]: *** [Makefile:411: all-recursive] Error 1
make[2]: Leaving directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1'
gmake[1]: *** [Makefile:344: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/biology/treekin/work/Treekin-0.5.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/biology/treekin