[package - 131i386-default][net/lualdap] Failed for lua54-lualdap-1.3.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 09 Dec 2022 00:04:20 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/beefy15/data/131i386-default/48d46d1597b7/logs/lua54-lualdap-1.3.0.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=131i386-default&build=48d46d1597b7
Log:

=>> Building net/lualdap
build started at Fri Dec  9 00:04:15 UTC 2022
port directory: /usr/ports/net/lualdap
package name: lua54-lualdap-1.3.0
building for: FreeBSD 131i386-default-job-06 13.1-RELEASE-p5 FreeBSD 13.1-RELEASE-p5 i386
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p5
UNAME_r=13.1-RELEASE-p5
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/131i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131i386-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=lua54
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=lua54
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for lua54-lualdap-1.3.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54/.cache  HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/lualdap/work-lua54/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/lualdap/work-lua54/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
LUA_MODLIBDIR=/usr/local/lib/lua/5.4  LUA_MODSHAREDIR=/usr/local/share/lua/5.4  LUA_MODDOCSDIR=/usr/local/share/doc/lua54  LUA_INCDIR=/usr/local/include/lua54  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.4  LUA_VER_STR=54 LUA_DOCSDIR=/usr/local/share/doc/lua54/lualdap LUA_EXAMPLESDIR=/usr/local/share/examples/lua54/lualdap XDG_DATA_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54/.cache  HOME=/wrkdirs/usr/ports/net/lualdap/work-lua54 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/lualdap/work-lua54/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/lualdap/work-lua54/.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 -DLDAP_
 DEPRECATED -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -DLDAP_DEPRECATED -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="" LUA_MODLIBDIR=lib/lua/5.4  LUA_MODSHAREDIR=share/lua/5.4  LUA_MODDOCSDIR=share/doc/lua54  LUA_INCDIR=include/lua54  LUA_VER=5.4  LUA_VER_STR=54 LUA_DOCSDIR=share/doc/lua54/lualdap LUA_EXAMPLESDIR=share/examples/lua54/lualdap OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lua54/lualdap"  EXAMPLESDIR="share/examples/lualdap"  DATADIR="share/lualdap"  WWWDIR="www/lualdap"  ETCDIR="etc/lualdap"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lualdap DOCSDIR=/usr/local/share/doc/lua54/lualdap EXAMPLESDIR=/usr/local/share/examples/lualdap  WWWDIR=/usr/local/www/lualdap ETCDIR=/usr/local/etc/lualdap
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: i386-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p5
OSREL=13.1
OSVERSION=1301000
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 lualdap 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

===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   lua54-lualdap-1.3.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131i386-default-job-06] Installing pkg-1.18.4...
[131i386-default-job-06] Extracting pkg-1.18.4: .......... done
===>   lua54-lualdap-1.3.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lua54-lualdap-1.3.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The lualdap 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

===>  License MIT accepted by the user
===> Fetching all distfiles required by lua54-lualdap-1.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The lualdap 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

===>  License MIT accepted by the user
===> Fetching all distfiles required by lua54-lualdap-1.3.0 for building
=> SHA256 Checksum OK for lualdap-lualdap-v1.3.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The lualdap 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

