=>> Building ftp/bbftp-server build started at Thu Mar 12 20:50:13 EDT 2026 port directory: /usr/ports/ftp/bbftp-server package name: bbftp-server-3.2.1_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1060 Aug 27 2024 /usr/ports/ftp/bbftp-server/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 80c342beccf6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 16 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE 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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for bbftp-server-3.2.1_2: 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-ssl=/usr --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work/.cache HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/bbftp-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/bbftp-server/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/ftp/bbftp-server/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work/.cache HOME=/wrkdirs/usr/ports/ftp/bbftp-server/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/bbftp-server/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/ftp/bbftp-server/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bbftp-server" EXAMPLESDIR="share/examples/bbftp-server" DATADIR="share/bbftp-server" WWWDIR="www/bbftp-server" ETCDIR="etc/bbftp-server" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bbftp-server DOCSDIR=/usr/local/share/doc/bbftp-server EXAMPLESDIR=/usr/local/share/examples/bbftp-server WWWDIR=/usr/local/www/bbftp-server ETCDIR=/usr/local/etc/bbftp-server --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" 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) 8192 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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bbftp-server 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bbftp-server-3.2.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> bbftp-server-3.2.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bbftp-server-3.2.1_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bbftp-server port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bbftp-server-3.2.1_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bbftp-server port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bbftp-server-3.2.1_2 for building => SHA256 Checksum OK for bbftp-server-3.2.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bbftp-server port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bbftp-server-3.2.1_2 for building ===> Extracting for bbftp-server-3.2.1_2 => SHA256 Checksum OK for bbftp-server-3.2.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for bbftp-server-3.2.1_2 ===> Applying FreeBSD patches for bbftp-server-3.2.1_2 from /usr/ports/ftp/bbftp-server/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bbftp-server-3.2.1_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> bbftp-server-3.2.1_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of bbftp-server-3.2.1_2 ===> bbftp-server-3.2.1_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> bbftp-server-3.2.1_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of bbftp-server-3.2.1_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for bbftp-server-3.2.1_2 configure: loading site script /usr/ports/Templates/config.site checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking build system type... amd64-portbld-freebsd14.4 checking host system type... amd64-portbld-freebsd14.4 checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for dirent.h... (cached) yes checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking for glob.h... (cached) yes checking for limits.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking for pwd.h... (cached) yes checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking for signal.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking for sys/statvfs.h... (cached) yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking userpw.h usability... no checking userpw.h presence... no checking for userpw.h... no checking for utime.h... (cached) yes checking for byteswap.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for socket in -lc... yes checking for chdir... yes checking for fcntl... (cached) yes checking for fnmatch... yes checking for fork... (cached) yes checking for free... yes checking for freopen... yes checking for getcwd... (cached) yes checking for getopt... (cached) yes checking for getpwnam... yes checking for gettimeofday... (cached) yes checking for glob... (cached) yes checking for globfree... yes checking for kill... (cached) yes checking for mkdir... yes checking for openlog... yes checking for opendir... (cached) yes checking for random... (cached) yes checking for readdir... (cached) yes checking for read... yes checking for select... (cached) yes checking for setgid... (cached) yes checking for setsid... (cached) yes checking for setuid... (cached) yes checking for sigaction... (cached) yes checking for sigemptyset... yes checking for sleep... (cached) yes checking for sprintf... (cached) yes checking for srandom... (cached) yes checking for strcmp... yes checking for strcpy... yes checking for strerror... (cached) yes checking for strlen... (cached) yes checking for sysconf... (cached) yes checking for syslog... yes checking for unlink... (cached) yes checking for waitpid... (cached) yes checking for long long... (cached) yes checking size of long long... 8 checking for ntohll... no checking for off_t... (cached) yes checking size of off_t... 8 checking how to printf a long long... using %lld checking for struct stat.st_blksize... (cached) yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for socklen_t... (cached) yes checking for statvfs64... no checking for statvfs... (cached) yes checking whether byte ordering is bigendian... no checking for crypt... no checking for crypt... yes checking for library containing getservbyname_r... no checking for library containing gethostbyaddr_r... no checking for library containing sched_get_priority_max... no checking for /usr/local/include/shift/rfio_api.h... no checking for rfio_open... no configure: WARNING: RFIO not installed checking for /usr/lib/libcrypto.so... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking for library containing dlopen... none required checking for compress in -lz... yes checking for zlib.h... (cached) yes checking zconf.h usability... yes checking zconf.h presence... yes checking for zconf.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating startup config.status: creating bbftpd.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for bbftp-server-3.2.1_2 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd.o bbftpd.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_cd.o bbftpd_cd.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_check.o bbftpd_check.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_crypt.o bbftpd_crypt.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_daemon.o bbftpd_daemon.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_list.o bbftpd_list.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_login.o bbftpd_login.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_message.o bbftpd_message.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_mkdir.o bbftpd_mkdir.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_rm.o bbftpd_rm.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_stat.o bbftpd_stat.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_statfs.o bbftpd_statfs.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_readcontrol.o bbftpd_readcontrol.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_retr.o bbftpd_retr.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_signals.o bbftpd_signals.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_socket.o bbftpd_socket.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_store.o bbftpd_store.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o bbftpd_utils.o bbftpd_utils.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o changetodir.o changetodir.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o createadir.o createadir.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o createreceivesock.o createreceivesock.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o readcontrol.o readcontrol.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o sendafile.o sendafile.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o sendlist.o sendlist.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o signals_routines.o signals_routines.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/include -c -o storeafile.o storeafile.c bbftpd_list.c:84:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | FREE(filelist) ; | ^ ../includes/common.h:95:33: note: expanded from macro 'FREE' 95 | #define FREE(X) if(X != NULL) { free(X), X=NULL;} | ^ bbftpd_list.c:84:13: note: include the header or explicitly provide a declaration for 'free' ../includes/common.h:95:33: note: expanded from macro 'FREE' 95 | #define FREE(X) if(X != NULL) { free(X), X=NULL;} | ^ 1 warning generated. bbftpd_utils.c:79:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | free(curfilename) ; | ^ bbftpd_utils.c:79:9: note: include the header or explicitly provide a declaration for 'free' 1 warning generated. readcontrol.c:106:31: warning: call to undeclared function 'storeafile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | retcode = storeafile(msgcode) ; | ^ readcontrol.c:122:31: warning: call to undeclared function 'sendafile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | retcode = sendafile(msgcode) ; | ^ readcontrol.c:142:21: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | reply(MSG_BAD_NO_RETRY,"Retreive RFIO not supported") ; | ^ readcontrol.c:149:31: warning: call to undeclared function 'createadir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | retcode = createadir(msgcode,msglen) ; | ^ readcontrol.c:153:31: warning: call to undeclared function 'changetodir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | retcode = changetodir(msgcode,msglen) ; | ^ readcontrol.c:157:31: warning: call to undeclared function 'sendlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | retcode = sendlist(msgcode,msglen) ; | ^ readcontrol.c:162:31: warning: call to undeclared function 'discardmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | retcode = discardmessage(msgsock,msglen,recvcontrolto) ; | ^ readcontrol.c:163:21: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | reply(MSG_BAD_NO_RETRY,"Unkown message in logged state") ; | ^ 8 warnings generated. createreceivesock.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int createreceivesock(port,socknum,logmessage) | ^ 1 warning generated. bbftpd_login.c:185:18: warning: call to undeclared function 'decodersapass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | if ( decodersapass(receive_buffer,username,password) < 0 ) { | ^ bbftpd_login.c:197:58: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | strncpy(username, msg_rsa->cryptuser, strlen(msg_rsa->cryptuser)); | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ bbftpd_login.c:197:31: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | strncpy(username, msg_rsa->cryptuser, strlen(msg_rsa->cryptuser)); | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ bbftpd_login.c:198:29: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | username[strlen(msg_rsa->cryptuser)]='\0'; | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ bbftpd_login.c:199:58: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | strncpy(password, msg_rsa->cryptpass, strlen(msg_rsa->cryptpass)); | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ bbftpd_login.c:199:31: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | strncpy(password, msg_rsa->cryptpass, strlen(msg_rsa->cryptpass)); | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:112:57: note: passing argument to parameter here 112 | char *strncpy(char * __restrict, const char * __restrict, size_t); | ^ bbftpd_login.c:200:29: warning: passing 'unsigned char[128]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | password[strlen(msg_rsa->cryptpass)]='\0'; | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ bbftpd_login.c:375:7: warning: call to undeclared function 'endgrent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | endgrent(); | ^ 8 warnings generated. createadir.c:74:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 74 | syslog(BBFTPD_ERR,"Message to big in createdir (%d,%d)",msglen,MAXMESSLEN) ; | ~~ ^~~~~~~~~~ | %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' 196 | #define MAXMESSLEN STORMESSLEN | ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' 192 | #define STORMESSLEN sizeof(STORMESS) | ^~~~~~~~~~~~~~~~ createadir.c:75:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | reply(MSG_BAD_NO_RETRY,"Directory too long") ; | ^ createadir.c:81:10: warning: call to undeclared function 'readmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { | ^ createadir.c:103:78: warning: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | sprintf(logmessage,"Error creation directory %s : %s",receive_buffer,strerror(errno)) ; | ^ createadir.c:103:78: note: include the header or explicitly provide a declaration for 'strerror' createadir.c:127:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ createadir.c:129:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | reply(MSG_BAD,logmessage) ; | ^ createadir.c:133:5: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | reply(MSG_OK,"OK") ; | ^ 7 warnings generated. signals_routines.c:82:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | int checkendchild(status) | ^ signals_routines.c:144:48: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | if ( unlinkfile == 1 ) unlink(currentfilename) ; | ^ signals_routines.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void in_sigchld_v1(sig) | ^ signals_routines.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | void in_sighup_v1(sig) | ^ signals_routines.c:192:23: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | if ( fatherpid == getpid() ) { | ^ signals_routines.c:199:32: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | if ( unlinkfile == 1 ) unlink(currentfilename) ; | ^ signals_routines.c:189:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | void in_sigterm_v1(sig) | ^ 7 warnings generated. changetodir.c:72:74: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 72 | syslog(BBFTPD_ERR,"Message to big in changetodir (%d,%d)",msglen,MAXMESSLEN) ; | ~~ ^~~~~~~~~~ | %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' 196 | #define MAXMESSLEN STORMESSLEN | ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' 192 | #define STORMESSLEN sizeof(STORMESS) | ^~~~~~~~~~~~~~~~ changetodir.c:73:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | reply(MSG_BAD_NO_RETRY,"Directory too long") ; | ^ changetodir.c:79:10: warning: call to undeclared function 'readmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { | ^ changetodir.c:101:79: warning: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | sprintf(logmessage,"Error changing directory %s : %s ",receive_buffer,strerror(errno)) ; | ^ changetodir.c:101:79: note: include the header or explicitly provide a declaration for 'strerror' changetodir.c:117:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ changetodir.c:119:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | reply(MSG_BAD,logmessage) ; | ^ changetodir.c:128:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | reply(MSG_BAD,logmessage) ; | ^ changetodir.c:132:13: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | free(currentdir) ; | ^ changetodir.c:132:13: note: include the header or explicitly provide a declaration for 'free' changetodir.c:135:5: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | reply(MSG_OK,logmessage) ; | ^ 9 warnings generated. bbftpd_check.c:157:54: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 157 | if (getsockname(sock,(struct sockaddr *)&server, &addrlen) < 0) { | ^~~~~~~~ /usr/include/sys/socket.h:705:74: note: passing argument to parameter here 705 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ bbftpd_check.c:241:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 241 | if (getpeername(ns, (struct sockaddr *) &his_addr, &addrlen) < 0) { | ^~~~~~~~ /usr/include/sys/socket.h:704:74: note: passing argument to parameter here 704 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ bbftpd_check.c:249:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 249 | if (getsockname(ns, (struct sockaddr *) &ctrl_addr, &addrlen) < 0) { | ^~~~~~~~ /usr/include/sys/socket.h:705:74: note: passing argument to parameter here 705 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ 3 warnings generated. sendlist.c:84:71: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 84 | syslog(BBFTPD_ERR,"Message to big in sendlist (%d,%d)",msglen,MAXMESSLEN) ; | ~~ ^~~~~~~~~~ | %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' 196 | #define MAXMESSLEN STORMESSLEN | ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' 192 | #define STORMESSLEN sizeof(STORMESS) | ^~~~~~~~~~~~~~~~ sendlist.c:85:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | reply(MSG_BAD_NO_RETRY,"String too long") ; | ^ sendlist.c:91:10: warning: call to undeclared function 'readmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { | ^ sendlist.c:116:18: warning: call to undeclared function 'writemessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { | ^ sendlist.c:124:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | reply(MSG_BAD,logmessage) ; | ^ sendlist.c:144:14: warning: call to undeclared function 'writemessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { | ^ 6 warnings generated. bbftpd_message.c:150:23: warning: call to undeclared function 'recv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | retcode = recv(sock,buffer,sizeof(buffer),0) ; | ^ 1 warning generated. bbftpd_socket.c:272:80: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 272 | syslog(BBFTPD_WARNING, "Unable to get send buffer size : %s\n",tcpwinsize,strerror(errno)); | ~~ ^~~~~~~~~~ | %d bbftpd_socket.c:272:91: warning: data argument not used by format string [-Wformat-extra-args] 272 | syslog(BBFTPD_WARNING, "Unable to get send buffer size : %s\n",tcpwinsize,strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ bbftpd_socket.c:281:83: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 281 | syslog(BBFTPD_WARNING, "Unable to get receive buffer size : %s\n",tcpwinsize,strerror(errno)); | ~~ ^~~~~~~~~~ | %d bbftpd_socket.c:281:94: warning: data argument not used by format string [-Wformat-extra-args] 281 | syslog(BBFTPD_WARNING, "Unable to get receive buffer size : %s\n",tcpwinsize,strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 4 warnings generated. bbftpd_signals.c:190:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 190 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_signals.c:190:35: note: treat the string as an argument to avoid this 190 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_signals.c:196:42: warning: format specifies type 'unsigned int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] 196 | sscanf(lastaccess,"%08x",&ftime.actime) ; | ~~~~ ^~~~~~~~~~~~~ | %8lx bbftpd_signals.c:197:41: warning: format specifies type 'unsigned int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] 197 | sscanf(lastmodif,"%08x",&ftime.modtime) ; | ~~~~ ^~~~~~~~~~~~~~ | %8lx bbftpd_signals.c:199:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 199 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_signals.c:199:39: note: treat the string as an argument to avoid this 199 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_signals.c:207:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 207 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_signals.c:207:39: note: treat the string as an argument to avoid this 207 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_signals.c:215:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 215 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_signals.c:215:39: note: treat the string as an argument to avoid this 215 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_signals.c:225:26: warning: address of 'tstart' will always evaluate to 'true' [-Wpointer-bool-conversion] 225 | } else if (&tstart) { | ~~ ^~~~~~ bbftpd_signals.c:237:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 237 | syslog(BBFTPD_NOTICE,logmessage); | ^~~~~~~~~~ bbftpd_signals.c:237:38: note: treat the string as an argument to avoid this 237 | syslog(BBFTPD_NOTICE,logmessage); | ^ | "%s", bbftpd_signals.c:243:19: warning: address of 'tstart' will always evaluate to 'true' [-Wpointer-bool-conversion] 243 | if (&tstart) { | ~~ ^~~~~~ bbftpd_signals.c:254:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 254 | syslog(BBFTPD_NOTICE,logmessage); | ^~~~~~~~~~ bbftpd_signals.c:254:38: note: treat the string as an argument to avoid this 254 | syslog(BBFTPD_NOTICE,logmessage); | ^ | "%s", bbftpd_signals.c:278:23: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | if ( fatherpid == getpid() ) { | ^ bbftpd_signals.c:285:32: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | if ( unlinkfile == 1 ) unlink(realfilename) ; | ^ 12 warnings generated. sendafile.c:172:21: warning: call to undeclared function 'readmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | if ( (retcode = readmessage(msgsock,receive_buffer,STORMESSLEN,recvcontrolto) ) < 0 ) { | ^ sendafile.c:224:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ sendafile.c:227:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | reply(MSG_BAD,logmessage) ; | ^ sendafile.c:237:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ sendafile.c:271:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ sendafile.c:273:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | reply(MSG_BAD,logmessage) ; | ^ sendafile.c:290:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | reply(MSG_BAD,logmessage) ; | ^ sendafile.c:308:10: warning: call to undeclared function 'writemessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { | ^ sendafile.c:376:24: warning: call to undeclared function 'createreceivesock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | sendsock = createreceivesock(msg_store->port[i-1],i,logmessage) ; | ^ sendafile.c:387:17: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | reply(MSG_BAD,logmessage) ; | ^ sendafile.c:389:13: warning: call to undeclared function 'clean_child'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | clean_child() ; | ^ sendafile.c:533:39: warning: call to undeclared function 'send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | retcode = send(sendsock,&readbuffer[nbsent],lentosend,0) ; | ^ sendafile.c:587:21: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | reply(MSG_BAD,logmessage) ; | ^ sendafile.c:589:17: warning: call to undeclared function 'clean_child'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 589 | clean_child() ; | ^ 14 warnings generated. storeafile.c:166:21: warning: call to undeclared function 'readmessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | if ( (retcode = readmessage(msgsock,receive_buffer,STORMESSLEN,recvcontrolto)) < 0 ) { | ^ storeafile.c:210:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ storeafile.c:219:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:229:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ storeafile.c:264:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ storeafile.c:266:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:275:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | reply(MSG_OK,"OK") ; | ^ storeafile.c:292:9: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:312:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ storeafile.c:314:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:327:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | reply(MSG_BAD_NO_RETRY,logmessage) ; | ^ storeafile.c:329:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:351:23: warning: call to undeclared function 'createreceivesock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | recsock = createreceivesock(msg_store->port[i-1],i,logmessage) ; | ^ storeafile.c:363:17: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:365:13: warning: call to undeclared function 'clean_child'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | clean_child() ; | ^ storeafile.c:523:35: warning: call to undeclared function 'recv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | retcode = recv(recsock,&data_buffer[dataonone],datatoreceive-dataonone,0) ; | ^ storeafile.c:600:18: warning: call to undeclared function 'writemessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | if ( writemessage(recsock,data_buffer,MINMESSLEN,sendcontrolto) < 0 ) { | ^ storeafile.c:624:21: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 624 | reply(MSG_BAD,logmessage) ; | ^ storeafile.c:626:17: warning: call to undeclared function 'clean_child'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 626 | clean_child() ; | ^ 19 warnings generated. bbftpd_retr.c:510:31: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] 510 | sprintf(lastaccess,"%08x",statbuf.st_atime) ; | ~~~~ ^~~~~~~~~~~~~~~~ | %08lx bbftpd_retr.c:511:30: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] 511 | sprintf(lastmodif,"%08x",statbuf.st_mtime) ; | ~~~~ ^~~~~~~~~~~~~~~~ | %08lx bbftpd_retr.c:629:24: warning: call to undeclared function 'bbftpd_createreceivesocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | sendsock = bbftpd_createreceivesocket(*portnumber,logmessage) ; | ^ bbftpd_retr.c:717:26: warning: call to undeclared function 'accept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 717 | if ( (ns = accept(sendsock,0,0) ) < 0 ) { | ^ bbftpd_retr.c:827:39: warning: call to undeclared function 'send'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 827 | retcode = send(ns,&readbuffer[nbsent],lentosend,0) ; | ^ 5 warnings generated. bbftpd_crypt.c:81:43: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations] 81 | if (e == NULL || (BN_set_word(e,3) && RSA_generate_key_ex(myrsa,NBITSINKEY,e,NULL)) == 0) { | ^ /usr/include/openssl/rsa.h:260:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ bbftpd_crypt.c:92:25: warning: 'RSA_get0_n' is deprecated [-Wdeprecated-declarations] 92 | lenkey = BN_bn2mpi(RSA_get0_n(myrsa),pubkey) ; | ^ /usr/include/openssl/rsa.h:232:1: note: 'RSA_get0_n' has been explicitly marked deprecated here 232 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ bbftpd_crypt.c:93:25: warning: 'RSA_get0_e' is deprecated [-Wdeprecated-declarations] 93 | lenexpo = BN_bn2mpi(RSA_get0_e(myrsa),pubexponent) ; | ^ /usr/include/openssl/rsa.h:233:1: note: 'RSA_get0_e' has been explicitly marked deprecated here 233 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ bbftpd_crypt.c:102:9: warning: call to undeclared function 'writemessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | if (writemessage(outcontrolsock,buf,MINMESSLEN,sendcontrolto) < 0 ) { | ^ bbftpd_crypt.c:144:15: warning: 'RSA_private_decrypt' is deprecated [-Wdeprecated-declarations] 144 | lenuser = RSA_private_decrypt(msg_rsa->numuser,msg_rsa->cryptuser,(unsigned char *)username,myrsa,RSA_PKCS1_OAEP_PADDING) ; | ^ /usr/include/openssl/rsa.h:290:1: note: 'RSA_private_decrypt' has been explicitly marked deprecated here 290 | OSSL_DEPRECATEDIN_3_0 | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ bbftpd_crypt.c:146:15: warning: 'RSA_private_decrypt' is deprecated [-Wdeprecated-declarations] 146 | lenpass = RSA_private_decrypt(msg_rsa->numpass,msg_rsa->cryptpass,(unsigned char *)password,myrsa,RSA_PKCS1_OAEP_PADDING) ; | ^ /usr/include/openssl/rsa.h:290:1: note: 'RSA_private_decrypt' has been explicitly marked deprecated here 290 | OSSL_DEPRECATEDIN_3_0 | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. bbftpd_store.c:748:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 748 | syslog(BBFTPD_NOTICE,statmessage); | ^~~~~~~~~~~ bbftpd_store.c:748:30: note: treat the string as an argument to avoid this 748 | syslog(BBFTPD_NOTICE,statmessage); | ^ | "%s", bbftpd_store.c:914:23: warning: call to undeclared function 'bbftpd_createreceivesocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 914 | recsock = bbftpd_createreceivesocket(*portnumber,logmessage) ; | ^ 2 warnings generated. bbftpd_readcontrol.c:189:32: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | oldumask = umask(0) ; | ^ bbftpd_readcontrol.c:242:31: warning: call to undeclared function 'bbftpd_rm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | retcode = bbftpd_rm(incontrolsock,msglen) ; | ^ bbftpd_readcontrol.c:248:31: warning: call to undeclared function 'bbftpd_stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | retcode = bbftpd_stat(incontrolsock,msglen) ; | ^ bbftpd_readcontrol.c:254:31: warning: call to undeclared function 'bbftpd_statfs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | retcode = bbftpd_statfs(incontrolsock,msglen) ; | ^ bbftpd_readcontrol.c:392:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 392 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:392:43: note: treat the string as an argument to avoid this 392 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:421:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 421 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:421:43: note: treat the string as an argument to avoid this 421 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:427:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 427 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:427:43: note: treat the string as an argument to avoid this 427 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:435:58: warning: format specifies type 'unsigned int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] 435 | sscanf(lastaccess,"%08x",&ftime.actime) ; | ~~~~ ^~~~~~~~~~~~~ | %8lx bbftpd_readcontrol.c:436:57: warning: format specifies type 'unsigned int *' but the argument has type 'time_t *' (aka 'long *') [-Wformat] 436 | sscanf(lastmodif,"%08x",&ftime.modtime) ; | ~~~~ ^~~~~~~~~~~~~~ | %8lx bbftpd_readcontrol.c:438:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 438 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:438:55: note: treat the string as an argument to avoid this 438 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:448:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 448 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:448:55: note: treat the string as an argument to avoid this 448 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:458:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 458 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:458:55: note: treat the string as an argument to avoid this 458 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:597:36: warning: call to undeclared function 'bbftpd_getdatasock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | if ( bbftpd_getdatasock(requestedstreamnumber) < 0 ) { | ^ bbftpd_readcontrol.c:663:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 663 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:663:43: note: treat the string as an argument to avoid this 663 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:669:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 669 | syslog(BBFTPD_ERR,logmessage) ; | ^~~~~~~~~~ bbftpd_readcontrol.c:669:43: note: treat the string as an argument to avoid this 669 | syslog(BBFTPD_ERR,logmessage) ; | ^ | "%s", bbftpd_readcontrol.c:793:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 793 | syslog(BBFTPD_NOTICE,statmessage); | ^~~~~~~~~~~ bbftpd_readcontrol.c:793:50: note: treat the string as an argument to avoid this 793 | syslog(BBFTPD_NOTICE,statmessage); | ^ | "%s", bbftpd_readcontrol.c:808:36: warning: call to undeclared function 'bbftpd_getdatasock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | if ( bbftpd_getdatasock(requestedstreamnumber) < 0 ) { | ^ bbftpd_readcontrol.c:557:29: warning: array index 8 is past the end of the array (that has type 'char[8]') [-Warray-bounds] 557 | msg_store_v2->lastaccess[8] = '0' ; | ^ ~ ../includes/structures.h:313:2: note: array 'lastaccess' declared here 313 | char lastaccess[8] ; /* last access in hexa form */ | ^ bbftpd_readcontrol.c:559:29: warning: array index 8 is past the end of the array (that has type 'char[8]') [-Warray-bounds] 559 | msg_store_v2->lastmodif[8] = '0' ; | ^ ~ ../includes/structures.h:314:2: note: array 'lastmodif' declared here 314 | char lastmodif[8] ; /* last modif in hexa form */ | ^ bbftpd_readcontrol.c:761:25: warning: array index 8 is past the end of the array (that has type 'char[8]') [-Warray-bounds] 761 | msg_store_v2->lastaccess[8] = '0' ; | ^ ~ ../includes/structures.h:313:2: note: array 'lastaccess' declared here 313 | char lastaccess[8] ; /* last access in hexa form */ | ^ bbftpd_readcontrol.c:763:25: warning: array index 8 is past the end of the array (that has type 'char[8]') [-Warray-bounds] 763 | msg_store_v2->lastmodif[8] = '0' ; | ^ ~ ../includes/structures.h:314:2: note: array 'lastmodif' declared here 314 | char lastmodif[8] ; /* last modif in hexa form */ | ^ 21 warnings generated. bbftpd.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 385 | main (argc,argv,envp) | ^ | int bbftpd.c:507:33: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | optarg[i] = toupper(optarg[i]) ; | ^ bbftpd.c:507:33: note: include the header or explicitly provide a declaration for 'toupper' bbftpd.c:641:30: warning: equality comparison result unused [-Wunused-comparison] 641 | bbftpdrcfile == NULL; | ~~~~~~~~~~~~~^~~~~~~ bbftpd.c:641:30: note: use '=' to turn this equality comparison into an assignment 641 | bbftpdrcfile == NULL; | ^~ | = bbftpd.c:797:9: warning: call to undeclared function 'do_daemon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 797 | do_daemon(argc, argv, envp); | ^ bbftpd.c:866:9: warning: call to undeclared function 'RAND_seed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 866 | RAND_seed(buffrand,NBITSINKEY) ; | ^ bbftpd.c:892:9: warning: call to undeclared function 'sendcrypt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 892 | sendcrypt() ; | ^ bbftpd.c:1042:22: warning: call to undeclared function 'loginsequence'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | if ( loginsequence() < 0 ) { | ^ bbftpd.c:1137:18: warning: call to undeclared function 'set_signals_v1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1137 | if ( set_signals_v1() < 0 ) { | ^ bbftpd.c:1149:18: warning: call to undeclared function 'readcontrol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1149 | if ( readcontrol(msg->code,msg->msglen) < 0 ) { | ^ bbftpd.c:1299:18: warning: call to undeclared function 'readcontrol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1299 | if ( readcontrol(msg->code,msg->msglen) < 0 ) { | ^ bbftpd.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | main (argc,argv,envp) | ^ 11 warnings generated. cc -o bbftpd bbftpd.o bbftpd_cd.o bbftpd_check.o bbftpd_crypt.o bbftpd_daemon.o bbftpd_list.o bbftpd_login.o bbftpd_message.o bbftpd_mkdir.o bbftpd_rm.o bbftpd_stat.o bbftpd_statfs.o bbftpd_readcontrol.o bbftpd_retr.o bbftpd_signals.o bbftpd_socket.o bbftpd_store.o bbftpd_utils.o changetodir.o createadir.o createreceivesock.o readcontrol.o sendafile.o sendlist.o signals_routines.o storeafile.o -lcrypt /usr/lib/libcrypto.so -lz =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for bbftp-server-3.2.1_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/bbftpd /wrkdirs/usr/ports/ftp/bbftp-server/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../doc/bbftpd.1 /wrkdirs/usr/ports/ftp/bbftp-server/work/stage/usr/local/share/man/man1 install -m 0644 /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../doc/ports /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../doc/stats /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../ChangeLog /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../README /wrkdirs/usr/ports/ftp/bbftp-server/work/bbftp-server-3.2.1/bbftpd/../TODO /wrkdirs/usr/ports/ftp/bbftp-server/work/stage/usr/local/share/doc/bbftp-server ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T00:50:13+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=80c342beccf6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for bbftp-server-3.2.1_2 ===> Building bbftp-server-3.2.1_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bbftp-server-3.2.1_2 build of ftp/bbftp-server | bbftp-server-3.2.1_2 ended at Thu Mar 12 20:50:25 EDT 2026 build time: 00:00:13