=>> Building security/chntpw build started at Fri Apr 5 15:07:12 BST 2024 port directory: /usr/ports/security/chntpw package name: chntpw-140201 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 924 Mar 8 2023 /usr/ports/security/chntpw/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: 11 ---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/11/.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 chntpw-140201: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/chntpw/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/chntpw/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/chntpw/work/.cache HOME=/wrkdirs/usr/ports/security/chntpw/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/chntpw/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/chntpw/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/security/chntpw/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/chntpw/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/chntpw/work/.cache HOME=/wrkdirs/usr/ports/security/chntpw/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/chntpw/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/chntpw/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/chntpw" EXAMPLESDIR="share/examples/chntpw" DATADIR="share/chntpw" WWWDIR="www/chntpw" ETCDIR="etc/chntpw" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/chntpw DOCSDIR=/usr/local/share/doc/chntpw EXAMPLESDIR=/usr/local/share/examples/chntpw WWWDIR=/usr/local/www/chntpw ETCDIR=/usr/local/etc/chntpw --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 chntpw 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 ===> chntpw-140201 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 ===> chntpw-140201 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of chntpw-140201 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chntpw 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 chntpw-140201 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chntpw 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 chntpw-140201 for building => SHA256 Checksum OK for chntpw-source-140201.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The chntpw 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 chntpw-140201 for building ===> Extracting for chntpw-140201 => SHA256 Checksum OK for chntpw-source-140201.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for chntpw-140201 ===> Applying FreeBSD patches for chntpw-140201 from /usr/ports/security/chntpw/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> chntpw-140201 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> chntpw-140201 depends on package: gmake>=4.4.1 - found ===> Returning to build of chntpw-140201 ===> chntpw-140201 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 ===> chntpw-140201 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of chntpw-140201 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for chntpw-140201 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for chntpw-140201 cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall chntpw.c cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall ntreg.c ntreg.c:542:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, ~~~~ ^~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:544:40: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); ~~~~ ^~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:545:48: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:546:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); ~~~~ ^~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:547:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:548:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); ~~~~ ^~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:549:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:550:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:551:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:553:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x dummy3 = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:554:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x dummy4 = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:555:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x dummy5 = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:556:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x dummy6 = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:557:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x dummy7 = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:559:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:560:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); ~~~~ ^~~~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:562:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Key name: <",D_OFFS(keyname) ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:580:53: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:582:53: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:584:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:585:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x value type = 0x%0x %s\n", D_OFFS(val_type), key->val_type, ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:588:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); ~~~~ ^~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:589:47: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:591:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Key name: <",D_OFFS(keyname) ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:609:48: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:610:48: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:611:48: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000); ~~~~ ^~~~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:612:53: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), ~~~~ ^~~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:614:53: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:633:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:637:5: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] D_OFFS(hash[i].ofs_nk), i, ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:661:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:665:5: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] D_OFFS(lh_hash[i].ofs_nk), i, ^~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:688:45: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:692:5: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] D_OFFS(hash[i].ofs_nk), i, ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:713:48: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); ~~~~ ^~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:717:5: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] D_OFFS(hash[i].ofs_li), i, ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:735:46: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04x number of parts = %d\n", D_OFFS(no_part), key->no_part ); ~~~~ ^~~~~~~~~~~~~~~ %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:738:5: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] D_OFFS(ofs_data), ^~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' #define D_OFFS(o) ( (void *)&(key->o)-(void *)hdesc->buffer-vofs ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:2150:23: warning: cast to smaller integer type 'int32_t' (aka 'int') from 'int32_t *' (aka 'int *') [-Wpointer-to-int-cast] datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:2150:53: warning: cast to smaller integer type 'int32_t' (aka 'int') from 'struct vk_key *' [-Wpointer-to-int-cast] datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; ^~~~~~~~~~~~~~ 41 warnings generated. cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall edlib.c cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall libsam.c libsam.c:514:28: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] if (gverbose) hexdump(&c->data, 0, c->len, 1); ^~~~~~~~ ./ntreg.h:394:20: note: passing argument to parameter 'hbuf' here void hexdump(char *hbuf, int start, int stop, int ascii); ^ libsam.c:531:78: warning: format specifies type 'unsigned int' but the argument has type 'void *' [-Wformat] if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); ~~ ^~~~~~ libsam.c:542:27: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] if (gverbose) hexdump(&c->data, 0, c->len, 1); ^~~~~~~~ ./ntreg.h:394:20: note: passing argument to parameter 'hbuf' here void hexdump(char *hbuf, int start, int stop, int ascii); ^ 3 warnings generated. cc -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o chntpw chntpw.o ntreg.o edlib.o libsam.o -L/usr/local/lib cc -static -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o chntpw.static chntpw.o ntreg.o edlib.o libsam.o -L/usr/local/lib cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall cpnt.c cc -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o cpnt cpnt.o -L/usr/local/lib cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall reged.c cc -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o reged reged.o ntreg.o edlib.o cc -static -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o reged.static reged.o ntreg.o edlib.o cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall samusrgrp.c cc -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o samusrgrp samusrgrp.o ntreg.o libsam.o cc -static -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o samusrgrp.static samusrgrp.o ntreg.o libsam.o cc -c -DUSEOPENSSL -g -I. -I/usr/local/include -Wall sampasswd.c cc -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o sampasswd sampasswd.o ntreg.o libsam.o cc -static -DUSEOPENSSL -g -I. -I/usr/local/include -Wall -o sampasswd.static sampasswd.o ntreg.o libsam.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> chntpw-140201 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for chntpw-140201 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/security/chntpw/work/chntpw-140201/chntpw /wrkdirs/usr/ports/security/chntpw/work/chntpw-140201/cpnt /wrkdirs/usr/ports/security/chntpw/work/chntpw-140201/reged /wrkdirs/usr/ports/security/chntpw/work/stage/usr/local/bin cd /wrkdirs/usr/ports/security/chntpw/work/chntpw-140201 && install -m 0644 README.txt WinReg.txt regedit.txt /wrkdirs/usr/ports/security/chntpw/work/stage/usr/local/share/doc/chntpw ====> 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-05T14:07:12+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 chntpw-140201 ===> Building chntpw-140201 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for chntpw-140201 build of security/chntpw | chntpw-140201 ended at Fri Apr 5 15:07:25 BST 2024 build time: 00:00:15