Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-258451-84864/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/elixir-1.18.4-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/elixir.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-258451-84864/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5vTXEY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elixir-1.18.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/elixir-1.18.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd elixir-1.18.4 + /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 + sed -i 's/^ timeout = 2_000$/ timeout = 60_000/' lib/mix/test/mix/tasks/compile_test.exs + rm -f ./lib/mix/test/mix/rebar_test.exs + rm -f ./lib/mix/test/fixtures/rebar3 + touch ./lib/mix/test/fixtures/rebar + touch ./lib/mix/test/fixtures/rebar3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TRYft5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd elixir-1.18.4 + export LANG=C.UTF-8 + LANG=C.UTF-8 + 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 >= 25)])' -s erlang halt | grep -q '^true'; if [ $? != 0 ]; then echo "At least Erlang/OTP 25.0 is required to build Elixir"; exit 1; fi; fi cd lib/elixir && mkdir -p ebin && erl -make Recompile: src/iex Recompile: src/elixir_utils Recompile: src/elixir_tokenizer Recompile: src/elixir_sup Recompile: src/elixir_rewrite src/elixir_rewrite.erl:247:62: Warning: variable 'Arg' shadowed in 'fun' % 247| ?rewrite(?float, to_charlist, [Arg], erlang, float_to_list, [Arg, [short]]); % | ^ src/elixir_rewrite.erl:248:62: Warning: variable 'Arg' shadowed in 'fun' % 248| ?rewrite(?float, to_string, [Arg], erlang, float_to_binary, [Arg, [short]]); % | ^ src/elixir_rewrite.erl:249:64: Warning: variable 'Key' shadowed in 'fun' % 249| ?rewrite(?kernel, is_map_key, [Map, Key], erlang, is_map_key, [Key, Map]); % | ^ src/elixir_rewrite.erl:249:69: Warning: variable 'Map' shadowed in 'fun' % 249| ?rewrite(?kernel, is_map_key, [Map, Key], erlang, is_map_key, [Key, Map]); % | ^ src/elixir_rewrite.erl:250:51: Warning: variable 'Key' shadowed in 'fun' % 250| ?rewrite(?map, delete, [Map, Key], maps, remove, [Key, Map]); % | ^ src/elixir_rewrite.erl:250:56: Warning: variable 'Map' shadowed in 'fun' % 250| ?rewrite(?map, delete, [Map, Key], maps, remove, [Key, Map]); % | ^ src/elixir_rewrite.erl:251:48: Warning: variable 'Key' shadowed in 'fun' % 251| ?rewrite(?map, fetch, [Map, Key], maps, find, [Key, Map]); % | ^ src/elixir_rewrite.erl:251:53: Warning: variable 'Map' shadowed in 'fun' % 251| ?rewrite(?map, fetch, [Map, Key], maps, find, [Key, Map]); % | ^ src/elixir_rewrite.erl:252:50: Warning: variable 'Key' shadowed in 'fun' % 252| ?rewrite(?map, 'fetch!', [Map, Key], maps, get, [Key, Map]); % | ^ src/elixir_rewrite.erl:252:55: Warning: variable 'Map' shadowed in 'fun' % 252| ?rewrite(?map, 'fetch!', [Map, Key], maps, get, [Key, Map]); % | ^ src/elixir_rewrite.erl:253:55: Warning: variable 'Key' shadowed in 'fun' % 253| ?rewrite(?map, 'has_key?', [Map, Key], maps, is_key, [Key, Map]); % | ^ src/elixir_rewrite.erl:253:60: Warning: variable 'Map' shadowed in 'fun' % 253| ?rewrite(?map, 'has_key?', [Map, Key], maps, is_key, [Key, Map]); % | ^ src/elixir_rewrite.erl:254:52: Warning: variable 'Key' shadowed in 'fun' % 254| ?rewrite(?map, put, [Map, Key, Value], maps, put, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:254:57: Warning: variable 'Value' shadowed in 'fun' % 254| ?rewrite(?map, put, [Map, Key, Value], maps, put, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:254:64: Warning: variable 'Map' shadowed in 'fun' % 254| ?rewrite(?map, put, [Map, Key, Value], maps, put, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:255:62: Warning: variable 'Key' shadowed in 'fun' % 255| ?rewrite(?map, 'replace!', [Map, Key, Value], maps, update, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:255:67: Warning: variable 'Value' shadowed in 'fun' % 255| ?rewrite(?map, 'replace!', [Map, Key, Value], maps, update, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:255:74: Warning: variable 'Map' shadowed in 'fun' % 255| ?rewrite(?map, 'replace!', [Map, Key, Value], maps, update, [Key, Value, Map]); % | ^ src/elixir_rewrite.erl:256:57: Warning: variable 'Arg' shadowed in 'fun' % 256| ?rewrite(?port, monitor, [Arg], erlang, monitor, [port, Arg]); % | ^ src/elixir_rewrite.erl:257:72: Warning: variable 'Leader' shadowed in 'fun' % 257| ?rewrite(?process, group_leader, [Pid, Leader], erlang, group_leader, [Leader, Pid]); % | ^ src/elixir_rewrite.erl:257:80: Warning: variable 'Pid' shadowed in 'fun' % 257| ?rewrite(?process, group_leader, [Pid, Leader], erlang, group_leader, [Leader, Pid]); % | ^ src/elixir_rewrite.erl:258:63: Warning: variable 'Arg' shadowed in 'fun' % 258| ?rewrite(?process, monitor, [Arg], erlang, monitor, [process, Arg]); % | ^ src/elixir_rewrite.erl:259:69: Warning: variable 'Arg' shadowed in 'fun' % 259| ?rewrite(?process, monitor, [Arg, Opts], erlang, monitor, [process, Arg, Opts]); % | ^ src/elixir_rewrite.erl:259:74: Warning: variable 'Opts' shadowed in 'fun' % 259| ?rewrite(?process, monitor, [Arg, Opts], erlang, monitor, [process, Arg, Opts]); % | ^ src/elixir_rewrite.erl:260:72: Warning: variable 'Time' shadowed in 'fun' % 260| ?rewrite(?process, send_after, [Dest, Msg, Time], erlang, send_after, [Time, Dest, Msg]); % | ^ src/elixir_rewrite.erl:260:78: Warning: variable 'Dest' shadowed in 'fun' % 260| ?rewrite(?process, send_after, [Dest, Msg, Time], erlang, send_after, [Time, Dest, Msg]); % | ^ src/elixir_rewrite.erl:260:84: Warning: variable 'Msg' shadowed in 'fun' % 260| ?rewrite(?process, send_after, [Dest, Msg, Time], erlang, send_after, [Time, Dest, Msg]); % | ^ src/elixir_rewrite.erl:261:78: Warning: variable 'Time' shadowed in 'fun' % 261| ?rewrite(?process, send_after, [Dest, Msg, Time, Opts], erlang, send_after, [Time, Dest, Msg, Opts]); % | ^ src/elixir_rewrite.erl:261:84: Warning: variable 'Dest' shadowed in 'fun' % 261| ?rewrite(?process, send_after, [Dest, Msg, Time, Opts], erlang, send_after, [Time, Dest, Msg, Opts]); % | ^ src/elixir_rewrite.erl:261:90: Warning: variable 'Msg' shadowed in 'fun' % 261| ?rewrite(?process, send_after, [Dest, Msg, Time, Opts], erlang, send_after, [Time, Dest, Msg, Opts]); % | ^ src/elixir_rewrite.erl:261:95: Warning: variable 'Opts' shadowed in 'fun' % 261| ?rewrite(?process, send_after, [Dest, Msg, Time, Opts], erlang, send_after, [Time, Dest, Msg, Opts]); % | ^ src/elixir_rewrite.erl:262:64: Warning: variable 'Size' shadowed in 'fun' % 262| ?rewrite(?tuple, duplicate, [Data, Size], erlang, make_tuple, [Size, Data]); % | ^ src/elixir_rewrite.erl:262:70: Warning: variable 'Data' shadowed in 'fun' % 262| ?rewrite(?tuple, duplicate, [Data, Size], erlang, make_tuple, [Size, Data]); % | ^ src/elixir_rewrite.erl:274:48: Warning: variable 'Index' shadowed in 'fun' % 274| {?tuple, delete_at, [Tuple, Index - 1], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:274:55: Warning: variable 'Tuple' shadowed in 'fun' % 274| {?tuple, delete_at, [Tuple, Index - 1], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:276:54: Warning: variable 'Index' shadowed in 'fun' % 276| {?tuple, insert_at, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:276:61: Warning: variable 'Tuple' shadowed in 'fun' % 276| {?tuple, insert_at, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:276:68: Warning: variable 'Term' shadowed in 'fun' % 276| {?tuple, insert_at, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:278:44: Warning: variable 'Index' shadowed in 'fun' % 278| {?kernel, elem, [Tuple, Index - 1], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:278:51: Warning: variable 'Tuple' shadowed in 'fun' % 278| {?kernel, elem, [Tuple, Index - 1], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:280:54: Warning: variable 'Index' shadowed in 'fun' % 280| {?kernel, put_elem, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:280:61: Warning: variable 'Tuple' shadowed in 'fun' % 280| {?kernel, put_elem, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:280:68: Warning: variable 'Term' shadowed in 'fun' % 280| {?kernel, put_elem, [Tuple, Index - 1, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:283:44: Warning: variable 'Index' shadowed in 'fun' % 283| {?tuple, delete_at, [Tuple, Index], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:283:51: Warning: variable 'Tuple' shadowed in 'fun' % 283| {?tuple, delete_at, [Tuple, Index], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:285:50: Warning: variable 'Index' shadowed in 'fun' % 285| {?tuple, insert_at, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:285:57: Warning: variable 'Tuple' shadowed in 'fun' % 285| {?tuple, insert_at, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:285:64: Warning: variable 'Term' shadowed in 'fun' % 285| {?tuple, insert_at, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:287:40: Warning: variable 'Index' shadowed in 'fun' % 287| {?kernel, elem, [Tuple, Index], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:287:47: Warning: variable 'Tuple' shadowed in 'fun' % 287| {?kernel, elem, [Tuple, Index], fun([Index, Tuple]) -> [Tuple, Index] end}; % | ^ src/elixir_rewrite.erl:289:50: Warning: variable 'Index' shadowed in 'fun' % 289| {?kernel, put_elem, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:289:57: Warning: variable 'Tuple' shadowed in 'fun' % 289| {?kernel, put_elem, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ src/elixir_rewrite.erl:289:64: Warning: variable 'Term' shadowed in 'fun' % 289| {?kernel, put_elem, [Tuple, Index, Term], fun([Index, Tuple, Term]) -> [Tuple, Index, Term] end}; % | ^ Recompile: src/elixir_quote Recompile: src/elixir_parser Recompile: src/elixir_overridable Recompile: src/elixir_module Recompile: src/elixir_map Recompile: src/elixir_lexical Recompile: src/elixir_json 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.18.4/lib/elixir/scripts/generate_app.escript 1.18.4 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; \ "make" unicode; \ fi ==> bootstrap (compile) Compiled kernel.ex Compiled kernel/utils.ex Compiled macro/env.ex Compiled keyword.ex Compiled module.ex Compiled list.ex Compiled macro.ex Compiled kernel/typespec.ex Compiled code.ex Compiled code/identifier.ex Compiled protocol.ex Compiled stream/reducers.ex Compiled enum.ex Compiled regex.ex Compiled inspect/algebra.ex Compiled inspect.ex Compiled string.ex Compiled string/chars.ex Compiled kernel.ex Compiled list/chars.ex Compiled bitwise.ex Compiled module/parallel_checker.ex Compiled module/behaviour.ex Compiled module/types/helpers.ex Compiled module/types/descr.ex Compiled module/types/of.ex Compiled module/types/pattern.ex Compiled module/types/apply.ex Compiled module/types/expr.ex Compiled module/types.ex Compiled exception.ex Compiled path.ex Compiled file.ex Compiled map.ex Compiled function.ex Compiled range.ex Compiled access.ex Compiled io.ex Compiled system.ex Compiled code/formatter.ex Compiled code/normalizer.ex Compiled kernel/cli.ex Compiled kernel/error_handler.ex Compiled kernel/parallel_compiler.ex Compiled kernel/lexical_tracker.ex make[1]: Entering directory '/builddir/build/BUILD/elixir-1.18.4' ==> unicode (compile) bin/elixirc --ignore-module-conflict lib/elixir/unicode/unicode.ex -o lib/elixir/ebin; [Unicode] Break on 25 whitespace codepoints bin/elixirc --ignore-module-conflict lib/elixir/unicode/tokenizer.ex -o lib/elixir/ebin; [Unicode] Tokenizing 112700 non-ascii codepoints [Unicode] Tokenizing 65 scriptsets bin/elixirc --ignore-module-conflict lib/elixir/unicode/security.ex -o lib/elixir/ebin; make[1]: Leaving directory '/builddir/build/BUILD/elixir-1.18.4' ==> elixir (compile) cd lib/elixir && ../../bin/elixirc --ignore-module-conflict "lib/**/*.ex" -o ebin; make: *** [Makefile:95: lib/elixir/ebin/Elixir.Kernel.beam] Segmentation fault (core dumped) make: *** Deleting file 'lib/elixir/ebin/Elixir.Kernel.beam' error: Bad exit status from /var/tmp/rpm-tmp.TRYft5 (%build) Bad exit status from /var/tmp/rpm-tmp.TRYft5 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/elixir.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/elixir.spec