=>> Building www/htdump build started at Wed Apr 3 13:25:46 BST 2024 port directory: /usr/ports/www/htdump package name: htdump-0.9y 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 787 Mar 8 2023 /usr/ports/www/htdump/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---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/04/.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 htdump-0.9y: SSL=on: SSL protocol support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/www/htdump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/htdump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/htdump/work/.cache HOME=/wrkdirs/usr/ports/www/htdump/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/www/htdump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/htdump/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --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/www/htdump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/htdump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/htdump/work/.cache HOME=/wrkdirs/usr/ports/www/htdump/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/www/htdump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/htdump/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 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/htdump" EXAMPLESDIR="share/examples/htdump" DATADIR="share/htdump" WWWDIR="www/htdump" ETCDIR="etc/htdump" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/htdump DOCSDIR=/usr/local/share/doc/htdump EXAMPLESDIR=/usr/local/share/examples/htdump WWWDIR=/usr/local/www/htdump ETCDIR=/usr/local/etc/htdump --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 htdump 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 ===> htdump-0.9y 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 ===> htdump-0.9y depends on file: /usr/local/sbin/pkg - found ===> Returning to build of htdump-0.9y =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The htdump 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 htdump-0.9y for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The htdump 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 htdump-0.9y for building => SHA256 Checksum OK for htdump-0.9y.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 htdump 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 htdump-0.9y for building ===> Extracting for htdump-0.9y => SHA256 Checksum OK for htdump-0.9y.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 htdump-0.9y ===> Applying FreeBSD patches for htdump-0.9y from /usr/ports/www/htdump/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> htdump-0.9y 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 ===> htdump-0.9y depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of htdump-0.9y =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for htdump-0.9y =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for htdump-0.9y cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c usage.c -o usage.o cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c init.c -o init.o init.c:42:30: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_service, "80"); /* e.g. '8080' */ ^~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ init.c:43:30: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_command, "GET"); ^~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ init.c:68:20: warning: passing 'unsigned char *' 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] *Arg=malloc(strlen(NewValue)+1); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ init.c:76:8: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(*Arg, NewValue); ^~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ init.c:76:14: warning: passing 'unsigned char *' 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] strcpy(*Arg, NewValue); ^~~~~~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ init.c:101:12: warning: passing 'unsigned char *' 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] t=strlen(*Arg); /* Get size of old value */ ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ init.c:102:14: warning: passing 'unsigned char *' 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] t=t+strlen(NewValue)+1; /* Add size of new value plus 1 byte for '\0' */ ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ init.c:109:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(p, *Arg); /* Copy old value */ ^ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ init.c:109:13: warning: passing 'unsigned char *' 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] strcpy(p, *Arg); /* Copy old value */ ^~~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ init.c:110:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(p, NewValue); /* Add new value */ ^ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ init.c:110:13: warning: passing 'unsigned char *' 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] strcat(p, NewValue); /* Add new value */ ^~~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ init.c:172:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_command, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:176:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.post_content, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:177:44: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_command, "POST"); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:189:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.output_file, optarg); /* Filename specified */ ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:191:46: warning: passing 'char[1]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.output_file, ""); /* Extract filename from url */ ^~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:202:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_accept, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:213:23: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Cookie: %s\n", optarg); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ init.c:218:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_host, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:222:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_referer, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:226:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_from, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:230:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_range, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:234:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_agent, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:251:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.cookie_jar, optarg); ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue) ^ init.c:255:23: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "%s\n", optarg); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 25 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c read_headers.c -o read_headers.o read_headers.c:52:14: warning: passing 'unsigned char[255]' 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] if(strncmp(line, "HTTP", 4)==0) /* Get HTTP response code, usually '200 OK' */ ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ read_headers.c:53:31: warning: passing 'unsigned char *' 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] CONFIG.response_code=atoi(line+9); ^~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ read_headers.c:55:14: warning: passing 'unsigned char[255]' 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] if(strncmp(line, "Content-Length: ", 16)==0) /* Get content-length */ ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ read_headers.c:56:32: warning: passing 'unsigned char *' 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] CONFIG.content_length=atoi(line+16); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ read_headers.c:58:14: warning: passing 'unsigned char[255]' 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] if(strncmp(line, "Content-length: ", 16)==0) /* Netscape httpd is not conform RFC, so this is a workaround */ ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ read_headers.c:59:32: warning: passing 'unsigned char *' 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] CONFIG.content_length=atoi(line+16); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ read_headers.c:61:14: warning: passing 'unsigned char[255]' 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] if(strncmp(line, "Transfer-Encoding: chunked", 26)==0) /* See if we get a response in chunked encoding */ ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ read_headers.c:62:32: warning: passing 'unsigned char *' 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] CONFIG.content_length=atoi(line+16); ^~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ read_headers.c:67:14: warning: passing 'unsigned char[255]' 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] if(strncmp(line, "Set-Cookie: ", 12)==0) /* Woo, we got a cookie! :) */ ^~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 9 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o main.c:100:44: warning: passing 'unsigned char[2048]' 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] WriteSocket(socket, CONFIG.request, strlen(CONFIG.request)); /* socket.c */ ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ main.c:100:21: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] WriteSocket(socket, CONFIG.request, strlen(CONFIG.request)); /* socket.c */ ^~~~~~~~~~~~~~ ./global.h:63:53: note: passing argument to parameter 'Buffer' here unsigned int WriteSocket(unsigned int Socket, char *Buffer, unsigned int Length); ^ main.c:139:45: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] CONFIG.response_length=ReadSocket(socket, CONFIG.response, bytes_left); /* Start reading */ ^~~~~~~~~~~~~~~ ./global.h:62:52: note: passing argument to parameter 'Buffer' here unsigned int ReadSocket(unsigned int Socket, char *Buffer, unsigned int Length); ^ 3 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c enc_password.c -o enc_password.o enc_password.c:36:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=Encode_Base64(buffer); ^~~~~~~~~~~~~~~~~~~~~~ enc_password.c:41:22: warning: passing 'unsigned char *' 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] strcat(out_buffer, p); ^ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ enc_password.c:62:8: warning: returning 'unsigned char[5]' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return four; ^~~~ 3 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c mem2hex.c -o mem2hex.o mem2hex.c:25:29: warning: cast to smaller integer type 'unsigned int' from 'unsigned char *' [-Wpointer-to-int-cast] fprintf(stderr, "%8X | ", (unsigned int) p); /* Print memory address */ ^~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c delnchar.c -o delnchar.o cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c file.c -o file.o file.c:59:9: warning: passing 'unsigned char *' 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] if(stat(CONFIG.output_file, &output_stat)==0) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ file.c:63:27: warning: passing 'unsigned char *' 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] CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_APPEND, 0); /* Resume download */ ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ file.c:66:13: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(output_range, "%lu-", output_stat.st_size); ^~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ file.c:73:27: warning: passing 'unsigned char *' 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] CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_CREAT, 0); ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ file.c:79:25: warning: passing 'unsigned char *' 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] CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_CREAT, 0); ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ 5 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c arguments.c -o arguments.o arguments.c:57:32: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_service, "80"); ^~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:64:32: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_service, "443"); ^~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:80:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:81:31: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_path, "/"); ^~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:89:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_username, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:94:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:102:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_password, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:110:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_service, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:112:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:115:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.url_path, CONFIG.new_argv[0]); ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:125:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Encode_Password(CONFIG.url_username, ^~~~~~~~~~~~~~~~~~~ ./global.h:87:29: note: passing argument to parameter 'Username' here char *Encode_Password(char *Username, char *Password); /* enc_password.c */ ^ arguments.c:126:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] CONFIG.url_password ^~~~~~~~~~~~~~~~~~~ ./global.h:87:45: note: passing argument to parameter 'Password' here char *Encode_Password(char *Username, char *Password); /* enc_password.c */ ^ arguments.c:125:12: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] Encode_Password(CONFIG.url_username, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:139:36: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.output_file, "index.html"); ^~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:143:17: warning: passing 'unsigned char *' 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] p=strrchr(CONFIG.url_path, '/'); ^~~~~~~~~~~~~~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ arguments.c:143:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=strrchr(CONFIG.url_path, '/'); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arguments.c:178:9: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(CONFIG.request, "%s %s", CONFIG.hdr_command, CONFIG.url_path); ^~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:181:21: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 0: strcat(CONFIG.request, "\n"); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:183:21: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 1: strcat(CONFIG.request, " HTTP/1.0\n"); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:185:21: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 2: strcat(CONFIG.request, " HTTP/1.1\n"); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:193:13: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Host: %s\n", CONFIG.hdr_host); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:195:13: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Host: %s\n", CONFIG.url_host); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:196:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:196:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:201:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Authorization: Basic %s\n", CONFIG.url_b64_password); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:202:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:202:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:207:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Range: bytes=%s\n", CONFIG.hdr_range); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:208:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:208:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:213:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Accept: %s\n", CONFIG.hdr_accept); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:214:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:214:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:219:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "From: %s\n", CONFIG.hdr_from); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:220:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:220:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:225:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Referer: %s\n", CONFIG.hdr_referer); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:226:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:226:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:231:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, CONFIG.hdr_cookie); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:231:26: warning: passing 'unsigned char *' 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] strcat(CONFIG.request, CONFIG.hdr_cookie); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:235:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "User-Agent: %s\n", CONFIG.hdr_agent); ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:236:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:236:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:240:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, CONFIG.hdr_extra); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:240:26: warning: passing 'unsigned char *' 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] strcat(CONFIG.request, CONFIG.hdr_extra); ^~~~~~~~~~~~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:248:27: warning: passing 'unsigned char *' 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] ,strlen(CONFIG.post_content) ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ arguments.c:244:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer, "Content-type: application/x-www-form-urlencoded\n" ^~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:248:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] ,strlen(CONFIG.post_content) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arguments.c:251:10: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, buffer); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:251:26: warning: passing 'unsigned char[512]' 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] strcat(CONFIG.request, buffer); ^~~~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:252:32: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ArgCopy(&CONFIG.hdr_command, "POST"); ^~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here void ArgCopy(UCHAR **Arg, UCHAR *NewValue); ^ arguments.c:257:8: warning: passing 'unsigned char[2048]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(CONFIG.request, "\n"); ^~~~~~~~~~~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ arguments.c:290:9: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer1, "%s%s", CONFIG.url_host, CONFIG.url_path); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:292:10: warning: passing 'unsigned char *' 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] fp=fopen(CONFIG.cookie_jar, "r"); /* Open cookie jar */ ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ arguments.c:303:9: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets(buffer2, 512, fp); /* Get a line */ ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ arguments.c:311:18: warning: passing 'unsigned char[512]' 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] buffer2[strlen(buffer2)-1]='\0'; /* Remove newline */ ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ arguments.c:325:14: warning: passing 'unsigned char[512]' 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] if(strncmp(buffer1, buffer2, t)==0) ^~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ arguments.c:325:23: warning: passing 'unsigned char[512]' 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] if(strncmp(buffer1, buffer2, t)==0) ^~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ arguments.c:329:13: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer3, "Cookie: %s\n", &buffer2[t+1]); ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:371:10: warning: passing 'unsigned char *' 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] p=strstr(Cookie, ";PATH="); ^~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ arguments.c:371:2: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=strstr(Cookie, ";PATH="); ^~~~~~~~~~~~~~~~~~~~~~~~~ arguments.c:372:22: warning: passing 'unsigned char *' 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] if(p==NULL) p=strstr(Cookie, ";path="); /* Non-RFC complient fix *grrr* */ ^~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ arguments.c:372:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(p==NULL) p=strstr(Cookie, ";path="); /* Non-RFC complient fix *grrr* */ ^~~~~~~~~~~~~~~~~~~~~~~~~ arguments.c:380:4: warning: assigning to 'unsigned char *' from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p="/"; /* Or create one yourself */ ^~~~ arguments.c:385:9: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(buffer1, "%s%s %s\n", CONFIG.url_host, p, Cookie); /* Store the cookie */ ^~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ arguments.c:394:10: warning: passing 'unsigned char *' 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] fp=fopen(CONFIG.cookie_jar, "r"); /* Open cookie jar */ ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ arguments.c:402:12: warning: passing 'unsigned char *' 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] fp=fopen(CONFIG.cookie_jar, "w"); /* Creating new cookie jar */ ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ arguments.c:430:11: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets(buffer2, 512, fp); /* Get a line */ ^~~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ arguments.c:436:16: warning: passing 'unsigned char *' 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] fp=fopen(CONFIG.cookie_jar, "w"); /* Open cookie jar for writing */ ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ arguments.c:451:16: warning: passing 'unsigned char[512]' 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] if(strncmp(buffer1, buffer2, t)==0) continue; /* See if this is an old version of our new cookie */ ^~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ arguments.c:451:25: warning: passing 'unsigned char[512]' 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] if(strncmp(buffer1, buffer2, t)==0) continue; /* See if this is an old version of our new cookie */ ^~~~~~~ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 72 warnings generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c sgets.c -o sgets.o sgets.c:10:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] DelNBin(Buffer, RESPONSE_SIZE, 0, t); ^~~~~~ ./global.h:101:20: note: passing argument to parameter 'Buffer' here void DelNBin(char *Buffer, unsigned int Buffer_len, unsigned int Location, unsigned int Number); ^ 1 warning generated. cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -c socket-ssl.c In file included from socket-ssl.c:15: ./socket.c:35:4: warning: ---------------------------------- [-W#warnings] #warning ---------------------------------- ^ ./socket.c:36:4: warning: SSL ENABLED [-W#warnings] #warning SSL ENABLED ^ ./socket.c:37:4: warning: ---------------------------------- [-W#warnings] #warning ---------------------------------- ^ ./socket.c:92:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ssocket = ConnectSocket(CONFIG.url_host, CONFIG.url_service, "tcp"); /* See connect.c */ ^~~~~~~~~~~~~~~ ./socket.c:45:41: note: passing argument to parameter 'Host' here static unsigned int ConnectSocket(char *Host, char *Service, char *Protocol); ^ ./socket.c:92:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ssocket = ConnectSocket(CONFIG.url_host, CONFIG.url_service, "tcp"); /* See connect.c */ ^~~~~~~~~~~~~~~~~~ ./socket.c:45:53: note: passing argument to parameter 'Service' here static unsigned int ConnectSocket(char *Host, char *Service, char *Protocol); ^ 5 warnings generated. rm -f htdump cc -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o htdump usage.o init.o read_headers.o main.o enc_password.o mem2hex.o delnchar.o file.o arguments.o sgets.o socket-ssl.o -lssl -lcrypto =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> htdump-0.9y depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for htdump-0.9y ===> Generating temporary packing list (cd /wrkdirs/usr/ports/www/htdump/work/htdump-0.9y && install -s -m 555 htdump /wrkdirs/usr/ports/www/htdump/work/stage/usr/local/bin) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== 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-03T12:25:46+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' '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 htdump-0.9y ===> Building htdump-0.9y =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for htdump-0.9y build of www/htdump | htdump-0.9y ended at Wed Apr 3 13:25:54 BST 2024 build time: 00:00:09