Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 03:22:05 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120arm64-quarterly][mail/prayer] Failed for prayer-1.3.5_3 in build
Message-ID:  <201812060322.wB63M5rV054299@thunderx1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

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:     koue@chaosophia.net
Last committer: marino@FreeBSD.org
Ident:          $FreeBSD: branches/2018Q4/mail/prayer/Makefile 421741 2016-09-10 20:23:46Z marino $
Log URL:        http://thunderx1.nyi.freebsd.org/data/120arm64-quarterly/486152/logs/prayer-1.3.5_3.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=120arm64-quarterly&build=486152
Log:

=>> Building mail/prayer
build started at Thu Dec  6 03:21:19 UTC 2018
port directory: /usr/ports/mail/prayer
package name: prayer-1.3.5_3
building for: FreeBSD 120arm64-quarterly-job-22 12.0-RC2 FreeBSD 12.0-RC2 1200086 arm64
maintained by: koue@chaosophia.net
Makefile ident:      $FreeBSD: branches/2018Q4/mail/prayer/Makefile 421741 2016-09-10 20:23:46Z marino $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1200086
Job Id: 22

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RC2 1200086
UNAME_r=12.0-RC2
BLOCKSIZE=K
MAIL=/var/mail/root
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
MASTERMNT=/usr/local/poudriere/data/.m/120arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120arm64-quarterly/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 prayer-1.3.5_3:
     DOCS=on: Build and/or install documentation
     LDAP=on: LDAP protocol support
     SESSIONCACHE=on: Activate Session Cache
     SSL=on: SSL protocol support
     TIDY=on: Tidy HTML cleaner support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
