Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2020 03:22:02 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][ftp/pftpd] Failed for pftpd-1.0.3 in build
Message-ID:  <202008240322.07O3M2e5025941@beefy17.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:     ports@FreeBSD.org
Last committer: marino@FreeBSD.org
Ident:          $FreeBSD: head/ftp/pftpd/Makefile 382150 2015-03-24 18:19:23Z marino $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p545799_s364495/logs/pftpd-1.0.3.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p545799_s364495
Log:

=>> Building ftp/pftpd
build started at Mon Aug 24 03:21:46 UTC 2020
port directory: /usr/ports/ftp/pftpd
package name: pftpd-1.0.3
building for: FreeBSD head-i386-default-job-04 13.0-CURRENT FreeBSD 13.0-CURRENT 1300111 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/ftp/pftpd/Makefile 382150 2015-03-24 18:19:23Z marino $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300111
Job Id: 04




!!! Jail is newer than host. (Jail: 1300111, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300111
UNAME_v=FreeBSD 13.0-CURRENT 1300111
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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--
XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/pftpd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/pftpd/work  HOME=/wrkdirs/usr/ports/ftp/pftpd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/pftpd/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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/pftpd/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/pftpd/work  HOME=/wrkdirs/usr/ports/ftp/pftpd/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/pftpd/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="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/pftpd"  EXAMPLESDIR="share/examples/pftpd"  DATADIR="share/pftpd"  WWWDIR="www/pftpd"  ETCDIR="etc/pftpd"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pftpd DOCSDIR=/usr/local/share/doc/pftpd EXAMPLESDIR=/usr/local/share/examples/pftpd  WWWDIR=/usr/local/www/pftpd ETCDIR=/usr/local/etc/pftpd
--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.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) 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.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300111
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 pftpd 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   pftpd-1.0.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.7.txz
[head-i386-default-job-04] Installing pkg-1.14.7...
[head-i386-default-job-04] Extracting pkg-1.14.7: .......... done
===>   pftpd-1.0.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pftpd-1.0.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The pftpd 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===> Fetching all distfiles required by pftpd-1.0.3 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The pftpd port currently does not have a maintainer. As a result, it is
<snip>
checking for sys/filio.h... yes
checking sys/sendfile.h usability... no
checking sys/sendfile.h presence... no
checking for sys/sendfile.h... no
checking for pthread_mutex_t in sys/types.h... no
checking for pid_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for mode_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking for socklen_t in sys/socket.h... (cached) yes
checking for off_t... (cached) yes
checking for ssize_t... (cached) yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for sprintf() returning 'char *'... no
checking for IPv6 support... yes
checking for memcpy... (cached) yes
checking for uname... (cached) yes
checking for setsid... (cached) yes
checking for random... (cached) yes
checking for srandom... (cached) yes
checking for strerror... (cached) yes
checking for sigaction... (cached) yes
checking for ftruncate... yes
checking for pread... (cached) yes
checking for flock... yes
checking for mmap... (cached) yes
checking for poll... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strlncpy... no
checking for strlncat... no
checking for sendfile... yes
checking for sendfilev... no
checking for sendfilev in -lsendfile... no
checking for socket... yes
checking for gethostbyname... (cached) yes
checking for inet_pton... yes
checking for inet_ntop... (cached) yes
checking for pthread.h... (cached) yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for pthread_attr_init in -lpthread... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for thr_setconcurrency... no
checking for pthread_setconcurrency... yes
checking for Posix-style getpw..._r... yes
checking if sys_errlist is already defined... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating plib-config
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for pftpd-1.0.3
Building PLIB...
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c server.c -o server.o
server.c:85:6: warning: implicit declaration of function 'server_destroy' is invalid in C99 [-Wimplicit-function-declaration]
            server_destroy(sp);
            ^
server.c:125:6: warning: implicit declaration of function 'server_destroy' is invalid in C99 [-Wimplicit-function-declaration]
            server_destroy(sp);
            ^
server.c:144:6: warning: implicit declaration of function 'server_destroy' is invalid in C99 [-Wimplicit-function-declaration]
            server_destroy(sp);
            ^
server.c:164:2: warning: implicit declaration of function 'server_destroy' is invalid in C99 [-Wimplicit-function-declaration]
        server_destroy(sp);
        ^
server.c:190:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
5 warnings generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c daemon.c -o daemon.o
daemon.c:99:50: warning: data argument not used by format string [-Wformat-extra-args]
        syslog(LOG_ERR, "s_write(fd, ..., %d): %m", fd, strlen(buf));
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~      ^
1 warning generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c petopt.c -o petopt.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c strl.c -o strl.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c safeio.c -o safeio.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c safestr.c -o safestr.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c support.c -o support.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c str2.c -o str2.o
str2.c:281:12: warning: implicit declaration of function 's_getgrnam_r' is invalid in C99 [-Wimplicit-function-declaration]
    (void) s_getgrnam_r(str, &gb, buf, sizeof(buf), &gp);
           ^
