=>> Building security/chntpw build started at Thu Mar 12 23:12:18 EDT 2026 port directory: /usr/ports/security/chntpw package name: chntpw-140201 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 924 Aug 27 2024 /usr/ports/security/chntpw/Makefile Ports top last git commit: 26b198eb3ee3 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: 1500068 Jail OSVERSION: 1404000 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for 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=/usr/local/bin/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=/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 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/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--- 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 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-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... 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.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> chntpw-140201 depends on package: gmake>=4.4.1 - found ===> Returning to build of chntpw-140201 ===> chntpw-140201 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. ===> chntpw-140201 depends on file: /usr/local/bin/ccache - 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/include -Wall chntpw.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall ntreg.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall edlib.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall libsam.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall cpnt.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall reged.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall samusrgrp.c cc -c -DUSEOPENSSL -g -I. -I/usr/include -Wall sampasswd.c cc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o cpnt cpnt.o -L/usr/lib libsam.c:514:28: warning: incompatible pointer types passing 'int *' to parameter of type 'char *' [-Wincompatible-pointer-types] 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ ./ntreg.h:394:20: note: passing argument to parameter 'hbuf' here 394 | 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] 531 | 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] 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); | ^~~~~~~~ ./ntreg.h:394:20: note: passing argument to parameter 'hbuf' here 394 | void hexdump(char *hbuf, int start, int stop, int ascii); | ^ 3 warnings generated. ntreg.c:542:52: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 542 | printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, | ~~~~ ^~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 544 | printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); | ~~~~ ^~~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 545 | 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' 539 | #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] 546 | 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' 539 | #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] 547 | 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' 539 | #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] 548 | 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' 539 | #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] 549 | 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' 539 | #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] 550 | 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' 539 | #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] 551 | 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' 539 | #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] 553 | 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' 539 | #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] 554 | 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' 539 | #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] 555 | 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' 539 | #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] 556 | 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' 539 | #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] 557 | 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' 539 | #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] 559 | printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); | ~~~~ ^~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 560 | printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); | ~~~~ ^~~~~~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 562 | printf("%04x Key name: <",D_OFFS(keyname) ); | ~~~~ ^~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 580 | printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), | ~~~~ ^~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 582 | printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), | ~~~~ ^~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 584 | 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' 539 | #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] 585 | 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' 539 | #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] 588 | printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); | ~~~~ ^~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 589 | printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); | ~~~~ ^~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 591 | printf("%04x Key name: <",D_OFFS(keyname) ); | ~~~~ ^~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 609 | printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); | ~~~~ ^~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 610 | 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' 539 | #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] 611 | 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' 539 | #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] 612 | printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), | ~~~~ ^~~~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 614 | printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), | ~~~~ ^~~~~~~~~~~~~~ | %04lx ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 633 | 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' 539 | #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] 636 | printf("%04x %3d Offset: 0x%0x - <%c%c%c%c>\n", | ~~~~ | %04lx 637 | D_OFFS(hash[i].ofs_nk), i, | ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 661 | 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' 539 | #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] 664 | printf("%04x %3d Offset: 0x%0x - \n", | ~~~~ | %04lx 665 | D_OFFS(lh_hash[i].ofs_nk), i, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 688 | 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' 539 | #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] 691 | printf("%04x %3d Offset: 0x%0x\n", | ~~~~ | %04lx 692 | D_OFFS(hash[i].ofs_nk), i, | ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 713 | 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' 539 | #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] 716 | printf("%04x %3d Offset: 0x%0x\n", | ~~~~ | %04lx 717 | D_OFFS(hash[i].ofs_li), i, | ^~~~~~~~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 735 | 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' 539 | #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] 737 | printf("%04x Data list at offset: 0x%0x\n", | ~~~~ | %04lx 738 | D_OFFS(ofs_data), | ^~~~~~~~~~~~~~~~ ntreg.c:539:19: note: expanded from macro 'D_OFFS' 539 | #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] 2150 | 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] 2150 | datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; | ^~~~~~~~~~~~~~ 41 warnings generated. cc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o chntpw chntpw.o ntreg.o edlib.o libsam.o -L/usr/lib cc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o chntpw.static chntpw.o ntreg.o edlib.o libsam.o -L/usr/lib cc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o reged reged.o ntreg.o edlib.o cc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o reged.static reged.o ntreg.o edlib.o cc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o samusrgrp samusrgrp.o ntreg.o libsam.o cc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o samusrgrp.static samusrgrp.o ntreg.o libsam.o cc -DUSEOPENSSL -g -I. -I/usr/include -Wall -o sampasswd sampasswd.o ntreg.o libsam.o cc -static -DUSEOPENSSL -g -I. -I/usr/include -Wall -o sampasswd.static sampasswd.o ntreg.o libsam.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== 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=2026-03-13T03:12:18+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' '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 chntpw-140201 ===> Building chntpw-140201 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for chntpw-140201 build of security/chntpw | chntpw-140201 ended at Thu Mar 12 23:13:27 EDT 2026 build time: 00:01:12