On 2024/11/25 01:36, Kirill A. Korinsky wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]  2024/11/25 01:36:16
> 
> Added files:
>       net/ejabberd   : Makefile distinfo modules.inc 
>       net/ejabberd/patches: patch-Makefile_in 
>                             patch-ejabberd_yml_example 
>                             patch-src_mod_s2s_bidi_erl 
>       net/ejabberd/pkg: DESCR PLIST README ejabberd.rc 
> 
> Log message:
> net/ejabberd: new port (version 24.10)
> 
> ejabberd is an open-source, robust, scalable and extensible realtime
> platform built using Erlang/OTP, that includes XMPP Server, MQTT Broker
> and SIP Service.
> 
> OK: sthen@ volker@
> 

Build fails on i386, full log attached.

===> Compiling 
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc
===> 
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:41:18: 
error: unused variable 'kMaxExactDoubleIntegerDecimalDigi
ts' [-Werror,-Wunused-const-variable]
static const int kMaxExactDoubleIntegerDecimalDigits = 15;
                 ^
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:58:21: 
error: variable 'exact_powers_of_ten' is not needed and will n
ot be emitted [-Werror,-Wunneeded-internal-declaration]
static const double exact_powers_of_ten[] = {
                    ^
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:84:18: 
error: unused variable 'kExactPowersOfTenSize' [-Werror,-Wunus
ed-const-variable]
static const int kExactPowersOfTenSize = ARRAY_SIZE(exact_powers_of_ten);
                 ^
3 errors generated.

gmake: *** [Makefile:216: _build/default/lib/.built] Error 1

>>> Building on i386-1 under net/ejabberd
        BDEPENDS = 
[devel/automake/1.16;devel/rebar3,erlang26;devel/gmake;databases/sqlite3;devel/libyaml;lang/erlang/26;devel/metaauto;devel/libtool;devel/autoconf/2.72;devel/rebar3]
        DIST = 
[net/ejabberd:hex_modules/hex_core-0.10.1.tar;net/ejabberd:hex_modules/idna-6.0.0.tar;net/ejabberd:hex_modules/eredis-1.2.0.tar;net/ejabberd:hex_modules/base64url-1.0.1.tar;net/ejabberd:hex_modules/fast_tls-1.1.22.tar;net/ejabberd:hex_modules/unicode_util_compat-0.7.0.tar;net/ejabberd:hex_modules/sqlite3-1.1.15.tar;net/ejabberd:hex_modules/p1_utils-1.0.26.tar;net/ejabberd:hex_modules/p1_pgsql-1.1.26.tar;net/ejabberd:hex_modules/mqtree-1.0.17.tar;net/ejabberd:hex_modules/fast_xml-1.1.53.tar;net/ejabberd:hex_modules/lager-3.9.1.tar;net/ejabberd:hex_modules/provider_asn1-0.2.0.tar;net/ejabberd:hex_modules/rebar3_hex-7.0.8.tar;net/ejabberd:hex_modules/fast_yaml-1.0.37.tar;net/ejabberd:hex_modules/jose-1.11.10.tar;net/ejabberd:hex_modules/jiffy-1.1.1.tar;net/ejabberd:hex_modules/verl-1.1.1.tar;net/ejabberd:hex_modules/luerl-1.2.0.tar;net/ejabberd:hex_modules/xmpp-1.9.0.tar;net/ejabberd:processone-ejabberd-24.10.tar.gz;net/ejabberd:hex_modules/yconf-1.0.16.tar;net/ejabberd:hex_modules/esip-1.0.56.tar;net/ejabberd:hex_modules/pc-1.15.0.tar;net/ejabberd:hex_modules/cache_tab-1.0.31.tar;net/ejabberd:hex_modules/p1_mysql-1.0.24.tar;net/ejabberd:hex_modules/stun-1.2.15.tar;net/ejabberd:hex_modules/eimp-1.0.23.tar;net/ejabberd:hex_modules/pkix-1.0.10.tar;net/ejabberd:hex_modules/p1_acme-1.0.24.tar;net/ejabberd:hex_modules/stringprep-1.0.30.tar;net/ejabberd:hex_modules/epam-1.0.14.tar;net/ejabberd:hex_modules/p1_oauth2-0.6.14.tar;net/ejabberd:hex_modules/ezlib-1.0.13.tar]
        FULLPKGNAME = ejabberd-24.10
        RDEPENDS = [lang/erlang/26;devel/libyaml;databases/sqlite3]
(Junk lock obtained for i386-1 at 1732797763.10)
>>> Running depends in net/ejabberd at 1732797763.15
   last junk was in graphics/py2-cairo
/usr/sbin/pkg_add -aI -Drepair autoconf-2.72p0 automake-1.16.5 
erl26-rebar3-3.24.0 erlang-26.2.5.5v0 libtool-2.4.2p3 libyaml-0.2.5 
metaauto-1.0p4
was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.72p0 automake-1.16.5 
erl26-rebar3-3.24.0 erlang-26.2.5.5v0 gmake-4.4.1 libtool-2.4.2p3 libyaml-0.2.5 
metaauto-1.0p4 sqlite3-3.47.0
/usr/sbin/pkg_add -aI -Drepair autoconf-2.72p0 automake-1.16.5 
erl26-rebar3-3.24.0 erlang-26.2.5.5v0 libtool-2.4.2p3 libyaml-0.2.5 
metaauto-1.0p4
>>> Running show-prepare-results in net/ejabberd at 1732797770.90
===> net/ejabberd
===> Building from scratch ejabberd-24.10
===> ejabberd-24.10 depends on: erl26-rebar3-* -> erl26-rebar3-3.24.0
===> ejabberd-24.10 depends on: erl26-rebar3-* -> erl26-rebar3-3.24.0
===> ejabberd-24.10 depends on: erlang->=26v0,<27v0 -> erlang-26.2.5.5v0
===> ejabberd-24.10 depends on: metaauto-* -> metaauto-1.0p4
===> ejabberd-24.10 depends on: autoconf-2.72 -> autoconf-2.72p0
===> ejabberd-24.10 depends on: automake->=1.16,<1.17 -> automake-1.16.5
===> ejabberd-24.10 depends on: libtool-* -> libtool-2.4.2p3
===> ejabberd-24.10 depends on: gmake-* -> gmake-4.4.1
===> ejabberd-24.10 depends on: libyaml-* -> libyaml-0.2.5
===> ejabberd-24.10 depends on: sqlite3-* -> sqlite3-3.47.0
===>  Verifying specs:  c++ c++abi pthread c crypto expat m sqlite3 ssl yaml-0
===>  found c++.10.0 c++abi.7.0 pthread.27.1 c.100.3 crypto.55.0 expat.15.0 
m.10.1 sqlite3.37.27 ssl.58.0 yaml-0.0.0
autoconf-2.72p0
automake-1.16.5
erl26-rebar3-3.24.0
erlang-26.2.5.5v0
gmake-4.4.1
libtool-2.4.2p3
libyaml-0.2.5
metaauto-1.0p4
sqlite3-3.47.0
(Junk lock released for i386-1 at 1732797775.15)
distfiles size=8287606
>>> Running extract in net/ejabberd at 1732797775.25
===> net/ejabberd
===>  Checking files for ejabberd-24.10
`/mnt/distfiles/hex_modules/provider_asn1-0.2.0.tar' is up to date.
`/mnt/distfiles/hex_modules/rebar3_hex-7.0.8.tar' is up to date.
`/mnt/distfiles/hex_modules/verl-1.1.1.tar' is up to date.
`/mnt/distfiles/hex_modules/pc-1.15.0.tar' is up to date.
`/mnt/distfiles/hex_modules/hex_core-0.10.1.tar' is up to date.
`/mnt/distfiles/hex_modules/base64url-1.0.1.tar' is up to date.
`/mnt/distfiles/hex_modules/cache_tab-1.0.31.tar' is up to date.
`/mnt/distfiles/hex_modules/eimp-1.0.23.tar' is up to date.
`/mnt/distfiles/hex_modules/epam-1.0.14.tar' is up to date.
`/mnt/distfiles/hex_modules/eredis-1.2.0.tar' is up to date.
`/mnt/distfiles/hex_modules/esip-1.0.56.tar' is up to date.
`/mnt/distfiles/hex_modules/ezlib-1.0.13.tar' is up to date.
`/mnt/distfiles/hex_modules/fast_tls-1.1.22.tar' is up to date.
`/mnt/distfiles/hex_modules/fast_xml-1.1.53.tar' is up to date.
`/mnt/distfiles/hex_modules/fast_yaml-1.0.37.tar' is up to date.
`/mnt/distfiles/hex_modules/idna-6.0.0.tar' is up to date.
`/mnt/distfiles/hex_modules/jiffy-1.1.1.tar' is up to date.
`/mnt/distfiles/hex_modules/jose-1.11.10.tar' is up to date.
`/mnt/distfiles/hex_modules/lager-3.9.1.tar' is up to date.
`/mnt/distfiles/hex_modules/luerl-1.2.0.tar' is up to date.
`/mnt/distfiles/hex_modules/mqtree-1.0.17.tar' is up to date.
`/mnt/distfiles/hex_modules/p1_acme-1.0.24.tar' is up to date.
`/mnt/distfiles/hex_modules/p1_mysql-1.0.24.tar' is up to date.
`/mnt/distfiles/hex_modules/p1_oauth2-0.6.14.tar' is up to date.
`/mnt/distfiles/hex_modules/p1_pgsql-1.1.26.tar' is up to date.
`/mnt/distfiles/hex_modules/p1_utils-1.0.26.tar' is up to date.
`/mnt/distfiles/hex_modules/pkix-1.0.10.tar' is up to date.
`/mnt/distfiles/hex_modules/sqlite3-1.1.15.tar' is up to date.
`/mnt/distfiles/hex_modules/stringprep-1.0.30.tar' is up to date.
`/mnt/distfiles/hex_modules/stun-1.2.15.tar' is up to date.
`/mnt/distfiles/hex_modules/unicode_util_compat-0.7.0.tar' is up to date.
`/mnt/distfiles/hex_modules/xmpp-1.9.0.tar' is up to date.
`/mnt/distfiles/hex_modules/yconf-1.0.16.tar' is up to date.
`/mnt/distfiles/processone-ejabberd-24.10.tar.gz' is up to date.
>> (SHA256) all files: OK
===>  Extracting for ejabberd-24.10
>>> Running patch in net/ejabberd at 1732797780.99
===> net/ejabberd
===>  Patching for ejabberd-24.10
===>   Applying OpenBSD patch patch-Makefile_in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Makefile.in
|--- Makefile.in.orig
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 80.
done
===>   Applying OpenBSD patch patch-ejabberd_yml_example
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Listen to IPv4 by default
|Index: ejabberd.yml.example
|--- ejabberd.yml.example.orig
|+++ ejabberd.yml.example
--------------------------
Patching file ejabberd.yml.example using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 35.
Hunk #3 succeeded at 43.
Hunk #4 succeeded at 61.
Hunk #5 succeeded at 78.
done
===>   Applying OpenBSD patch patch-src_mod_s2s_bidi_erl
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|https://github.com/processone/ejabberd/issues/4300
|
|Index: src/mod_s2s_bidi.erl
|--- src/mod_s2s_bidi.erl.orig
|+++ src/mod_s2s_bidi.erl
--------------------------
Patching file src/mod_s2s_bidi.erl using Plan A...
Hunk #1 succeeded at 84.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in net/ejabberd at 1732797781.87
===> net/ejabberd
===>  Generating configure for ejabberd-24.10
Running autoreconf-2.72 in /pobj/ejabberd-24.10/ejabberd-24.10
===>  Configuring for ejabberd-24.10
Using /pobj/ejabberd-24.10/config.site (generated)
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-gtk-doc
configure: loading site script /pobj/ejabberd-24.10/config.site
checking whether gmake sets $(MAKE)... yes
checking for gawk... (cached) awk
checking for a BSD-compatible install... /pobj/ejabberd-24.10/bin/install -c
checking for a race-free mkdir -p... mkdir -p
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for erl... /usr/local/bin/erl26
checking for erlc... /pobj/ejabberd-24.10/bin/erlc
checking for epmd... /usr/local/bin/epmd26
checking for rebar... no
checking for rebar3... /pobj/ejabberd-24.10/bin/rebar3
checking for elixir... no
checking for iex... no
checking for mix... no
checking for erl... (cached) /usr/local/bin/erl26
checking for erlc... (cached) /pobj/ejabberd-24.10/bin/erlc
checking for Erlang/OTP root directory... /usr/local/lib/erlang26
checking for escript... /usr/local/lib/erlang26/bin/escript
checking for make... gmake
checking Erlang/OTP version... ok
allow this system group to start ejabberd: _ejabberd
allow this system user to start ejabberd: _ejabberd
checking for gcc... cc
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... (cached) o
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... none needed
checking for SQLite3 library >= 3.6.19... yes
build tool to use (change using --with-rebar): /usr/local/bin/rebar3-26
configure: creating ./config.status
config.status: creating Makefile
config.status: creating vars.config
configure: WARNING: unrecognized options: --disable-silent-rules, 
--disable-gtk-doc
cd /pobj/ejabberd-24.10/ejabberd-24.10 && /usr/bin/env -i CFLAGS="-O2 -pipe  
"-I/usr/local/include" "  CPPFLAGS=" "-I/usr/local/include""  LDFLAGS=" 
"-L/usr/local/lib"" EPMD=/usr/local/bin/epmd26  ERL=/usr/local/bin/erl26 
CONFIG_SITE='/pobj/ejabberd-24.10/config.site' MKDIR_P='mkdir -p' 
DATADIRNAME=share ac_cv_path_GTKDOC_CHECK=""   ac_cv_path_GTKDOC_REBASE="" 
ac_cv_path_GTKDOC_MKPDF="" MAKE=gmake LIBTOOL="/usr/bin/libtool"  
PATH=/pobj/ejabberd-24.10/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin
 AUTOMAKE_VERSION=1.16 AUTOCONF_VERSION=2.72 
CONFIG_SITE='/pobj/ejabberd-24.10/config.site' PORTSDIR="/usr/ports" 
LIBTOOL="/usr/bin/libtool"  
PATH='/pobj/ejabberd-24.10/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe "-I/usr/local/include"'  TRUEPREFIX='/usr/local' DESTDIR=''  
HOME='/pobj/ejabberd-24.10' PICFLAG="-fpic"  BINGRP=bin BINOWN=root BINMODE=755 
NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  MANGRP=bin 
MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/pobj/ejabberd-24.10/bin/install 
-c -s -m 755"  BSD_INSTALL_SCRIPT="/pobj/ejabberd-24.10/bin/install -c -m 755"  
BSD_INSTALL_DATA="/pobj/ejabberd-24.10/bin/install -c -m 644"  
BSD_INSTALL_MAN="/pobj/ejabberd-24.10/bin/install -c -m 644"  
BSD_INSTALL_PROGRAM_DIR="/pobj/ejabberd-24.10/bin/install -d -m 755"  
BSD_INSTALL_SCRIPT_DIR="/pobj/ejabberd-24.10/bin/install -d -m 755"  
BSD_INSTALL_DATA_DIR="/pobj/ejabberd-24.10/bin/install -d -m 755"  
BSD_INSTALL_MAN_DIR="/pobj/ejabberd-24.10/bin/install -d -m 755" gmake 
mkdir_p='mkdir -p --' LIBTOOL="/usr/bin/libtool"  
SHARED_LIBS_LOG=/pobj/ejabberd-24.10/ejabberd-24.10/shared_libs.log deps
rm -rf _build/default/lib/.got
rm -rf _build/default/lib/.built
mkdir -p _build/default/lib
/usr/local/bin/rebar3-26 get-deps && :> _build/default/lib/.got
===> Newly added dep jiffy is locked at a lower level. If you really want to 
unlock it, use 'rebar3 upgrade jiffy'
===> Analyzing applications...
===> Compiling configure_deps
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Verifying dependencies...
===> App unicode_util_compat is a checkout dependency and cannot be locked.
===> App jiffy is a checkout dependency and cannot be locked.
===> App base64url is a checkout dependency and cannot be locked.
===> App yconf is a checkout dependency and cannot be locked.
===> App xmpp is a checkout dependency and cannot be locked.
===> App stun is a checkout dependency and cannot be locked.
===> App stringprep is a checkout dependency and cannot be locked.
===> App sqlite3 is a checkout dependency and cannot be locked.
===> App pkix is a checkout dependency and cannot be locked.
===> App p1_utils is a checkout dependency and cannot be locked.
===> App p1_pgsql is a checkout dependency and cannot be locked.
===> App p1_oauth2 is a checkout dependency and cannot be locked.
===> App p1_mysql is a checkout dependency and cannot be locked.
===> App p1_acme is a checkout dependency and cannot be locked.
===> App mqtree is a checkout dependency and cannot be locked.
===> App luerl is a checkout dependency and cannot be locked.
===> App jose is a checkout dependency and cannot be locked.
===> App idna is a checkout dependency and cannot be locked.
===> App fast_yaml is a checkout dependency and cannot be locked.
===> App fast_xml is a checkout dependency and cannot be locked.
===> App fast_tls is a checkout dependency and cannot be locked.
===> App ezlib is a checkout dependency and cannot be locked.
===> App esip is a checkout dependency and cannot be locked.
===> App eredis is a checkout dependency and cannot be locked.
===> App epam is a checkout dependency and cannot be locked.
===> App eimp is a checkout dependency and cannot be locked.
===> App cache_tab is a checkout dependency and cannot be locked.
/usr/local/bin/rebar3-26 configure-deps
===> Analyzing applications...
===> Compiling configure_deps
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Verifying dependencies...
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
checking gd.h usability... no
checking gd.h presence... no
checking for gd.h... no
configure: WARNING: libgd header file gd.h was not found
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
checking for zlib.h... (cached) yes
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
checking for SSL_free in -lssl... yes
checking for SHA1_Init in -lcrypto... yes
checking for openssl/ssl.h... (cached) yes
checking for openssl/err.h... (cached) yes
checking for openssl/sha.h... (cached) yes
checking for openssl/opensslv.h... (cached) yes
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for library containing XML_ParserCreate... -lexpat
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
checking yaml.h usability... yes
checking yaml.h presence... yes
checking for yaml.h... yes
checking for library containing yaml_parser_initialize... -lyaml
configure: creating ./config.status
config.status: creating vars.config
configure: loading site script /pobj/ejabberd-24.10/config.site
checking for gcc... no
checking for cc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for an ANSI C-conforming const... (cached) yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for erl... /usr/local/bin/erl26
checking for erlc... /usr/local/lib/erlang26/erts-14.2.5.4/bin/erlc
configure: creating ./config.status
config.status: creating vars.config
>>> Running build in net/ejabberd at 1732797871.50
===> net/ejabberd
===>  Building for ejabberd-24.10
/usr/bin/sed -e "s*@ctlscriptpath@*/usr/local/sbin*g" \
        -e "s*@installuser@*_ejabberd*g" ejabberd.init.template \
        > ejabberd.init
chmod 755 ejabberd.init
/usr/bin/sed -e "s*@ctlscriptpath@*/usr/local/sbin*g" \
        -e "s*@installuser@*_ejabberd*g" ejabberd.service.template \
        > ejabberd.service
chmod 644 ejabberd.service
/usr/bin/sed  -e "s*{{installuser}}*_ejabberd*g" \
        -e "s*{{config_dir}}*/etc/ejabberd*g" \
        -e "s*{{logs_dir}}*/var/log/ejabberd*g" \
        -e "s*{{spool_dir}}*/var/db/ejabberd*g" \
        -e "s*{{bindir}}*/usr/local/bin*g" \
        -e "s*{{libdir}}*/usr/local/lib/ejabberd*g" \
        -e "s*ERTS_VSN*# ERTS_VSN*g" \
        -e "s*{{iexpath}}**g" \
        -e "s*{{erl}}*/usr/local/bin/erl26*g" \
        -e "s*{{epmd}}*/usr/local/bin/epmd26*g" ejabberdctl.template \
        > ejabberdctl.example
/usr/local/bin/rebar3-26 compile && :> _build/default/lib/.built
===> Analyzing applications...
===> Compiling configure_deps
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Analyzing applications...
===> Compiling hex_core
===> Compiling verl
===> Compiling rebar3_hex
===> Analyzing applications...
===> Compiling provider_asn1
===> Analyzing applications...
===> Compiling pc
===> Verifying dependencies...
===> App unicode_util_compat is a checkout dependency and cannot be locked.
===> App base64url is a checkout dependency and cannot be locked.
===> App yconf is a checkout dependency and cannot be locked.
===> App xmpp is a checkout dependency and cannot be locked.
===> App stun is a checkout dependency and cannot be locked.
===> App stringprep is a checkout dependency and cannot be locked.
===> App sqlite3 is a checkout dependency and cannot be locked.
===> App pkix is a checkout dependency and cannot be locked.
===> App p1_utils is a checkout dependency and cannot be locked.
===> App p1_pgsql is a checkout dependency and cannot be locked.
===> App p1_oauth2 is a checkout dependency and cannot be locked.
===> App p1_mysql is a checkout dependency and cannot be locked.
===> App p1_acme is a checkout dependency and cannot be locked.
===> App mqtree is a checkout dependency and cannot be locked.
===> App jose is a checkout dependency and cannot be locked.
===> App jiffy is a checkout dependency and cannot be locked.
===> App idna is a checkout dependency and cannot be locked.
===> App fast_yaml is a checkout dependency and cannot be locked.
===> App fast_xml is a checkout dependency and cannot be locked.
===> App fast_tls is a checkout dependency and cannot be locked.
===> App ezlib is a checkout dependency and cannot be locked.
===> App esip is a checkout dependency and cannot be locked.
===> App eredis is a checkout dependency and cannot be locked.
===> App eimp is a checkout dependency and cannot be locked.
===> App cache_tab is a checkout dependency and cannot be locked.
===> Compiling c_src/fast_yaml.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/fast_yaml/priv/lib/fast_yaml.so
===> Compiling c_src/stringprep.cpp
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/stringprep/priv/lib/stringprep.so
===> Compiling c_src/fxml.c
===> Compiling c_src/fxml_stream.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/fast_xml/priv/lib/fxml.so
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/fast_xml/priv/lib/fxml_stream.so
===> Compiling c_src/fast_tls.c
===> Compiling c_src/ioqueue.c
===> Compiling c_src/p1_sha.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/fast_tls/priv/lib/fast_tls.so
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/fast_tls/priv/lib/p1_sha.so
===> Compiling c_src/ezlib.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/ezlib/priv/lib/ezlib.so
===> Compiling c_src/jid.c
===> Compiling c_src/xmpp_uri.c
===> Compiling c_src/xmpp_lang.c
===> Linking /pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/xmpp/priv/lib/jid.so
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/xmpp/priv/lib/xmpp_uri.so
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/xmpp/priv/lib/xmpp_lang.so
===> Generating ASN.1 files.
===> Compiling c_src/sqlite3_drv.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/sqlite3/priv/sqlite3_drv.so
===> Compiling c_src/ets_cache.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/cache_tab/priv/lib/ets_cache.so
===> Compiling c_src/eimp.c
===> Linking /pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/eimp/priv/bin/eimp
===> Compiling c_src/mqtree.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/mqtree/priv/lib/mqtree.so
===> Compiling c_src/esip_codec.c
===> Linking 
/pobj/ejabberd-24.10/ejabberd-24.10/_checkouts/esip/priv/lib/esip_drv.so
===> Analyzing applications...
===> Compiling p1_utils
===> Compiling fast_yaml
===> Compiling yconf
===> Compiling unicode_util_compat
===> Compiling idna
===> Compiling p1_oauth2
===> Compiling eredis
===> Compiling p1_mysql
===> Compiling stringprep
===> Compiling fast_xml
===> Compiling fast_tls
===> Compiling ezlib
===> Compiling xmpp
===> Compiling p1_pgsql
===> Compiling pkix
===> Compiling jose
===> Compiling sqlite3
===> Compiling stun
===> Compiling cache_tab
===> Compiling eimp
===> Compiling jiffy
===> Compiling base64url
===> Compiling p1_acme
===> Compiling mqtree
===> Compiling esip
===> Compiling c_src/decoder.c
===> Compiling c_src/encoder.c
===> Compiling c_src/jiffy.c
===> Compiling c_src/termstack.c
===> Compiling c_src/utf8.c
===> Compiling c_src/util.c
===> Compiling c_src/doubles.cc
===> Compiling c_src/objects.cc
===> Compiling c_src/double-conversion/bignum-dtoa.cc
===> Compiling c_src/double-conversion/bignum.cc
===> Compiling c_src/double-conversion/cached-powers.cc
===> Compiling c_src/double-conversion/diy-fp.cc
===> Compiling c_src/double-conversion/double-conversion.cc
===> Compiling c_src/double-conversion/fast-dtoa.cc
===> Compiling c_src/double-conversion/fixed-dtoa.cc
===> Compiling 
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc
===> 
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:41:18: 
error: unused variable 'kMaxExactDoubleIntegerDecimalDigits' 
[-Werror,-Wunused-const-variable]
static const int kMaxExactDoubleIntegerDecimalDigits = 15;
                 ^
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:58:21: 
error: variable 'exact_powers_of_ten' is not needed and will not be emitted 
[-Werror,-Wunneeded-internal-declaration]
static const double exact_powers_of_ten[] = {
                    ^
/pobj/ejabberd-24.10/ejabberd-24.10/c_src/double-conversion/strtod.cc:84:18: 
error: unused variable 'kExactPowersOfTenSize' [-Werror,-Wunused-const-variable]
static const int kExactPowersOfTenSize = ARRAY_SIZE(exact_powers_of_ten);
                 ^
3 errors generated.

gmake: *** [Makefile:216: _build/default/lib/.built] Error 1
*** Error 2 in net/ejabberd (/usr/ports/infrastructure/mk/bsd.port.mk:3070 
'/pobj/ejabberd-24.10/.build_done': @cd /pobj/ejabberd-24.10/ejab...)
*** Error 2 in net/ejabberd (/usr/ports/infrastructure/mk/bsd.port.mk:2713 
'build': @lock=ejabberd-24.10;  export _LOCKS_HELD=" ejabberd-24....)
===> Exiting net/ejabberd with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1732797967.29
max_stuck=5.31/depends=7.71/show-prepare-results=4.35/extract=5.71/patch=0.91/configure=89.64/build=95.84
Error: job failed with 512 on i386-1 at 1732797967

Reply via email to