Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 06:26:30 GMT
From:      pkg-fallout@FreeBSD.org
To:        erdgeist@erdgeist.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][mail/qmail-tls] Failed for netqmail-tls-1.06.20160918_1 in build
Message-ID:  <201901150626.x0F6QUJZ018798@beefy11.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:     erdgeist@erdgeist.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/mail/qmail-tls/Makefile 436247 2017-03-15 14:45:30Z mat $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p490335_s343029/logs/netqmail-tls-1.06.20160918_1.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p490335_s343029
Log:

=>> Building mail/qmail-tls
build started at Tue Jan 15 06:26:17 UTC 2019
port directory: /usr/ports/mail/qmail-tls
package name: netqmail-tls-1.06.20160918_1
building for: FreeBSD head-i386-default-job-16 13.0-CURRENT FreeBSD 13.0-CURRENT 1300008 i386
maintained by: erdgeist@erdgeist.org
Makefile ident:      $FreeBSD: head/mail/qmail-tls/Makefile 436247 2017-03-15 14:45:30Z mat $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1300008
Job Id: 16




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300008
UNAME_v=FreeBSD 13.0-CURRENT 1300008
UNAME_r=13.0-CURRENT
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/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 netqmail-tls-1.06.20160918_1:
     BIG_CONCURRENCY_PATCH=off: Use a concurrency greater than 240
     BIG_TODO_PATCH=off: Enable big_todo qmail patch
     BLOCKEXEC_PATCH=off: Block many windows viruses/worms
     DISCBOUNCES_PATCH=off: Discard double-bounces
     DNS_CNAME=on: Request CNAME (vs ANY for BIND 4 bug)
     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
     OUTGOINGIP_PATCH=off: Set the IP address to send messages
     QEXTRA=off: Enable QUEUE_EXTRA copy feature
     QMTPC_PATCH=off: Send email using qmtp protocol
     RCDLINK=on: Create rc.d/qmail symlink
     SMTP_AUTH_PATCH=off: Provide SMTP Authentication
     SPF_PATCH=off: Implement SPF checker
     TLS_DEBUG=off: Enable additional debug information
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work  HOME=/wrkdirs/usr/ports/mail/qmail-tls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-tls/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/qmail-tls/work  HOME=/wrkdirs/usr/ports/mail/qmail-tls/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/qmail-tls/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=/var/qmail  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/include -L/usr/lib -DTLS=20160918 -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -L/usr/lib -DTLS=20160918 -fstack-protector -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="@comment " TLS="" NO_TLS="@comment " PORTDOCS="" BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" BIG_TODO_PATCH="@comment " NO_BIG_TODO_PATCH="" BLOCKEXEC_PATCH="@comment " NO_BLOCKEXEC_PATCH="" DISCBOUNCES_PATCH="@comment " NO_DISCBOUNCES_PATCH="" DNS_CNAME="" NO_DNS_CNAME="@comment " DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" OUTGOINGIP_PATCH="@comment " NO_OUTGOINGIP_PATCH="" QEXTRA="@comment " NO_QEXTRA="" QMTPC_PATCH="@comment " NO_QMTPC_PATCH="" RCDLINK="" NO_RCDLINK="@comment " SMTP_AUTH_PATCH="@comment " NO_SMTP_AUTH_PATCH="" SPF_PATCH="@comment " NO_SPF_PATCH="" TLS_DEBUG="@comment " NO_TLS_DEBUG="" EXTTODO="@comment " RCDLINK="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/var/qmail LIB32DIR=lib DOCSDIR="doc"  EXAMPLESDIR="share/examples/netqmail"  
 DATADIR="share/netqmail"  WWWDIR="www/netqmail"  ETCDIR="etc/netqmail"
--End PLIST_SUB--

