D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/erlang-edown-0.8.1-3.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.05nPzs + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf edown-0.8.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/edown-0.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd edown-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-edown-0001-Remove-pre-18.0-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-edown-0002-Don-t-use-git-command-for-branch-retrieval.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8KZWFS + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd edown-0.8.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/edown.app.src -a '!' -f src/edown.app -a '!' -f ebin/edown.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + VSN=0.8.1 + export VSN + REBAR_VSN_CACHE_FILE=/home/iurt/rpmbuild/BUILD/edown-0.8.1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/iurt/rpmbuild/BUILD/edown-0.8.1"}, "0.8.1"}.' + 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 DEBUG: Consult config file "/home/iurt/rpmbuild/BUILD/edown-0.8.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/iurt/rpmbuild/BUILD/edown-0.8.1/src/edown.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/iurt/rpmbuild/BUILD/edown-0.8.1: [] DEBUG: Predirs: [] ==> edown-0.8.1 (compile) DEBUG: Matched required ERTS version: 12.1.5 -> .* DEBUG: Matched required OTP release: 24 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,debug_info] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/edown_make.erl Compiled src/edown_lib.erl src/edown_doclet.erl:112:15: record context undefined src/edown_doclet.erl:113:15: record context undefined src/edown_doclet.erl:114:20: record context undefined Compiling src/edown_doclet.erl failed: DEBUG: Worker compilation failed: {{error, {error, [["src/edown_doclet.erl:112:15: record context undefined\n", "src/edown_doclet.erl:113:15: record context undefined\n", "src/edown_doclet.erl:114:20: record context undefined\n"]], []}}, {source,"src/edown_doclet.erl"}} ERROR: compile failed while processing /home/iurt/rpmbuild/BUILD/edown-0.8.1: rebar_abort error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8KZWFS (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.8KZWFS (%build) I: [iurt_root_command] ERROR: chroot