1 warning generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c timeout.c -o timeout.o
timeout.c:61:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (tp = tcb->top)
           ~~~^~~~~~~~~~
timeout.c:61:15: note: place parentheses around the assignment to silence this warning
    while (tp = tcb->top)
              ^
           (            )
timeout.c:61:15: note: use '==' to turn this assignment into an equality comparison
    while (tp = tcb->top)
              ^
              ==
1 warning generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c fdbuf.c -o fdbuf.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c avail.c -o avail.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c dirlist.c -o dirlist.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c ident.c -o ident.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c aalloc.c -o aalloc.o
aalloc.c:90:7: warning: address of array 'ap->fun' will always evaluate to 'true' [-Wpointer-bool-conversion]
                ap->fun ? ap->fun : "<null>",
                ~~~~^~~ ~
aalloc.c:91:7: warning: address of array 'ap->what' will always evaluate to 'true' [-Wpointer-bool-conversion]
                ap->what ? ap->what : "<null>");
                ~~~~^~~~ ~
aalloc.c:88:16: warning: flag '0' results in undefined behavior with 'p' conversion specifier [-Wformat]
        fprintf(fp, "%08p:  magic=%04x:%02x, size=%lu, function=%s, object=%s\n",
                     ~^~~
aalloc.c:89:37: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
               ap, ap->magic, p[ap->size], ap->size,
                                           ^~~~~~~~
4 warnings generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c strmatch.c -o strmatch.o
rm -f libplib.a ; ar -q libplib.a server.o daemon.o petopt.o strl.o  safeio.o safestr.o support.o str2.o  timeout.o fdbuf.o pqueue.o avail.o  dirlist.o ident.o aalloc.o strmatch.o
ar: warning: creating libplib.a
ranlib libplib.a
Building PLIB... Done
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c main.c -o main.o
main.c:645:6: warning: implicit declaration of function 'server_destroy' is invalid in C99 [-Wimplicit-function-declaration]
            server_destroy(servp);
            ^
1 warning generated.
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c request.c -o request.o
request.c:141:13: warning: implicit declaration of function 'ftpdata_join' is invalid in C99 [-Wimplicit-function-declaration]
            code = ftpdata_join(fp->data);
                   ^
1 warning generated.
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c conf.c -o conf.o
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c version.c -o version.o
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c ftpcmd.c -o ftpcmd.o
ftpcmd.c:784:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockname(fd, (struct sockaddr *) sinp, &slen) < 0)
                                                  ^~~~~
/usr/include/sys/socket.h:671:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftpcmd.c:1061:3: warning: format specifies type 'unsigned long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
                fp->data_start);
                ^~~~~~~~~~~~~~
2 warnings generated.
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c ftplist.c -o ftplist.o
ftplist.c:236:9: warning: implicit declaration of function 's_getgrgid_r' is invalid in C99 [-Wimplicit-function-declaration]
    if (s_getgrgid_r(gid, &grb, gbuf, sizeof(gbuf), &grp) == 0 &&
        ^
1 warning generated.
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c ftpdata.c -o ftpdata.o
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c path.c -o path.o
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c xferlog.c -o xferlog.o
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c rpa.c -o rpa.o
rpa.c:220:5: warning: implicit declaration of function 's_snprintf' is invalid in C99 [-Wimplicit-function-declaration]
    s_snprintf(path, sizeof(path), "%s/%s/unix", PATH_RPAD_DIR, rp->service);
    ^
rpa.c:480:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rpa_rresvport(RPA *rp,
^
2 warnings generated.
cc  -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -c socket.c -o socket.o
socket.c:97:6: warning: data argument not used by format string [-Wformat-extra-args]
                   attempt);
                   ^
1 warning generated.
cc -DHAVE_CONFIG_H -DPATH_PREFIX=\"/usr/local\" -DPATH_SYSCONFDIR=\"/usr/local/etc\" -DPATH_LOCALSTATEDIR=\"/var\" -DPATH_DATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -I.. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DHAVE_CONFIG_H -o pftpd main.o request.o conf.o version.o  ftpcmd.o ftplist.o ftpdata.o path.o  xferlog.o rpa.o socket.o  ../plib/libplib.a -fstack-protector-strong  -lpthread  -fstack-protector-strong  -lpthread -lpthread 
ld: error: duplicate symbol: debug
>>> defined at main.c
>>>            main.o:(debug)
>>> defined at server.c
>>>            server.o:(.bss+0x0) in archive ../plib/libplib.a

ld: error: duplicate symbol: debug
>>> defined at main.c
>>>            main.o:(debug)
>>> defined at timeout.c
>>>            timeout.o:(.bss+0x0) in archive ../plib/libplib.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

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

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

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



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