=>> Building ftp/bbftp-server build started at Fri Apr 5 08:23:17 BST 2024 port directory: /usr/ports/ftp/bbftp-server package name: bbftp-server-3.2.1_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1060 Jan 11 20:37 /usr/ports/ftp/bbftp-server/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: a36cd930e2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 10 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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_1: 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/local --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/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=/ccache/libexec/ccache:/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=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> bbftp-server-3.2.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bbftp-server-3.2.1_1 =========================================================================== =================================================== ===== 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_1 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_1 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_1 for building ===> Extracting for bbftp-server-3.2.1_1 => 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_1 ===> Applying FreeBSD patches for bbftp-server-3.2.1_1 from /usr/ports/ftp/bbftp-server/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bbftp-server-3.2.1_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> bbftp-server-3.2.1_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of bbftp-server-3.2.1_1 ===> bbftp-server-3.2.1_1 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> bbftp-server-3.2.1_1 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of bbftp-server-3.2.1_1 =========================================================================== =================================================== ===== 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_1 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-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 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/local/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_1 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd.o bbftpd.c bbftpd.c:385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc,argv,envp) ^ bbftpd.c:507:33: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration] 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] bbftpdrcfile == NULL; ~~~~~~~~~~~~~^~~~~~~ bbftpd.c:641:30: note: use '=' to turn this equality comparison into an assignment bbftpdrcfile == NULL; ^~ = bbftpd.c:797:9: warning: implicit declaration of function 'do_daemon' is invalid in C99 [-Wimplicit-function-declaration] do_daemon(argc, argv, envp); ^ bbftpd.c:866:9: warning: implicit declaration of function 'RAND_seed' is invalid in C99 [-Wimplicit-function-declaration] RAND_seed(buffrand,NBITSINKEY) ; ^ bbftpd.c:892:9: warning: implicit declaration of function 'sendcrypt' is invalid in C99 [-Wimplicit-function-declaration] sendcrypt() ; ^ bbftpd.c:1042:22: warning: implicit declaration of function 'loginsequence' is invalid in C99 [-Wimplicit-function-declaration] if ( loginsequence() < 0 ) { ^ bbftpd.c:1137:18: warning: implicit declaration of function 'set_signals_v1' is invalid in C99 [-Wimplicit-function-declaration] if ( set_signals_v1() < 0 ) { ^ bbftpd.c:1149:18: warning: implicit declaration of function 'readcontrol' is invalid in C99 [-Wimplicit-function-declaration] if ( readcontrol(msg->code,msg->msglen) < 0 ) { ^ bbftpd.c:1299:18: warning: implicit declaration of function 'readcontrol' is invalid in C99 [-Wimplicit-function-declaration] if ( readcontrol(msg->code,msg->msglen) < 0 ) { ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_cd.o bbftpd_cd.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_check.o bbftpd_check.c 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] if (getsockname(sock,(struct sockaddr *)&server, &addrlen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here 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] if (getpeername(ns, (struct sockaddr *) &his_addr, &addrlen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:690:74: note: passing argument to parameter here 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] if (getsockname(ns, (struct sockaddr *) &ctrl_addr, &addrlen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_crypt.o bbftpd_crypt.c bbftpd_crypt.c:81:43: warning: 'RSA_generate_key_ex' is deprecated [-Wdeprecated-declarations] if (e == NULL || (BN_set_word(e,3) && RSA_generate_key_ex(myrsa,NBITSINKEY,e,NULL)) == 0) { ^ /usr/local/include/openssl/rsa.h:260:1: note: 'RSA_generate_key_ex' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ bbftpd_crypt.c:92:25: warning: 'RSA_get0_n' is deprecated [-Wdeprecated-declarations] lenkey = BN_bn2mpi(RSA_get0_n(myrsa),pubkey) ; ^ /usr/local/include/openssl/rsa.h:232:1: note: 'RSA_get0_n' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ bbftpd_crypt.c:93:25: warning: 'RSA_get0_e' is deprecated [-Wdeprecated-declarations] lenexpo = BN_bn2mpi(RSA_get0_e(myrsa),pubexponent) ; ^ /usr/local/include/openssl/rsa.h:233:1: note: 'RSA_get0_e' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ bbftpd_crypt.c:102:9: warning: implicit declaration of function 'writemessage' is invalid in C99 [-Wimplicit-function-declaration] if (writemessage(outcontrolsock,buf,MINMESSLEN,sendcontrolto) < 0 ) { ^ bbftpd_crypt.c:144:15: warning: 'RSA_private_decrypt' is deprecated [-Wdeprecated-declarations] lenuser = RSA_private_decrypt(msg_rsa->numuser,msg_rsa->cryptuser,(unsigned char *)username,myrsa,RSA_PKCS1_OAEP_PADDING) ; ^ /usr/local/include/openssl/rsa.h:290:1: note: 'RSA_private_decrypt' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ bbftpd_crypt.c:146:15: warning: 'RSA_private_decrypt' is deprecated [-Wdeprecated-declarations] lenpass = RSA_private_decrypt(msg_rsa->numpass,msg_rsa->cryptpass,(unsigned char *)password,myrsa,RSA_PKCS1_OAEP_PADDING) ; ^ /usr/local/include/openssl/rsa.h:290:1: note: 'RSA_private_decrypt' has been explicitly marked deprecated here OSSL_DEPRECATEDIN_3_0 ^ /usr/local/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) ^ /usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' # define OSSL_DEPRECATED(since) __attribute__((deprecated)) ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_daemon.o bbftpd_daemon.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_list.o bbftpd_list.c bbftpd_list.c:84:13: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] FREE(filelist) ; ^ ../includes/common.h:95:33: note: expanded from macro 'FREE' #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' #define FREE(X) if(X != NULL) { free(X), X=NULL;} ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_login.o bbftpd_login.c bbftpd_login.c:185:18: warning: implicit declaration of function 'decodersapass' is invalid in C99 [-Wimplicit-function-declaration] 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] strncpy(username, msg_rsa->cryptuser, strlen(msg_rsa->cryptuser)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strncpy(username, msg_rsa->cryptuser, strlen(msg_rsa->cryptuser)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here 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] username[strlen(msg_rsa->cryptuser)]='\0'; ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strncpy(password, msg_rsa->cryptpass, strlen(msg_rsa->cryptpass)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here 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] strncpy(password, msg_rsa->cryptpass, strlen(msg_rsa->cryptpass)); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here 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] password[strlen(msg_rsa->cryptpass)]='\0'; ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ bbftpd_login.c:375:7: warning: implicit declaration of function 'endgrent' is invalid in C99 [-Wimplicit-function-declaration] endgrent(); ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_message.o bbftpd_message.c bbftpd_message.c:150:23: warning: implicit declaration of function 'recv' is invalid in C99 [-Wimplicit-function-declaration] retcode = recv(sock,buffer,sizeof(buffer),0) ; ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_mkdir.o bbftpd_mkdir.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_rm.o bbftpd_rm.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_stat.o bbftpd_stat.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_statfs.o bbftpd_statfs.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_readcontrol.o bbftpd_readcontrol.c bbftpd_readcontrol.c:189:32: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration] oldumask = umask(0) ; ^ bbftpd_readcontrol.c:242:31: warning: implicit declaration of function 'bbftpd_rm' is invalid in C99 [-Wimplicit-function-declaration] retcode = bbftpd_rm(incontrolsock,msglen) ; ^ bbftpd_readcontrol.c:248:31: warning: implicit declaration of function 'bbftpd_stat' is invalid in C99 [-Wimplicit-function-declaration] retcode = bbftpd_stat(incontrolsock,msglen) ; ^ bbftpd_readcontrol.c:254:31: warning: implicit declaration of function 'bbftpd_statfs' is invalid in C99 [-Wimplicit-function-declaration] retcode = bbftpd_statfs(incontrolsock,msglen) ; ^ bbftpd_readcontrol.c:392:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:392:43: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:421:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:421:43: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:427:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:427:43: note: treat the string as an argument to avoid this 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] 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] sscanf(lastmodif,"%08x",&ftime.modtime) ; ~~~~ ^~~~~~~~~~~~~~ %8lx bbftpd_readcontrol.c:438:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:438:55: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:448:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:448:55: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:458:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:458:55: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:597:36: warning: implicit declaration of function 'bbftpd_getdatasock' is invalid in C99 [-Wimplicit-function-declaration] if ( bbftpd_getdatasock(requestedstreamnumber) < 0 ) { ^ bbftpd_readcontrol.c:663:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:663:43: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:669:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_readcontrol.c:669:43: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_readcontrol.c:793:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_NOTICE,statmessage); ^~~~~~~~~~~ bbftpd_readcontrol.c:793:50: note: treat the string as an argument to avoid this syslog(BBFTPD_NOTICE,statmessage); ^ "%s", bbftpd_readcontrol.c:808:36: warning: implicit declaration of function 'bbftpd_getdatasock' is invalid in C99 [-Wimplicit-function-declaration] if ( bbftpd_getdatasock(requestedstreamnumber) < 0 ) { ^ bbftpd_readcontrol.c:557:29: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] msg_store_v2->lastaccess[8] = '0' ; ^ ~ ../includes/structures.h:313:2: note: array 'lastaccess' declared here char lastaccess[8] ; /* last access in hexa form */ ^ bbftpd_readcontrol.c:559:29: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] msg_store_v2->lastmodif[8] = '0' ; ^ ~ ../includes/structures.h:314:2: note: array 'lastmodif' declared here char lastmodif[8] ; /* last modif in hexa form */ ^ bbftpd_readcontrol.c:761:25: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] msg_store_v2->lastaccess[8] = '0' ; ^ ~ ../includes/structures.h:313:2: note: array 'lastaccess' declared here char lastaccess[8] ; /* last access in hexa form */ ^ bbftpd_readcontrol.c:763:25: warning: array index 8 is past the end of the array (which contains 8 elements) [-Warray-bounds] msg_store_v2->lastmodif[8] = '0' ; ^ ~ ../includes/structures.h:314:2: note: array 'lastmodif' declared here char lastmodif[8] ; /* last modif in hexa form */ ^ 21 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_retr.o bbftpd_retr.c bbftpd_retr.c:510:31: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] 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] sprintf(lastmodif,"%08x",statbuf.st_mtime) ; ~~~~ ^~~~~~~~~~~~~~~~ %08lx bbftpd_retr.c:629:24: warning: implicit declaration of function 'bbftpd_createreceivesocket' is invalid in C99 [-Wimplicit-function-declaration] sendsock = bbftpd_createreceivesocket(*portnumber,logmessage) ; ^ bbftpd_retr.c:717:26: warning: implicit declaration of function 'accept' is invalid in C99 [-Wimplicit-function-declaration] if ( (ns = accept(sendsock,0,0) ) < 0 ) { ^ bbftpd_retr.c:827:39: warning: implicit declaration of function 'send' is invalid in C99 [-Wimplicit-function-declaration] retcode = send(ns,&readbuffer[nbsent],lentosend,0) ; ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_signals.o bbftpd_signals.c bbftpd_signals.c:190:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_signals.c:190:35: note: treat the string as an argument to avoid this 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] 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] sscanf(lastmodif,"%08x",&ftime.modtime) ; ~~~~ ^~~~~~~~~~~~~~ %8lx bbftpd_signals.c:199:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_signals.c:199:39: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_signals.c:207:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_signals.c:207:39: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_signals.c:215:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_ERR,logmessage) ; ^~~~~~~~~~ bbftpd_signals.c:215:39: note: treat the string as an argument to avoid this syslog(BBFTPD_ERR,logmessage) ; ^ "%s", bbftpd_signals.c:225:26: warning: address of 'tstart' will always evaluate to 'true' [-Wpointer-bool-conversion] } else if (&tstart) { ~~ ^~~~~~ bbftpd_signals.c:237:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_NOTICE,logmessage); ^~~~~~~~~~ bbftpd_signals.c:237:38: note: treat the string as an argument to avoid this syslog(BBFTPD_NOTICE,logmessage); ^ "%s", bbftpd_signals.c:243:19: warning: address of 'tstart' will always evaluate to 'true' [-Wpointer-bool-conversion] if (&tstart) { ~~ ^~~~~~ bbftpd_signals.c:254:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_NOTICE,logmessage); ^~~~~~~~~~ bbftpd_signals.c:254:38: note: treat the string as an argument to avoid this syslog(BBFTPD_NOTICE,logmessage); ^ "%s", bbftpd_signals.c:278:23: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] if ( fatherpid == getpid() ) { ^ bbftpd_signals.c:285:32: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if ( unlinkfile == 1 ) unlink(realfilename) ; ^ 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_socket.o bbftpd_socket.c bbftpd_socket.c:272:80: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 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] 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] 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] syslog(BBFTPD_WARNING, "Unable to get receive buffer size : %s\n",tcpwinsize,strerror(errno)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_store.o bbftpd_store.c bbftpd_store.c:748:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(BBFTPD_NOTICE,statmessage); ^~~~~~~~~~~ bbftpd_store.c:748:30: note: treat the string as an argument to avoid this syslog(BBFTPD_NOTICE,statmessage); ^ "%s", bbftpd_store.c:914:23: warning: implicit declaration of function 'bbftpd_createreceivesocket' is invalid in C99 [-Wimplicit-function-declaration] recsock = bbftpd_createreceivesocket(*portnumber,logmessage) ; ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o bbftpd_utils.o bbftpd_utils.c bbftpd_utils.c:79:9: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(curfilename) ; ^ bbftpd_utils.c:79:9: note: include the header or explicitly provide a declaration for 'free' 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o changetodir.o changetodir.c changetodir.c:72:74: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog(BBFTPD_ERR,"Message to big in changetodir (%d,%d)",msglen,MAXMESSLEN) ; ~~ ^~~~~~~~~~ %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' #define MAXMESSLEN STORMESSLEN ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' #define STORMESSLEN sizeof(STORMESS) ^~~~~~~~~~~~~~~~ changetodir.c:73:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,"Directory too long") ; ^ changetodir.c:79:10: warning: implicit declaration of function 'readmessage' is invalid in C99 [-Wimplicit-function-declaration] if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { ^ changetodir.c:101:79: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] 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: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ changetodir.c:119:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ changetodir.c:128:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ changetodir.c:132:13: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(currentdir) ; ^ changetodir.c:132:13: note: include the header or explicitly provide a declaration for 'free' changetodir.c:135:5: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_OK,logmessage) ; ^ 9 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o createadir.o createadir.c createadir.c:74:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog(BBFTPD_ERR,"Message to big in createdir (%d,%d)",msglen,MAXMESSLEN) ; ~~ ^~~~~~~~~~ %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' #define MAXMESSLEN STORMESSLEN ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' #define STORMESSLEN sizeof(STORMESS) ^~~~~~~~~~~~~~~~ createadir.c:75:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,"Directory too long") ; ^ createadir.c:81:10: warning: implicit declaration of function 'readmessage' is invalid in C99 [-Wimplicit-function-declaration] if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { ^ createadir.c:103:78: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] 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: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ createadir.c:129:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ createadir.c:133:5: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_OK,"OK") ; ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o createreceivesock.o createreceivesock.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o readcontrol.o readcontrol.c readcontrol.c:106:31: warning: implicit declaration of function 'storeafile' is invalid in C99 [-Wimplicit-function-declaration] retcode = storeafile(msgcode) ; ^ readcontrol.c:122:31: warning: implicit declaration of function 'sendafile' is invalid in C99 [-Wimplicit-function-declaration] retcode = sendafile(msgcode) ; ^ readcontrol.c:142:21: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,"Retreive RFIO not supported") ; ^ readcontrol.c:149:31: warning: implicit declaration of function 'createadir' is invalid in C99 [-Wimplicit-function-declaration] retcode = createadir(msgcode,msglen) ; ^ readcontrol.c:153:31: warning: implicit declaration of function 'changetodir' is invalid in C99 [-Wimplicit-function-declaration] retcode = changetodir(msgcode,msglen) ; ^ readcontrol.c:157:31: warning: implicit declaration of function 'sendlist' is invalid in C99 [-Wimplicit-function-declaration] retcode = sendlist(msgcode,msglen) ; ^ readcontrol.c:162:31: warning: implicit declaration of function 'discardmessage' is invalid in C99 [-Wimplicit-function-declaration] retcode = discardmessage(msgsock,msglen,recvcontrolto) ; ^ readcontrol.c:163:21: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,"Unkown message in logged state") ; ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o sendafile.o sendafile.c sendafile.c:172:21: warning: implicit declaration of function 'readmessage' is invalid in C99 [-Wimplicit-function-declaration] if ( (retcode = readmessage(msgsock,receive_buffer,STORMESSLEN,recvcontrolto) ) < 0 ) { ^ sendafile.c:224:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ sendafile.c:227:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendafile.c:237:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ sendafile.c:271:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ sendafile.c:273:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendafile.c:290:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendafile.c:308:10: warning: implicit declaration of function 'writemessage' is invalid in C99 [-Wimplicit-function-declaration] if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { ^ sendafile.c:376:24: warning: implicit declaration of function 'createreceivesock' is invalid in C99 [-Wimplicit-function-declaration] sendsock = createreceivesock(msg_store->port[i-1],i,logmessage) ; ^ sendafile.c:387:17: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendafile.c:389:13: warning: implicit declaration of function 'clean_child' is invalid in C99 [-Wimplicit-function-declaration] clean_child() ; ^ sendafile.c:533:39: warning: implicit declaration of function 'send' is invalid in C99 [-Wimplicit-function-declaration] retcode = send(sendsock,&readbuffer[nbsent],lentosend,0) ; ^ sendafile.c:587:21: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendafile.c:589:17: warning: implicit declaration of function 'clean_child' is invalid in C99 [-Wimplicit-function-declaration] clean_child() ; ^ 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o sendlist.o sendlist.c sendlist.c:84:71: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog(BBFTPD_ERR,"Message to big in sendlist (%d,%d)",msglen,MAXMESSLEN) ; ~~ ^~~~~~~~~~ %lu ../includes/structures.h:196:20: note: expanded from macro 'MAXMESSLEN' #define MAXMESSLEN STORMESSLEN ^~~~~~~~~~~ ../includes/structures.h:192:21: note: expanded from macro 'STORMESSLEN' #define STORMESSLEN sizeof(STORMESS) ^~~~~~~~~~~~~~~~ sendlist.c:85:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,"String too long") ; ^ sendlist.c:91:10: warning: implicit declaration of function 'readmessage' is invalid in C99 [-Wimplicit-function-declaration] if ( readmessage(msgsock,receive_buffer,msglen,recvcontrolto) < 0 ) { ^ sendlist.c:116:18: warning: implicit declaration of function 'writemessage' is invalid in C99 [-Wimplicit-function-declaration] if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { ^ sendlist.c:124:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ sendlist.c:144:14: warning: implicit declaration of function 'writemessage' is invalid in C99 [-Wimplicit-function-declaration] if ( writemessage(msgsock,send_buffer,MINMESSLEN,recvcontrolto) < 0 ) { ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o signals_routines.o signals_routines.c signals_routines.c:144:48: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if ( unlinkfile == 1 ) unlink(currentfilename) ; ^ signals_routines.c:192:23: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] if ( fatherpid == getpid() ) { ^ signals_routines.c:199:32: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if ( unlinkfile == 1 ) unlink(currentfilename) ; ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -I../includes -I./ -I/usr/local/include -c -o storeafile.o storeafile.c storeafile.c:166:21: warning: implicit declaration of function 'readmessage' is invalid in C99 [-Wimplicit-function-declaration] if ( (retcode = readmessage(msgsock,receive_buffer,STORMESSLEN,recvcontrolto)) < 0 ) { ^ storeafile.c:210:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ storeafile.c:219:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:229:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ storeafile.c:264:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ storeafile.c:266:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:275:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_OK,"OK") ; ^ storeafile.c:292:9: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:312:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ storeafile.c:314:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:327:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD_NO_RETRY,logmessage) ; ^ storeafile.c:329:13: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:351:23: warning: implicit declaration of function 'createreceivesock' is invalid in C99 [-Wimplicit-function-declaration] recsock = createreceivesock(msg_store->port[i-1],i,logmessage) ; ^ storeafile.c:363:17: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:365:13: warning: implicit declaration of function 'clean_child' is invalid in C99 [-Wimplicit-function-declaration] clean_child() ; ^ storeafile.c:523:35: warning: implicit declaration of function 'recv' is invalid in C99 [-Wimplicit-function-declaration] retcode = recv(recsock,&data_buffer[dataonone],datatoreceive-dataonone,0) ; ^ storeafile.c:600:18: warning: implicit declaration of function 'writemessage' is invalid in C99 [-Wimplicit-function-declaration] if ( writemessage(recsock,data_buffer,MINMESSLEN,sendcontrolto) < 0 ) { ^ storeafile.c:624:21: warning: implicit declaration of function 'reply' is invalid in C99 [-Wimplicit-function-declaration] reply(MSG_BAD,logmessage) ; ^ storeafile.c:626:17: warning: implicit declaration of function 'clean_child' is invalid in C99 [-Wimplicit-function-declaration] clean_child() ; ^ 19 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 -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt /usr/local/lib/libcrypto.so -lz =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bbftp-server-3.2.1_1 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for bbftp-server-3.2.1_1 ===> 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=2024-04-05T07:23:23+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=a36cd930e2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for bbftp-server-3.2.1_1 ===> Building bbftp-server-3.2.1_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bbftp-server-3.2.1_1 build of ftp/bbftp-server | bbftp-server-3.2.1_1 ended at Fri Apr 5 10:01:21 BST 2024 build time: 01:38:39