Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2019 04:45:46 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 112armv6-quarterly][misc/libpostal] Failed for libpostal-1.1 in build
Message-ID:  <201908100445.x7A4jkBk098954@beefy15.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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:     dg@syrec.org
Last committer: linimon@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q3/misc/libpostal/Makefile 498045 2019-04-06 00:40:40Z linimon $
Log URL:        http://beefy15.nyi.freebsd.org/data/112armv6-quarterly/508354/logs/libpostal-1.1.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=112armv6-quarterly&build=508354
Log:

=>> Building misc/libpostal
build started at Sat Aug 10 04:41:11 UTC 2019
port directory: /usr/ports/misc/libpostal
package name: libpostal-1.1
building for: FreeBSD 112armv6-quarterly-job-25 11.2-RELEASE-p13 FreeBSD 11.2-RELEASE-p13 1102000 arm
maintained by: dg@syrec.org
Makefile ident:      $FreeBSD: branches/2019Q3/misc/libpostal/Makefile 498045 2019-04-06 00:40:40Z linimon $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300031
Jail OSVERSION: 1102000
Job Id: 25

---Begin Environment---
POUDRIEREPATH=/usr/local/bin/poudriere
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/112armv6-quarterly/ref/.p
SCRIPTPREFIX=/usr/local/share/poudriere
MASTERNAME=112armv6-quarterly
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/112armv6-quarterly/ref/.p/pool
SAVED_TERM=
PACKAGE_BUILDING=yes
POUDRIERE_BUILD_TYPE=bulk
MASTERMNT=/usr/local/poudriere/data/.m/112armv6-quarterly/ref
POUDRIERE_VERSION=3.2.8-5-gc81843e5
LIBEXECPREFIX=/usr/local/libexec/poudriere
USER=root
QEMU_EMULATING=1
LOCALBASE=/usr/local
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
HOME=/root
STATUS=1
MAIL=/var/mail/root
BLOCKSIZE=K
UNAME_r=11.2-RELEASE-p13
UNAME_v=FreeBSD 11.2-RELEASE-p13 1102000
OSVERSION=1102000
ABI_FILE=/usr/lib/crt1.o
UNAME_m=arm
UNAME_p=armv6
SHELL=/bin/csh
---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 libpostal-1.1:
     CBLAS=off: Build with CBLAS/OPENBLAS
     DOCS=on: Build and/or install documentation
     SSE2=off: Enable SSE2 optimization
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
dg@syrec.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--datadir=/var/db/libpostal  --disable-data-download  --disable-static --without-cblas --disable-sse2 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/libpostal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/libpostal/work  HOME=/wrkdirs/usr/ports/misc/libpostal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/libpostal/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/libpostal/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/libpostal/work  HOME=/wrkdirs/usr/ports/misc/libpostal/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/libpostal/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="/nxb-bin/usr/bin/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--
PORTDOCS="" CBLAS="@comment " NO_CBLAS="" DOCS="" NO_DOCS="@comment " SSE2="@comment " NO_SSE2="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libpostal"  EXAMPLESDIR="share/examples/libpostal"  DATADIR="share/libpostal"  WWWDIR="www/libpostal"  ETCDIR="etc/libpostal"
--End PLIST_SUB--

--SUB_LIST--
PORTNAME=libpostal  LIBPOSTAL_DATADIR=/var/db/libpostal CBLAS="@comment " NO_CBLAS="" DOCS="" NO_DOCS="@comment " SSE2="@comment " NO_SSE2="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libpostal DOCSDIR=/usr/local/share/doc/libpostal EXAMPLESDIR=/usr/local/share/examples/libpostal  WWWDIR=/usr/local/www/libpostal ETCDIR=/usr/local/etc/libpostal
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd11.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd11.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd11.2-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p13
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libpostal-1.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[112armv6-quarterly-job-25] Installing pkg-1.11.1...
[112armv6-quarterly-job-25] Extracting pkg-1.11.1: .......... done
===>   libpostal-1.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libpostal-1.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libpostal-1.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libpostal-1.1 for building
<snip>
#warning "No CBLAS"
 ^
