[package - 131releng-armv7-default][textproc/htdig] Failed for htdig-3.2.0.b6_6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 28 Oct 2022 05:34:49 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://ampere3.nyi.freebsd.org/data/131releng-armv7-default/5bb856165324/logs/htdig-3.2.0.b6_6.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=131releng-armv7-default&build=5bb856165324
Log:

=>> Building textproc/htdig
build started at Fri Oct 28 05:30:04 UTC 2022
port directory: /usr/ports/textproc/htdig
package name: htdig-3.2.0.b6_6
building for: FreeBSD 131releng-armv7-default-job-06 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 1301000 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2 1301000
UNAME_r=13.1-RELEASE-p2
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/131releng-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131releng-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131releng-armv7-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---
===> The following configuration options are available for htdig-3.2.0.b6_6:
     APACHE=on: Apache server support
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-config-dir=/usr/local/etc/htdig  --with-default-config-file=/usr/local/etc/htdig/htdig.conf  --with-common-dir=/usr/local/share/htdig/common  --with-database-dir=/usr/local/share/htdig/database  --with-cgi-bin-dir=/usr/local/www/cgi-bin  --with-search-dir=/usr/local/www/data  --with-image-dir=/usr/local/www/icons/htdig  --with-image-url-prefix=/icons/htdig  --with-ssl --with-apache=/usr/local/sbin --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/htdig/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/htdig/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/htdig/work/.cache  HOME=/wrkdirs/usr/ports/textproc/htdig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/htdig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/htdig/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/htdig/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/htdig/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/htdig/work/.cache  HOME=/wrkdirs/usr/ports/textproc/htdig/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/htdig/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/htdig/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  -I/usr/include -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   -std=c++98 "  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--
PORTDOCS="" APACHEMODDIR="libexec/apache24"  APACHEINCLUDEDIR="include/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" AP_NAME="htdig" AP_MODULE="htdig.so" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/htdig"  EXAMPLESDIR="share/examples/htdig"  DATADIR="share/htdig"  WWWDIR="www/htdig"  ETCDIR="etc/htdig"
--End PLIST_SUB--

--SUB_LIST--
APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/htdig DOCSDIR=/usr/local/share/doc/htdig EXAMPLESDIR=/usr/local/share/examples/htdig  WWWDIR=/usr/local/www/htdig ETCDIR=/usr/local/etc/htdig
--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: armv7-unknown-freebsd13.1-gnueabihf 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: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_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: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
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   >============================
===>   NOTICE:

The htdig 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 LGPL20+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   htdig-3.2.0.b6_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131releng-armv7-default-job-06] Installing pkg-1.18.4...
[131releng-armv7-default-job-06] Extracting pkg-1.18.4: .......... done
===>   htdig-3.2.0.b6_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of htdig-3.2.0.b6_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The htdig 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 LGPL20+ accepted by the user
===> Fetching all distfiles required by htdig-3.2.0.b6_6 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The htdig 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:

<snip>
#define WORD_FATAL_ABORT fflush(stdout);fprintf(stderr,"FATAL ERROR at file:%s line:%d !!!\n",__FILE__,__LINE__);fflush(stderr);(*(int *)NULL)=1
                                                                                                                                 ^
In file included from Display.cc:19:
In file included from ./htsearch.h:23:
In file included from ../htcommon/DocumentRef.h:22:
In file included from ../htcommon/HtWordList.h:23:
In file included from ../htword/WordList.h:80:
./htword/WordReference.h:209:9: warning: 'WordReference::compare' hides overloaded virtual function [-Woverloaded-virtual]
  int                   compare(Object *to) { String word(((WordReference *) to)->key.GetWord()); return key.GetWord().nocase_compare(word); }
                        ^
./htlib/Object.h:37:14: note: hidden overloaded virtual function 'Object::compare' declared here: type mismatch at 1st parameter ('const Object &' vs 'Object *')
        virtual int     compare(const Object &) const { return 0;}
                        ^
--- DocMatch.o ---
8 warnings generated.
--- ResultList.o ---
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/htdig/htdig.conf\"  -I../include -I../htlib  -I../htnet -I../htcommon  -I../htword  -I../db -I../db  -DCONFIG_DIR=\"/usr/local/etc/htdig\" -I../htfuzzy      -O2 -pipe  -I/usr/include -fstack-protector-strong -fno-strict-aliasing   -std=c++98  -Wall -fno-rtti -fno-exceptions -c -o ResultList.o `test -f 'ResultList.cc' || echo './'`ResultList.cc
--- Display.o ---
Display.cc:488:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    char        *format = input->get("format");
                                     ^
Display.cc:565:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    datetime.Pattern("date|time");
                     ^
Display.cc:571:27: warning: '&&' within '||' [-Wlogical-op-parentheses]
                datetime.Compare(sl[i]) && datetime.Compare(st) ||
                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Display.cc:571:27: note: place parentheses around the '&&' expression to silence this warning
                datetime.Compare(sl[i]) && datetime.Compare(st) ||
                                        ^
                (                                              )
Display.cc:573:33: warning: '&&' within '||' [-Wlogical-op-parentheses]
                    datetime.Compare(sl[i]+3) && datetime.Compare(st.get()+3))
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Display.cc:573:33: note: place parentheses around the '&&' expression to silence this warning
                    datetime.Compare(sl[i]+3) && datetime.Compare(st.get()+3))
                                              ^
                                                                             )
