[package - main-arm64-default][mail/qmail-spamcontrol] Failed for qmail-spamcontrol-1.03.2731_3 in patch

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 13 Oct 2023 20:09:46 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     erdgeist@erdgeist.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p08943441f26e_s6e92fc93094/logs/qmail-spamcontrol-1.03.2731_3.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p08943441f26e_s6e92fc93094
Log:

=>> Building mail/qmail-spamcontrol
build started at Fri Oct 13 20:09:27 UTC 2023
port directory: /usr/ports/mail/qmail-spamcontrol
package name: qmail-spamcontrol-1.03.2731_3
building for: FreeBSD main-arm64-default-job-09 15.0-CURRENT FreeBSD 15.0-CURRENT 1500001 arm64
maintained by: erdgeist@erdgeist.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500001
Job Id: 09




!!! Jail is newer than host. (Jail: 1500001, Host: 1500000) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500001
UNAME_v=FreeBSD 15.0-CURRENT 1500001
UNAME_r=15.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for qmail-spamcontrol-1.03.2731_3:
     BIG_CONCURRENCY_PATCH=off: Use a concurrency greater than 240
     DOCS=on: Build and/or install documentation
     EXTTODO_PATCH=off: Extern high-perform. todo processing
     LOCALTIME_PATCH=off: Emit dates in the local timezone
     MAILDIRQUOTA_PATCH=off: Maildir++ support
     PAM111421=on: Smtpd allow email in case PAM failure
     QEXTRA=off: Enable QUEUE_EXTRA copy feature
     RCDLINK=on: Create rc.d/qmail symlink
     SMTPEXTFORK=off: Allow qmail-smtpd fork external progs
     SPF_PATCH=off: Implement SPF checker
     XF_QUITASAP=off: Close SMTP session ASAP (SMTPEXTFORK)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
erdgeist@erdgeist.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work/.cache  HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-spamcontrol/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--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work/.cache  HOME=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-spamcontrol/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/qmail-spamcontrol/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=/var/qmail  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -include /usr/include/errno.h -I/usr/include -L/usr/lib -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -in
clude /usr/include/errno.h -I/usr/include -L/usr/lib -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/var/qmail" 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--
QMAIL_PREFIX="/var/qmail" LDAP="@comment " NO_LDAP="" SPAMCONTROL="" TLS="@comment " NO_TLS="" PORTDOCS="" BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" PAM111421="" NO_PAM111421="@comment " QEXTRA="@comment " NO_QEXTRA="" RCDLINK="" NO_RCDLINK="@comment " SMTPEXTFORK="@comment " NO_SMTPEXTFORK="" SPF_PATCH="@comment " NO_SPF_PATCH="" XF_QUITASAP="@comment " NO_XF_QUITASAP="" EXTTODO="@comment " RCDLINK="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/var/qmail LIB32DIR=lib PERL_VERSION=5.34.1  PERL_VER=5.34  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.34 DOCSDIR="doc"  EXAMPLESDIR="share/examples/qmail"  DATADIR="share/qmail"  WWWDIR="www/qmail"  ETCDIR="etc/qmail"
--End PLIST_SUB--

--SUB_LIST--
ECHO_CMD=echo RCDLINK= BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" PAM111421="" NO_PAM111421="@comment " QEXTRA="@comment " NO_QEXTRA="" SMTPEXTFORK="@comment " NO_SMTPEXTFORK="" SPF_PATCH="@comment " NO_SPF_PATCH="" XF_QUITASAP="@comment " NO_XF_QUITASAP="" PREFIX=/var/qmail LOCALBASE=/usr/local  DATADIR=/var/qmail/share/qmail DOCSDIR=/var/qmail/doc EXAMPLESDIR=/var/qmail/share/examples/qmail  WWWDIR=/var/qmail/www/qmail ETCDIR=/var/qmail/etc/qmail
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: aarch64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1048576
stack size              (kbytes, -s)  1048576
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)  1024
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--
=======================<phase: check-sanity   >============================

You may use the following build options:

WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER
				(default NUMBER=)
				set this to a value reasonable for
				your system if you use the patch

===========================================================================
=======================<phase: pkg-depends    >============================
===>   qmail-spamcontrol-1.03.2731_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[main-arm64-default-job-09] Installing pkg-1.20.7...
[main-arm64-default-job-09] Extracting pkg-1.20.7: .......... done
===>   qmail-spamcontrol-1.03.2731_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of qmail-spamcontrol-1.03.2731_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================

