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-cuttlefish-2.1.0-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qU4Ea9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf cuttlefish-2.1.0 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/cuttlefish-2.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cuttlefish-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-cuttlefish-0001-Disable-escript-generation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-cuttlefish-0002-No-rebar_mustache-available.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-cuttlefish-0003-Add-recent-otp-versions-to-rebar.config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-cuttlefish-0004-erlang-get_stacktrace-0-deprecated.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/erlang-cuttlefish-0005-Fix-for-rebar2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -f src/cuttlefish_rebar_plugin.erl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qDkDL0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd cuttlefish-2.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/cuttlefish.app.src -a '!' -f src/cuttlefish.app -a '!' -f ebin/cuttlefish.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=2.1.0 + export VSN + REBAR_VSN_CACHE_FILE=/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0"}, "2.1.0"}.' + 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: Evaluating config script "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/rebar.config.script" DEBUG: Consult config file "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/src/cuttlefish.app.src" DEBUG: is_app_available, looking for App lager with Path "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/lager" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/lager DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.1" INFO: Looking for lager-.* ; found lager-3.8.1 at /usr/share/erlang/lib/lager-3.8.1 DEBUG: is_app_available, looking for App getopt with Path "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/getopt" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/getopt DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/lager-3.8.1",lager,".*", {git,"git://github.com/erlang-lager/lager.git", {tag,"3.8.0"}}, false}, {dep,"/usr/share/erlang/lib/getopt-1.0.2",getopt,".*", {git,"git://github.com/jcomellas/getopt.git", {tag,"v1.0.1"}}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.1" INFO: Looking for lager-.* ; found lager-3.8.1 at /usr/share/erlang/lib/lager-3.8.1 DEBUG: Adding /usr/share/erlang/lib/lager-3.8.1/ebin to code path DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Adding /usr/share/erlang/lib/getopt-1.0.2/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/lager-3.8.1 DEBUG: Adding skip dir: /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Associate sub_dir /usr/share/erlang/lib/lager-3.8.1 with /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0 DEBUG: Associate sub_dir /usr/share/erlang/lib/getopt-1.0.2 with /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0 DEBUG: Plugins requested while processing /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0: [] DEBUG: Predirs: ["/usr/share/erlang/lib/lager-3.8.1", "/usr/share/erlang/lib/getopt-1.0.2"] DEBUG: Consult config file "/usr/share/erlang/lib/lager-3.8.1/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/lager-3.8.1: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/lager-3.8.1 DEBUG: Postdirs: [] DEBUG: Consult config file "/usr/share/erlang/lib/getopt-1.0.2/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/getopt-1.0.2: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Postdirs: [] ==> cuttlefish-2.1.0 (compile) DEBUG: Matched required ERTS version: 12.1.5 -> .* DEBUG: Matched required OTP release: 24 -> .* DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App lager with Path "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/lager" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/lager DEBUG: is_app_available, looking for App lager with Path "/usr/share/erlang/lib/lager-3.8.1" INFO: Looking for lager-.* ; found lager-3.8.1 at /usr/share/erlang/lib/lager-3.8.1 DEBUG: is_app_available, looking for App getopt with Path "/home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/getopt" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0/deps/getopt DEBUG: is_app_available, looking for App getopt with Path "/usr/share/erlang/lib/getopt-1.0.2" INFO: Looking for getopt-.* ; found getopt-1.0.2 at /usr/share/erlang/lib/getopt-1.0.2 DEBUG: Starting 3 compile worker(s) DEBUG: Worker exited cleanly INFO: Skipped src/conf_parse.peg INFO: Skipped src/cuttlefish_duration_parse.peg DEBUG: Worker exited cleanly DEBUG: Worker exited cleanly DEBUG: erl_opts [debug_info,warnings_as_errors, {parse_transform,lager_transform}, debug_info,warn_untyped_record] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) src/cuttlefish.erl:none: error in parse transform 'lager_transform': exception error: bad argument in function integer_to_list/1 called as integer_to_list({126,5}) *** argument 1: not an integer in call from lager_transform:make_varname/2 (src/lager_transform.erl, line 271) in call from lager_transform:do_transform/5 (src/lager_transform.erl, line 176) in call from lager_transform:walk_body/2 (src/lager_transform.erl, line 90) in call from lager_transform:walk_clauses/2 (src/lager_transform.erl, line 85) in call from lager_transform:walk_ast/2 (src/lager_transform.erl, line 67) in call from compile:foldl_transform/3 (compile.erl, line 1147) in call from compile:fold_comp/4 (compile.erl, line 418) Compiling src/cuttlefish.erl failed: DEBUG: Worker compilation failed: {{error, {error, [["src/cuttlefish.erl:none: error in parse transform 'lager_transform':\nexception error: bad argument\n in function integer_to_list/1\n called as integer_to_list({126,5})\n *** argument 1: not an integer\n in call from lager_transform:make_varname/2 (src/lager_transform.erl, line 271)\n in call from lager_transform:do_transform/5 (src/lager_transform.erl, line 176)\n in call from lager_transform:walk_body/2 (src/lager_transform.erl, line 90)\n in call from lager_transform:walk_clauses/2 (src/lager_transform.erl, line 85)\n in call from lager_transform:walk_ast/2 (src/lager_transform.erl, line 67)\n in call from compile:foldl_transform/3 (compile.erl, line 1147)\n in call from compile:fold_comp/4 (compile.erl, line 418)\n"]], []}}, {source,"src/cuttlefish.erl"}} ERROR: compile failed while processing /home/iurt/rpmbuild/BUILD/cuttlefish-2.1.0: rebar_abort error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.qDkDL0 (%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.qDkDL0 (%build) I: [iurt_root_command] ERROR: chroot