=> Building security/sslscan Started : Tuesday, 9 JUL 2019 at 22:10:47 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for sslscan-1.11.12_1: UNSAFESSL=on: Use openssl-unsafe as libssl provider (SSLv2 etc.) ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/security/sslscan XDG_CONFIG_HOME=/construction/security/sslscan HOME=/construction/security/sslscan TMPDIR="/tmp" PATH=/construction/security/sslscan/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/sslscan XDG_CONFIG_HOME=/construction/security/sslscan HOME=/construction/security/sslscan TMPDIR="/tmp" PATH=/construction/security/sslscan/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/openssl-unsafe/include -Wl,-rpath,/usr/local/openssl-unsafe/lib -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/openssl-unsafe/lib -Wl,-rpath,/usr/local/openssl-unsafe/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/openssl-unsafe/include -Wl,-rpath,/usr/local/openssl-unsafe/lib -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/sslscan/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/sslscan" EXAMPLESDIR="share/examples/sslscan" DATADIR="share/sslscan" WWWDIR="www/sslscan" ETCDIR="etc/sslscan" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sslscan DOCSDIR=/usr/local/share/doc/sslscan EXAMPLESDIR=/usr/local/share/examples/sslscan WWWDIR=/usr/local/www/sslscan ETCDIR=/usr/local/etc/sslscan -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> sslscan-1.11.12_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> sslscan-1.11.12_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sslscan-1.11.12_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by sslscan-1.11.12_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by sslscan-1.11.12_1 for building => SHA256 Checksum OK for rbsec-sslscan-1.11.12-rbsec_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by sslscan-1.11.12_1 for building ===> Extracting for sslscan-1.11.12_1 => SHA256 Checksum OK for rbsec-sslscan-1.11.12-rbsec_GH0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for sslscan-1.11.12_1 ===> Applying ports patches for sslscan-1.11.12_1 ===> Applying dragonfly patches for sslscan-1.11.12_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> sslscan-1.11.12_1 depends on file: /usr/local/openssl-unsafe/lib/libssl.so - not found ===> Installing existing package /packages/All/openssl-unsafe-1.0.2.20170706.txz Installing openssl-unsafe-1.0.2.20170706... Extracting openssl-unsafe-1.0.2.20170706: .......... done Message from openssl-unsafe-1.0.2.20170706: /!\ ================================ /!\ ============================== /!\ /!\ /!\ /!\ This openssl version is for security testing/scanning purposes only /!\ /!\ /!\ /!\ DO NOT USE FOR PRODUCTION PURPOSES /!\ /!\ /!\ /!\ ================================ /!\ ============================== /!\ ===> sslscan-1.11.12_1 depends on file: /usr/local/openssl-unsafe/lib/libssl.so - found ===> Returning to build of sslscan-1.11.12_1 ===> sslscan-1.11.12_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> sslscan-1.11.12_1 depends on executable: gmake - found ===> Returning to build of sslscan-1.11.12_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for sslscan-1.11.12_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for sslscan-1.11.12_1 gmake[1]: Entering directory '/construction/security/sslscan/sslscan-1.11.12-rbsec' cc -o sslscan -Wall -Wformat=2 -Wformat-security -L/usr/local/openssl-unsafe/lib -Wl,-rpath,/usr/local/openssl-unsafe/lib -pie -Wl,-z,relro -Wl,-z,now -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/opt/openssl/lib -L/opt/local/lib -pipe -I/usr/local/openssl-unsafe/include -Wl,-rpath,/usr/local/openssl-unsafe/lib -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/opt/openssl/include -I/opt/local/include -I/opt/local/include/openssl -DVERSION=\"1.11.12\" sslscan.c -lssl -lcrypto sslscan.c: In function 'testConnection': sslscan.c:3114:13: warning: implicit declaration of function 'inet_ntop' [-Wimplicit-function-declaration] inet_ntop(ai->ai_family, &options->serverAddress6.sin6_addr, options->addrstr, sizeof(options->addrstr)); ^~~~~~~~~ sslscan.c: In function 'main': sslscan.c:3770:62: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(options.sniname, options.host, sizeof(options.host)); ^ sslscan.c: In function 'testCipher': sslscan.c:1742:21: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] strncat(options->cipherstring, ":!", 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'testFallback': sslscan.c:1114:9: warning: 'secondMethod' may be used uninitialized in this function [-Wmaybe-uninitialized] testFallback(options, secondMethod); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'testCipher': sslscan.c:1538:82: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 156 [-Wformat-truncation=] snprintf(requestBuffer, 199, "GET / HTTP/1.0\r\nUser-Agent: SSLScan\r\nHost: %s\r\n\r\n", options->host); ^~ sslscan.c:1538:5: note: 'snprintf' output between 48 and 559 bytes into a destination of size 199 snprintf(requestBuffer, 199, "GET / HTTP/1.0\r\nUser-Agent: SSLScan\r\nHost: %s\r\n\r\n", options->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'showCertificate': sslscan.c:2639:57: warning: 'xml_bp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (BIO_printf(xml_bp,"%02x",bs->data[i]) <= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslscan.c: In function 'main': sslscan.c:3990:33: warning: 'strncpy' output may be truncated copying 511 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(options.host, line, sizeof(options.host) -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[1]: Leaving directory '/construction/security/sslscan/sslscan-1.11.12-rbsec' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> sslscan-1.11.12_1 depends on file: /usr/local/openssl-unsafe/lib/libssl.so - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for sslscan-1.11.12_1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/security/sslscan/sslscan-1.11.12-rbsec' install -s -m 755 sslscan /construction/security/sslscan/stage/usr/local/bin install -m 644 sslscan.1 /construction/security/sslscan/stage/usr/local/man/man1 gmake[1]: Leaving directory '/construction/security/sslscan/sslscan-1.11.12-rbsec' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for sslscan-1.11.12_1 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Tuesday, 9 JUL 2019 at 22:10:57 UTC Duration: 00:00:09