=>> Building www/htdump build started at Wed Oct 1 23:29:12 EDT 2025 port directory: /usr/ports/www/htdump package name: htdump-0.9y building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 787 Aug 27 2024 /usr/ports/www/htdump/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for 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=/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 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/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=/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/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The 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-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.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/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> htdump-0.9y depends on file: /usr/local/bin/ccache - 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 --- 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 --- --- usage.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c usage.c -o usage.o --- init.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c init.c -o init.o --- read_headers.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c read_headers.c -o read_headers.o --- main.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o --- enc_password.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c enc_password.c -o enc_password.o --- mem2hex.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c mem2hex.c -o mem2hex.o --- delnchar.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c delnchar.c -o delnchar.o --- file.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c file.c -o file.o --- arguments.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c arguments.c -o arguments.o --- sgets.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c sgets.c -o sgets.o --- socket-ssl.o --- cc -O2 -pipe -I/usr/include -fstack-protector-strong -fno-strict-aliasing -c socket-ssl.c --- usage.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] 52 | if(strncmp(line, "HTTP", 4)==0) /* Get HTTP response code, usually '200 OK' */ | ^~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 53 | CONFIG.response_code=atoi(line+9); | ^~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | int atoi(const char *); | ^ --- mem2hex.o --- mem2hex.c:25:29: warning: cast to smaller integer type 'unsigned int' from 'unsigned char *' [-Wpointer-to-int-cast] 25 | fprintf(stderr, "%8X | ", (unsigned int) p); /* Print memory address */ | ^~~~~~~~~~~~~~~~ 1 warning generated. --- 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] 36 | 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] 41 | strcat(out_buffer, p); | ^ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 62 | return four; | ^~~~ 3 warnings generated. --- read_headers.o --- 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] 55 | if(strncmp(line, "Content-Length: ", 16)==0) /* Get content-length */ | ^~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 56 | CONFIG.content_length=atoi(line+16); | ^~~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | 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] 58 | if(strncmp(line, "Content-length: ", 16)==0) /* Netscape httpd is not conform RFC, so this is a workaround */ | ^~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 59 | CONFIG.content_length=atoi(line+16); | ^~~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | 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] 61 | if(strncmp(line, "Transfer-Encoding: chunked", 26)==0) /* See if we get a response in chunked encoding */ | ^~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 62 | CONFIG.content_length=atoi(line+16); | ^~~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | 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] 67 | if(strncmp(line, "Set-Cookie: ", 12)==0) /* Woo, we got a cookie! :) */ | ^~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ 9 warnings generated. --- 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] 42 | ArgCopy(&CONFIG.url_service, "80"); /* e.g. '8080' */ | ^~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 43 | ArgCopy(&CONFIG.hdr_command, "GET"); | ^~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | void ArgCopy(UCHAR **Arg, UCHAR *NewValue); | ^ --- 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] 59 | if(stat(CONFIG.output_file, &output_stat)==0) | ^~~~~~~~~~~~~~~~~~ /usr/include/sys/stat.h:396:33: note: passing argument to parameter here 396 | 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] 63 | CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_APPEND, 0); /* Resume download */ | ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ --- init.o --- 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] 68 | *Arg=malloc(strlen(NewValue)+1); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 76 | strcpy(*Arg, NewValue); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ --- file.o --- 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] 66 | sprintf(output_range, "%lu-", output_stat.st_size); | ^~~~~~~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 73 | CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_CREAT, 0); | ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ --- init.o --- 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] 76 | strcpy(*Arg, NewValue); | ^~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | 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] 101 | t=strlen(*Arg); /* Get size of old value */ | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ --- file.o --- 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] 79 | CONFIG.output_fd=open(CONFIG.output_file, O_WRONLY|O_CREAT, 0); | ^~~~~~~~~~~~~~~~~~ /usr/include/fcntl.h:406:22: note: passing argument to parameter here 406 | int open(const char *, int, ...); | ^ 5 warnings generated. --- init.o --- 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] 102 | t=t+strlen(NewValue)+1; /* Add size of new value plus 1 byte for '\0' */ | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 109 | strcpy(p, *Arg); /* Copy old value */ | ^ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | 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] 109 | strcpy(p, *Arg); /* Copy old value */ | ^~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | 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] 110 | strcat(p, NewValue); /* Add new value */ | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 110 | strcat(p, NewValue); /* Add new value */ | ^~~~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 172 | ArgCopy(&CONFIG.hdr_command, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 176 | ArgCopy(&CONFIG.post_content, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 177 | ArgCopy(&CONFIG.hdr_command, "POST"); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 189 | ArgCopy(&CONFIG.output_file, optarg); /* Filename specified */ | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 191 | ArgCopy(&CONFIG.output_file, ""); /* Extract filename from url */ | ^~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 202 | ArgCopy(&CONFIG.hdr_accept, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 213 | sprintf(buffer, "Cookie: %s\n", optarg); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 218 | ArgCopy(&CONFIG.hdr_host, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 222 | ArgCopy(&CONFIG.hdr_referer, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 226 | ArgCopy(&CONFIG.hdr_from, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 230 | ArgCopy(&CONFIG.hdr_range, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 234 | ArgCopy(&CONFIG.hdr_agent, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 251 | ArgCopy(&CONFIG.cookie_jar, optarg); | ^~~~~~ init.c:64:34: note: passing argument to parameter 'NewValue' here 64 | 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] 255 | sprintf(buffer, "%s\n", optarg); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ 25 warnings generated. --- file.o --- --- init.o --- --- delnchar.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] 100 | WriteSocket(socket, CONFIG.request, strlen(CONFIG.request)); /* socket.c */ | ^~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 100 | WriteSocket(socket, CONFIG.request, strlen(CONFIG.request)); /* socket.c */ | ^~~~~~~~~~~~~~ ./global.h:63:53: note: passing argument to parameter 'Buffer' here 63 | 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] 139 | CONFIG.response_length=ReadSocket(socket, CONFIG.response, bytes_left); /* Start reading */ | ^~~~~~~~~~~~~~~ ./global.h:62:52: note: passing argument to parameter 'Buffer' here 62 | unsigned int ReadSocket(unsigned int Socket, char *Buffer, unsigned int Length); | ^ 3 warnings generated. --- 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] 10 | DelNBin(Buffer, RESPONSE_SIZE, 0, t); | ^~~~~~ ./global.h:101:20: note: passing argument to parameter 'Buffer' here 101 | void DelNBin(char *Buffer, unsigned int Buffer_len, unsigned int Location, unsigned int Number); | ^ 1 warning generated. --- 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] 57 | ArgCopy(&CONFIG.url_service, "80"); | ^~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 64 | ArgCopy(&CONFIG.url_service, "443"); | ^~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 80 | ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 81 | ArgCopy(&CONFIG.url_path, "/"); | ^~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 89 | ArgCopy(&CONFIG.url_username, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 94 | ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 102 | ArgCopy(&CONFIG.url_password, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 110 | ArgCopy(&CONFIG.url_service, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 112 | ArgCopy(&CONFIG.url_host, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 115 | ArgCopy(&CONFIG.url_path, CONFIG.new_argv[0]); | ^~~~~~~~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 125 | Encode_Password(CONFIG.url_username, | ^~~~~~~~~~~~~~~~~~~ ./global.h:87:29: note: passing argument to parameter 'Username' here 87 | 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] 126 | CONFIG.url_password | ^~~~~~~~~~~~~~~~~~~ ./global.h:87:45: note: passing argument to parameter 'Password' here 87 | 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] 125 | Encode_Password(CONFIG.url_username, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | CONFIG.url_password | ~~~~~~~~~~~~~~~~~~~ 127 | )); | ~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 139 | ArgCopy(&CONFIG.output_file, "index.html"); | ^~~~~~~~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 143 | p=strrchr(CONFIG.url_path, '/'); | ^~~~~~~~~~~~~~~ /usr/include/string.h:128:27: note: passing argument to parameter here 128 | 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] 143 | 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] 178 | sprintf(CONFIG.request, "%s %s", CONFIG.hdr_command, CONFIG.url_path); | ^~~~~~~~~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 181 | case 0: strcat(CONFIG.request, "\n"); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 183 | case 1: strcat(CONFIG.request, " HTTP/1.0\n"); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 185 | case 2: strcat(CONFIG.request, " HTTP/1.1\n"); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 193 | sprintf(buffer, "Host: %s\n", CONFIG.hdr_host); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 195 | sprintf(buffer, "Host: %s\n", CONFIG.url_host); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 196 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 196 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 201 | sprintf(buffer, "Authorization: Basic %s\n", CONFIG.url_b64_password); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 202 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 202 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 207 | sprintf(buffer, "Range: bytes=%s\n", CONFIG.hdr_range); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 208 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 208 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 213 | sprintf(buffer, "Accept: %s\n", CONFIG.hdr_accept); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 214 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 214 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 219 | sprintf(buffer, "From: %s\n", CONFIG.hdr_from); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 220 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 220 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 225 | sprintf(buffer, "Referer: %s\n", CONFIG.hdr_referer); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 226 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 226 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 231 | strcat(CONFIG.request, CONFIG.hdr_cookie); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 231 | strcat(CONFIG.request, CONFIG.hdr_cookie); | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 235 | sprintf(buffer, "User-Agent: %s\n", CONFIG.hdr_agent); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 236 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 236 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 240 | strcat(CONFIG.request, CONFIG.hdr_extra); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 240 | strcat(CONFIG.request, CONFIG.hdr_extra); | ^~~~~~~~~~~~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 248 | ,strlen(CONFIG.post_content) | ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 244 | sprintf(buffer, "Content-type: application/x-www-form-urlencoded\n" | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 245 | "Content-length: %u\n" | ~~ | %lu 246 | "\n" 247 | "%s" 248 | ,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] 251 | strcat(CONFIG.request, buffer); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 251 | strcat(CONFIG.request, buffer); | ^~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | 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] 252 | ArgCopy(&CONFIG.hdr_command, "POST"); | ^~~~~~ ./global.h:74:34: note: passing argument to parameter 'NewValue' here 74 | 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] 257 | strcat(CONFIG.request, "\n"); | ^~~~~~~~~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | 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] 290 | sprintf(buffer1, "%s%s", CONFIG.url_host, CONFIG.url_path); | ^~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 292 | fp=fopen(CONFIG.cookie_jar, "r"); /* Open cookie jar */ | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:36: note: passing argument to parameter here 274 | 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] 303 | fgets(buffer2, 512, fp); /* Get a line */ | ^~~~~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | 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] 311 | buffer2[strlen(buffer2)-1]='\0'; /* Remove newline */ | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | 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] 325 | if(strncmp(buffer1, buffer2, t)==0) | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 325 | if(strncmp(buffer1, buffer2, t)==0) | ^~~~~~~ /usr/include/string.h:116:40: note: passing argument to parameter here 116 | 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] 329 | sprintf(buffer3, "Cookie: %s\n", &buffer2[t+1]); | ^~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 371 | p=strstr(Cookie, ";PATH="); | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | 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] 371 | 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] 372 | if(p==NULL) p=strstr(Cookie, ";path="); /* Non-RFC complient fix *grrr* */ | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | 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] 372 | 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] 380 | 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] 385 | sprintf(buffer1, "%s%s %s\n", CONFIG.url_host, p, Cookie); /* Store the cookie */ | ^~~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | 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] 394 | fp=fopen(CONFIG.cookie_jar, "r"); /* Open cookie jar */ | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:36: note: passing argument to parameter here 274 | 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] 402 | fp=fopen(CONFIG.cookie_jar, "w"); /* Creating new cookie jar */ | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:36: note: passing argument to parameter here 274 | 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] 430 | fgets(buffer2, 512, fp); /* Get a line */ | ^~~~~~~ /usr/include/stdio.h:273:32: note: passing argument to parameter here 273 | 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] 436 | fp=fopen(CONFIG.cookie_jar, "w"); /* Open cookie jar for writing */ | ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:274:36: note: passing argument to parameter here 274 | 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] 451 | if(strncmp(buffer1, buffer2, t)==0) continue; /* See if this is an old version of our new cookie */ | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | 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] 451 | if(strncmp(buffer1, buffer2, t)==0) continue; /* See if this is an old version of our new cookie */ | ^~~~~~~ /usr/include/string.h:116:40: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ 72 warnings generated. --- socket-ssl.o --- In file included from socket-ssl.c:15: ./socket.c:35:4: warning: ---------------------------------- [-W#warnings] 35 | #warning ---------------------------------- | ^ ./socket.c:36:4: warning: SSL ENABLED [-W#warnings] 36 | #warning SSL ENABLED | ^ ./socket.c:37:4: warning: ---------------------------------- [-W#warnings] 37 | #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] 92 | ssocket = ConnectSocket(CONFIG.url_host, CONFIG.url_service, "tcp"); /* See connect.c */ | ^~~~~~~~~~~~~~~ ./socket.c:45:41: note: passing argument to parameter 'Host' here 45 | 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] 92 | ssocket = ConnectSocket(CONFIG.url_host, CONFIG.url_service, "tcp"); /* See connect.c */ | ^~~~~~~~~~~~~~~~~~ ./socket.c:45:53: note: passing argument to parameter 'Service' here 45 | static unsigned int ConnectSocket(char *Host, char *Service, char *Protocol); | ^ 5 warnings generated. --- ssl --- rm -f htdump cc -L/usr/lib -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 =========================================================================== =================================================== ===== 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=2025-10-02T03:29:12+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for 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 Oct 1 23:30:16 EDT 2025 build time: 00:01:10