Created attachment 244345 [details] ncrack buil log uname -a: FreeBSD 15.0-CURRENT amd64 1500000 main-n265046-7dfade49da87 VLOCAL amd64 configure: error: *** zlib too old - check config.log *** Your reported zlib version has known security problems. It's possible your vendor has fixed these problems without changing the version number. If you are sure this is the case, you can disable the check by running "./configure --without-zlib-version-check". If you are in doubt, upgrade zlib to version 1.2.3 or greater. See http://www.gzip.org/zlib/ for details. configure: error: ./configure failed for opensshlib ===> Script "configure" failed unexpectedly. Please report the problem to se@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/security/ncrack/work/ncrack-0.7/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/security/ncrack =>> Cleaning up wrkdir ===> Cleaning for ncrack-0.7 build of security/ncrack | ncrack-0.7 ended at Sat Aug 26 03:43:28 BST 2023 build time: 00:00:06 !!! build failure encountered !!!
Created attachment 244346 [details] poudriere conf file
Created attachment 244347 [details] poudriere make.conf
Created attachment 244348 [details] poudriere src.conf
Probably better to track master branch for now and also import this PR on top https://github.com/nmap/ncrack/pull/127 .
https://src.fedoraproject.org/rpms/ncrack/tree/rawhide https://sources.debian.org/patches/ncrack/0.7+debian-4/ A few more patches we might want to import and/or maybe already fixed in master branch
this fixes it --- configure.ac 2023-09-27 11:11:16.910429000 -0400 +++ configure.ac 2023-09-27 11:11:16.910429000 -0400 @@ -1464,13 +1464,13 @@ [[ int a=0, b=0, c=0, d=0, n, v; n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d); - if (n != 3 && n != 4) + if ((n < 2) || (n > 4)) exit(1); v = a*1000000 + b*10000 + c*100 + d; fprintf(stderr, "found zlib version %s (%d)\n", ZLIB_VERSION, v); /* 1.1.4 is OK */ - if (a == 1 && b == 1 && c >= 4) + if ((a == 1) && (b == 1) && (c >= 4)) exit(0); /* 1.2.3 and up are OK */