minibatch.c:8:14: warning: unused variable 'feature_id' [-Wunused-variable]
    uint32_t feature_id;
             ^
minibatch.c:12:12: warning: unused variable 'm' [-Wunused-variable]
    size_t m = minibatch->n;
           ^
minibatch.c:53:17: warning: unused variable 'feature' [-Wunused-variable]
    const char *feature;
                ^
minibatch.c:102:17: warning: unused variable 'label' [-Wunused-variable]
    const char *label;
                ^
5 warnings generated.
mv -f .deps/language_classifier_test-minibatch.Tpo .deps/language_classifier_test-minibatch.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-float_utils.o -MD -MP -MF .deps/language_classifier_test-float_utils.Tpo -c -o language_classifier_test-float_utils.o `test -f 'float_utils.c' || echo './'`float_utils.c
mv -f .deps/language_classifier_test-float_utils.Tpo .deps/language_classifier_test-float_utils.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-normalize.o -MD -MP -MF .deps/language_classifier_test-normalize.Tpo -c -o language_classifier_test-normalize.o `test -f 'normalize.c' || echo './'`normalize.c
normalize.c:269:22: warning: unused variable 'key' [-Wunused-variable]
            khiter_t key = kh_put(int_set, scripts, (khint_t)script, &ret);
                     ^
normalize.c:208:11: warning: unused variable 'numex_replaced' [-Wunused-variable]
    char *numex_replaced = NULL;
          ^
normalize.c:374:14: warning: unused variable 'is_hyphen' [-Wunused-variable]
        bool is_hyphen = utf8_is_hyphen(ch);
             ^
normalize.c:367:10: warning: unused variable 'append_char' [-Wunused-variable]
    bool append_char = true;
         ^
4 warnings generated.
mv -f .deps/language_classifier_test-normalize.Tpo .deps/language_classifier_test-normalize.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-numex.o -MD -MP -MF .deps/language_classifier_test-numex.Tpo -c -o language_classifier_test-numex.o `test -f 'numex.c' || echo './'`numex.c
numex.c:795:18: warning: unused variable 'rule_index' [-Wunused-variable]
        uint32_t rule_index = phrase.data;
                 ^
numex.c:697:10: warning: unused variable 'advance_state' [-Wunused-variable]
    bool advance_state = true;
         ^
numex.c:705:17: warning: unused variable 'number_str' [-Wunused-variable]
    char_array *number_str = NULL;
                ^
numex.c:694:19: warning: unused variable 'ch' [-Wunused-variable]
    unsigned char ch = '\0';
                  ^
numex.c:968:10: warning: unused variable 'whole_tokens_only' [-Wunused-variable]
    bool whole_tokens_only = language->whole_tokens_only;
         ^
numex.c:1063:10: warning: unused variable 'ignorable' [-Wunused-variable]
    bool ignorable = true;
         ^
