+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-epam.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dPWAj4
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf epam-1.0.3
+ /usr/bin/gzip -dc /builddir/build/SOURCES/epam-1.0.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd epam-1.0.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (0001-Load-epam-from-the-package-s-own-path-rather-than-ej.patch):'
Patch #0 (0001-Load-epam-from-the-package-s-own-path-rather-than-ej.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/epam.erl
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9KTjIx
+ umask 022
+ cd /builddir/build/BUILD
+ cd epam-1.0.3
+ autoreconf -ivf
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
+ 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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking for riscv64-redhat-linux-gnu-erl... no
checking for erl... /usr/bin/erl
checking for riscv64-redhat-linux-gnu-erlc... no
checking for erlc... /usr/bin/erlc
checking for library containing pam_start... -lpam
checking for library containing pthread_create... -lpthread
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
configure: creating ./config.status
config.status: creating vars.config
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ '[' '!' -f src/epam.app.src -a '!' -f src/epam.app -a '!' -f ebin/epam.app ']'
+ echo '*.app file (or *.app.src template) was found.'
*.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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ VSN=1.0.3
+ export VSN
+ REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/epam-1.0.3/vsn.cache
+ export REBAR_VSN_CACHE_FILE
+ echo '{{git, "/builddir/build/BUILD/epam-1.0.3"}, "1.0.3"}.'
+ REBAR_DEPS_PREFER_LIBS=TRUE
+ export REBAR_DEPS_PREFER_LIBS
+ IGNORE_MISSING_DEPS=TRUE
+ export IGNORE_MISSING_DEPS
+ /usr/bin/rebar compile skip_deps=true -vv
DEBUG: Evaluating config script "/builddir/build/BUILD/epam-1.0.3/rebar.config.script"
DEBUG: Consult config file "/builddir/build/BUILD/epam-1.0.3/rebar.config"
DEBUG: Rebar location: "/usr/bin/rebar"
DEBUG: Consult config file "/builddir/build/BUILD/epam-1.0.3/src/epam.app.src"
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Plugins requested while processing /builddir/build/BUILD/epam-1.0.3: []
DEBUG: Predirs: []
==> epam-1.0.3 (compile)
DEBUG: Matched required ERTS version: 9.3 -> .*
DEBUG: Matched required OTP release: 20 -> .*
DEBUG: Min OTP version unconfigured
DEBUG: erl_opts [debug_info,debug_info,{src_dirs,["src"]}]
DEBUG: Files to compile first: []
DEBUG: Starting 3 compile worker(s)
Compiled src/epam_app.erl
DEBUG: Worker exited cleanly
Compiled src/epam_sup.erl
DEBUG: Worker exited cleanly
Compiled src/epam.erl
DEBUG: Worker exited cleanly
DEBUG: Skipping deps parse of c_src/epam.d: enoent
DEBUG: Last mod is 0 on c_src/epam.o
INFO:  sh info:
	cwd: "/builddir/build/BUILD/epam-1.0.3"
	cmd: 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  -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  -Wall -g -Wall -fPIC -MMD  -I"/usr/lib64/erlang/lib/erl_interface-3.10.1/include" -I"/usr/lib64/erlang/erts-9.3/include"   c_src/epam.c -o c_src/epam.o
