[package - main-i386-default][www/mod_auth_mysql2] Failed for ap24-mod_auth_mysql2-1.11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 12 Feb 2023 23:46:40 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:     joneum@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p909032bc6729_s7e44856e3a/logs/ap24-mod_auth_mysql2-1.11.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p909032bc6729_s7e44856e3a
Log:

=>> Building www/mod_auth_mysql2
build started at Sun Feb 12 23:46:31 UTC 2023
port directory: /usr/ports/www/mod_auth_mysql2
package name: ap24-mod_auth_mysql2-1.11
building for: FreeBSD main-i386-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386
maintained by: joneum@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 03




!!! Jail is newer than host. (Jail: 1400079, 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=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
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=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for ap24-mod_auth_mysql2-1.11:
     DOCS=on: Build and/or install documentation
     OPENSSL=off: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
joneum@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work/.cache  HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mod_auth_mysql2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/mod_auth_mysql2/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work/.cache  HOME=/wrkdirs/usr/ports/www/mod_auth_mysql2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/mod_auth_mysql2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/mod_auth_mysql2/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=/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--
PORTDOCS="" APACHEMODDIR="libexec/apache24"  APACHEINCLUDEDIR="include/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" AP_NAME="auth_mysql" AP_MODULE="mod_auth_mysql.so" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/mod_auth_mysql"  EXAMPLESDIR="share/examples/mod_auth_mysql"  DATADIR="share/mod_auth_mysql"  WWWDIR="www/mod_auth_mysql"  ETCDIR="etc/mod_auth_mysql"
--End PLIST_SUB--

--SUB_LIST--
APACHEMODDIR="libexec/apache24"  APACHEETCDIR="etc/apache24"  APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mod_auth_mysql DOCSDIR=/usr/local/share/doc/mod_auth_mysql EXAMPLESDIR=/usr/local/share/examples/mod_auth_mysql  WWWDIR=/usr/local/www/mod_auth_mysql ETCDIR=/usr/local/etc/mod_auth_mysql
--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=1400079
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   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ap24-mod_auth_mysql2-1.11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-i386-default-job-03] Installing pkg-1.19.1...
[main-i386-default-job-03] Extracting pkg-1.19.1: .......... done
===>   ap24-mod_auth_mysql2-1.11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ap24-mod_auth_mysql2-1.11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_auth_mysql2-1.11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_auth_mysql2-1.11 for building
=> SHA256 Checksum OK for apache2/mod_auth_mysql_1.11.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by ap24-mod_auth_mysql2-1.11 for building
===>  Extracting for ap24-mod_auth_mysql2-1.11
=> SHA256 Checksum OK for apache2/mod_auth_mysql_1.11.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[main-i386-default-job-03] Extracting apache24-2.4.55: .......... done
=====
Message from db5-5.3.28_9:

--
===>   NOTICE:

The db5 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
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLd, potential security issues, maybe use db18 instead.

It is scheduled to be removed on or after 2022-06-30.
=====
Message from apr-1.7.0.1.6.1_2:

--
The Apache Portable Runtime project removed support for FreeTDS with
version 1.6. Users requiring MS-SQL connectivity must migrate
configurations to use the added ODBC driver and FreeTDS' ODBC features.
=====
Message from ca_root_nss-3.87:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from apache24-2.4.55:

--
To run apache www server from startup, add apache24_enable="yes"
in your /etc/rc.conf. Extra options can be found in startup script.

Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.


- apache24 default build changed from static MPM to modular MPM
- more modules are now enabled per default in the port
- icons and error pages moved from WWWDIR to DATADIR

   If build with modular MPM and no MPM is activated in
   httpd.conf, then mpm_prefork will be activated as default
   MPM in etc/apache24/modules.d to keep compatibility with
   existing php/perl/python modules!