6 warnings generated.
mv -f .deps/language_classifier_test-numex.Tpo .deps/language_classifier_test-numex.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-transliterate.o -MD -MP -MF .deps/language_classifier_test-transliterate.Tpo -c -o language_classifier_test-transliterate.o `test -f 'transliterate.c' || echo './'`transliterate.c
transliterate.c:81:104: warning: unused parameter 'str' [-Wunused-parameter]
static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) {
                                                                                                       ^
transliterate.c:81:116: warning: unused parameter 'start_index' [-Wunused-parameter]
static transliteration_replacement_t *get_replacement(trie_t *trie, trie_prefix_result_t result, char *str, size_t start_index) {
                                                                                                                   ^
transliterate.c:1026:85: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
            log_debug("Got unicode normalization step, new str=%s, len=%lu\n", str, strlen(str));
                                                                       ~~~          ^~~~~~~~~~~
                                                                       %u
./log/log.h:52:119: note: expanded from macro 'log_debug'
#define log_debug(M, ...) do { if (0) fprintf(stderr, "\33[34mDEBUG\33[39m " M "  \33[90m at %s (%s:%d) \33[39m\n", ##__VA_ARGS__, __func__, __FILE__, __LINE__); } while (0)
                                                                                                                      ^~~~~~~~~~~
3 warnings generated.
mv -f .deps/language_classifier_test-transliterate.Tpo .deps/language_classifier_test-transliterate.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-trie.o -MD -MP -MF .deps/language_classifier_test-trie.Tpo -c -o language_classifier_test-trie.o `test -f 'trie.c' || echo './'`trie.c
trie.c:1031:13: warning: unused variable 'base' [-Wunused-variable]
    int32_t base;
            ^
trie.c:1032:13: warning: unused variable 'check' [-Wunused-variable]
    int32_t check;
            ^
2 warnings generated.
mv -f .deps/language_classifier_test-trie.Tpo .deps/language_classifier_test-trie.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-trie_search.o -MD -MP -MF .deps/language_classifier_test-trie_search.Tpo -c -o language_classifier_test-trie_search.o `test -f 'trie_search.c' || echo './'`trie_search.c
mv -f .deps/language_classifier_test-trie_search.Tpo .deps/language_classifier_test-trie_search.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-trie_utils.o -MD -MP -MF .deps/language_classifier_test-trie_utils.Tpo -c -o language_classifier_test-trie_utils.o `test -f 'trie_utils.c' || echo './'`trie_utils.c
trie_utils.c:94:34: warning: variable 'next_id' is uninitialized when used here [-Wuninitialized]
        if (!trie_add(trie, key, next_id++)) {
                                 ^~~~~~~
./string_utils.h:251:9: note: expanded from macro 'cstring_array_foreach'
        code;                                                                           \
        ^~~~
trie_utils.c:88:21: note: initialize the variable 'next_id' to silence this warning
    uint32_t next_id;
                    ^
                     = 0
1 warning generated.
mv -f .deps/language_classifier_test-trie_utils.Tpo .deps/language_classifier_test-trie_utils.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-address_dictionary.o -MD -MP -MF .deps/language_classifier_test-address_dictionary.Tpo -c -o language_classifier_test-address_dictionary.o `test -f 'address_dictionary.c' || echo './'`address_dictionary.c
address_dictionary.c:63:47: warning: second argument to 'va_arg' is of promotable type 'uint16_t' (aka 'unsigned short'); this va_arg has undefined behavior because arguments will be promoted to 'int' [-Wvarargs]
        uint16_t dictionary_id = va_arg(args, uint16_t);
                                              ^~~~~~~~
/usr/include/stdarg.h:51:25: note: expanded from macro 'va_arg'
        __builtin_va_arg((ap), type)
                               ^~~~
1 warning generated.
mv -f .deps/language_classifier_test-address_dictionary.Tpo .deps/language_classifier_test-address_dictionary.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-string_utils.o -MD -MP -MF .deps/language_classifier_test-string_utils.Tpo -c -o language_classifier_test-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c
string_utils.c:383:13: warning: unused variable 'num_utf8_chars' [-Wunused-variable]
    ssize_t num_utf8_chars = 0;
            ^
string_utils.c:503:85: warning: unused parameter 'len' [-Wunused-parameter]
inline int utf8_compare_case_insensitive(const char *str1, const char *str2, size_t len) {
                                                                                    ^
string_utils.c:519:12: warning: unused variable 'remaining' [-Wunused-variable]
    size_t remaining = len;
           ^
string_utils.c:678:10: warning: unused variable 'ignorable' [-Wunused-variable]
    bool ignorable = true;
         ^
string_utils.c:704:10: warning: unused variable 'ignorable' [-Wunused-variable]
    bool ignorable = true;
         ^
5 warnings generated.
mv -f .deps/language_classifier_test-string_utils.Tpo .deps/language_classifier_test-string_utils.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-file_utils.o -MD -MP -MF .deps/language_classifier_test-file_utils.Tpo -c -o language_classifier_test-file_utils.o `test -f 'file_utils.c' || echo './'`file_utils.c
mv -f .deps/language_classifier_test-file_utils.Tpo .deps/language_classifier_test-file_utils.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT utf8proc/language_classifier_test-utf8proc.o -MD -MP -MF utf8proc/.deps/language_classifier_test-utf8proc.Tpo -c -o utf8proc/language_classifier_test-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c
mv -f utf8proc/.deps/language_classifier_test-utf8proc.Tpo utf8proc/.deps/language_classifier_test-utf8proc.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT language_classifier_test-unicode_scripts.o -MD -MP -MF .deps/language_classifier_test-unicode_scripts.Tpo -c -o language_classifier_test-unicode_scripts.o `test -f 'unicode_scripts.c' || echo './'`unicode_scripts.c
mv -f .deps/language_classifier_test-unicode_scripts.Tpo .deps/language_classifier_test-unicode_scripts.Po
/bin/sh ../libtool  --tag=CC    --mode=link /nxb-bin/usr/bin/cc  -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing    -fstack-protector-strong -o language_classifier_test language_classifier_test-strndup.o  language_classifier_test-language_classifier_test.o  language_classifier_test-language_classifier.o  language_classifier_test-language_classifier_io.o  language_classifier_test-language_features.o  language_classifier_test-logistic_regression.o  language_classifier_test-logistic.o  language_classifier_test-sparse_matrix.o  language_classifier_test-features.o  language_classifier_test-minibatch.o  language_classifier_test-float_utils.o  language_classifier_test-normalize.o  language_classifier_test-numex.o  language_classifier_test-transliterate.o  language_classifier_test-trie.o  language_classifier_test-tri
 e_search.o  language_classifier_test-trie_utils.o  language_classifier_test-address_dictionary.o  language_classifier_test-string_utils.o  language_classifier_test-file_utils.o  utf8proc/language_classifier_test-utf8proc.o  language_classifier_test-unicode_scripts.o libscanner.la  -lm -L/usr/local/lib
libtool: link: /nxb-bin/usr/bin/cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o language_classifier_test language_classifier_test-strndup.o language_classifier_test-language_classifier_test.o language_classifier_test-language_classifier.o language_classifier_test-language_classifier_io.o language_classifier_test-language_features.o language_classifier_test-logistic_regression.o language_classifier_test-logistic.o language_classifier_test-sparse_matrix.o language_classifier_test-features.o language_classifier_test-minibatch.o language_classifier_test-float_utils.o language_classifier_test-normalize.o language_classifier_test-numex.o language_classifier_test-transliterate.o language_classifier_test-trie.o language_classifier_test-trie_search.o language_classifier_test-trie_utils.o 
 language_classifier_test-address_dictionary.o language_classifier_test-string_utils.o language_classifier_test-file_utils.o utf8proc/language_classifier_test-utf8proc.o language_classifier_test-unicode_scripts.o  ./.libs/libscanner.a -L/usr/local/lib -lm
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT near_dupe_test-strndup.o -MD -MP -MF .deps/near_dupe_test-strndup.Tpo -c -o near_dupe_test-strndup.o `test -f 'strndup.c' || echo './'`strndup.c
mv -f .deps/near_dupe_test-strndup.Tpo .deps/near_dupe_test-strndup.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT near_dupe_test-near_dupe_test.o -MD -MP -MF .deps/near_dupe_test-near_dupe_test.Tpo -c -o near_dupe_test-near_dupe_test.o `test -f 'near_dupe_test.c' || echo './'`near_dupe_test.c
mv -f .deps/near_dupe_test-near_dupe_test.Tpo .deps/near_dupe_test-near_dupe_test.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT near_dupe_test-string_utils.o -MD -MP -MF .deps/near_dupe_test-string_utils.Tpo -c -o near_dupe_test-string_utils.o `test -f 'string_utils.c' || echo './'`string_utils.c
string_utils.c:383:13: warning: unused variable 'num_utf8_chars' [-Wunused-variable]
    ssize_t num_utf8_chars = 0;
            ^
string_utils.c:503:85: warning: unused parameter 'len' [-Wunused-parameter]
inline int utf8_compare_case_insensitive(const char *str1, const char *str2, size_t len) {
                                                                                    ^
string_utils.c:519:12: warning: unused variable 'remaining' [-Wunused-variable]
    size_t remaining = len;
           ^
string_utils.c:678:10: warning: unused variable 'ignorable' [-Wunused-variable]
    bool ignorable = true;
         ^
string_utils.c:704:10: warning: unused variable 'ignorable' [-Wunused-variable]
    bool ignorable = true;
         ^
5 warnings generated.
mv -f .deps/near_dupe_test-string_utils.Tpo .deps/near_dupe_test-string_utils.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -MT utf8proc/near_dupe_test-utf8proc.o -MD -MP -MF utf8proc/.deps/near_dupe_test-utf8proc.Tpo -c -o utf8proc/near_dupe_test-utf8proc.o `test -f 'utf8proc/utf8proc.c' || echo './'`utf8proc/utf8proc.c
mv -f utf8proc/.deps/near_dupe_test-utf8proc.Tpo utf8proc/.deps/near_dupe_test-utf8proc.Po
/bin/sh ../libtool  --tag=CC    --mode=link /nxb-bin/usr/bin/cc  -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -fstack-protector-strong -o  near_dupe_test near_dupe_test-strndup.o  near_dupe_test-near_dupe_test.o  near_dupe_test-string_utils.o  utf8proc/near_dupe_test-utf8proc.o libpostal.la -lm -L/usr/local/lib
libtool: link: /nxb-bin/usr/bin/cc -Wall -Wextra -Wno-unused-function -Wformat -Werror=format-security -Winit-self -Wno-sign-compare -DLIBPOSTAL_DATA_DIR=\"/var/db/libpostal\" -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o .libs/near_dupe_test near_dupe_test-strndup.o near_dupe_test-near_dupe_test.o near_dupe_test-string_utils.o utf8proc/near_dupe_test-utf8proc.o  ./.libs/libpostal.so -L/usr/local/lib -lm -Wl,-rpath -Wl,/usr/local/lib
Making all in test
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test.o -MD -MP -MF .deps/test_libpostal-test.Tpo -c -o test_libpostal-test.o `test -f 'test.c' || echo './'`test.c
mv -f .deps/test_libpostal-test.Tpo .deps/test_libpostal-test.Po
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I..   -isystem /usr/local/include -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"/var/db/libpostal"' -MT test_libpostal-test_expand.o -MD -MP -MF .deps/test_libpostal-test_expand.Tpo -c -o test_libpostal-test_expand.o `test -f 'test_expand.c' || echo './'`test_expand.c
test_expand.c:105:118: error: passing 'void *' to parameter of incompatible type 'va_list' (aka '__builtin_va_list')
        CHECK_CALL(test_expansion_contains_phrase_option_with_languages(input, output, options, root, num_languages, NULL));
                                                                                                                     ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
./greatest.h:494:31: note: expanded from macro 'GREATEST_CHECK_CALL'
        int _check_call_res = RES;                                      \
                              ^~~
test_expand.c:63:186: note: passing argument to parameter 'args' here
static greatest_test_res test_expansion_contains_phrase_option_with_languages(char *input, char *output, libpostal_normalize_options_t options, bool root, size_t num_languages, va_list args) {
                                                                                                                                                                                         ^
test_expand.c:119:118: error: passing 'void *' to parameter of incompatible type 'va_list' (aka '__builtin_va_list')
        CHECK_CALL(test_expansion_contains_phrase_option_with_languages(input, output, options, root, num_languages, NULL));
                                                                                                                     ^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
./greatest.h:494:31: note: expanded from macro 'GREATEST_CHECK_CALL'
        int _check_call_res = RES;                                      \
                              ^~~
test_expand.c:63:186: note: passing argument to parameter 'args' here
static greatest_test_res test_expansion_contains_phrase_option_with_languages(char *input, char *output, libpostal_normalize_options_t options, bool root, size_t num_languages, va_list args) {
                                                                                                                                                                                         ^
2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/misc/libpostal/work/libpostal-1.1-alpha/test
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/misc/libpostal/work/libpostal-1.1-alpha
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/misc/libpostal/work/libpostal-1.1-alpha
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/libpostal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908100445.x7A4jkBk098954>