Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/f33-build-203584-48188/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/elixir.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 29: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 32: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 86: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 94: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 101: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 104: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 114: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 117: %endif %{__with_rebar3} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1584316800 Wrote: /builddir/build/SRPMS/elixir-1.10.2-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/f33-build-203584-48188/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elixir.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: extra tokens at the end of %endif directive in line 29: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 32: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 86: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 94: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 101: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 104: %endif %{__with_rebar3} warning: extra tokens at the end of %endif directive in line 114: %endif %{__with_rebar} warning: extra tokens at the end of %endif directive in line 117: %endif %{__with_rebar3} Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1584316800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hHspGF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elixir-1.10.2/docs + /usr/bin/mkdir -p elixir-1.10.2/docs + cd elixir-1.10.2/docs + /usr/bin/unzip -qq /builddir/build/SOURCES/elixir-1.10.2-doc.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name .build -exec rm '{}' ';' + cd /builddir/build/BUILD + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/elixir-1.10.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd elixir-1.10.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.bat' -exec rm '{}' ';' + rm lib/elixir/test/elixir/io/ansi_test.exs + find . -name .gitignore -delete + find . -name .gitkeep -delete + sed -i '/^Q\s*:=/d' Makefile + rm -f ./lib/mix/test/fixtures/rebar ./lib/mix/test/fixtures/rebar3 + rm -f ./lib/mix/test/mix/rebar_test.exs + touch ./lib/mix/test/fixtures/rebar3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1v2NgG + umask 022 + cd /builddir/build/BUILD + cd elixir-1.10.2 + export LANG=C.UTF-8 + LANG=C.UTF-8 + export REBAR=/usr/bin/rebar + REBAR=/usr/bin/rebar + export REBAR_DEPS_PREFER_LIBS=TRUE + REBAR_DEPS_PREFER_LIBS=TRUE + export ERL_LIBS=/usr/share/erlang/lib/ + ERL_LIBS=/usr/share/erlang/lib/ + make compile erlc -o lib/elixir/src/elixir_parser.erl +'{verbose,true}' +'{report,true}' lib/elixir/src/elixir_parser.yrl if [ ! -f lib/elixir/ebin/elixir.app ]; then erl -noshell -eval '{V,_} = string:to_integer(erlang:system_info(otp_release)), io:fwrite("~s", [is_integer(V) and (V >= 21)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 21.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && erl -make Recompile: src/elixir_utils Recompile: src/elixir_tokenizer Recompile: src/elixir_sup Recompile: src/elixir_rewrite Recompile: src/elixir_quote Recompile: src/elixir_parser Recompile: src/elixir_overridable Recompile: src/elixir_module Recompile: src/elixir_map Recompile: src/elixir_locals Recompile: src/elixir_lexical Recompile: src/elixir_interpolation Recompile: src/elixir_import Recompile: src/elixir_fn Recompile: src/elixir_expand Recompile: src/elixir_errors Recompile: src/elixir_erl_var Recompile: src/elixir_erl_try Recompile: src/elixir_erl_pass Recompile: src/elixir_erl_for Recompile: src/elixir_erl_compiler Recompile: src/elixir_erl_clauses Recompile: src/elixir_erl Recompile: src/elixir_env Recompile: src/elixir_dispatch Recompile: src/elixir_def Recompile: src/elixir_config Recompile: src/elixir_compiler Recompile: src/elixir_code_server Recompile: src/elixir_clauses Recompile: src/elixir_bootstrap Recompile: src/elixir_bitstring Recompile: src/elixir_aliases Recompile: src/elixir /builddir/build/BUILD/elixir-1.10.2/lib/elixir/generate_app.escript lib/elixir/src/elixir.app.src lib/elixir/ebin/elixir.app 1.10.2 Generated elixir app if [ ! -f lib/elixir/ebin/Elixir.Kernel.beam ]; then \ echo "==> bootstrap (compile)"; \ erl -I lib/elixir/include -noshell -pa lib/elixir/ebin -s elixir_compiler bootstrap -s erlang halt; \ fi ==> bootstrap (compile) Compiled lib/elixir/lib/kernel.ex Compiled lib/elixir/lib/macro/env.ex Compiled lib/elixir/lib/keyword.ex Compiled lib/elixir/lib/module.ex Compiled lib/elixir/lib/list.ex Compiled lib/elixir/lib/macro.ex Compiled lib/elixir/lib/kernel/typespec.ex Compiled lib/elixir/lib/code.ex Compiled lib/elixir/lib/code/identifier.ex Compiled lib/elixir/lib/module/checker.ex Compiled lib/elixir/lib/module/locals_tracker.ex Compiled lib/elixir/lib/module/parallel_checker.ex Compiled lib/elixir/lib/module/types/helpers.ex Compiled lib/elixir/lib/module/types/infer.ex Compiled lib/elixir/lib/module/types/expr.ex Compiled lib/elixir/lib/module/types/pattern.ex Compiled lib/elixir/lib/module/types.ex Compiled lib/elixir/lib/kernel/utils.ex Compiled lib/elixir/lib/exception.ex Compiled lib/elixir/lib/protocol.ex Compiled lib/elixir/lib/stream/reducers.ex Compiled lib/elixir/lib/enum.ex Compiled lib/elixir/lib/map.ex Compiled lib/elixir/lib/inspect/algebra.ex Compiled lib/elixir/lib/inspect.ex Compiled lib/elixir/lib/access.ex Compiled lib/elixir/lib/range.ex Compiled lib/elixir/lib/regex.ex Compiled lib/elixir/lib/string.ex Compiled lib/elixir/lib/string/chars.ex Compiled lib/elixir/lib/io.ex Compiled lib/elixir/lib/path.ex Compiled lib/elixir/lib/file.ex Compiled lib/elixir/lib/system.ex Compiled lib/elixir/lib/kernel/cli.ex Compiled lib/elixir/lib/kernel/error_handler.ex Compiled lib/elixir/lib/kernel/parallel_compiler.ex Compiled lib/elixir/lib/kernel/lexical_tracker.ex make unicode make[1]: Entering directory '/builddir/build/BUILD/elixir-1.10.2' ==> unicode (compile) bin/elixirc --verbose --ignore-module-conflict lib/elixir/unicode/unicode.ex -o lib/elixir/ebin; Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/unicode/unicode.ex (it's taking more than 15s) bin/elixirc --verbose --ignore-module-conflict lib/elixir/unicode/properties.ex -o lib/elixir/ebin; Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/unicode/properties.ex (it's taking more than 15s) bin/elixirc --verbose --ignore-module-conflict lib/elixir/unicode/tokenizer.ex -o lib/elixir/ebin; Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/unicode/tokenizer.ex (it's taking more than 15s) make[1]: Leaving directory '/builddir/build/BUILD/elixir-1.10.2' ==> elixir (compile) cd lib/elixir && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin; Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/access.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/agent.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/agent/server.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/application.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/base.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/calendar/date_range.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/calendar/datetime.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/calendar/iso.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/calendar/naive_datetime.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/code/formatter.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/dynamic_supervisor.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/exception.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/file.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/file/stat.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/gen_event.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/hash_dict.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/hash_set.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/inspect.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/io/ansi/docs.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/kernel.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/kernel/cli.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/kernel/parallel_compiler.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/kernel/typespec.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/keyword.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/list.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/macro.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/module.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/module/types/pattern.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/process.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/protocol.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/regex.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/registry.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/stream.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/string.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/system.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/elixir/lib/uri.ex (it's taking more than 15s) make app make[1]: Entering directory '/builddir/build/BUILD/elixir-1.10.2' /builddir/build/BUILD/elixir-1.10.2/lib/elixir/generate_app.escript lib/elixir/src/elixir.app.src lib/elixir/ebin/elixir.app 1.10.2 Generated elixir app make[1]: Leaving directory '/builddir/build/BUILD/elixir-1.10.2' ==> eex (compile) cd lib/eex && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin ==> mix (compile) cd lib/mix && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/cli.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/compilers/elixir.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/compilers/erlang.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/compilers/test.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/dep.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/dep/converger.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/dep/fetcher.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/dep/loader.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/release.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/tasks/app.start.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/tasks/new.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/mix/lib/mix/tasks/release.ex (it's taking more than 15s) cd lib/mix && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated mix app ==> ex_unit (compile) cd lib/ex_unit && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin Compiling /builddir/build/BUILD/elixir-1.10.2/lib/ex_unit/lib/ex_unit/cli_formatter.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/ex_unit/lib/ex_unit/diff.ex (it's taking more than 15s) cd lib/ex_unit && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated ex_unit app ==> logger (compile) cd lib/logger && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin Compiling /builddir/build/BUILD/elixir-1.10.2/lib/logger/lib/logger/app.ex (it's taking more than 15s) cd lib/logger && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated logger app cd lib/eex && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated eex app ==> iex (compile) cd lib/iex && ../../bin/elixirc --verbose --ignore-module-conflict "lib/**/*.ex" -o ebin Compiling /builddir/build/BUILD/elixir-1.10.2/lib/iex/lib/iex/autocomplete.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/iex/lib/iex/evaluator.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/iex/lib/iex/helpers.ex (it's taking more than 15s) Compiling /builddir/build/BUILD/elixir-1.10.2/lib/iex/lib/iex/introspection.ex (it's taking more than 15s) cd lib/iex && ../../bin/elixir -e 'Mix.start(:permanent, [])' -r mix.exs -e 'Mix.Task.run("compile.app", ~w[--compile-path ebin])' Generated iex app + make build_man cp man/iex.1.in man/iex.1 sed -i.bak "/{COMMON}/r man/common" man/iex.1 sed -i.bak "/{COMMON}/d" man/iex.1 rm -f man/iex.1.bak cp man/elixir.1.in man/elixir.1 sed -i.bak "/{COMMON}/r man/common" man/elixir.1 sed -i.bak "/{COMMON}/d" man/elixir.1 rm -f man/elixir.1.bak + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WwY3ZD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64 + cd elixir-1.10.2 + mkdir -p /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/share/elixir/1.10.2 + cp -ra bin lib /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/share/elixir/1.10.2 + mkdir -p /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/bin + ln -s /usr/share/elixir/1.10.2/bin/elixir /usr/share/elixir/1.10.2/bin/elixirc /usr/share/elixir/1.10.2/bin/iex /usr/share/elixir/1.10.2/bin/mix /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/bin/ + mkdir -p /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/share/man/man1 + cp -a man/elixir.1 man/elixirc.1 man/iex.1 man/mix.1 /builddir/build/BUILDROOT/elixir-1.10.2-1.fc33.riscv64//usr/share/man/man1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/elixir/1.10.2/bin/elixir from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/elixir/1.10.2/bin/mix from /usr/bin/env elixir to #!/usr/bin/elixir mangling shebang in /usr/share/elixir/1.10.2/bin/iex from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/elixir/1.10.2/bin/elixirc from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/elixir/1.10.2/lib/elixir/generate_app.escript from /usr/bin/env escript to #!/usr/bin/escript Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.x6AXFC + umask 022 + cd /builddir/build/BUILD + cd elixir-1.10.2 + export LANG=C.UTF-8 + LANG=C.UTF-8 + export REBAR=/usr/bin/rebar + REBAR=/usr/bin/rebar + export REBAR_DEPS_PREFER_LIBS=TRUE + REBAR_DEPS_PREFER_LIBS=TRUE + export ERL_LIBS=/usr/share/erlang/lib/ + ERL_LIBS=/usr/share/erlang/lib/ + make test if [ ! -f lib/elixir/ebin/elixir.app ]; then erl -noshell -eval '{V,_} = string:to_integer(erlang:system_info(otp_release)), io:fwrite("~s", [is_integer(V) and (V >= 21)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 21.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && erl -make if [ "" = "Windows_NT" ]; then cmd //C call ./bin/mix.bat format --check-formatted; else bin/elixir bin/mix format --check-formatted; fi mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/atom_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/control_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/function_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/match_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/operators_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/string_test.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/test_helper.erl mkdir -p lib/elixir/test/ebin erlc -I lib/elixir/include -o lib/elixir/test/ebin lib/elixir/test/erlang/tokenizer_test.erl ==> elixir (eunit) erl -I lib/elixir/include -noshell -pa lib/elixir/ebin -pa lib/elixir/test/ebin -s test_helper test; All 190 tests passed. ==> elixir (ex_unit) exec epmd & exit if [ "" = "Windows_NT" ]; then \ cd lib/elixir && cmd //C call ../../bin/elixir.bat -r "test/elixir/test_helper.exs" -pr "test/elixir/**/"*_test.exs""; \ else \ cd lib/elixir && ../../bin/elixir -r "test/elixir/test_helper.exs" -pr "test/elixir/**/"*_test.exs""; \ fi Excluding tags: [windows: true] ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 1) test escape (RegexTest) test/elixir/regex_test.exs:315 ** (ArgumentError) argument error code: refute matches_escaped?("\\xff", "\xff") stacktrace: (stdlib 3.13) :re.run(<<255>>, {:re_pattern, 0, 1, 1, <<69, 82, 67, 80, 79, 0, 0, 0, 15, 8, 80, 32, 209, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 92, 0, 102, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, [capture: :none]) (elixir 1.10.2) lib/regex.ex:470: Regex.safe_run/3 (elixir 1.10.2) lib/regex.ex:270: Regex.match?/2 test/elixir/regex_test.exs:325: (test) .... 2) test Unicode (RegexTest) test/elixir/regex_test.exs:86 ** (ArgumentError) argument error code: refute <>> =~ ~r/<.>/u stacktrace: (stdlib 3.13) :re.run(<<60, 255, 62>>, {:re_pattern, 0, 1, 0, <<69, 82, 67, 80, 76, 0, 0, 0, 0, 8, 0, 32, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 60, 0, 62, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, [capture: :none]) (elixir 1.10.2) lib/regex.ex:470: Regex.safe_run/3 (elixir 1.10.2) lib/regex.ex:270: Regex.match?/2 test/elixir/regex_test.exs:95: (test) .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 3) test properly formats errors (Kernel.CLITest) test/elixir/kernel/cli_test.exs:46 ** (ExUnit.TimeoutError) test timed out after 60000ms. You can change the timeout: 1. per test by setting "@tag timeout: x" (accepts :infinity) 2. per test module by setting "@moduletag timeout: x" (accepts :infinity) 3. globally via "ExUnit.start(timeout: x)" configuration 4. by running "mix test --timeout x" which sets timeout 5. or by running "mix test --trace" which sets timeout to infinity (useful when using IEx.pry/0) where "x" is the timeout given as integer in milliseconds (defaults to 60_000). code: assert elixir('-e "IO.puts(Process.flag(:trap_exit, false)); exit({:shutdown, 1})"') == stacktrace: (kernel 7.0) os.erl:344: :os.get_data/6 (kernel 7.0) os.erl:279: :os.cmd/2 test/elixir/test_helper.exs:51: PathHelpers.run_cmd/2 test/elixir/kernel/cli_test.exs:54: (test) (ex_unit 1.10.2) lib/ex_unit/runner.ex:355: ExUnit.Runner.exec_test/1 (stdlib 3.13) timer.erl:166: :timer.tc/1 (ex_unit 1.10.2) lib/ex_unit/runner.ex:306: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4 ........................ 4) test properly formats errors (Kernel.CLI.RPCTest) test/elixir/kernel/cli_test.exs:85 ** (ExUnit.TimeoutError) test timed out after 60000ms. You can change the timeout: 1. per test by setting "@tag timeout: x" (accepts :infinity) 2. per test module by setting "@moduletag timeout: x" (accepts :infinity) 3. globally via "ExUnit.start(timeout: x)" configuration 4. by running "mix test --timeout x" which sets timeout 5. or by running "mix test --trace" which sets timeout to infinity (useful when using IEx.pry/0) where "x" is the timeout given as integer in milliseconds (defaults to 60_000). code: assert rpc_eval("IO.puts(Process.flag(:trap_exit, false)); exit({:shutdown, 1})") == stacktrace: (kernel 7.0) os.erl:344: :os.get_data/6 (kernel 7.0) os.erl:279: :os.cmd/2 test/elixir/test_helper.exs:51: PathHelpers.run_cmd/2 test/elixir/kernel/cli_test.exs:93: (test) (ex_unit 1.10.2) lib/ex_unit/runner.ex:355: ExUnit.Runner.exec_test/1 (stdlib 3.13) timer.erl:166: :timer.tc/1 (ex_unit 1.10.2) lib/ex_unit/runner.ex:306: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 5) test encode then decode is identity (BaseTest) test/elixir/base_test.exs:783 ** (ExUnit.TimeoutError) test timed out after 60000ms. You can change the timeout: 1. per test by setting "@tag timeout: x" (accepts :infinity) 2. per test module by setting "@moduletag timeout: x" (accepts :infinity) 3. globally via "ExUnit.start(timeout: x)" configuration 4. by running "mix test --timeout x" which sets timeout 5. or by running "mix test --trace" which sets timeout to infinity (useful when using IEx.pry/0) where "x" is the timeout given as integer in milliseconds (defaults to 60_000). code: for {encode, decode} <- [ stacktrace: (stdlib 3.13) lists.erl:2029: :lists.keysplit_2_1/10 (elixir 1.10.2) lib/enum.ex:2318: Enum.shuffle/1 test/elixir/base_test.exs:799: anonymous fn/7 in BaseTest."test encode then decode is identity"/1 (elixir 1.10.2) lib/enum.ex:3371: Enum.reduce_range_inc/4 (elixir 1.10.2) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3 test/elixir/base_test.exs:784: (test) (ex_unit 1.10.2) lib/ex_unit/runner.ex:355: ExUnit.Runner.exec_test/1 (stdlib 3.13) timer.erl:166: :timer.tc/1 (ex_unit 1.10.2) lib/ex_unit/runner.ex:306: anonymous fn/4 in ExUnit.Runner.spawn_test_monitor/4 ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Finished in 1808.8 seconds (1346.4s on load, 462.4s on tests) 1570 doctests, 3374 tests, 5 failures, 8 excluded Randomized with seed 603511 make: *** [Makefile:283: test_stdlib] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.x6AXFC (%check) RPM build errors: extra tokens at the end of %endif directive in line 29: %endif %{__with_rebar} extra tokens at the end of %endif directive in line 32: %endif %{__with_rebar3} extra tokens at the end of %endif directive in line 86: %endif %{__with_rebar} extra tokens at the end of %endif directive in line 94: %endif %{__with_rebar3} extra tokens at the end of %endif directive in line 101: %endif %{__with_rebar} extra tokens at the end of %endif directive in line 104: %endif %{__with_rebar3} extra tokens at the end of %endif directive in line 114: %endif %{__with_rebar} extra tokens at the end of %endif directive in line 117: %endif %{__with_rebar3} Bad exit status from /var/tmp/rpm-tmp.x6AXFC (%check) Child pid '92765' is dead Child dead, killing orphans Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/elixir.spec