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/erlang-hyper.spec'], chrootPath='/var/lib/mock/f33-build-276116-51646/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/erlang-hyper.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: Macro expanded in comment on line 14: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1583366400 Wrote: /builddir/build/SRPMS/erlang-hyper-0-0.12.20161011git4b1abc4.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/erlang-hyper.spec'], chrootPath='/var/lib/mock/f33-build-276116-51646/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/erlang-hyper.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: Macro expanded in comment on line 14: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1583366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bvhU1P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/hyper-0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/erlang-hyper-0001-remove-need-for-bisect-lib-hyper_bisect-as-it.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-hyper-0002-Module-random-is-deprecated.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-hyper-0003-Remove-unused-functions.patch + /usr/bin/cat /builddir/build/SOURCES/erlang-hyper-0004-Exclude-eunit-from-production-builds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-hyper-0005-Remove-test-failing-in-Erlang-20.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FkheSS + umask 022 + cd /builddir/build/BUILD + cd hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9 + '[' '!' -f src/hyper.app.src -a '!' -f src/hyper.app -a '!' -f ebin/hyper.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9"}, "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: Consult config file "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/src/hyper.app.src" DEBUG: is_app_available, looking for App proper with Path "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps/proper" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps/proper DEBUG: is_app_available, looking for App proper with Path "/usr/share/erlang/lib/proper-1.3" INFO: Looking for proper- ; found proper-1.3 at /usr/share/erlang/lib/proper-1.3 DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/proper-1.3",proper,[], {git,"https://github.com/manopapad/proper.git", "master"}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App proper with Path "/usr/share/erlang/lib/proper-1.3" INFO: Looking for proper- ; found proper-1.3 at /usr/share/erlang/lib/proper-1.3 DEBUG: Adding /usr/share/erlang/lib/proper-1.3/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/proper-1.3 DEBUG: Associate sub_dir /usr/share/erlang/lib/proper-1.3 with /builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9 DEBUG: Plugins requested while processing /builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9: [] DEBUG: Predirs: ["/usr/share/erlang/lib/proper-1.3"] DEBUG: Consult config file "/usr/share/erlang/lib/proper-1.3/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/proper-1.3: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/proper-1.3 DEBUG: Postdirs: [] ==> hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9 (compile) DEBUG: Matched required ERTS version: 11.0.2 -> .* DEBUG: Matched required OTP release: 23 -> .* DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App proper with Path "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps/proper" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps/proper DEBUG: is_app_available, looking for App proper with Path "/usr/share/erlang/lib/proper-1.3" INFO: Looking for proper- ; found proper-1.3 at /usr/share/erlang/lib/proper-1.3 DEBUG: erl_opts [debug_info] DEBUG: Files to compile first: ["src/hyper_register.erl"] Compiled src/hyper_register.erl DEBUG: Starting 3 compile worker(s) Compiled src/hyper_carray.erl Compiled src/hyper_array.erl Compiled src/hyper_gb.erl Compiled src/hyper_binary.erl Compiled src/hyper_binary_rle.erl DEBUG: Worker exited cleanly Compiled src/hyper_const.erl DEBUG: Worker exited cleanly Compiled src/hyper.erl DEBUG: Worker exited cleanly DEBUG: Skipping deps parse of c_src/hyper_carray.d: enoent DEBUG: Last mod is 0 on c_src/hyper_carray.o INFO: sh info: cwd: "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9" cmd: cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I"/usr/lib64/erlang/lib/erl_interface-4.0/include" -I"/usr/lib64/erlang/erts-11.0.2/include" c_src/hyper_carray.c -o c_src/hyper_carray.o DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-11.0.2/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","23.0.2-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"HISTCONTROL","ignoredups"}, {"HISTSIZE","1000"}, {"HOME","/builddir"}, {"HOSTNAME",[]}, {"IGNORE_MISSING_DEPS","TRUE"}, {"LANG","C"}, {"LD","ld"}, {"LDFLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-11.0.2/bin:/usr/lib64/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin"}, {"PKG_CONFIG_PATH", ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"}, {"PROGNAME","erl"}, {"PROMPT_COMMAND", "printf \"\\033]0;\\007\""}, {"PWD", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_NCPUS","4"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-hyper-0-0.12.20161011git4b1abc4.fc33.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"RPM_OPT_FLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-hyper"}, {"RPM_PACKAGE_RELEASE","0.12.20161011git4b1abc4.fc33"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1583366400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, return_on_error, {use_stdout,false}] DEBUG: Port Cmd: "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" c_src/hyper_carray.c -o c_src/hyper_carray.o" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-11.0.2/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","23.0.2-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"HISTCONTROL","ignoredups"}, {"HISTSIZE","1000"}, {"HOME","/builddir"}, {"HOSTNAME",[]}, {"IGNORE_MISSING_DEPS","TRUE"}, {"LANG","C"}, {"LD","ld"}, {"LDFLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-11.0.2/bin:/usr/lib64/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin"}, {"PKG_CONFIG_PATH", ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"}, {"PROGNAME","erl"}, {"PROMPT_COMMAND","printf \"\\033]0;\\007\""}, {"PWD", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_NCPUS","4"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-hyper-0-0.12.20161011git4b1abc4.fc33.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"RPM_OPT_FLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-hyper"}, {"RPM_PACKAGE_RELEASE","0.12.20161011git4b1abc4.fc33"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1583366400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] Compiling c_src/hyper_carray.c INFO: Using specs [{spec,drv,cc,"priv/hyper_carray.so", ["c_src/hyper_carray.c"], ["c_src/hyper_carray.o"], []}] DEBUG: Last mod is 0 on priv/hyper_carray.so INFO: sh info: cwd: "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9" cmd: cc c_src/hyper_carray.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L"/usr/lib64/erlang/lib/erl_interface-4.0/lib" -lerl_interface -lei -o priv/hyper_carray.so DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-11.0.2/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","23.0.2-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"HISTCONTROL","ignoredups"}, {"HISTSIZE","1000"}, {"HOME","/builddir"}, {"HOSTNAME",[]}, {"IGNORE_MISSING_DEPS","TRUE"}, {"LANG","C"}, {"LD","ld"}, {"LDFLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-11.0.2/bin:/usr/lib64/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin"}, {"PKG_CONFIG_PATH", ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"}, {"PROGNAME","erl"}, {"PROMPT_COMMAND", "printf \"\\033]0;\\007\""}, {"PWD", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_NCPUS","4"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-hyper-0-0.12.20161011git4b1abc4.fc33.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"RPM_OPT_FLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-hyper"}, {"RPM_PACKAGE_RELEASE","0.12.20161011git4b1abc4.fc33"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1583366400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}] DEBUG: Port Cmd: "cc c_src/hyper_carray.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o priv/hyper_carray.so" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-11.0.2/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","23.0.2-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c99 -Wall -Werror -O3 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-4.0/include\" -I\"/usr/lib64/erlang/erts-11.0.2/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L\"/usr/lib64/erlang/lib/erl_interface-4.0/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"HISTCONTROL","ignoredups"}, {"HISTSIZE","1000"}, {"HOME","/builddir"}, {"HOSTNAME",[]}, {"IGNORE_MISSING_DEPS","TRUE"}, {"LANG","C"}, {"LD","ld"}, {"LDFLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-11.0.2/bin:/usr/lib64/erlang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin"}, {"PKG_CONFIG_PATH", ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"}, {"PROGNAME","erl"}, {"PROMPT_COMMAND","printf \"\\033]0;\\007\""}, {"PWD", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_NCPUS","4"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-hyper-0-0.12.20161011git4b1abc4.fc33.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"}, {"RPM_OPT_FLAGS", "-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-hyper"}, {"RPM_PACKAGE_RELEASE","0.12.20161011git4b1abc4.fc33"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1583366400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] /usr/bin/ld: cannot find -lerl_interface collect2: error: ld returned 1 exit status ERROR: sh(cc c_src/hyper_carray.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -L"/usr/lib64/erlang/lib/erl_interface-4.0/lib" -lerl_interface -lei -o priv/hyper_carray.so) failed with return code 1 and the following output: /usr/bin/ld: cannot find -lerl_interface collect2: error: ld returned 1 exit status ERROR: compile failed while processing /builddir/build/BUILD/hyper-4b1abc4284fc784f6def4f4928f715b0d33136f9: rebar_abort error: Bad exit status from /var/tmp/rpm-tmp.FkheSS (%build) RPM build errors: Macro expanded in comment on line 14: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Bad exit status from /var/tmp/rpm-tmp.FkheSS (%build) 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/erlang-hyper.spec