koue@chaosophia.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake 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/prayer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/prayer/work  HOME=/wrkdirs/usr/ports/mail/prayer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/prayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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/prayer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/prayer/work  HOME=/wrkdirs/usr/ports/mail/prayer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/prayer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS="  " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -DLIBICONV_PLUG "  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"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.2  PERL_VER=5.26  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.26 DOCSDIR="share/doc/prayer"  EXAMPLESDIR="share/examples/prayer"  DATADIR="share/prayer"  WWWDIR="www/prayer"  ETCDIR="etc/prayer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/prayer DOCSDIR=/usr/local/share/doc/prayer EXAMPLESDIR=/usr/local/share/examples/prayer  WWWDIR=/usr/local/www/prayer ETCDIR=/usr/local/etc/prayer
--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=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.0-RC2
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   prayer-1.3.5_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[120arm64-quarterly-job-22] Installing pkg-1.10.5_5...
[120arm64-quarterly-job-22] Extracting pkg-1.10.5_5: .......... done
===>   prayer-1.3.5_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of prayer-1.3.5_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by prayer-1.3.5_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by prayer-1.3.5_3 for building
=> SHA256 Checksum OK for prayer-1.3.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by prayer-1.3.5_3 for building
===>  Extracting for prayer-1.3.5_3
=> SHA256 Checksum OK for prayer-1.3.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for prayer-1.3.5_3
===>  Applying FreeBSD patches for prayer-1.3.5_3
===========================================================================
=======================<phase: build-depends  >============================
===>   prayer-1.3.5_3 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_2.txz
[120arm64-quarterly-job-22] Installing gmake-4.2.1_2...
[120arm64-quarterly-job-22] `-- Installing gettext-runtime-0.19.8.1_1...
[120arm64-quarterly-job-22] |   `-- Installing indexinfo-0.3.1...
[120arm64-quarterly-job-22] |   `-- Extracting indexinfo-0.3.1: .... done
[120arm64-quarterly-job-22] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
<snip>
************************************************************
===>   prayer-1.3.5_3 depends on shared library: libldap-2.4.so.2 - found (/usr/local/lib/libldap-2.4.so.2)
===>   Returning to build of prayer-1.3.5_3
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for prayer-1.3.5_3
===========================================================================
=======================<phase: build          >============================
===>  Building for prayer-1.3.5_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5'
for i in files lib shared session cmd templates servers utils; do gmake -C $i all || exit; done
gmake[2]: Entering directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5/files'
perl -pe "s&__PREFIX__&/usr/local/prayer&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/local/sbin&;" < ./etc/prayer.cf.SRC > ./etc/prayer.cf
perl -pe "s&__PREFIX__&/usr/local/prayer&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/local/sbin&; s&__PRAYER_CONFIG_FILE__&/usr/local/etc/prayer/prayer.cf&;" < ./init.d/prayer.SRC > ./init.d/prayer
gmake[2]: Leaving directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5/files'
gmake[2]: Entering directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5/lib'
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c pool.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c assoc.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c list.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c buffer.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c str.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c memblock.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c mystring.c
mystring.c:585:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((s[0] == '\0')) {
         ~~~~~^~~~~~~
mystring.c:585:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((s[0] == '\0')) {
        ~     ^      ~
mystring.c:585:15: note: use '=' to turn this equality comparison into an assignment
    if ((s[0] == '\0')) {
              ^~
              =
1 warning generated.
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c iostream.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c misc.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c ipaddr.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c  os.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c process.c
process.c:201:33: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
    while ((c = iogetc(stream)) != EOF) {
           ~~~~~~~~~~~~~~~~~~~~ ^  ~~~
process.c:246:33: warning: result of comparison of constant -1 with expression of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
    while ((c = iogetc(stream)) != EOF) {
           ~~~~~~~~~~~~~~~~~~~~ ^  ~~~
2 warnings generated.
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c utf8.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c html.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include  -c mymutex.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c setproctitle.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c cdb.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c template.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c template_parse.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c template_compile.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c template_expand.c
template_expand.c:381:27: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size]
        strncat(buf, "-", sizeof(buf));
                          ^~~~~~~~~~~
template_expand.c:381:27: note: change the argument to be the free space in the destination buffer minus the terminating null byte
        strncat(buf, "-", sizeof(buf));
                          ^~~~~~~~~~~
                          sizeof(buf) - strlen(buf) - 1
1 warning generated.
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -c template_vals.c
cc -O2 -pipe  -DLIBICONV_PLUG -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include -I/usr/include -I/usr/kerberos/include -DSSL_ENABLE -DSESSION_CACHE_ENABLE -c ssl.c
ssl.c:131:10: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
         RSA_generate_key(SSL_RSA_KEYLENGTH, RSA_F4, NULL, NULL)))
         ^
/usr/include/openssl/rsa.h:234:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
/usr/include/openssl/opensslconf.h:159:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
# define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ssl.c:246:50: error: incomplete definition of type 'struct ssl_session_st'
            ret = DB->store(sessdb, (void *) sess->session_id,
                                             ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:247:33: error: incomplete definition of type 'struct ssl_session_st'
                            sess->session_id_length,
                            ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:260:29: error: incomplete definition of type 'struct ssl_session_st'
        for (i = 0; i < sess->session_id_length; i++)
                        ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:261:48: error: incomplete definition of type 'struct ssl_session_st'
            sprintf(idstr + i * 2, "%02X", sess->session_id[i]);
                                           ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:303:24: error: incomplete definition of type 'struct ssl_session_st'
    remove_session(sess->session_id, sess->session_id_length);
                   ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:303:42: error: incomplete definition of type 'struct ssl_session_st'
    remove_session(sess->session_id, sess->session_id_length);
                                     ~~~~^
/usr/include/openssl/ssl.h:213:16: note: forward declaration of 'struct ssl_session_st'
typedef struct ssl_session_st SSL_SESSION;
               ^
ssl.c:343:42: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
            sess = d2i_SSL_SESSION(NULL, &asn, len - sizeof(time_t));
                                         ^~~~
/usr/include/openssl/ssl.h:1661:69: note: passing argument to parameter 'pp' here
SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp,
                                                                    ^
ssl.c:462:45: warning: incompatible pointer types passing 'SSL_SESSION *(SSL *, unsigned char *, int, int *)' (aka 'struct ssl_session_st *(struct ssl_st *, unsigned char *, int, int *)') to parameter of type 'SSL_SESSION *(*)(struct ssl_st *, const unsigned char *, int, int *)' (aka 'struct ssl_session_st *(*)(struct ssl_st *, const unsigned char *, int, int *)') [-Wincompatible-pointer-types]
        SSL_CTX_sess_set_get_cb(server_ctx, get_session_cb);
                                            ^~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:708:45: note: passing argument to parameter 'get_session_cb' here
                             SSL_SESSION *(*get_session_cb) (struct ssl_st
                                            ^
ssl.c:534:5: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
    ERR_remove_state(0);
    ^
/usr/include/openssl/err.h:260:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:153:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ssl.c:581:17: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
                ERR_remove_state(0);
                ^
/usr/include/openssl/err.h:260:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:153:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ssl.c:589:13: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
            ERR_remove_state(0);
            ^
/usr/include/openssl/err.h:260:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:153:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ssl.c:611:9: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
        ERR_remove_state(0);
        ^
/usr/include/openssl/err.h:260:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:153:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:110:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ssl.c:620:16: error: incomplete definition of type 'struct ssl_st'
    switch (ssl->session->ssl_version) {
            ~~~^
/usr/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st'
typedef struct ssl_st SSL;
               ^
ssl.c:633:7: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    c = SSL_get_current_cipher(ssl);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
ssl.c:673:26: error: incomplete definition of type 'struct ssl_st'
    switch (((SSL *) ssl)->session->ssl_version) {
            ~~~~~~~~~~~~~^
/usr/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st'
typedef struct ssl_st SSL;
               ^
ssl.c:686:7: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    c = SSL_get_current_cipher((SSL *) ssl);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings and 8 errors generated.
gmake[2]: *** [Makefile:60: ssl.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5/lib'
gmake[1]: *** [Makefile:20: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/mail/prayer/work/prayer-1.3.5'
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/prayer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812060322.wB63M5rV054299>