--SUB_LIST--
ECHO_CMD=echo RCDLINK= BIG_CONCURRENCY_PATCH="@comment " NO_BIG_CONCURRENCY_PATCH="" BIG_TODO_PATCH="@comment " NO_BIG_TODO_PATCH="" BLOCKEXEC_PATCH="@comment " NO_BLOCKEXEC_PATCH="" DISCBOUNCES_PATCH="@comment " NO_DISCBOUNCES_PATCH="" DNS_CNAME="" NO_DNS_CNAME="@comment " DOCS="" NO_DOCS="@comment " EXTTODO_PATCH="@comment " NO_EXTTODO_PATCH="" LOCALTIME_PATCH="@comment " NO_LOCALTIME_PATCH="" MAILDIRQUOTA_PATCH="@comment " NO_MAILDIRQUOTA_PATCH="" OUTGOINGIP_PATCH="@comment " NO_OUTGOINGIP_PATCH="" QEXTRA="@comment " NO_QEXTRA="" QMTPC_PATCH="@comment " NO_QMTPC_PATCH="" SMTP_AUTH_PATCH="@comment " NO_SMTP_AUTH_PATCH="" SPF_PATCH="@comment " NO_SPF_PATCH="" TLS_DEBUG="@comment " NO_TLS_DEBUG="" PREFIX=/var/qmail LOCALBASE=/usr/local  DATADIR=/var/qmail/share/netqmail DOCSDIR=/var/qmail/doc EXAMPLESDIR=/var/qmail/share/examples/netqmail  WWWDIR=/var/qmail/www/netqmail ETCDIR=/var/qmail/etc/netqmail
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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 7.0.1 (tags/RELEASE_701/final 349250) (based on LLVM 7.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300008
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)  524288
stack size              (kbytes, -s)  65536
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    >============================
===>   netqmail-tls-1.06.20160918_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-i386-default-job-16] Installing pkg-1.10.5_5...
[head-i386-default-job-16] Extracting pkg-1.10.5_5: .......... done
===>   netqmail-tls-1.06.20160918_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of netqmail-tls-1.06.20160918_1
===========================================================================
<snip>
  { close(fdmess); err("ZSorry, message has wrong type. (#4.3.5)\n"); return; }
    ^
spawn.c:116:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  { close(fdmess); err("ZSorry, message has wrong owner. (#4.3.5)\n"); return; }
    ^
spawn.c:118:6: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
 if (pipe(pi) == -1)
     ^
spawn.c:119:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  { close(fdmess); err("Zqmail-spawn unable to create pipe. (#4.3.0)\n"); return; }
    ^
spawn.c:124:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
 close(fdmess);
 ^
spawn.c:142:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
 r = read(0,cmdbuf,sizeof(cmdbuf));
     ^
spawn.c:189:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
 if (chdir(auto_qmail) == -1) _exit(111);
     ^
spawn.c:235:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
         r = read(d[i].fdin,inbuf,128);
             ^
spawn.c:244:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
           close(d[i].fdin); d[i].used = 0;
           ^
spawn.c:247:47: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
         while (!stralloc_readyplus(&d[i].output,r)) sleep(10); /*XXX*/
                                                     ^
14 warnings generated.
./compile chkshsgr.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
chkshsgr.c:7:6: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
     ^
chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
                              ^
2 warnings generated.
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
( ( ./compile tryshsgr.c  && ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1  && echo \#define HASSHORTSETGROUPS 1 || exit 0 ) >  hasshsgr.h
rm -f tryshsgr.o tryshsgr
./compile prot.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
prot.c:13:7: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
  if (setgroups(1,&gid) == -1) return -1;
      ^
prot.c:15:10: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration]
  return setgid(gid); /* _should_ be redundant, but on some systems it isn't */
         ^
prot.c:20:10: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration]
  return setuid(uid);
         ^
3 warnings generated.
./compile coe.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile cdb_hash.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile cdb_unpack.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./compile cdb_seek.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
cdb_seek.c:17:11: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
      r = read(fd,buf,len);
          ^