Please compare the existing httpd.conf with httpd.conf.sample
and merge missing modules/instructions into httpd.conf!
===>   ap24-mod_auth_mysql2-1.11 depends on file: /usr/local/sbin/apxs - found
===>   Returning to build of ap24-mod_auth_mysql2-1.11
===========================================================================
=======================<phase: lib-depends    >============================
===>   ap24-mod_auth_mysql2-1.11 depends on shared library: libmysqlclient.so.20 - not found
===>   Installing existing package /packages/All/mysql57-client-5.7.40.pkg
[main-i386-default-job-03] Installing mysql57-client-5.7.40...
[main-i386-default-job-03] `-- Installing cyrus-sasl-2.1.28...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[main-i386-default-job-03] `-- Extracting cyrus-sasl-2.1.28: .......... done
[main-i386-default-job-03] `-- Installing groff-1.22.4_4...
[main-i386-default-job-03] |   `-- Installing libiconv-1.17...
[main-i386-default-job-03] |   `-- Extracting libiconv-1.17: .......... done
[main-i386-default-job-03] |   `-- Installing psutils-1.17_5...
[main-i386-default-job-03] |   | `-- Installing libpaper-1.1.28...
[main-i386-default-job-03] |   | `-- Extracting libpaper-1.1.28: .......... done
[main-i386-default-job-03] |   `-- Extracting psutils-1.17_5: .......... done
[main-i386-default-job-03] |   `-- Installing uchardet-0.0.8...
[main-i386-default-job-03] |   `-- Extracting uchardet-0.0.8: .......... done
[main-i386-default-job-03] `-- Extracting groff-1.22.4_4: .......... done
[main-i386-default-job-03] `-- Installing libedit-3.1.20221030,1...
[main-i386-default-job-03] `-- Extracting libedit-3.1.20221030,1: .......... done
[main-i386-default-job-03] `-- Installing libevent-2.1.12...
[main-i386-default-job-03] `-- Extracting libevent-2.1.12: .......... done
[main-i386-default-job-03] `-- Installing liblz4-1.9.4,1...
[main-i386-default-job-03] `-- Extracting liblz4-1.9.4,1: .......... done
[main-i386-default-job-03] `-- Installing openldap26-client-2.6.3...
[main-i386-default-job-03] `-- Extracting openldap26-client-2.6.3: .......... done
[main-i386-default-job-03] `-- Installing protobuf-3.21.12,1...
[main-i386-default-job-03] `-- Extracting protobuf-3.21.12,1: .......... done
[main-i386-default-job-03] Extracting mysql57-client-5.7.40: .......... done
=====
Message from cyrus-sasl-2.1.28:

--
You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.
=====
Message from groff-1.22.4_4:

--
In order to be able to use the html driver, you need to install the following
packages:
 - ghostscript
 - netpbm
=====
Message from openldap26-client-2.6.3:

--
The OpenLDAP client package has been successfully installed.

Edit
  /usr/local/etc/openldap/ldap.conf
to change the system-wide client defaults.

Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
  http://www.OpenLDAP.org/faq/index.cgi?file=3
for more information.
=====
Message from mysql57-client-5.7.40:

--
This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql57-server
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Upstream support ended in October 2019.

It is scheduled to be removed on or after 2023-12-31.
===>   ap24-mod_auth_mysql2-1.11 depends on shared library: libmysqlclient.so.20 - found (/usr/local/lib/mysql/libmysqlclient.so.20)
===>   Returning to build of ap24-mod_auth_mysql2-1.11
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ap24-mod_auth_mysql2-1.11
===========================================================================
=======================<phase: build          >============================
===>  Building for ap24-mod_auth_mysql2-1.11
===>  Generating apache plist
(cd /wrkdirs/usr/ports/www/mod_auth_mysql2/work/mod_auth_mysql && /usr/local/sbin/apxs -c -I /usr/local/include/mysql -L /usr/local/lib/mysql -lmysqlclient -o mod_auth_mysql.la mod_auth_mysql.c)
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing    -I/usr/local/include/apache24  -I/usr/local/include/apr-1   -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db5 -I/usr/local/include/mysql  -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo
mod_auth_mysql.c:155:40: warning: '/*' within block comment [-Wcomment]
    /* MYSQL *mysql_handle;            /* the mysql-handle */
                                       ^
mod_auth_mysql.c:768:42: warning: call to undeclared function 'ap_requires'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    const apr_array_header_t *reqs_arr = ap_requires(r);
                                         ^
mod_auth_mysql.c:768:31: error: incompatible integer to pointer conversion initializing 'const apr_array_header_t *' (aka 'const struct apr_array_header_t *') with an expression of type 'int' [-Wint-conversion]
    const apr_array_header_t *reqs_arr = ap_requires(r);
                              ^          ~~~~~~~~~~~~~~
2 warnings and 1 error generated.
apxs:Error: Command failed with rc=65536