D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/ejabberd-24.02-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7bMSTY Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1IgHNi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ejabberd-24.02-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ejabberd-24.02-build + rm -rf ejabberd-24.02 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ejabberd-24.02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ejabberd-24.02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ejabberd-0003-Install-into-BINDIR-instead-of-SBINDIR.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ejabberd-0004-Enable-systemd-notification-if-available.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . -name '*.hrl' + xargs sed -i 's/include("fxml.hrl/include_lib("fast_xml\/include\/fxml.hrl/' + find . -name '*.erl' + xargs sed -i 's/include("jid.hrl/include_lib("xmpp\/include\/jid.hrl/' + find . -name '*.hrl' + xargs sed -i 's/include("ns.hrl/include_lib("xmpp\/include\/ns.hrl/' + find . -name '*.erl' + xargs sed -i 's/include("xmpp.hrl/include_lib("xmpp\/include\/xmpp.hrl/' + find . -name '*.hrl' + xargs sed -i 's/include("xmpp_codec.hrl/include_lib("xmpp\/include\/xmpp_codec.hrl/' ++ rpm -ql erlang-p1_utils ++ grep -E '/include$' + perl -p -i -e 's|deps/p1_utils/include|/usr/share/erlang/lib/p1_utils-1.0.28/include|g' rebar.config ++ rpm -ql erlang-fast_xml ++ grep -E '/include$' + perl -p -i -e 's|deps/fast_xml/include|/usr/lib64/erlang/lib/fast_xml-1.1.53/include|g' rebar.config ++ rpm -ql erlang-xmpp ++ grep -E '/include$' + perl -p -i -e 's|deps/xmpp/include|/usr/lib64/erlang/lib/xmpp-1.8.1/include|g' rebar.config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S8tQaI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ejabberd-24.02-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ejabberd-24.02 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -ivf autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-graphics --enable-odbc --enable-mysql --enable-pgsql --enable-pam --enable-zlib --enable-debug --libdir=/usr/lib/erlang/lib/ --with-erlang=/usr/lib/erlang/ --enable-system-deps --enable-stun configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-graphics checking whether make sets $(MAKE)... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for a sed that does not truncate output... /usr/bin/sed checking for x86_64-mageia-linux-gnu-erl... no checking for erl... /usr/bin/erl checking for x86_64-mageia-linux-gnu-erlc... no checking for erlc... /usr/bin/erlc checking for x86_64-mageia-linux-gnu-epmd... no checking for epmd... /usr/bin/epmd checking for x86_64-mageia-linux-gnu-rebar... no checking for rebar... /usr/bin/rebar checking for x86_64-mageia-linux-gnu-rebar3... no checking for rebar3... /usr/bin/rebar3 checking for x86_64-mageia-linux-gnu-elixir... no checking for elixir... /usr/bin/elixir checking for x86_64-mageia-linux-gnu-iex... no checking for iex... /usr/bin/iex checking for x86_64-mageia-linux-gnu-mix... no checking for mix... /usr/bin/mix checking for x86_64-mageia-linux-gnu-erl... /usr/bin/erl checking for x86_64-mageia-linux-gnu-erlc... /usr/bin/erlc checking for Erlang/OTP root directory... /usr/lib64/erlang checking for escript... /usr/lib64/erlang/bin/escript checking for make... make checking Erlang/OTP version... ok build tool to use (change using --with-rebar): /usr/bin/mix configure: creating ./config.status config.status: creating Makefile config.status: creating vars.config configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-graphics + '[' '!' -f src/ejabberd.app.src -a '!' -f src/ejabberd.app -a '!' -f ebin/ejabberd.app ']' + echo '{application, ejabberd, [{description, "A distributed, fault-tolerant Jabber/XMPP server"}, {vsn, "24.02"}, {modules, []}]}.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=24.02 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/ejabberd-24.02-build/ejabberd-24.02/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/ejabberd-24.02-build/ejabberd-24.02"}, "24.02"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar compile skip_deps=true -vv Uncaught error in rebar_core: {'EXIT', {undef, [{rebar_config,new,[],[]}, {rebar,init_config,1, [{file,"src/rebar.erl"},{line,126}]}, {rebar,run,1, [{file,"src/rebar.erl"},{line,102}]}, {rebar,main,1, [{file,"src/rebar.erl"},{line,58}]}, {escript,run,2, [{file,"escript.erl"},{line,904}]}, {escript,start,1, [{file,"escript.erl"},{line,418}]}, {init,start_it,1,[]}, {init,start_em,1,[]}]}} escript: exception error: undefined function rebar_utils:delayed_halt/1 in function escript:run/2 (escript.erl, line 904) in call from escript:start/1 (escript.erl, line 418) in call from init:start_it/1 in call from init:start_em/1 in call from init:do_boot/3 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S8tQaI (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S8tQaI (%build) I: [iurt_root_command] ERROR: chroot