1 warning generated.
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
mv auto_uids.c.dist auto_uids.c
./compile auto_uids.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o  sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a  substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o  auto_spawn.o
./compile qmail-getpw.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
qmail-getpw.c:48:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
1 warning generated.
./auto-str auto_break  "`head -1 conf-break`" > auto_break.c
./compile auto_break.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./auto-str auto_usera `head -1 conf-users` > auto_usera.c
./compile auto_usera.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
./load qmail-getpw case.a substdio.a error.a str.a fs.a  auto_break.o auto_usera.o
./compile qmail-remote.c
cc: warning: argument unused during compilation: '-L/usr/lib' [-Wunused-command-line-argument]
qmail-remote.c:114:26: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  if (ssl_err_str) { out(ssl_err_str); out(" "); }
                         ^~~~~~~~~~~
qmail-remote.c:176:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = ch - '0';
      ^~~
qmail-remote.c:177:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = code * 10 + (ch - '0');
      ^~~
qmail-remote.c:178:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = code * 10 + (ch - '0');
      ^~~
qmail-remote.c:180:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:182:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (ch != '\n') get(&ch);
                           ^~~
qmail-remote.c:183:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:184:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:185:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:187:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  while (ch != '\n') get(&ch);
                         ^~~
qmail-remote.c:269:24: error: incomplete definition of type 'struct ssl_st'
  int state = ssl ? ssl->state : SSL_ST_BEFORE;
                    ~~~^
/usr/include/openssl/ossl_typ.h:147:16: note: forward declaration of 'struct ssl_st'
typedef struct ssl_st SSL;
               ^
qmail-remote.c:269:34: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'?
  int state = ssl ? ssl->state : SSL_ST_BEFORE;
                                 ^~~~~~~~~~~~~
                                 TLS_ST_BEFORE
/usr/include/openssl/ssl.h:979:5: note: 'TLS_ST_BEFORE' declared here
    TLS_ST_BEFORE,
    ^
qmail-remote.c:270:15: error: use of undeclared identifier 'SSL_ST_OK'; did you mean 'TLS_ST_OK'?
  if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE))
              ^~~~~~~~~
              TLS_ST_OK
/usr/include/openssl/ssl.h:980:5: note: 'TLS_ST_OK' declared here
    TLS_ST_OK,
    ^
qmail-remote.c:270:47: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'?
  if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE))
                                              ^~~~~~~~~~~~~
                                              TLS_ST_BEFORE
/usr/include/openssl/ssl.h:979:5: note: 'TLS_ST_BEFORE' declared here
    TLS_ST_BEFORE,
    ^
qmail-remote.c:337:7: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT;
      ^~
qmail-remote.c:337:37: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT;
                                    ^~
qmail-remote.c:391:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      out("ZNo TLS achieved while "); out(servercert);
                                          ^~~~~~~~~~
qmail-remote.c:453:11: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      out(servercert); out(" exists"); TLS_QUIT;
          ^~~~~~~~~~
qmail-remote.c:490:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (match_partner(gn->d.ia5->data, gn->d.ia5->length)){
                            ^~~~~~~~~~~~~~~
qmail-remote.c:341:31: note: passing argument to parameter 's' here
int match_partner(const char *s, int len)
                              ^
qmail-remote.c:505:60: error: incomplete definition of type 'struct X509_name_entry_st'
        const ASN1_STRING *s = X509_NAME_get_entry(subj, i)->value;
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/x509.h:73:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
qmail-remote.c:506:47: warning: assigning to 'char *' from 'unsigned char *const' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s) { peer.len = s->length; peer.s = s->data; }
                                              ^ ~~~~~~~
qmail-remote.c:697:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) temp_chdir();
      ^
qmail-remote.c:706:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-remote.c:706:21: note: place parentheses around the assignment to silence this warning
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
                    ^
          (                                                       )
qmail-remote.c:706:21: note: use '==' to turn this assignment into an equality comparison
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
                    ^
                    ==
qmail-remote.c:737:21: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  random = now() + (getpid() << 16);
                    ^
qmail-remote.c:779:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(smtpfd);
    ^
20 warnings and 5 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/mail/qmail-tls/work/netqmail-1.06
*** Error code 1

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



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