===>  License MIT accepted by the user
===> Fetching all distfiles required by lua54-lualdap-1.3.0 for building
===>  Extracting for lua54-lualdap-1.3.0
=> SHA256 Checksum OK for lualdap-lualdap-v1.3.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for lua54-lualdap-1.3.0
===========================================================================
=======================<phase: build-depends  >============================
===>   lua54-lualdap-1.3.0 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[131i386-default-job-06] Installing gmake-4.3_2...
[131i386-default-job-06] `-- Installing gettext-runtime-0.21.1...
[131i386-default-job-06] |   `-- Installing indexinfo-0.3.1...
[131i386-default-job-06] |   `-- Extracting indexinfo-0.3.1: .... done
[131i386-default-job-06] `-- Extracting gettext-runtime-0.21.1: .......... done
[131i386-default-job-06] Extracting gmake-4.3_2: .......... done
===>   lua54-lualdap-1.3.0 depends on package: gmake>=4.3 - found
===>   Returning to build of lua54-lualdap-1.3.0
===========================================================================
=======================<phase: lib-depends    >============================
===>   lua54-lualdap-1.3.0 depends on shared library: liblua-5.4.so - not found
===>   Installing existing package /packages/All/lua54-5.4.4.pkg
[131i386-default-job-06] Installing lua54-5.4.4...
[131i386-default-job-06] `-- Installing libedit-3.1.20221030,1...
[131i386-default-job-06] `-- Extracting libedit-3.1.20221030,1: .......... done
[131i386-default-job-06] Extracting lua54-5.4.4: .......... done
===>   lua54-lualdap-1.3.0 depends on shared library: liblua-5.4.so - found (/usr/local/lib/liblua-5.4.so)
===>   Returning to build of lua54-lualdap-1.3.0
===>   lua54-lualdap-1.3.0 depends on shared library: libldap.so.2 - not found
===>   Installing existing package /packages/All/openldap26-client-2.6.3.pkg
[131i386-default-job-06] Installing openldap26-client-2.6.3...
[131i386-default-job-06] `-- Installing cyrus-sasl-2.1.28...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[131i386-default-job-06] `-- Extracting cyrus-sasl-2.1.28: .......... done
[131i386-default-job-06] Extracting openldap26-client-2.6.3: .......... 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 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.
===>   lua54-lualdap-1.3.0 depends on shared library: libldap.so.2 - found (/usr/local/lib/libldap.so.2)
===>   Returning to build of lua54-lualdap-1.3.0
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for lua54-lualdap-1.3.0
===========================================================================
=======================<phase: build          >============================
===>  Building for lua54-lualdap-1.3.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/net/lualdap/work-lua54/lualdap-1.3.0'
gmake[1]: lua: No such file or directory
cc -O2 -fPIC -std=c89 -pedantic -Wall -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -O2 -pipe  -fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing  -I/usr/include/lua -I/usr/include -I/usr/include -DLUA_C89_NUMBERS -I/usr/local/include -I/usr/local/include/lua54  -c -o src/lualdap.o src/lualdap.c
In file included from src/lualdap.c:20:
In file included from /usr/local/include/lua54/lua.h:16:
/usr/local/include/lua54/luaconf.h:130:9: warning: 'LUA_C89_NUMBERS' macro redefined [-Wmacro-redefined]
#define LUA_C89_NUMBERS         0
        ^
<command line>:2:9: note: previous definition is here
#define LUA_C89_NUMBERS 1
        ^
In file included from src/lualdap.c:20:
In file included from /usr/local/include/lua54/lua.h:16:
/usr/local/include/lua54/luaconf.h:557:2: error: "Compiler does not support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see file 'luaconf.h' for details)"
#error "Compiler does not support 'long long'. Use option '-DLUA_32BITS' \
 ^
In file included from src/lualdap.c:20:
/usr/local/include/lua54/lua.h:94:9: error: unknown type name 'LUA_INTEGER'
typedef LUA_INTEGER lua_Integer;
        ^
/usr/local/include/lua54/lua.h:97:21: error: expected ';' after top level declarator
typedef LUA_UNSIGNED lua_Unsigned;
                    ^
                    ;
/usr/local/include/lua54/lua.h:194:25: error: function cannot return function type 'int (lua_State *, int)' (aka 'int (struct lua_State *, int)')
LUA_API lua_Unsigned    (lua_rawlen) (lua_State *L, int idx);
                        ^
/usr/local/include/lua54/lua.h:194:26: error: a parameter list without types is only allowed in a function definition
LUA_API lua_Unsigned    (lua_rawlen) (lua_State *L, int idx);
                         ^
src/lualdap.c:288:11: warning: implicit declaration of function 'lua_rawlen' [-Wimplicit-function-declaration]
                int n = lua_rawlen (L, tab);
                        ^
src/lualdap.c:773:11: warning: implicit declaration of function 'lua_rawlen' [-Wimplicit-function-declaration]
                int n = lua_rawlen(L, -1);
                        ^
3 warnings and 5 errors generated.
gmake[1]: *** [<builtin>: src/lualdap.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/lualdap/work-lua54/lualdap-1.3.0'
===> 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/net/lualdap