[package - 130i386-default][audio/sphinx] Failed for sphinx-2.0.4_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 25 Aug 2022 05:59:42 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:        http://beefy15.nyi.freebsd.org/data/130i386-default/f95fbcc7ac34/logs/sphinx-2.0.4_3.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=130i386-default&build=f95fbcc7ac34
Log:

=>> Building audio/sphinx
build started at Thu Aug 25 05:59:24 UTC 2022
port directory: /usr/ports/audio/sphinx
package name: sphinx-2.0.4_3
building for: FreeBSD 130i386-default-job-11 13.0-RELEASE-p12 FreeBSD 13.0-RELEASE-p12 i386
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1300139
Job Id: 11

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

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/audio/sphinx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/sphinx/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/sphinx/work/.cache  HOME=/wrkdirs/usr/ports/audio/sphinx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/sphinx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/sphinx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/audio/sphinx/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/sphinx/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/sphinx/work/.cache  HOME=/wrkdirs/usr/ports/audio/sphinx/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/sphinx/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/sphinx/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -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--
OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sphinx"  EXAMPLESDIR="share/examples/sphinx"  DATADIR="share/sphinx"  WWWDIR="www/sphinx"  ETCDIR="etc/sphinx"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sphinx DOCSDIR=/usr/local/share/doc/sphinx EXAMPLESDIR=/usr/local/share/examples/sphinx  WWWDIR=/usr/local/www/sphinx ETCDIR=/usr/local/etc/sphinx
--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-p12
OSREL=13.0
OSVERSION=1300139
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)  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   >============================
===>   NOTICE:

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

===========================================================================
=======================<phase: pkg-depends    >============================
===>   sphinx-2.0.4_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[130i386-default-job-11] Installing pkg-1.18.4...
[130i386-default-job-11] Extracting pkg-1.18.4: .......... done
===>   sphinx-2.0.4_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sphinx-2.0.4_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

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

===> Fetching all distfiles required by sphinx-2.0.4_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The sphinx 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>
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sc_cbook_r.c -o sc_cbook_r.o >/dev/null 2>&1
mv -f .libs/sc_cbook_r.lo sc_cbook_r.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c search.c
rm -f .libs/search.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c search.c  -fPIC -DPIC -o .libs/search.lo
In file included from search.c:182:
./../include/err.h:47:9: warning: '_LIBUTIL_ERR_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sc_vq.c -o sc_vq.o >/dev/null 2>&1
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c search.c -o search.o >/dev/null 2>&1
mv -f .libs/sc_vq.lo sc_vq.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c searchlat.c
rm -f .libs/searchlat.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c searchlat.c  -fPIC -DPIC -o .libs/searchlat.lo
In file included from searchlat.c:103:
./../include/err.h:47:9: warning: '_LIBUTIL_ERR_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c searchlat.c -o searchlat.o >/dev/null 2>&1
mv -f .libs/search.lo search.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c skipto.c
rm -f .libs/skipto.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c skipto.c  -fPIC -DPIC -o .libs/skipto.lo
skipto.c:80:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return strp;
               ^~~~
skipto.c:93:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        return strp;
               ^~~~
2 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c skipto.c -o skipto.o >/dev/null 2>&1
mv -f .libs/skipto.lo skipto.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c str2words.c
rm -f .libs/str2words.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c str2words.c  -fPIC -DPIC -o .libs/str2words.lo
In file included from str2words.c:53:
./../include/err.h:47:9: warning: '_LIBUTIL_ERR_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c str2words.c -o str2words.o >/dev/null 2>&1
mv -f .libs/str2words.lo str2words.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c strcasecmp.c
rm -f .libs/strcasecmp.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c strcasecmp.c  -fPIC -DPIC -o .libs/strcasecmp.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c strcasecmp.c -o strcasecmp.o >/dev/null 2>&1
mv -f .libs/strcasecmp.lo strcasecmp.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c time_align.c
rm -f .libs/time_align.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c time_align.c  -fPIC -DPIC -o .libs/time_align.lo
In file included from time_align.c:224:
./../include/err.h:47:9: warning: '_LIBUTIL_ERR_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
mv -f .libs/searchlat.lo searchlat.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c unlimit.c
rm -f .libs/unlimit.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c unlimit.c  -fPIC -DPIC -o .libs/unlimit.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c unlimit.c -o unlimit.o >/dev/null 2>&1
mv -f .libs/unlimit.lo unlimit.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c util.c
rm -f .libs/util.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c util.c  -fPIC -DPIC -o .libs/util.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c util.c -o util.o >/dev/null 2>&1
mv -f .libs/util.lo util.lo
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include            -I../../include            -I../../include   -DFAST8B=1  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c uttproc.c
rm -f .libs/uttproc.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c uttproc.c  -fPIC -DPIC -o .libs/uttproc.lo
In file included from uttproc.c:194:
./../include/err.h:47:9: warning: '_LIBUTIL_ERR_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _LIBUTIL_ERR_H_
        ^~~~~~~~~~~~~~~
