==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: sslscan 2.2.0-1 (Sat Aug 2 06:11:00 2025)
==> Retrieving sources...
-> Found sslscan-2.2.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
sslscan-2.2.0.tar.gz ... Passed
==> Validating source files with b2sums...
sslscan-2.2.0.tar.gz ... Passed
==> Making package: sslscan 2.2.0-1 (Sat Aug 2 06:11:07 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found sslscan-2.2.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting sslscan-2.2.0.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
cc -o sslscan -Wall -Wformat=2 -Wformat-security -Wno-deprecated-declarations -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pie -z relro -z now -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/opt/openssl/lib -L/opt/local/lib -march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -D_FORTIFY_SOURCE=2 -fstack-protector-all -fPIE -std=gnu11 -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=\"2.2.0\" sslscan.c -lssl -lcrypto -ldl
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
sslscan.c: In function ‘readLine’:
sslscan.c:239:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
239 | fgets(lineFromFile, maxSize, input);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslscan.c: In function ‘testFallback’:
sslscan.c:1185:9: warning: ‘secondMethod’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
1185 | testFallback(options, secondMethod);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslscan.c:1032:23: note: ‘secondMethod’ was declared here
1032 | const SSL_METHOD *secondMethod;
| ^~~~~~~~~~~~
sslscan.c: In function ‘testCipher’:
sslscan.c:1861:19: warning: ‘__builtin___strncat_chk’ specified bound depends on the length of the source argument []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow-Wstringop-overflow=]8;;]
1861 | strncat(options->cipherstring, usedcipher, strlen(usedcipher));
| ^
sslscan.c:1861:19: note: length computed here
1861 | strncat(options->cipherstring, usedcipher, strlen(usedcipher));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslscan.c: In function ‘showCertificate’:
sslscan.c:2834:53: warning: ‘xml_bp’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
2834 | if (BIO_printf(xml_bp," <serial>") <= 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslscan.c:2799:46: note: ‘xml_bp’ was declared here
2799 | BIO *xml_bp;
| ^~~~~~
In file included from sslscan.c:129:
sslscan.c: In function ‘checkIfTLSVersionIsSupported_Backup’:
sslscan.h:85:39: warning: ‘socketDescriptor’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
85 | #define CLOSE(fd) { if ((fd) != -1) { close((fd)); (fd) = -1; } }
| ^~~~~~~~~~~
sslscan.c:5088:3: note: in expansion of macro ‘CLOSE’
5088 | CLOSE(socketDescriptor);
| ^~~~~
sslscan.c:5026:7: note: ‘socketDescriptor’ was declared here
5026 | int socketDescriptor = tcpConnect(options);
| ^~~~~~~~~~~~~~~~
sslscan.h:91:46: warning: ‘ssl’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
91 | #define FREE_SSL(ssl) { if ((ssl) != NULL) { SSL_free((ssl)); (ssl) = NULL; } }
| ^~~~~~~~~~~~~~~
sslscan.c:5090:3: note: in expansion of macro ‘FREE_SSL’
5090 | FREE_SSL(ssl);
| ^~~~~~~~
sslscan.c:5057:8: note: ‘ssl’ was declared here
5057 | SSL *ssl = new_SSL(options->ctx);
| ^~~
sslscan.c: In function ‘main’:
sslscan.c:4072:17: warning: ‘__builtin_strncpy’ output may be truncated copying 511 bytes from a string of length 66887 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;]
4072 | strncpy(options->sniname, options->host, sizeof(options->host) -1);
| ^
sslscan.c:4263:33: warning: ‘__builtin_strncpy’ output may be truncated copying 511 bytes from a string of length 1023 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;]
4263 | strncpy(options->host, line, sizeof(options->host) -1);
| ^
sslscan.c:4267:37: warning: ‘__builtin_strncpy’ output may be truncated copying 511 bytes from a string of length 66887 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;]
4267 | strncpy(options->sniname, options->host, sizeof(options->host) -1);
| ^
===========
| WARNING |
===========
Building against system OpenSSL. Compression and other checks may not be possible.
It is recommended that you statically build sslscan with `make static`.
==> Entering fakeroot environment...
==> Starting package()...
install -D sslscan /build/sslscan/pkg/sslscan/usr/bin/sslscan;
install -D sslscan.1 /build/sslscan/pkg/sslscan/usr/share/man/man1/sslscan.1;
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "sslscan"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: sslscan 2.2.0-1 (Sat Aug 2 06:11:17 2025)
==> Cleaning up...