[package - 124arm64-quarterly][science/minc2] Failed for minc2-2.2.00_12,1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 14 Apr 2023 17:52:31 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere1/data/124arm64-quarterly/7556984ae7d8/logs/minc2-2.2.00_12,1.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=124arm64-quarterly&build=7556984ae7d8
Log:

=>> Building science/minc2
build started at Fri Apr 14 17:50:10 UTC 2023
port directory: /usr/ports/science/minc2
package name: minc2-2.2.00_12,1
building for: FreeBSD 124arm64-quarterly-job-13 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 arm64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1204000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p2
UNAME_r=12.4-RELEASE-p2
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/124arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/124arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/124arm64-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--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-shared=yes --enable-static=yes --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/minc2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/minc2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/minc2/work/.cache  HOME=/wrkdirs/usr/ports/science/minc2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/minc2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/minc2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/science/minc2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/minc2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/science/minc2/work/.cache  HOME=/wrkdirs/usr/ports/science/minc2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/minc2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/minc2/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 DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="insta
 ll  -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=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/minc"  EXAMPLESDIR="share/examples/minc"  DATADIR="share/minc"  WWWDIR="www/minc"  ETCDIR="etc/minc"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/minc DOCSDIR=/usr/local/share/doc/minc EXAMPLESDIR=/usr/local/share/examples/minc  WWWDIR=/usr/local/www/minc ETCDIR=/usr/local/etc/minc
--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-freebsd12.4 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-freebsd12.4 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-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p2
OSREL=12.4
OSVERSION=1204000
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   >============================
===>   NOTICE:

The minc 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

===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   minc2-2.2.00_12,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[124arm64-quarterly-job-13] Installing pkg-1.19.1_1...
[124arm64-quarterly-job-13] Extracting pkg-1.19.1_1: .......... done
===>   minc2-2.2.00_12,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of minc2-2.2.00_12,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The minc 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

===>  License MIT accepted by the user
===> Fetching all distfiles required by minc2-2.2.00_12,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The minc 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

<snip>
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o rawtominc progs/rawtominc/rawtominc.o progs/Proglib/convert_origin_to_start.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/rawtominc progs/rawtominc/rawtominc.o progs/Proglib/convert_origin_to_start.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/xfm/transformtags.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/xfm/transformtags.o -MD -MP -MF $depbase.Tpo -c -o progs/xfm/transformtags.o progs/xfm/transformtags.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o transformtags progs/xfm/transformtags.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/transformtags progs/xfm/transformtags.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/xfm/xfm2def.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/xfm/xfm2def.o -MD -MP -MF $depbase.Tpo -c -o progs/xfm/xfm2def.o progs/xfm/xfm2def.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o xfm2def progs/xfm/xfm2def.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/xfm2def progs/xfm/xfm2def.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/xfm/xfmconcat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/xfm/xfmconcat.o -MD -MP -MF $depbase.Tpo -c -o progs/xfm/xfmconcat.o progs/xfm/xfmconcat.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o xfmconcat progs/xfm/xfmconcat.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/xfmconcat progs/xfm/xfmconcat.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/xfm/xfminvert.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/xfm/xfminvert.o -MD -MP -MF $depbase.Tpo -c -o progs/xfm/xfminvert.o progs/xfm/xfminvert.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o xfminvert progs/xfm/xfminvert.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/xfminvert progs/xfm/xfminvert.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/mincconvert/mincconvert.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/mincconvert/mincconvert.o -MD -MP -MF $depbase.Tpo -c -o progs/mincconvert/mincconvert.o progs/mincconvert/mincconvert.c &&\
mv -f $depbase.Tpo $depbase.Po
progs/mincconvert/mincconvert.c:214:14: warning: implicit declaration of function 'micreatex' is invalid in C99 [-Wimplicit-function-declaration]
    new_fd = micreatex(new_fname, flags, &opts);
             ^
1 warning generated.
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o mincconvert progs/mincconvert/mincconvert.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/mincconvert progs/mincconvert/mincconvert.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo progs/mincdump/mincdump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/mincdump/mincdump.o -MD -MP -MF $depbase.Tpo -c -o progs/mincdump/mincdump.o progs/mincdump/mincdump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo progs/mincdump/vardata.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/mincdump/vardata.o -MD -MP -MF $depbase.Tpo -c -o progs/mincdump/vardata.o progs/mincdump/vardata.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo progs/mincdump/dumplib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT progs/mincdump/dumplib.o -MD -MP -MF $depbase.Tpo -c -o progs/mincdump/dumplib.o progs/mincdump/dumplib.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o mincdump progs/mincdump/mincdump.o progs/mincdump/vardata.o progs/mincdump/dumplib.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/mincdump progs/mincdump/mincdump.o progs/mincdump/vardata.o progs/mincdump/dumplib.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo conversion/ecattominc/ecattominc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/ecattominc/ecattominc.o -MD -MP -MF $depbase.Tpo -c -o conversion/ecattominc/ecattominc.o conversion/ecattominc/ecattominc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo conversion/ecattominc/insertblood.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/ecattominc/insertblood.o -MD -MP -MF $depbase.Tpo -c -o conversion/ecattominc/insertblood.o conversion/ecattominc/insertblood.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo conversion/ecattominc/ecat_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/ecattominc/ecat_file.o -MD -MP -MF $depbase.Tpo -c -o conversion/ecattominc/ecat_file.o conversion/ecattominc/ecat_file.c &&\
mv -f $depbase.Tpo $depbase.Po
conversion/ecattominc/ecat_file.c:1025:7: warning: implicit declaration of function 'get_int32_value' is invalid in C99 [-Wimplicit-function-declaration]
      get_int32_value(&dirblock[offset], &value);
      ^
1 warning generated.
depbase=`echo conversion/ecattominc/machine_indep.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/ecattominc/machine_indep.o -MD -MP -MF $depbase.Tpo -c -o conversion/ecattominc/machine_indep.o conversion/ecattominc/machine_indep.c &&\
mv -f $depbase.Tpo $depbase.Po
conversion/ecattominc/machine_indep.c:20:22: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
  *(short int *)to = ntohs(short_value);
                     ^
conversion/ecattominc/machine_indep.c:27:21: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration]
  *(long int *)to = ntohl(long_value);
                    ^
conversion/ecattominc/machine_indep.c:35:20: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration]
  *(int32_t *)to = ntohl(int32_value);
                   ^
3 warnings generated.
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o ecattominc conversion/ecattominc/ecattominc.o conversion/ecattominc/insertblood.o conversion/ecattominc/ecat_file.o conversion/ecattominc/machine_indep.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/ecattominc conversion/ecattominc/ecattominc.o conversion/ecattominc/insertblood.o conversion/ecattominc/ecat_file.o conversion/ecattominc/machine_indep.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
depbase=`echo conversion/minctoecat/minctoecat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/minctoecat/minctoecat.o -MD -MP -MF $depbase.Tpo -c -o conversion/minctoecat/minctoecat.o conversion/minctoecat/minctoecat.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo conversion/minctoecat/ecat_write.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/minctoecat/ecat_write.o -MD -MP -MF $depbase.Tpo -c -o conversion/minctoecat/ecat_write.o conversion/minctoecat/ecat_write.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo conversion/minctoecat/machine_indep.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -I./libsrc2  -I/usr/local/include  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing  -MT conversion/minctoecat/machine_indep.o -MD -MP -MF $depbase.Tpo -c -o conversion/minctoecat/machine_indep.o conversion/minctoecat/machine_indep.c &&\
mv -f $depbase.Tpo $depbase.Po
conversion/minctoecat/machine_indep.c:28:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) == 1) swab(from, to, length);
            ^
conversion/minctoecat/machine_indep.c:41:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) == 1) swaw((short*)from,to,length);
            ^
conversion/minctoecat/machine_indep.c:41:21: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) == 1) swaw((short*)from,to,length);
                           ^
conversion/minctoecat/machine_indep.c:132:7: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
                if (ntohs(1) == 1) 
                    ^
conversion/minctoecat/machine_indep.c:142:5: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                                swaw((short*)tmp, (short*)(dptr+j), 256);
                                ^
conversion/minctoecat/machine_indep.c:168:5: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                                swaw((short*)tmp, (short*)(dptr+j), 256);
                                ^
conversion/minctoecat/machine_indep.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
read_matrix_data( fptr, strtblk, nblks, dptr, dtype)
^
conversion/minctoecat/machine_indep.c:191:8: warning: implicit declaration of function 'mat_rblk' is invalid in C99 [-Wimplicit-function-declaration]
        err = mat_rblk( fptr, strtblk, dptr, nblks);
              ^
conversion/minctoecat/machine_indep.c:196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
write_matrix_data( fptr, strtblk, nblks, dptr, dtype)
^
conversion/minctoecat/machine_indep.c:215:8: warning: implicit declaration of function 'mat_wblk' is invalid in C99 [-Wimplicit-function-declaration]
                if ( mat_wblk( fptr, strtblk, dptr, nblks) < 0) error_flag++;
                     ^
conversion/minctoecat/machine_indep.c:219:7: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
                if (ntohs(1) == 1) {
                    ^
conversion/minctoecat/machine_indep.c:231:5: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                                swaw( (short*)bufr1, (short*)bufr2, 256);
                                ^
conversion/minctoecat/machine_indep.c:240:33: warning: incompatible pointer types passing 'char *' to parameter of type 'unsigned short *' [-Wincompatible-pointer-types]
                                ftovaxf(*((float*)&dptr[k]),&bufr2[j]);
                                                            ^~~~~~~~~
conversion/minctoecat/machine_indep.c:249:5: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                                swaw( (short*)bufr1, (short*)bufr2, 256);
                                ^
conversion/minctoecat/machine_indep.c:297:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) swab(tmp.b,&buf[*i],2);
            ^
conversion/minctoecat/machine_indep.c:309:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:311:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw(tmp1.s,(short*)&buf[*i],2);
                ^
conversion/minctoecat/machine_indep.c:324:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:326:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw(tmp1.s,(short*)&buf[*i],2);
                ^
conversion/minctoecat/machine_indep.c:343:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:345:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw(tmp1.s,(short*)&buf[*i],2);
                ^
conversion/minctoecat/machine_indep.c:365:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:379:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:381:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw((short*)tmp.b,(short*)tmp1.b,2);
                ^
conversion/minctoecat/machine_indep.c:394:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:396:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw((short*)tmp.b,(short*)tmp1.b,2);
                ^
conversion/minctoecat/machine_indep.c:409:6: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration]
        if (ntohs(1) != 1) {
            ^
conversion/minctoecat/machine_indep.c:411:3: warning: implicit declaration of function 'swaw' is invalid in C99 [-Wimplicit-function-declaration]
                swaw((short*)tmp.b,(short*)tmp1.b,2);
                ^
28 warnings generated.
/bin/sh ./libtool  --tag=CC   --mode=link cc  -O2 -pipe  -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing   -L/usr/local/lib -fstack-protector-strong  -o minctoecat conversion/minctoecat/minctoecat.o conversion/minctoecat/ecat_write.o conversion/minctoecat/machine_indep.o libvolume_io2.la libminc2.la -lhdf5 -lz -lnetcdf -lm 
libtool: link: cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/minctoecat conversion/minctoecat/minctoecat.o conversion/minctoecat/ecat_write.o conversion/minctoecat/machine_indep.o  -L/usr/local/lib ./.libs/libvolume_io2.so ./.libs/libminc2.so -lhdf5 -lz -lnetcdf -lm -Wl,-rpath -Wl,/usr/local/lib
ld: error: duplicate symbol: matrix_errno
>>> defined at minctoecat.c
>>>            conversion/minctoecat/minctoecat.o:(matrix_errno)
>>> defined at ecat_write.c
>>>            conversion/minctoecat/ecat_write.o:(.bss+0x0)

ld: error: duplicate symbol: matrix_errtxt
>>> defined at minctoecat.c
>>>            conversion/minctoecat/minctoecat.o:(matrix_errtxt)
>>> defined at ecat_write.c
>>>            conversion/minctoecat/ecat_write.o:(.bss+0x4)

ld: error: duplicate symbol: matrix_errno
>>> defined at minctoecat.c
>>>            conversion/minctoecat/minctoecat.o:(matrix_errno)
>>> defined at machine_indep.c
>>>            conversion/minctoecat/machine_indep.o:(.bss+0x0)

ld: error: duplicate symbol: matrix_errtxt
>>> defined at minctoecat.c
>>>            conversion/minctoecat/minctoecat.o:(matrix_errtxt)
>>> defined at machine_indep.c
>>>            conversion/minctoecat/machine_indep.o:(.bss+0x4)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [Makefile:2378: minctoecat] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/science/minc2/work/minc-release-2.2.00'
gmake[2]: *** [Makefile:3223: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/science/minc2/work/minc-release-2.2.00'
gmake[1]: *** [Makefile:1499: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/science/minc2/work/minc-release-2.2.00'
*** Error code 1

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