DEBUG: 	opts: [{env,[{"REBAR_DEPS_DIR",
                      "/builddir/build/BUILD/epam-1.0.3/deps"},
                     {"ERL_LIBS","/builddir/build/BUILD/epam-1.0.3/deps"},
                     {"AR","ar"},
                     {"AS","as"},
                     {"BINDIR","/usr/lib64/erlang/erts-9.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  -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  -Wall"},
                     {"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 "},
                     {"DBUS_SESSION_BUS_ADDRESS",
                      "unix:path=/run/user/1000/bus"},
                     {"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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"DRV_CFLAGS",
                      "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"DRV_LDFLAGS",
                      "-shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                     {"DRV_LINK_CXX_TEMPLATE",
                      "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"DRV_LINK_TEMPLATE",
                      "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"EMU","beam"},
                     {"ERLANG_ARCH","64"},
                     {"ERLANG_TARGET","20.3-riscv64-redhat-linux-gnu-64"},
                     {"ERL_CFLAGS",
                      " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"  "},
                     {"ERL_EI_LIBDIR",
                      "\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\""},
                     {"ERL_LDFLAGS",
                      " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"EXE_CFLAGS",
                      "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"EXE_LDFLAGS",
                      " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                     {"EXE_LINK_CXX_TEMPLATE",
                      "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"EXE_LINK_TEMPLATE",
                      "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -I/usr/lib64/gfortran/modules"},
                     {"HOME","/builddir"},
                     {"IGNORE_MISSING_DEPS","TRUE"},
                     {"INVOCATION_ID","acc391cf6b6242759a52017a849b1913"},
                     {"JOURNAL_STREAM","7:4018"},
                     {"LANG","C"},
                     {"LD","ld"},
                     {"LDFLAGS",
                      "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam "},
                     {"LOGNAME","mockbuild"},
                     {"NM","nm"},
                     {"OBJCOPY","objcopy"},
                     {"OBJDUMP","objdump"},
                     {"OLDPWD","/builddir/build/BUILD"},
                     {"PATH",
                      "/usr/lib64/erlang/erts-9.3/bin:/usr/lib64/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"},
                     {"PKG_CONFIG_PATH",
                      ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"},
                     {"PROGNAME","erl"},
                     {"PWD","/builddir/build/BUILD/epam-1.0.3"},
                     {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                     {"RANLIB","ranlib"},
                     {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                     {"REBAR_VSN_CACHE_FILE",
                      "/builddir/build/BUILD/epam-1.0.3/vsn.cache"},
                     {"ROOTDIR","/usr/lib64/erlang"},
                     {"RPM_ARCH","riscv64"},
                     {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                     {"RPM_BUILD_ROOT",
                      "/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64"},
                     {"RPM_DOC_DIR","/usr/share/doc"},
                     {"RPM_LD_FLAGS",
                      "-Wl,-z,relro  -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 "},
                     {"RPM_OS","linux"},
                     {"RPM_PACKAGE_NAME","erlang-epam"},
                     {"RPM_PACKAGE_RELEASE","5.fc28"},
                     {"RPM_PACKAGE_VERSION","1.0.3"},
                     {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                     {"SHELL","/bin/bash"},
                     {"SHLVL","4"},
                     {"STRIP","strip"},
                     {"TERM","vt220"},
                     {"USER","mockbuild"},
                     {"VSN","1.0.3"},
                     {"XDG_RUNTIME_DIR","/run/user/1000"},
                     {"XDG_SESSION_ID","c1"}]},
               return_on_error,
               {use_stdout,false}]
DEBUG: Port Cmd: "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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   c_src/epam.c -o c_src/epam.o"
Port Opts: [{env,[{"REBAR_DEPS_DIR","/builddir/build/BUILD/epam-1.0.3/deps"},
                  {"ERL_LIBS","/builddir/build/BUILD/epam-1.0.3/deps"},
                  {"AR","ar"},
                  {"AS","as"},
                  {"BINDIR","/usr/lib64/erlang/erts-9.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  -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  -Wall"},
                  {"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 "},
                  {"DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"},
                  {"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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"DRV_CFLAGS",
                   "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"DRV_LDFLAGS",
                   "-shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                  {"DRV_LINK_CXX_TEMPLATE",
                   "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"DRV_LINK_TEMPLATE",
                   "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"EMU","beam"},
                  {"ERLANG_ARCH","64"},
                  {"ERLANG_TARGET","20.3-riscv64-redhat-linux-gnu-64"},
                  {"ERL_CFLAGS",
                   " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"  "},
                  {"ERL_EI_LIBDIR",
                   "\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\""},
                  {"ERL_LDFLAGS",
                   " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"EXE_CFLAGS",
                   "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"EXE_LDFLAGS",
                   " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                  {"EXE_LINK_CXX_TEMPLATE",
                   "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"EXE_LINK_TEMPLATE",
                   "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -I/usr/lib64/gfortran/modules"},
                  {"HOME","/builddir"},
                  {"IGNORE_MISSING_DEPS","TRUE"},
                  {"INVOCATION_ID","acc391cf6b6242759a52017a849b1913"},
                  {"JOURNAL_STREAM","7:4018"},
                  {"LANG","C"},
                  {"LD","ld"},
                  {"LDFLAGS",
                   "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam "},
                  {"LOGNAME","mockbuild"},
                  {"NM","nm"},
                  {"OBJCOPY","objcopy"},
                  {"OBJDUMP","objdump"},
                  {"OLDPWD","/builddir/build/BUILD"},
                  {"PATH",
                   "/usr/lib64/erlang/erts-9.3/bin:/usr/lib64/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"},
                  {"PKG_CONFIG_PATH",
                   ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"},
                  {"PROGNAME","erl"},
                  {"PWD","/builddir/build/BUILD/epam-1.0.3"},
                  {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                  {"RANLIB","ranlib"},
                  {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                  {"REBAR_VSN_CACHE_FILE",
                   "/builddir/build/BUILD/epam-1.0.3/vsn.cache"},
                  {"ROOTDIR","/usr/lib64/erlang"},
                  {"RPM_ARCH","riscv64"},
                  {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                  {"RPM_BUILD_ROOT",
                   "/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64"},
                  {"RPM_DOC_DIR","/usr/share/doc"},
                  {"RPM_LD_FLAGS",
                   "-Wl,-z,relro  -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 "},
                  {"RPM_OS","linux"},
                  {"RPM_PACKAGE_NAME","erlang-epam"},
                  {"RPM_PACKAGE_RELEASE","5.fc28"},
                  {"RPM_PACKAGE_VERSION","1.0.3"},
                  {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                  {"SHELL","/bin/bash"},
                  {"SHLVL","4"},
                  {"STRIP","strip"},
                  {"TERM","vt220"},
                  {"USER","mockbuild"},
                  {"VSN","1.0.3"},
                  {"XDG_RUNTIME_DIR","/run/user/1000"},
                  {"XDG_SESSION_ID","c1"}]},
            exit_status,
            {line,16384},
            use_stdio,stderr_to_stdout,hide]
Compiling c_src/epam.c
INFO:  Using specs [{spec,exe,cc,"priv/bin/epam",
                          ["c_src/epam.c"],
                          ["c_src/epam.o"],
                          []}]
DEBUG: Last mod is 0 on priv/bin/epam
INFO:  sh info:
	cwd: "/builddir/build/BUILD/epam-1.0.3"
	cmd: cc c_src/epam.o -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib" -lerl_interface -lei -o priv/bin/epam
DEBUG: 	opts: [{env,[{"REBAR_DEPS_DIR",
                      "/builddir/build/BUILD/epam-1.0.3/deps"},
                     {"ERL_LIBS","/builddir/build/BUILD/epam-1.0.3/deps"},
                     {"AR","ar"},
                     {"AS","as"},
                     {"BINDIR","/usr/lib64/erlang/erts-9.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  -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  -Wall"},
                     {"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 "},
                     {"DBUS_SESSION_BUS_ADDRESS",
                      "unix:path=/run/user/1000/bus"},
                     {"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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"DRV_CFLAGS",
                      "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"DRV_LDFLAGS",
                      "-shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                     {"DRV_LINK_CXX_TEMPLATE",
                      "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"DRV_LINK_TEMPLATE",
                      "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"EMU","beam"},
                     {"ERLANG_ARCH","64"},
                     {"ERLANG_TARGET","20.3-riscv64-redhat-linux-gnu-64"},
                     {"ERL_CFLAGS",
                      " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"  "},
                     {"ERL_EI_LIBDIR",
                      "\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\""},
                     {"ERL_LDFLAGS",
                      " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"EXE_CFLAGS",
                      "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                     {"EXE_LDFLAGS",
                      " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                     {"EXE_LINK_CXX_TEMPLATE",
                      "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                     {"EXE_LINK_TEMPLATE",
                      "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -I/usr/lib64/gfortran/modules"},
                     {"HOME","/builddir"},
                     {"IGNORE_MISSING_DEPS","TRUE"},
                     {"INVOCATION_ID","acc391cf6b6242759a52017a849b1913"},
                     {"JOURNAL_STREAM","7:4018"},
                     {"LANG","C"},
                     {"LD","ld"},
                     {"LDFLAGS",
                      "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam "},
                     {"LOGNAME","mockbuild"},
                     {"NM","nm"},
                     {"OBJCOPY","objcopy"},
                     {"OBJDUMP","objdump"},
                     {"OLDPWD","/builddir/build/BUILD"},
                     {"PATH",
                      "/usr/lib64/erlang/erts-9.3/bin:/usr/lib64/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"},
                     {"PKG_CONFIG_PATH",
                      ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"},
                     {"PROGNAME","erl"},
                     {"PWD","/builddir/build/BUILD/epam-1.0.3"},
                     {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                     {"RANLIB","ranlib"},
                     {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                     {"REBAR_VSN_CACHE_FILE",
                      "/builddir/build/BUILD/epam-1.0.3/vsn.cache"},
                     {"ROOTDIR","/usr/lib64/erlang"},
                     {"RPM_ARCH","riscv64"},
                     {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                     {"RPM_BUILD_ROOT",
                      "/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64"},
                     {"RPM_DOC_DIR","/usr/share/doc"},
                     {"RPM_LD_FLAGS",
                      "-Wl,-z,relro  -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 "},
                     {"RPM_OS","linux"},
                     {"RPM_PACKAGE_NAME","erlang-epam"},
                     {"RPM_PACKAGE_RELEASE","5.fc28"},
                     {"RPM_PACKAGE_VERSION","1.0.3"},
                     {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                     {"SHELL","/bin/bash"},
                     {"SHLVL","4"},
                     {"STRIP","strip"},
                     {"TERM","vt220"},
                     {"USER","mockbuild"},
                     {"VSN","1.0.3"},
                     {"XDG_RUNTIME_DIR","/run/user/1000"},
                     {"XDG_SESSION_ID","c1"}]}]
DEBUG: Port Cmd: "cc c_src/epam.o -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o priv/bin/epam"
Port Opts: [{env,[{"REBAR_DEPS_DIR","/builddir/build/BUILD/epam-1.0.3/deps"},
                  {"ERL_LIBS","/builddir/build/BUILD/epam-1.0.3/deps"},
                  {"AR","ar"},
                  {"AS","as"},
                  {"BINDIR","/usr/lib64/erlang/erts-9.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  -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  -Wall"},
                  {"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 "},
                  {"DBUS_SESSION_BUS_ADDRESS","unix:path=/run/user/1000/bus"},
                  {"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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"DRV_CFLAGS",
                   "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"DRV_LDFLAGS",
                   "-shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                  {"DRV_LINK_CXX_TEMPLATE",
                   "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"DRV_LINK_TEMPLATE",
                   "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam  -shared  -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"EMU","beam"},
                  {"ERLANG_ARCH","64"},
                  {"ERLANG_TARGET","20.3-riscv64-redhat-linux-gnu-64"},
                  {"ERL_CFLAGS",
                   " -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"  "},
                  {"ERL_EI_LIBDIR",
                   "\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\""},
                  {"ERL_LDFLAGS",
                   " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -Wall -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"EXE_CFLAGS",
                   "-g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.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  -g -Wall -fPIC -MMD  -I\"/usr/lib64/erlang/lib/erl_interface-3.10.1/include\" -I\"/usr/lib64/erlang/erts-9.3/include\"   $PORT_IN_FILES -o $PORT_OUT_FILE"},
                  {"EXE_LDFLAGS",
                   " -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei"},
                  {"EXE_LINK_CXX_TEMPLATE",
                   "c++ $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.1/lib\" -lerl_interface -lei -o $PORT_OUT_FILE"},
                  {"EXE_LINK_TEMPLATE",
                   "cc $PORT_IN_FILES -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam   -L\"/usr/lib64/erlang/lib/erl_interface-3.10.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  -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  -I/usr/lib64/gfortran/modules"},
                  {"HOME","/builddir"},
                  {"IGNORE_MISSING_DEPS","TRUE"},
                  {"INVOCATION_ID","acc391cf6b6242759a52017a849b1913"},
                  {"JOURNAL_STREAM","7:4018"},
                  {"LANG","C"},
                  {"LD","ld"},
                  {"LDFLAGS",
                   "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -lpam "},
                  {"LOGNAME","mockbuild"},
                  {"NM","nm"},
                  {"OBJCOPY","objcopy"},
                  {"OBJDUMP","objdump"},
                  {"OLDPWD","/builddir/build/BUILD"},
                  {"PATH",
                   "/usr/lib64/erlang/erts-9.3/bin:/usr/lib64/erlang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"},
                  {"PKG_CONFIG_PATH",
                   ":/usr/lib64/pkgconfig:/usr/share/pkgconfig"},
                  {"PROGNAME","erl"},
                  {"PWD","/builddir/build/BUILD/epam-1.0.3"},
                  {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                  {"RANLIB","ranlib"},
                  {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                  {"REBAR_VSN_CACHE_FILE",
                   "/builddir/build/BUILD/epam-1.0.3/vsn.cache"},
                  {"ROOTDIR","/usr/lib64/erlang"},
                  {"RPM_ARCH","riscv64"},
                  {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                  {"RPM_BUILD_ROOT",
                   "/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64"},
                  {"RPM_DOC_DIR","/usr/share/doc"},
                  {"RPM_LD_FLAGS",
                   "-Wl,-z,relro  -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 "},
                  {"RPM_OS","linux"},
                  {"RPM_PACKAGE_NAME","erlang-epam"},
                  {"RPM_PACKAGE_RELEASE","5.fc28"},
                  {"RPM_PACKAGE_VERSION","1.0.3"},
                  {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                  {"SHELL","/bin/bash"},
                  {"SHLVL","4"},
                  {"STRIP","strip"},
                  {"TERM","vt220"},
                  {"USER","mockbuild"},
                  {"VSN","1.0.3"},
                  {"XDG_RUNTIME_DIR","/run/user/1000"},
                  {"XDG_SESSION_ID","c1"}]},
            exit_status,
            {line,16384},
            use_stdio,stderr_to_stdout,hide]
INFO:  No app_vars_file defined.
DEBUG: Postdirs: []
+ '[' -f doc/overview.edoc ']'
+ echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.'
No 'doc/overview.edoc' file was found, so docs aren't generated.
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Mk7Cto
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64
+ cd epam-1.0.3
+ '[' epam '!=' '' ']'
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/ebin/
+ '[' -f ebin/epam.app ']'
+ /usr/bin/install -m 0644 -p ebin/epam.app /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/ebin/
+ /usr/bin/install -m 0644 -p ebin/epam.beam ebin/epam_app.beam ebin/epam_sup.beam /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/ebin/
+ '[' -d include/ ']'
+ '[' -d priv/ ']'
++ ls 'priv/*.so'
ls: cannot access 'priv/*.so': No such file or directory
+ install -d /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/priv/bin
+ install -pm755 priv/bin/epam /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/lib64/erlang/lib/epam-1.0.3/priv/bin/
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/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 /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: erlang-epam-1.0.3-5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WV5ov1
+ umask 022
+ cd /builddir/build/BUILD
+ cd epam-1.0.3
+ DOCDIR=/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/doc/erlang-epam
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/doc/erlang-epam
+ cp -pr CHANGELOG.md /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/doc/erlang-epam
+ cp -pr README.md /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/doc/erlang-epam
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AmxwnZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd epam-1.0.3
+ LICENSEDIR=/builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/licenses/erlang-epam
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/licenses/erlang-epam
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64/usr/share/licenses/erlang-epam
+ exit 0
Provides: erlang-epam = 1.0.3-5.fc28 erlang-epam(riscv-64) = 1.0.3-5.fc28 erlang-p1_pam = 1.0.3-5.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: 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) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Obsoletes: erlang-p1_pam < 1.0.3-4.fc28
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64
Wrote: /builddir/build/SRPMS/erlang-epam-1.0.3-5.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/erlang-epam-1.0.3-5.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lfjjwa
+ umask 022
+ cd /builddir/build/BUILD
+ cd epam-1.0.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-epam-1.0.3-5.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
++ sleep 5
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff