Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-basho_metrics.spec'], chrootPath='/var/lib/mock/f31-build-62130-29029/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/erlang-basho_metrics.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/erlang-basho_metrics-1.0.0-39.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-basho_metrics.spec'], chrootPath='/var/lib/mock/f31-build-62130-29029/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-basho_metrics.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iNxJon + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf basho_metrics-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/basho_metrics-1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd basho_metrics-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/erlang-basho_metrics-0001-Use-C-11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf c_src/boost + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Am87fp + umask 022 + cd /builddir/build/BUILD + cd basho_metrics-1.0.0 + '[' '!' -f src/basho_metrics.app.src -a '!' -f src/basho_metrics.app -a '!' -f ebin/basho_metrics.app ']' + echo '*.app file (or *.app.src template) was found.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=1.0.0 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/basho_metrics-1.0.0/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/basho_metrics-1.0.0"}, "1.0.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 *.app file (or *.app.src template) was found. DEBUG: Consult config file "/builddir/build/BUILD/basho_metrics-1.0.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/basho_metrics-1.0.0/src/basho_metrics.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /builddir/build/BUILD/basho_metrics-1.0.0: [] DEBUG: Predirs: [] ==> basho_metrics-1.0.0 (compile) DEBUG: Matched required ERTS version: 10.3.5.4 -> .* DEBUG: Matched required OTP release: 21 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) DEBUG: Worker exited cleanly DEBUG: Worker exited cleanly src/basho_metrics_nifs.erl:41: Warning: opaque type histogram() is not exported src/basho_metrics_nifs.erl:43: Warning: opaque type meter() is not exported Compiled src/basho_metrics_nifs.erl DEBUG: Worker exited cleanly DEBUG: Skipping deps parse of c_src/basho_metrics_nifs.d: enoent DEBUG: Last mod is 0 on c_src/basho_metrics_nifs.o INFO: sh info: cwd: "/builddir/build/BUILD/basho_metrics-1.0.0" cmd: c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I"/usr/lib64/erlang/lib/erl_interface-3.11.3/include" -I"/usr/lib64/erlang/erts-10.3.5.4/include" -Ic_src/boost -Ic_src/boost.atomic c_src/basho_metrics_nifs.cpp -o c_src/basho_metrics_nifs.o DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/basho_metrics-1.0.0/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/basho_metrics-1.0.0/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-10.3.5.4/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic"}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei -lstdc++"}, {"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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","21.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/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-3.11.3/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-3.11.3/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-10.3.5.4/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/basho_metrics-1.0.0"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/basho_metrics-1.0.0/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-basho_metrics-1.0.0-39.fc31.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-basho_metrics"}, {"RPM_PACKAGE_RELEASE","39.fc31"}, {"RPM_PACKAGE_VERSION","1.0.0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1563926400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","1.0.0"}, {"http_proxy","http://192.168.0.254:3128"}, {"https_proxy","http://192.168.0.254:3128"}]}, return_on_error, {use_stdout,false}] DEBUG: Port Cmd: "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic c_src/basho_metrics_nifs.cpp -o c_src/basho_metrics_nifs.o" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/basho_metrics-1.0.0/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/basho_metrics-1.0.0/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-10.3.5.4/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic"}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei -lstdc++"}, {"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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","21.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/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-3.11.3/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-3.11.3/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-10.3.5.4/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/basho_metrics-1.0.0"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/basho_metrics-1.0.0/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-basho_metrics-1.0.0-39.fc31.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-basho_metrics"}, {"RPM_PACKAGE_RELEASE","39.fc31"}, {"RPM_PACKAGE_VERSION","1.0.0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1563926400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","1.0.0"}, {"http_proxy","http://192.168.0.254:3128"}, {"https_proxy","http://192.168.0.254:3128"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] Compiling c_src/basho_metrics_nifs.cpp INFO: Using specs [{spec,drv,cc,"priv/basho_metrics_nifs.so", ["c_src/basho_metrics_nifs.cpp"], ["c_src/basho_metrics_nifs.o"], []}] DEBUG: Last mod is 0 on priv/basho_metrics_nifs.so INFO: sh info: cwd: "/builddir/build/BUILD/basho_metrics-1.0.0" cmd: cc c_src/basho_metrics_nifs.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-3.11.3/lib" -lerl_interface -lei -lstdc++ -o priv/basho_metrics_nifs.so DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/basho_metrics-1.0.0/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/basho_metrics-1.0.0/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-10.3.5.4/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic"}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei -lstdc++"}, {"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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","21.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/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-3.11.3/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-3.11.3/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-10.3.5.4/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/basho_metrics-1.0.0"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/basho_metrics-1.0.0/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-basho_metrics-1.0.0-39.fc31.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-basho_metrics"}, {"RPM_PACKAGE_RELEASE","39.fc31"}, {"RPM_PACKAGE_VERSION","1.0.0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1563926400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","1.0.0"}, {"http_proxy","http://192.168.0.254:3128"}, {"https_proxy","http://192.168.0.254:3128"}]}] DEBUG: Port Cmd: "cc c_src/basho_metrics_nifs.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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -o priv/basho_metrics_nifs.so" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/basho_metrics-1.0.0/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/basho_metrics-1.0.0/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-10.3.5.4/bin"}, {"CC","cc"}, {"CFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC"}, {"CONFIG_SITE","NONE"}, {"CPP","cpp"}, {"CXX","c++"}, {"CXXFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11"}, {"DRV_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic"}, {"DRV_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" -Ic_src/boost -Ic_src/boost.atomic $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei -lstdc++"}, {"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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -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-3.11.3/lib\" -lerl_interface -lei -lstdc++ -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","21.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/lib\" -lerl_interface -lei"}, {"ESCRIPT_NAME","/usr/bin/rebar"}, {"EXE_CC_TEMPLATE", "cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" "}, {"EXE_CXX_TEMPLATE", "c++ -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -std=c++11 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.11.3/include\" -I\"/usr/lib64/erlang/erts-10.3.5.4/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.11.3/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-3.11.3/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-3.11.3/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"FCFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules"}, {"FFLAGS", "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-10.3.5.4/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/basho_metrics-1.0.0"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/basho_metrics-1.0.0/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-basho_metrics-1.0.0-39.fc31.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", BUILDSTDERR: "-O2 -g -pipe -Wall -Werror=format-sec+ '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 urity -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection"}, {"RPM_OS","linux"}, {"RPM_PACKAGE_NAME","erlang-basho_metrics"}, {"RPM_PACKAGE_RELEASE","39.fc31"}, {"RPM_PACKAGE_VERSION","1.0.0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","1"}, {"SOURCE_DATE_EPOCH","1563926400"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","1.0.0"}, {"http_proxy","http://192.168.0.254:3128"}, {"https_proxy","http://192.168.0.254:3128"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] INFO: No app_vars_file defined. DEBUG: Postdirs: [] No 'doc/overview.edoc' file was found, so docs aren't generated. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x5QPNm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 + cd basho_metrics-1.0.0 + '[' basho_metrics '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/ebin/ + '[' -f ebin/basho_metrics.app ']' + /usr/bin/install -m 0644 -p ebin/basho_metrics.app /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/ebin/ + /usr/bin/install -m 0644 -p ebin/basho_metrics_nifs.beam /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/ebin/ + '[' -d include/ ']' + '[' -d priv/ ']' BUILDSTDERR: ++ ls priv/basho_metrics_nifs.so + for solibfile in `ls priv/*.so` + /usr/bin/install -D -m 0755 -p priv/basho_metrics_nifs.so /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/priv/basho_metrics_nifs.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.0-39.fc31 --unique-debug-suffix -1.0.0-39.fc31.riscv64 --unique-debug-src-base erlang-basho_metrics-1.0.0-39.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/basho_metrics-1.0.0 BUILDSTDERR: 56 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/priv/basho_metrics_nifs.so extracting debug info from /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/lib64/erlang/lib/basho_metrics-1.0.0/priv/basho_metrics_nifs.so original debug info size: 256kB, size after compression: 244kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IDmCvn Processing files: erlang-basho_metrics-1.0.0-39.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uowsXn + umask 022 + cd /builddir/build/BUILD + cd basho_metrics-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/doc/erlang-basho_metrics + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/doc/erlang-basho_metrics + cp -pr README.org /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/doc/erlang-basho_metrics + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vyjh7m + umask 022 + cd /builddir/build/BUILD + cd basho_metrics-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/licenses/erlang-basho_metrics + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/licenses/erlang-basho_metrics + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64/usr/share/licenses/erlang-basho_metrics + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 288, in BUILDSTDERR: Ret = inspect_beam_file(ISA, filename) BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 241, in inspect_beam_file BUILDSTDERR: BeamModRequires BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 239, in BUILDSTDERR: RPMRequires = [item for sublist in map( BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: File "/usr/lib/rpm/erlang-find-requires", line 240, in BUILDSTDERR: lambda x: [(h[rpm.RPMTAG_NAME].decode("utf-8"), h[rpm.RPMTAG_ARCH].decode("utf-8")) for h in ts.dbMatch('basenames', x)], BUILDSTDERR: AttributeError: 'str' object has no attribute 'decode' Provides: erlang-basho_metrics = 1.0.0-39.fc31 erlang-basho_metrics(riscv-64) = 1.0.0-39.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang(erl_nif_version) = 2.14 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: erlang-basho_metrics-debugsource-1.0.0-39.fc31.riscv64 Provides: erlang-basho_metrics-debugsource = 1.0.0-39.fc31 erlang-basho_metrics-debugsource(riscv-64) = 1.0.0-39.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: erlang-basho_metrics-debuginfo-1.0.0-39.fc31.riscv64 Provides: debuginfo(build-id) = d3570b6fb2736f935fe70ba6ac9fb534fe69a0eb erlang-basho_metrics-debuginfo = 1.0.0-39.fc31 erlang-basho_metrics-debuginfo(riscv-64) = 1.0.0-39.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: erlang-basho_metrics-debugsource(riscv-64) = 1.0.0-39.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 Wrote: /builddir/build/RPMS/erlang-basho_metrics-debugsource-1.0.0-39.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/erlang-basho_metrics-1.0.0-39.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/erlang-basho_metrics-debuginfo-1.0.0-39.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.07tjFn + umask 022 + cd /builddir/build/BUILD + cd basho_metrics-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-basho_metrics-1.0.0-39.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0