D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: Macro expanded in comment on line 15: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Installing /home/pterjan/rpmbuild/SRPMS/erlang-stdlib2-1.4.4-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Jw1l1s Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Cg0eAD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build + rm -rf stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/stdlib2-1.4.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VAuXEY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-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 stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/stdlib2.app.src -a '!' -f src/stdlib2.app -a '!' -f ebin/stdlib2.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,-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=1.4.4 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1"}, "1.4.4"}.' + 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/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1/src/stdlib2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1: [] DEBUG: Predirs: [] ==> stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1 (compile) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,debug_info,warn_format,warn_export_vars, warn_obsolete_guard,warn_unused_import,warn_bif_clash, nowarn_shadow_vars,nowarn_export_all,warnings_as_errors] DEBUG: Files to compile first: ["src/s2_gen_lattice.erl"] include/maybe.hrl:13:14: syntax error before: ',' Compiling src/s2_gen_lattice.erl failed: DEBUG: Compilation failed: {error,[["include/maybe.hrl:13:14: syntax error before: ','\n"]], []} ERROR: compile failed while processing /home/pterjan/rpmbuild/BUILD/erlang-stdlib2-1.4.4-build/stdlib2-de7a4475ffe56ca3ac976a1ea79c1689e49d43a1: rebar_abort error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VAuXEY (%build) RPM build warnings: Macro expanded in comment on line 15: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.VAuXEY (%build) I: [iurt_root_command] ERROR: chroot