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-emmap.spec'], chrootPath='/var/lib/mock/f29-build-28214-14954/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=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-emmap.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 BUILDSTDERR: warning: Macro expanded in comment on line 14: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/erlang-emmap-0-0.24.git05ae1bb.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/erlang-emmap.spec'], chrootPath='/var/lib/mock/f29-build-28214-14954/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=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-emmap.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 BUILDSTDERR: warning: Macro expanded in comment on line 14: %{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8kggpG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + /usr/bin/gzip -dc /builddir/build/SOURCES/emmap-0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Oaerje + umask 022 *.app file (or *.app.src template) was found. + cd /builddir/build/BUILD + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + '[' '!' -f src/emmap.app.src -a '!' -f src/emmap.app -a '!' -f ebin/emmap.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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698"}, "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/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: is_app_available, looking for App edown with Path "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown DEBUG: is_app_available, looking for App edown with Path "/usr/lib64/erlang/lib/edown-0.8.1" INFO: Looking for edown-.* ; found edown-0.8.1 at /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Available deps: [{dep,"/usr/lib64/erlang/lib/edown-0.8.1",edown,".*", {git,"https://github.com/uwiger/edown.git", "HEAD"}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App edown with Path "/usr/lib64/erlang/lib/edown-0.8.1" INFO: Looking for edown-.* ; found edown-0.8.1 at /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Adding /usr/lib64/erlang/lib/edown-0.8.1/ebin to code path DEBUG: Adding skip dir: /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Associate sub_dir /usr/lib64/erlang/lib/edown-0.8.1 with /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 DEBUG: Plugins requested while processing /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698: [] DEBUG: Predirs: ["/usr/lib64/erlang/lib/edown-0.8.1"] DEBUG: Consult config file "/usr/lib64/erlang/lib/edown-0.8.1/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/lib64/erlang/lib/edown-0.8.1: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Postdirs: [] ==> emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 (compile) DEBUG: Matched required ERTS version: 9.3.3.3 -> .* DEBUG: Matched required OTP release: 20 -> .* DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App edown with Path "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown DEBUG: is_app_available, looking for App edown with Path "/usr/lib64/erlang/lib/edown-0.8.1" INFO: Looking for edown-.* ; found edown-0.8.1 at /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: erl_opts [debug_info] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) DEBUG: Worker exited cleanly DEBUG: Worker exited cleanly Compiled src/emmap.erl DEBUG: Worker exited cleanly DEBUG: Skipping deps parse of c_src/emmap.d: enoent DEBUG: Last mod is 0 on c_src/emmap.o INFO: sh info: cwd: "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698" 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 -g -Wall -fPIC -MMD -I"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include" -I"/usr/lib64/erlang/erts-9.3.3.3/include" c_src/emmap.cpp -o c_src/emmap.o DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-9.3.3.3/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 -DNDEBUG"}, {"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"}, {"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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","20.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-9.3.3.3/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/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -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-emmap"}, {"RPM_PACKAGE_RELEASE","0.24.git05ae1bb.fc29"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","2"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, 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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" c_src/emmap.cpp -o c_src/emmap.o" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-9.3.3.3/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 -DNDEBUG"}, {"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"}, {"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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","20.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-9.3.3.3/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/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -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-emmap"}, {"RPM_PACKAGE_RELEASE","0.24.git05ae1bb.fc29"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","2"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] Compiling c_src/emmap.cpp c_src/emmap.cpp: In function 'ERL_NIF_TERM emmap_position(ErlNifEnv*, int, const ERL_NIF_TERM*)': c_src/emmap.cpp:549:29: warning: 'position' may be used uninitialized in this function [-Wmaybe-uninitialized] if (position < 0L || ((unsigned long)position) > handle->len) { ~^~~~~~~~~~~~~~~~~~~~~~~~ INFO: Using specs [{spec,drv,cxx,"priv/emmap_nifs.so", ["c_src/emmap.cpp"], ["c_src/emmap.o"], []}] DEBUG: Last mod is 0 on priv/emmap_nifs.so INFO: sh info: cwd: "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698" cmd: c++ c_src/emmap.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib" -lerl_interface -lei -o priv/emmap_nifs.so DEBUG: opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-9.3.3.3/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 -DNDEBUG"}, {"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"}, {"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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","20.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-9.3.3.3/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/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -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-emmap"}, {"RPM_PACKAGE_RELEASE","0.24.git05ae1bb.fc29"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","2"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}] DEBUG: Port Cmd: "c++ c_src/emmap.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o priv/emmap_nifs.so" Port Opts: [{env,[{"REBAR_DEPS_DIR", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps"}, {"ERL_LIBS", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps:/usr/share/erlang/lib/"}, {"AR","ar"}, {"AS","as"}, {"BINDIR","/usr/lib64/erlang/erts-9.3.3.3/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 -DNDEBUG"}, {"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"}, {"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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"DRV_LDFLAGS", "-shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"DRV_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"DRV_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -shared -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EMU","beam"}, {"ERLANG_ARCH","64"}, {"ERLANG_TARGET","20.3.8.6-riscv64-redhat-linux-gnu-64"}, {"ERL_CFLAGS", " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" "}, {"ERL_EI_LIBDIR", "\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\""}, {"ERL_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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 -DNDEBUG -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_CFLAGS", "-g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/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 -g -Wall -fPIC -MMD -I\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/include\" -I\"/usr/lib64/erlang/erts-9.3.3.3/include\" $PORT_IN_FILES -o $PORT_OUT_FILE"}, {"EXE_LDFLAGS", " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei"}, {"EXE_LINK_CXX_TEMPLATE", "c++ $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"}, {"EXE_LINK_TEMPLATE", "cc $PORT_IN_FILES -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++ -L\"/usr/lib64/erlang/lib/erl_interface-3.10.2.1/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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lstdc++"}, {"LOGNAME","mockbuild"}, {"MAIL","/var/spool/mail/mockbuild"}, {"NM","nm"}, {"OBJCOPY","objcopy"}, {"OBJDUMP","objdump"}, {"OLDPWD","/builddir/build/BUILD"}, {"PATH", "/usr/lib64/erlang/erts-9.3.3.3/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/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698"}, {"RANLIB","ranlib"}, {"REBAR_DEPS_PREFER_LIBS","TRUE"}, {"REBAR_VSN_CACHE_FILE", "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/vsn.cache"}, {"ROOTDIR","/usr/lib64/erlang"}, {"RPM_ARCH","riscv64"}, {"RPM_BUILD_DIR","/builddir/build/BUILD"}, {"RPM_BUILD_ROOT", "/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64"}, {"RPM_DOC_DIR","/usr/share/doc"}, {"RPM_LD_FLAGS", "-Wl,-z,relro -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-emmap"}, {"RPM_PACKAGE_RELEASE","0.24.git05ae1bb.fc29"}, {"RPM_PACKAGE_VERSION","0"}, {"RPM_SOURCE_DIR","/builddir/build/SOURCES"}, {"SHELL","/bin/bash"}, {"SHLVL","2"}, {"STRIP","strip"}, {"TERM","vt100"}, {"USER","mockbuild"}, {"VSN","0"}]}, exit_status, {line,16384}, use_stdio,stderr_to_stdout,hide] DEBUG: Postdirs: [] + '[' -f doc/overview.edoc ']' + /usr/bin/rebar doc -vv DEBUG: Consult config file "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: is_app_available, looking for App edown with Path "/builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698/deps/edown DEBUG: is_app_available, looking for App edown with Path "/usr/lib64/erlang/lib/edown-0.8.1" INFO: Looking for edown-.* ; found edown-0.8.1 at /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Available deps: [{dep,"/usr/lib64/erlang/lib/edown-0.8.1",edown,".*", {git,"https://github.com/uwiger/edown.git", "HEAD"}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App edown with Path "/usr/lib64/erlang/lib/edown-0.8.1" INFO: Looking for edown-.* ; found edown-0.8.1 at /usr/lib64/erlang/lib/edown-0.8.1 DEBUG: Adding /usr/lib64/erlang/lib/edown-0.8.1/ebin to code path DEBUG: Associate sub_dir /usr/lib64/erlang/lib/edown-0.8.1 with /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 DEBUG: Plugins requested while processing /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698: [] DEBUG: Predirs: ["/usr/lib64/erlang/lib/edown-0.8.1"] DEBUG: Consult config file "/usr/lib64/erlang/lib/edown-0.8.1/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/lib64/erlang/lib/edown-0.8.1: [] DEBUG: Predirs: [] DEBUG: Postdirs: [] ==> emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 (doc) DEBUG: "doc/overview.edoc" is more recent than "doc/edoc-info": {{2012,11,28},{14,47,54}} > 0 INFO: Regenerating edocs for emmap DEBUG: Postdirs: [] + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JlLtPx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + '[' emmap '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/ebin/ + '[' -f ebin/emmap.app ']' + /usr/bin/install -m 0644 -p ebin/emmap.app /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/ebin/ + /usr/bin/install -m 0644 -p ebin/emmap.beam /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/ebin/ + '[' -d include/ ']' + '[' -d priv/ ']' BUILDSTDERR: ++ ls priv/emmap_nifs.so + for solibfile in `ls priv/*.so` + /usr/bin/install -D -m 0755 -p priv/emmap_nifs.so /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/priv/emmap_nifs.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0-0.24.git05ae1bb.fc29 --unique-debug-suffix -0-0.24.git05ae1bb.fc29.riscv64 --unique-debug-src-base erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/priv/emmap_nifs.so extracting debug info from /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/lib64/erlang/lib/emmap-0/priv/emmap_nifs.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 30 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tFHxxx Processing files: erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JNruhA + umask 022 + cd /builddir/build/BUILD + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + DOCDIR=/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/doc/erlang-emmap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/doc/erlang-emmap + cp -pr README.md /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/doc/erlang-emmap + cp -pr doc/ /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/doc/erlang-emmap + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FXfYuF + umask 022 + cd /builddir/build/BUILD + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/licenses/erlang-emmap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/licenses/erlang-emmap + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64/usr/share/licenses/erlang-emmap + exit 0 Provides: erlang-emmap = 0-0.24.git05ae1bb.fc29 erlang-emmap(riscv-64) = 0-0.24.git05ae1bb.fc29 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.13 erlang-erts(riscv-64) erlang-kernel(riscv-64) erlang-stdlib(riscv-64) 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) libm.so.6()(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: erlang-emmap-debugsource-0-0.24.git05ae1bb.fc29.riscv64 Provides: erlang-emmap-debugsource = 0-0.24.git05ae1bb.fc29 erlang-emmap-debugsource(riscv-64) = 0-0.24.git05ae1bb.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: erlang-emmap-debuginfo-0-0.24.git05ae1bb.fc29.riscv64 Provides: debuginfo(build-id) = db77cb3e42bc04d361a2af435cb65cf2d12b9e22 erlang-emmap-debuginfo = 0-0.24.git05ae1bb.fc29 erlang-emmap-debuginfo(riscv-64) = 0-0.24.git05ae1bb.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: erlang-emmap-debugsource(riscv-64) = 0-0.24.git05ae1bb.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 Wrote: /builddir/build/RPMS/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/erlang-emmap-debugsource-0-0.24.git05ae1bb.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/erlang-emmap-debuginfo-0-0.24.git05ae1bb.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7nvJ0m + umask 022 + cd /builddir/build/BUILD + cd emmap-05ae1bbc8b9b584473483023643fdc3f329a7698 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-emmap-0-0.24.git05ae1bb.fc29.riscv64 + exit 0 Child return code was: 0