[package - main-powerpc64le-default][ftp/wput] Failed for wput-0.6.2_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 31 May 2023 15:01:23 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:     chip-set@mail.ru
Log URL:        https://pkg-status.freebsd.org/foul2/data/main-powerpc64le-default/p8fa1ee41e29a_s572b77f8da/logs/wput-0.6.2_7.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p8fa1ee41e29a_s572b77f8da
Log:

=>> Building ftp/wput
build started at Wed May 31 15:00:22 UTC 2023
port directory: /usr/ports/ftp/wput
package name: wput-0.6.2_7
building for: FreeBSD main-powerpc64le-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 powerpc
maintained by: chip-set@mail.ru
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400088
Jail OSVERSION: 1400088
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400088
UNAME_v=FreeBSD 14.0-CURRENT 1400088
UNAME_r=14.0-CURRENT
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64le-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-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 wput-0.6.2_7:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     NLS=on: Native Language Support
     TLS=on: Secure network connection support via TLS
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
chip-set@mail.ru
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-nls --with-libintl-prefix=/usr/local  --with-ssl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/wput/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/wput/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/wput/work/.cache  HOME=/wrkdirs/usr/ports/ftp/wput/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/wput/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/wput/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/ftp/wput/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/wput/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/wput/work/.cache  HOME=/wrkdirs/usr/ports/ftp/wput/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/wput/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/wput/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  B
 SD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " NLS="" NO_NLS="@comment " TLS="" NO_TLS="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wput"  EXAMPLESDIR="share/examples/wput"  DATADIR="share/wput"  WWWDIR="www/wput"  ETCDIR="etc/wput"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " NLS="" NO_NLS="@comment " TLS="" NO_TLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wput DOCSDIR=/usr/local/share/doc/wput EXAMPLESDIR=/usr/local/share/examples/wput  WWWDIR=/usr/local/www/wput ETCDIR=/usr/local/etc/wput
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64le-unknown-freebsd14.0 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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400088
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)  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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wput-0.6.2_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-powerpc64le-default-job-13] Installing pkg-1.19.1_1...
[main-powerpc64le-default-job-13] Extracting pkg-1.19.1_1: .......... done
===>   wput-0.6.2_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wput-0.6.2_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by wput-0.6.2_7 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by wput-0.6.2_7 for building
=> SHA256 Checksum OK for wput-0.6.2.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by wput-0.6.2_7 for building
===>  Extracting for wput-0.6.2_7
=> SHA256 Checksum OK for wput-0.6.2.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for wput-0.6.2_7
===>  Applying FreeBSD patches for wput-0.6.2_7 from /usr/ports/ftp/wput/files
===========================================================================
=======================<phase: build-depends  >============================
===>   wput-0.6.2_7 depends on executable: msgfmt - not found
===>   Installing existing package /packages/All/gettext-tools-0.21.1.pkg
[main-powerpc64le-default-job-13] Installing gettext-tools-0.21.1...
[main-powerpc64le-default-job-13] `-- Installing gettext-runtime-0.21.1...
[main-powerpc64le-default-job-13] |   `-- Installing indexinfo-0.3.1...
[main-powerpc64le-default-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
[main-powerpc64le-default-job-13] `-- Extracting gettext-runtime-0.21.1: .......... done
[main-powerpc64le-default-job-13] `-- Installing libtextstyle-0.21.1...
[main-powerpc64le-default-job-13] `-- Extracting libtextstyle-0.21.1: .......... done
<snip>
wput.c:158:37: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                if(opt.output == NULL) { perror(_("Unable to open logfile")); exit(4); }
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
/usr/include/stdio.h:275:26: note: passing argument to parameter here
void     perror(const char *);
                            ^
wput.c:166:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        printout(vNORMAL, _("Warning: "));
                                          ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:166:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, _("Warning: "));
                                          ^~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:167:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, _("background-mode might not work correctly, if the input-pipe needs to read from stdin (like cat -).\n"));
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:176:22: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        printout(vNORMAL, _("Warning: "));
                                          ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:176:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, _("Warning: "));
                                          ^~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:177:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, _("reading urls from stdin, while running in background-mode is not reliable.\n"));
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:186:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                printout(vNORMAL, _("Warning: "));
                                  ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:186:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, _("Warning: "));
                                  ^~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:187:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, _("Ignoring request to turn proxy-usage on, since no proxy is configured.\n"));
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:220:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]);
                                  ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:220:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, _("Nothing done. Try `%s --help'.\n"), argv[0]);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:222:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, _("FINISHED --%s--\n"), time_str());
                                  ^~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:226:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, opt.transfered == 1 ?
                                          ^~~~~~~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:237:22: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vNORMAL, opt.transfered == 1 ?
                                          ^~~~~~~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:245:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, opt.skipped == 1 ? _("Skipped %d file.\n") : _("Skipped %d files.\n"), opt.skipped);
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:247:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                printout(vNORMAL, !opt.wdel ?
                                  ^~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:321:21: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                printout(vMORE, _("Error: "));
                                                ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:321:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                printout(vMORE, _("Error: "));
                                                ^~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:322:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                printout(vMORE, _("`%s' could not be resolved. "), optarg);
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:323:21: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                                printout(vLESS, _("Exiting.\n"));
                                                ^~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:379:29: warning: call to undeclared function 'gettext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            printout(vLESS, _("Warning: "));
                            ^
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^
wput.c:379:29: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
            printout(vLESS, _("Warning: "));
                            ^~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
wput.c:380:20: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
                        printout(vLESS, _("`%s' could not be resolved. "), val);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./constants.h:71:20: note: expanded from macro '_'
# define _(string) gettext (string)
                   ^~~~~~~~~~~~~~~~
./utils.h:31:51: note: passing argument to parameter 'fmt' here
void printout(unsigned char verbose, const char * fmt, ...);
                                                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
9 warnings and 20 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/ftp/wput/work/wput-0.6.2
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/wput