./../include/err.h:48:9: note: '_LIBUTIL_ERR_H' is defined here; did you mean '_LIBUTIL_ERR_H_'?
#define _LIBUTIL_ERR_H
        ^~~~~~~~~~~~~~
        _LIBUTIL_ERR_H_
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c uttproc.c -o uttproc.o >/dev/null 2>&1
1 warning generated.
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c time_align.c -o time_align.o >/dev/null 2>&1
mv -f .libs/uttproc.lo uttproc.lo
mv -f .libs/time_align.lo time_align.lo
/bin/sh ../../libtool --mode=link cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong  -o libsphinx2.la -rpath /usr/local/lib -version-info 0:4:0 CM_funcs.lo add-table.lo agc_emax.lo allphone.lo areadchar.lo areaddouble.lo areadfloat.lo areadint.lo areadshort.lo awritechar.lo awritedouble.lo awritefloat.lo awriteint.lo awriteshort.lo bisearch.lo blk_cdcn_norm.lo cache_lm.lo cdcn_init.lo cdcn_norm.lo cdcn_update.lo cep_rw.lo dict.lo eht_quit.lo err.lo fbs_main.lo f2read.lo f2write.lo get_a_word.lo hash.lo hmm_tied_r.lo kb_main.lo lab.lo linklist.lo list.lo live_norm.lo lm.lo lm_3g.lo lmclass.lo logmsg.lo longio.lo nxtarg.lo norm.lo pconf.lo peek_length.lo phone.lo prime.lo r_agc_noise.lo resfft.lo salloc.lo sc_cbook_r.lo sc_vq.lo search.lo searchlat.lo skipto.lo str2words.lo strcasecmp.lo time_align.lo unlimit.lo util.lo uttproc.lo  
rm -fr .libs/libsphinx2.la .libs/libsphinx2.* .libs/libsphinx2.*
cc -shared  CM_funcs.lo add-table.lo agc_emax.lo allphone.lo areadchar.lo areaddouble.lo areadfloat.lo areadint.lo areadshort.lo awritechar.lo awritedouble.lo awritefloat.lo awriteint.lo awriteshort.lo bisearch.lo blk_cdcn_norm.lo cache_lm.lo cdcn_init.lo cdcn_norm.lo cdcn_update.lo cep_rw.lo dict.lo eht_quit.lo err.lo fbs_main.lo f2read.lo f2write.lo get_a_word.lo hash.lo hmm_tied_r.lo kb_main.lo lab.lo linklist.lo list.lo live_norm.lo lm.lo lm_3g.lo lmclass.lo logmsg.lo longio.lo nxtarg.lo norm.lo pconf.lo peek_length.lo phone.lo prime.lo r_agc_noise.lo resfft.lo salloc.lo sc_cbook_r.lo sc_vq.lo search.lo searchlat.lo skipto.lo str2words.lo strcasecmp.lo time_align.lo unlimit.lo util.lo uttproc.lo  -lc  -Wl,-soname -Wl,libsphinx2.so.0 -o .libs/libsphinx2.so.0.0.4
ld: error: duplicate symbol: phonelabdirname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabdirname)
>>> defined at lab.c
>>>            lab.lo:(.bss+0x0)

ld: error: duplicate symbol: phonelabextname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabextname)
>>> defined at lab.c
>>>            lab.lo:(.bss+0x4)

ld: error: duplicate symbol: phonelabtype
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabtype)
>>> defined at lab.c
>>>            lab.lo:(.bss+0x8)

ld: error: duplicate symbol: wordlabdirname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabdirname)
>>> defined at lab.c
>>>            lab.lo:(.bss+0xC)

ld: error: duplicate symbol: wordlabextname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabextname)
>>> defined at lab.c
>>>            lab.lo:(.bss+0x10)

ld: error: duplicate symbol: wordlabtype
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabtype)
>>> defined at lab.c
>>>            lab.lo:(.bss+0x14)

ld: error: duplicate symbol: phonelabdirname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabdirname)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14A8)

ld: error: duplicate symbol: phonelabextname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabextname)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14AC)

ld: error: duplicate symbol: phonelabtype
>>> defined at fbs_main.c
>>>            fbs_main.lo:(phonelabtype)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14B0)

ld: error: duplicate symbol: wordlabdirname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabdirname)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14C0)

ld: error: duplicate symbol: wordlabextname
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabextname)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14C4)

ld: error: duplicate symbol: wordlabtype
>>> defined at fbs_main.c
>>>            fbs_main.lo:(wordlabtype)
>>> defined at time_align.c
>>>            time_align.lo:(.bss+0x14C8)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:217: libsphinx2.la] Error 1
gmake[5]: Leaving directory '/wrkdirs/usr/ports/audio/sphinx/work/sphinx2-0.4/src/libsphinx2'
gmake[4]: *** [Makefile:231: all-recursive] Error 1
gmake[4]: Leaving directory '/wrkdirs/usr/ports/audio/sphinx/work/sphinx2-0.4/src/libsphinx2'
gmake[3]: *** [Makefile:116: all-recursive] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/audio/sphinx/work/sphinx2-0.4/src'
gmake[2]: *** [Makefile:158: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/audio/sphinx/work/sphinx2-0.4'
gmake[1]: *** [Makefile:320: all-recursive-am] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/audio/sphinx/work/sphinx2-0.4'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/sphinx