[package - main-i386-default][security/starttls] Failed for starttls-emacs_devel_nox-0.10_26 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 17 Mar 2023 01:43: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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pa4dc61a491aa_scee09bda03/logs/starttls-emacs_devel_nox-0.10_26.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pa4dc61a491aa_scee09bda03
Log:

=>> Building security/starttls
build started at Fri Mar 17 01:43:36 UTC 2023
port directory: /usr/ports/security/starttls
package name: starttls-emacs_devel_nox-0.10_26
building for: FreeBSD main-i386-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400082 i386
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400082
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400082
UNAME_v=FreeBSD 14.0-CURRENT 1400082
UNAME_r=14.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-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-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=devel_nox
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=devel_nox
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-openssl=/usr --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.cache  HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.cache  HOME=/wrkdirs/usr/ports/security/starttls/work-devel_nox TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/starttls/work-devel_nox/.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=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"
--End MAKE_ENV--

--PLIST_SUB--
EMACS_LIBDIR=share/emacs  EMACS_VER=30.0.50  EMACS_LIBDIR_WITH_VER=share/emacs/30.0.50  EMACS_SITE_LISPDIR=share/emacs/site-lisp  EMACS_VERSION_SITE_LISPDIR=share/emacs/30.0.50/site-lisp OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/starttls"  EXAMPLESDIR="share/examples/starttls"  DATADIR="share/starttls"  WWWDIR="www/starttls"  ETCDIR="etc/starttls"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/starttls DOCSDIR=/usr/local/share/doc/starttls EXAMPLESDIR=/usr/local/share/examples/starttls  WWWDIR=/usr/local/www/starttls ETCDIR=/usr/local/etc/starttls
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.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_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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400082
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)  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   >============================
===>   NOTICE:

The starttls port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===========================================================================
=======================<phase: pkg-depends    >============================
===>   starttls-emacs_devel_nox-0.10_26 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-i386-default-job-11] Installing pkg-1.19.1_1...
[main-i386-default-job-11] Extracting pkg-1.19.1_1: .......... done
===>   starttls-emacs_devel_nox-0.10_26 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of starttls-emacs_devel_nox-0.10_26
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The starttls port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

<snip>
[main-i386-default-job-11] `-- Extracting mailutils-3.15_3: .......... done
[main-i386-default-job-11] `-- Installing sqlite3-3.41.0_1,1...
[main-i386-default-job-11] |   `-- Installing libedit-3.1.20221030,1...
[main-i386-default-job-11] |   `-- Extracting libedit-3.1.20221030,1: .......... done
[main-i386-default-job-11] `-- Extracting sqlite3-3.41.0_1,1: .......... done
[main-i386-default-job-11] `-- Installing tree-sitter-0.20.7...
[main-i386-default-job-11] `-- Extracting tree-sitter-0.20.7: .......... done
[main-i386-default-job-11] Extracting emacs-devel-nox-30.0.50.20230228_1,3: .......... done
Generating GIO modules cache
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from gcc12-12.2.0_5:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc12

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from python39-3.9.16_2:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
=====
Message from emacs-devel-nox-30.0.50.20230228_1,3:

--
Emacs is now built with native compilation enabled by default, which
requires GCC version 11 or later.  However, it is known that some
elisp applications don't work correctly when compiled.  You can work
around any such issues by disabling native compilation using the
following steps.

1. Add the following lines at the top of your Emacs configuration:

(setq native-comp-deferred-compilation nil
comp-enable-subr-trampolines nil)

2. Exit emacs

3. rm -rf ~/.emacs.d/eln-cache

4. Start emacs again

Whereas all elisp files included in the Emacs source archive are
native compiled at build time, 3rd party elisp files (for example,
from elisp ports/packages) are native compiled at run time. This will
result in high CPU usage when they are compiled. If this annoys you,
you can throttle the number of jobs by changing the value of the
variable 'native-comp-async-jobs-number' in your emacs
configuration. See the output of `C-h v native-comp-async-jobs-number`
for details.
===>   starttls-emacs_devel_nox-0.10_26 depends on file: /usr/local/bin/emacs-30.0.50 - found
===>   Returning to build of starttls-emacs_devel_nox-0.10_26
===>   starttls-emacs_devel_nox-0.10_26 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[main-i386-default-job-11] Installing gmake-4.3_2...
[main-i386-default-job-11] Extracting gmake-4.3_2: .......... done
===>   starttls-emacs_devel_nox-0.10_26 depends on package: gmake>=4.3 - found
===>   Returning to build of starttls-emacs_devel_nox-0.10_26
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for starttls-emacs_devel_nox-0.10_26
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for emacs... /usr/local/bin/emacs
checking where .elc files should go... $(prefix)/share/emacs/site-lisp
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for strerror in -lcposix... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether gmake sets ${MAKE}... (cached) yes
checking for ranlib... ranlib
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for libgen.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for addrinfo... yes
checking for socket in -lsocket... no
checking for getopt_long... yes
checking for basename... (cached) yes
checking for poll... (cached) yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for BIO_accept in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
configure: creating ./config.status
config.status: creating Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for starttls-emacs_devel_nox-0.10_26
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/starttls/work-devel_nox/starttls-0.10'
WARNING: Warnings can be ignored. :-)
cc -I. -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"starttls\" -DVERSION=\"0.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_ADDRINFO=1 -DHAVE_BASENAME=1    -I/usr/include  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -c starttls.c
if test /usr/local/bin/emacs-30.0.50 != no; then \
  EMACS=/usr/local/bin/emacs-30.0.50 /bin/sh ./elisp-comp starttls.el; \
fi

In toplevel form:
starttls.el:39:12: Warning: defcustom for `starttls-program' fails to specify type
starttls.el:43:12: Warning: defcustom for `starttls-negotiation-by-kill-program' fails to specify type
starttls.el:47:12: Warning: defcustom for `starttls-kill-program' fails to specify type
starttls.el:51:12: Warning: defcustom for `starttls-extra-args' fails to specify type

In end of data:
starttls.el:80:6: Warning: the function `process-kill-without-query' is not known to be defined.
In file included from starttls.c:56:
./getopt.h:100:12: 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 int getopt ();
           ^
/usr/include/unistd.h:379:6: note: conflicting prototype is here
int      getopt(int, char * const [], const char *);
         ^
starttls.c:72:26: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]
  tls_ctx = SSL_CTX_new (TLSv1_client_method());
                         ^
/usr/include/openssl/ssl.h:1893:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))
^
/usr/include/openssl/opensslconf.h:158:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:116:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
starttls.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tls_ssl_ctx_new (cert_file, key_file)
^
starttls.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tls_ssl_new(ctx, s)
^
starttls.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tls_connect (hostname, service)
^
starttls.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tls_negotiate (sig)
^
starttls.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
usage (progname)
^
starttls.c:263:11: warning: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          usage (basename (argv[0]));
                 ^
starttls.c:263:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
          usage (basename (argv[0]));
                 ^~~~~~~~~~~~~~~~~~
starttls.c:270:14: warning: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      usage (basename (argv[0]));
             ^
starttls.c:270:14: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
      usage (basename (argv[0]));
             ^~~~~~~~~~~~~~~~~~
starttls.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main (argc, argv) 
^
10 warnings and 2 errors generated.
gmake[1]: *** [Makefile:300: starttls.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/starttls/work-devel_nox/starttls-0.10'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/starttls