+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ejabberd-25.04/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ejabberd-25.04/work.log => Checksum BLAKE2s OK for ejabberd-25.04.tar.gz => Checksum SHA512 OK for ejabberd-25.04.tar.gz ===> Installing dependencies for ejabberd-25.04 ========================================================================== The supported build options for ejabberd are: sqlite The currently selected options are: sqlite You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ejabberd = sqlite ========================================================================== ========================================================================== The following variables will affect the build process of this package, ejabberd-25.04. Their current value is shown below: * EJABBERD_DB = /var/spool/ejabberd * EJABBERD_GROUP = ejabberd * EJABBERD_LOGDIR = /var/log/ejabberd * EJABBERD_PIDDIR = /var/run/ejabberd * EJABBERD_USER = ejabberd * VARBASE = /var You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/local/bin/bmake clean' after the changes. ========================================================================== => Tool dependency rebar>=2: found rebar-2.6.4nb1 => Tool dependency automake>=1.9: found automake-1.16.5nb3 => Tool dependency autoconf>=2.58: found autoconf-2.72 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency perl>=5.0: found perl-5.40.2 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc13>=13.1.0: found gcc13-13.3.0 => Full dependency erlang-cache_tab>=1.0.31: found erlang-cache_tab-1.0.31 => Full dependency erlang-epam>=1.0.14: found erlang-epam-1.0.14 => Full dependency erlang-eimp>=1.0.24: found erlang-eimp-1.0.24 => Full dependency erlang-esip>=1.0.57: found erlang-esip-1.0.57 => Full dependency erlang-ezlib>=1.0.13: found erlang-ezlib-1.0.13 => Full dependency erlang-fast_tls>=1.1.22: found erlang-fast_tls-1.1.22 => Full dependency erlang-fast_xml>=1.1.55: found erlang-fast_xml-1.1.55 => Full dependency erlang-fast_yaml>=1.0.37: found erlang-fast_yaml-1.0.37 => Full dependency erlang-idna>=6.1.1: found erlang-idna-6.1.1nb5 => Full dependency erlang-jose>=1.11.10: found erlang-jose-1.11.10 => Full dependency erlang-mqtree>=1.0.17: found erlang-mqtree-1.0.17 => Full dependency erlang-p1_acme>=1.0.25: found erlang-p1_acme-1.0.25nb1 => Full dependency erlang-p1_mysql>=1.0.26: found erlang-p1_mysql-1.0.26 => Full dependency erlang-p1_oauth2>=0.6.14: found erlang-p1_oauth2-0.6.14 => Full dependency erlang-p1_pgsql>=1.1.32: found erlang-p1_pgsql-1.1.32 => Full dependency erlang-p1_utils>=1.0.27: found erlang-p1_utils-1.0.27 => Full dependency erlang-pkix>=1.0.10: found erlang-pkix-1.0.10 => Full dependency erlang-stringprep>=1.0.31: found erlang-stringprep-1.0.31 => Full dependency erlang-stun>=1.2.17: found erlang-stun-1.2.17 => Full dependency erlang-xmpp>=1.10.0: found erlang-xmpp-1.10.0 => Full dependency erlang-yconf>=1.0.18: found erlang-yconf-1.0.18 => Full dependency erlang-sqlite3>=1.1.13: found erlang-sqlite3-1.1.15nb4 => Full dependency erlang>=27.0: found erlang-27.0.1 => Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0 => Full dependency libltdl>=2.4.2: found libltdl-2.4.7 => Full dependency unixodbc>=2.3.2: found unixodbc-2.3.12nb1 ===> Overriding tools for ejabberd-25.04 ===> Extracting for ejabberd-25.04 cd /home/pbulk/build/chat/ejabberd/work/ejabberd-25.04 && /usr/bin/rm rebar rebar3 && /usr/bin/ln -s /opt/local/bin/rebar . ===> Patching for ejabberd-25.04 => Applying pkgsrc patches for ejabberd-25.04 => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd/patches/patch-aa => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.21 2025/04/28 12:38:17 gdt Exp $ | | - Split etcdir into where the config is installed and where it is | used from, to align with pkgsrc CONF_FILES. | \todo Consider patching installation instead of here, or at least | leaving ETCDIR correct. | | - Point SPOOL and LOG at pkgsrc-chosen locations. | | - Don't set user/group on installed files; just because we are | running the daemon as ejabberd doesn't mean that the files in | e.g. /usr/pkg/bin should be installed as ejabberd. | | - Patch own CHOWN that is redundant with install and O_USER. | \todo File upstream. | |--- Makefile.in.orig 2025-04-16 15:58:37.000000000 +0000 |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 25. Hunk #2 succeeded at 82. Hunk #3 succeeded at 416. Hunk #4 succeeded at 460. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd/patches/patch-ae => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.25 2025/04/28 12:38:17 gdt Exp $ | |- Don't use 'su -s /bin/sh' because that is a Linux | extension. It instructs to use the specified shell instead of the | user's shell, but pkgsrc uses /bin/sh for ejabberd. | |- In su, place the user before the command, as at least NetBSD and | Linux su document. Resolves: | su: Unknown class exec "$0" "$@" | on NetBSD. | (This was "Use a portable su arg order while at it.") | (Introduced in 1.17, 2017-07-07) | |- A previous version had: | Use 'su -' instead of just 'su'. Fixes priv delegation on SunOS | and AIX where Erlang relies on $HOME set correctly. | However that broke ejabberdctl as root on NetBSD and is thus | reverted in 1.25. | (Introduced in 1.14, 2016-04-25. Reverted in 1.25, 2025-04-27.) | |- Previous versions accomodated grep not having -q but: | + POSIX says grep supports -q | https://pubs.opengroup.org/onlinepubs/9799919799/utilities/grep.html | + This change was not filed upstream. | + It was a long time ago and thus one would expect that by now | systems would have been fixed to comply with POSIX. | (Introduced in 1.17, 2017-07-07) | |su woes are upstream at: | https://github.com/processone/ejabberd/pull/4320 | |--- ejabberdctl.template.orig 2023-10-17 13:57:50.000000000 +0000 |+++ ejabberdctl.template -------------------------- Patching file ejabberdctl.template using Plan A... Hunk #1 succeeded at 130 (offset 9 lines). done ===> Creating toolchain wrappers for ejabberd-25.04 /usr/bin/sed -e '/^#/d' -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g' -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g' -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g' < ../../extra/gcc13-libs/files/specs.pkgsrc > /home/pbulk/build/chat/ejabberd/work/.cwrapper/specs.pkgsrc ===> Configuring for ejabberd-25.04 => Localizing paths cd /home/pbulk/build/chat/ejabberd/work/ejabberd-25.04 && /usr/bin/bash autogen.sh => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing bash interpreter in ejabberdctl.template tools/captcha.sh. checking whether make sets $(MAKE)... yes checking for gawk... /usr/bin/nawk checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk checking for a race-free mkdir -p... mkdir -p checking for a sed that does not truncate output... /usr/bin/sed checking for x86_64-sun-solaris2.11-erl... no checking for erl... /opt/local/bin/erl checking for x86_64-sun-solaris2.11-erlc... no checking for erlc... /opt/local/bin/erlc checking for x86_64-sun-solaris2.11-epmd... no checking for epmd... /opt/local/bin/epmd checking for x86_64-sun-solaris2.11-rebar... no checking for rebar... /opt/local/bin/rebar checking for x86_64-sun-solaris2.11-rebar3... no checking for rebar3... no checking for x86_64-sun-solaris2.11-elixir... no checking for elixir... no checking for x86_64-sun-solaris2.11-iex... no checking for iex... no checking for x86_64-sun-solaris2.11-mix... no checking for mix... no checking for x86_64-sun-solaris2.11-erl... /opt/local/bin/erl checking for x86_64-sun-solaris2.11-erlc... /opt/local/bin/erlc checking for Erlang/OTP root directory... /opt/local/lib/erlang checking for escript... /opt/local/lib/erlang/bin/escript checking for make... make checking Erlang/OTP version... ok allow this system group to start ejabberd: ejabberd allow this system user to start ejabberd: ejabberd checking for x86_64-sun-solaris2.11-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for SQLite3 library >= 3.6.19... yes cat: cannot open /include/sqlite3.h: No such file or directory ./configure: line 5592: test: !=: unary operator expected configure: WARNING: Cannot find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version! configure: error: SQLite3 library >= 3.6.19 was not found *** Error code 1 Stop. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/chat/ejabberd