You may use the following build options:

WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER
				(default NUMBER=)
				set this to a value reasonable for
				your system if you use the patch

<snip>
===========================================================================
=======================<phase: patch-depends  >============================
===>   qmail-spamcontrol-1.03.2731_3 depends on package: perl5>=5.34<5.35 - not found
===>   Installing existing package /packages/All/perl5-5.34.1_3.pkg
[main-arm64-default-job-09] Installing perl5-5.34.1_3...
[main-arm64-default-job-09] Extracting perl5-5.34.1_3: .......... done
===>   qmail-spamcontrol-1.03.2731_3 depends on package: perl5>=5.34<5.35 - found
===>   Returning to build of qmail-spamcontrol-1.03.2731_3
===========================================================================
=======================<phase: patch          >============================
===>  Patching for qmail-spamcontrol-1.03.2731_3
echo "cc -O2 -pipe  -include /usr/include/errno.h -I/usr/include -L/usr/lib -fstack-protector-strong -fno-strict-aliasing " > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-cc
echo "cc -s   -fstack-protector-strong " > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-ld
echo "/var/qmail" > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-home
echo "/var/qmail/bin" > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-tcpbin
echo "/etc/ssl" > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-cadir
echo "/etc/ssl/cert.pem" > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-cafile
echo "/etc/ssl/dh1024.pem" > /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/src/conf-dhfile
sh find-systype.sh > systype
rm -f load
sh print-ld.sh > load
chmod 755 load
rm -f compile
sh print-cc.sh > compile
chmod 755 compile
rm -f choose
cat warn-auto.sh choose.sh  | sed s}HOME}"`head -1 home`"}g  > choose
chmod 755 choose
./choose clr trypoll iopause.h1 iopause.h2 >iopause.h
./choose clr tryulong32 uint32.h1 uint32.h2 >uint32.h
./choose clr tryulong64 uint64.h1 uint64.h2 >uint64.h
./compile sslclient.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
In file included from sslclient.c:13:
./exit.h:4:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void _exit();
            ^
sslclient.c:259:13: warning: passing 'const unsigned char[12]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        if (ip6_isv4mapped(addresses.s+j))
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ip6.h:28:29: note: expanded from macro 'ip6_isv4mapped'
#define ip6_isv4mapped(ip) (byte_equal(ip,12,V4mappedprefix))
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./byte.h:13:47: note: expanded from macro 'byte_equal'
#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                              ^~~
./byte.h:10:64: note: passing argument to parameter here
extern int byte_diff(const char *, unsigned int n, const char *);
                                                               ^
sslclient.c:277:17: warning: passing 'const unsigned char[12]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  if (!ipv6 && (ip6_isv4mapped(iplocal) || byte_equal(iplocal,16,V6any)))
                ^~~~~~~~~~~~~~~~~~~~~~~
./ip6.h:28:29: note: expanded from macro 'ip6_isv4mapped'
#define ip6_isv4mapped(ip) (byte_equal(ip,12,V4mappedprefix))
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./byte.h:13:47: note: expanded from macro 'byte_equal'
#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                              ^~~
./byte.h:10:64: note: passing argument to parameter here
extern int byte_diff(const char *, unsigned int n, const char *);
                                                               ^
sslclient.c:277:44: warning: passing 'const unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  if (!ipv6 && (ip6_isv4mapped(iplocal) || byte_equal(iplocal,16,V6any)))
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./byte.h:13:47: note: expanded from macro 'byte_equal'
#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                              ^~~
./byte.h:10:64: note: passing argument to parameter here
extern int byte_diff(const char *, unsigned int n, const char *);
                                                               ^
4 warnings generated.
cc  -O2 -pipe  -include /usr/include/errno.h -I/usr/include -L/usr/lib -fstack-protector-strong -fno-strict-aliasing  -c remoteinfo6.c -o remoteinfo6.o
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
cc  -O2 -pipe  -include /usr/include/errno.h -I/usr/include -L/usr/lib -fstack-protector-strong -fno-strict-aliasing  -c timeoutconn6.c -o timeoutconn6.o
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
rm -f makelib
sh print-ar.sh > makelib
chmod 755 makelib
./compile ssl_ca.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile ssl_cca.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile ssl_certkey.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
ssl_certkey.c:12:7: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated [-Wdeprecated-declarations]
  if (SSL_CTX_use_RSAPrivateKey_file(ctx,keyfile,SSL_FILETYPE_PEM) != 1)
      ^