Display.cc:657:7: warning: '&&' within '||' [-Wlogical-op-parentheses]
                    && mystrcasecmp(namelist[i+ivalue-1], currval.get()) == 0
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Display.cc:657:7: note: place parentheses around the '&&' expression to silence this warning
                    && mystrcasecmp(namelist[i+ivalue-1], currval.get()) == 0
                    ^
                                                                             )
Display.cc:661:4: warning: '&&' within '||' [-Wlogical-op-parentheses]
                        && (*(cp += strlen(namelist[i+ivalue-1])) == '\0'
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Display.cc:661:4: note: place parentheses around the '&&' expression to silence this warning
                        && (*(cp += strlen(namelist[i+ivalue-1])) == '\0'
                        ^
Display.cc:786:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("restrict"))
                      ^
Display.cc:787:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "restrict=" << encodeInput("restrict") << ';';
                                          ^
Display.cc:788:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("exclude"))
                      ^
Display.cc:789:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "exclude=" << encodeInput("exclude") << ';';
                                         ^
Display.cc:812:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("method"))
                      ^
Display.cc:813:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "method=" << encodeInput("method") << ';';
                                        ^
Display.cc:814:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("format"))
                      ^
Display.cc:815:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "format=" << encodeInput("format") << ';';
                                        ^
Display.cc:816:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("sort"))
                      ^
Display.cc:817:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "sort=" << encodeInput("sort") << ';';
                                      ^
Display.cc:818:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("matchesperpage"))
                      ^
Display.cc:819:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "matchesperpage=" << encodeInput("matchesperpage") << ';';
                                                ^
Display.cc:820:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("keywords"))
                      ^
Display.cc:821:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "keywords=" << encodeInput("keywords") << ';';
                                          ^
Display.cc:822:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("words"))
                      ^
Display.cc:823:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "words=" << encodeInput("words") << ';';
                                       ^
Display.cc:824:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("startyear"))
                      ^
Display.cc:825:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "startyear=" << encodeInput("startyear") << ';';
                                           ^
Display.cc:826:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("startmonth"))
                      ^
Display.cc:827:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "startmonth=" << encodeInput("startmonth") << ';';
                                            ^
Display.cc:828:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("startday"))
                      ^
Display.cc:829:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "startday=" << encodeInput("startday") << ';';
                                          ^
Display.cc:830:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("endyear"))
                      ^
Display.cc:831:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "endyear=" << encodeInput("endyear") << ';';
                                         ^
Display.cc:832:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("endmonth"))
                      ^
Display.cc:833:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "endmonth=" << encodeInput("endmonth") << ';';
                                          ^
Display.cc:834:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
    if (input->exists("endday"))
                      ^
Display.cc:835:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        url << "endday=" << encodeInput("endday") << ';';
                                        ^
Display.cc:1545:20: error: call to 'abs' is ambiguous
            date_score =  DATE_FACTOR(date_factor, now, thisRef->DocTime());
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Display.cc:1544:58: note: expanded from macro 'DATE_FACTOR'
#define DATE_FACTOR(df, n, dd) ((df) * 100 / (1+(double)(abs((n) - (dd)) / 31536000)))
                                                         ^~~
/usr/include/stdlib.h:91:6: note: candidate function
int      abs(int) __pure2;
         ^
/usr/include/c++/v1/stdlib.h:107:39: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT {
                                      ^
/usr/include/c++/v1/stdlib.h:118:40: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT {
                                       ^
/usr/include/c++/v1/stdlib.h:122:41: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY double abs(double __lcpp_x) _NOEXCEPT {
                                        ^
/usr/include/c++/v1/stdlib.h:127:1: note: candidate function
abs(long double __lcpp_x) _NOEXCEPT {
^
Display.cc:1229:26: warning: shift count >= width of type [-Wshift-count-overflow]
    time_t eternity = ~(1<<(sizeof(time_t)*8-1));  // will be the largest value holdable by a time_t
                         ^ ~~~~~~~~~~~~~~~~~~~~
Display.cc:1840:18: warning: variable 'ww' set but not used [-Wunused-but-set-variable]
    WeightWord          *ww;
                         ^
Display.cc:1937:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      host = "-";
             ^
Display.cc:1940:13: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
      ref = "-";
            ^
Display.cc:1948:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
           input->exists("config") ? input->get("config") : "default",
                         ^
Display.cc:1948:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
           input->exists("config") ? input->get("config") : "default",
                                                ^
Display.cc:1950:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
           input->exists("words") ? input->get("words") : "",
                         ^
Display.cc:1950:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
           input->exists("words") ? input->get("words") : "",
                                               ^
50 warnings and 1 error generated.
*** [Display.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/textproc/htdig/work/htdig-3.2.0b6/htsearch
1 error

make[2]: stopped in /wrkdirs/usr/ports/textproc/htdig/work/htdig-3.2.0b6/htsearch
*** [all-recursive] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/textproc/htdig/work/htdig-3.2.0b6
1 error

make[1]: stopped in /wrkdirs/usr/ports/textproc/htdig/work/htdig-3.2.0b6
===> 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/textproc/htdig