/usr/include/openssl/ssl.h:1696:1: note: 'SSL_CTX_use_RSAPrivateKey_file' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
1 warning generated.
./compile ssl_chainfile.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
ssl_chainfile.c:17:7: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated [-Wdeprecated-declarations]
  if (SSL_CTX_use_RSAPrivateKey_file(ctx,keyfile,SSL_FILETYPE_PEM) != 1)
      ^
/usr/include/openssl/ssl.h:1696:1: note: 'SSL_CTX_use_RSAPrivateKey_file' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
1 warning generated.
./compile ssl_ciphers.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile ssl_context.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile ssl_env.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
ssl_env.c:53:46: error: incomplete definition of type 'struct X509_name_st'
  for (m = 0;m < sk_X509_NAME_ENTRY_num(xname->entries);m++) {
                                        ~~~~~^
/usr/include/openssl/x509.h:193:92: note: expanded from macro 'sk_X509_NAME_ENTRY_num'
#define sk_X509_NAME_ENTRY_num(sk) OPENSSL_sk_num(ossl_check_const_X509_NAME_ENTRY_sk_type(sk))
                                                                                           ^~
/usr/include/openssl/types.h:162:16: note: forward declaration of 'struct X509_name_st'
typedef struct X509_name_st X509_NAME;
               ^
ssl_env.c:54:41: error: incomplete definition of type 'struct X509_name_st'
    xne = sk_X509_NAME_ENTRY_value(xname->entries,m);
                                   ~~~~~^
/usr/include/openssl/x509.h:194:121: note: expanded from macro 'sk_X509_NAME_ENTRY_value'
#define sk_X509_NAME_ENTRY_value(sk, idx) ((X509_NAME_ENTRY *)OPENSSL_sk_value(ossl_check_const_X509_NAME_ENTRY_sk_type(sk), (idx)))
                                                                                                                        ^~
/usr/include/openssl/types.h:162:16: note: forward declaration of 'struct X509_name_st'
typedef struct X509_name_st X509_NAME;
               ^
ssl_env.c:55:24: error: incomplete definition of type 'struct X509_name_entry_st'
    n = OBJ_obj2nid(xne->object);
                    ~~~^
/usr/include/openssl/x509.h:190:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
ssl_env.c:57:27: error: incomplete definition of type 'struct X509_name_entry_st'
      if (!env_val(env,xne->value->data,xne->value->length)) return 0;
                       ~~~^
/usr/include/openssl/x509.h:190:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
ssl_env.c:57:44: error: incomplete definition of type 'struct X509_name_entry_st'
      if (!env_val(env,xne->value->data,xne->value->length)) return 0;
                                        ~~~^
/usr/include/openssl/x509.h:190:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
ssl_env.c:75:14: error: incomplete definition of type 'struct ssl_session_st'
  x = session->session_id;
      ~~~~~~~^
/usr/include/openssl/ssl.h:231:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl_env.c:76:14: error: incomplete definition of type 'struct ssl_session_st'
  n = session->session_id_length;
      ~~~~~~~^
/usr/include/openssl/ssl.h:231:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl_env.c:223:23: error: incomplete definition of type 'struct x509_st'
  n = OBJ_obj2nid(cert->cert_info->signature->algorithm);
                  ~~~~^
/usr/include/openssl/types.h:157:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
               ^
ssl_env.c:227:23: error: incomplete definition of type 'struct x509_st'
  n = OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
                  ~~~~^
/usr/include/openssl/types.h:157:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
               ^
ssl_env.c:352:23: error: incomplete definition of type 'struct x509_st'
  n = OBJ_obj2nid(cert->cert_info->signature->algorithm);
                  ~~~~^
/usr/include/openssl/types.h:157:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
               ^
ssl_env.c:356:23: error: incomplete definition of type 'struct x509_st'
  n = OBJ_obj2nid(cert->cert_info->key->algor->algorithm);
                  ~~~~^
/usr/include/openssl/types.h:157:16: note: forward declaration of 'struct x509_st'
typedef struct x509_st X509;
               ^
11 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/mail/qmail-spamcontrol/work/host/superscript.com/net/ucspi-ssl-0.94/compile
compile: fatal: cannot make it-base it-sslperl
*** Error code 111

Stop.
make: stopped in /usr/ports/mail/qmail-spamcontrol