+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/erlang-mimetypes.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.mBVUQS
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf mimetypes-1.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/mimetypes-1.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mimetypes-1.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (erlang-mimetypes-0001-Update-mime.types.patch):'
Patch #1 (erlang-mimetypes-0001-Update-mime.types.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file priv/mime.types
+ echo 'Patch #2 (erlang-mimetypes-0002-Use-NL-value-in-COMMENT-declaration.patch):'
Patch #2 (erlang-mimetypes-0002-Use-NL-value-in-COMMENT-declaration.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/mimetypes_scan.xrl
+ echo 'Patch #3 (erlang-mimetypes-0003-Skip-MIME-types-w-o-extension.patch):'
Patch #3 (erlang-mimetypes-0003-Skip-MIME-types-w-o-extension.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/mimetypes_parse.yrl
+ echo 'Patch #4 (erlang-mimetypes-0004-Unknow-extension-returns-application-octet-stream.patch):'
Patch #4 (erlang-mimetypes-0004-Unknow-extension-returns-application-octet-stream.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file test/mimetypes_tests.erl
+ echo 'Patch #5 (erlang-mimetypes-0005-Parse-empty-strings-properly.patch):'
Patch #5 (erlang-mimetypes-0005-Parse-empty-strings-properly.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file src/mimetypes_parse.yrl
+ echo 'Patch #6 (erlang-mimetypes-0006-No-unicode-symbols-in-file-extensions-allowed.patch):'
Patch #6 (erlang-mimetypes-0006-No-unicode-symbols-in-file-extensions-allowed.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file priv/mime.types
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2wz9Og
+ umask 022
+ cd /builddir/build/BUILD
+ cd mimetypes-1.0
+ '[' '!' -f src/mimetypes.app.src -a '!' -f src/mimetypes.app -a '!' -f ebin/mimetypes.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
+ export VSN
+ REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/mimetypes-1.0/vsn.cache
+ export REBAR_VSN_CACHE_FILE
+ echo '{{git, "/builddir/build/BUILD/mimetypes-1.0"}, "1.0"}.'
+ 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: Consult config file "/builddir/build/BUILD/mimetypes-1.0/rebar.config"
DEBUG: Rebar location: "/usr/bin/rebar"
DEBUG: Consult config file "/builddir/build/BUILD/mimetypes-1.0/src/mimetypes.app.src"
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Plugins requested while processing /builddir/build/BUILD/mimetypes-1.0: []
DEBUG: Predirs: []
==> mimetypes-1.0 (compile)
DEBUG: Matched required ERTS version: 9.3 -> .*
DEBUG: Matched required OTP release: 20 -> .*
DEBUG: Min OTP version unconfigured
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
DEBUG: Worker exited cleanly
Compiled src/mimetypes_scan.xrl
DEBUG: Worker exited cleanly
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
DEBUG: Worker exited cleanly
Compiled src/mimetypes_parse.yrl
DEBUG: Worker exited cleanly
DEBUG: erl_opts [debug_info]
DEBUG: Files to compile first: []
DEBUG: Starting 3 compile worker(s)
Compiled src/mimetypes_parse.erl
Compiled src/mimetypes_loader.erl
Compiled src/mimetypes_scan.erl
Compiled src/mimetypes_sup.erl
DEBUG: Worker exited cleanly
Compiled src/mimetypes_app.erl
DEBUG: Worker exited cleanly
Compiled src/mimetypes.erl
DEBUG: Worker exited cleanly
INFO:  No app_vars_file defined.
INFO:  sh info:
	cwd: "/builddir/build/BUILD/mimetypes-1.0"
	cmd: ./post_compile.escript
DEBUG: 	opts: [{env,[{"REBAR_DEPS_DIR",
                      "/builddir/build/BUILD/mimetypes-1.0/deps"},
                     {"ERL_LIBS","/builddir/build/BUILD/mimetypes-1.0/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 "},
                     {"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  -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 -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 -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  -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  -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  -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","b005866c505341719b0edd77b54643a2"},
                     {"JOURNAL_STREAM","7:5290"},
                     {"LANG","C"},
                     {"LD","ld"},
                     {"LDFLAGS",
                      "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"},
                     {"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/mimetypes-1.0"},
                     {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                     {"RANLIB","ranlib"},
                     {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                     {"REBAR_VSN_CACHE_FILE",
                      "/builddir/build/BUILD/mimetypes-1.0/vsn.cache"},
                     {"ROOTDIR","/usr/lib64/erlang"},
                     {"RPM_ARCH","riscv64"},
                     {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                     {"RPM_BUILD_ROOT",
                      "/builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.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-mimetypes"},
                     {"RPM_PACKAGE_RELEASE","12.fc28"},
                     {"RPM_PACKAGE_VERSION","1.0"},
                     {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                     {"SHELL","/bin/bash"},
                     {"SHLVL","4"},
                     {"STRIP","strip"},
                     {"TERM","vt220"},
                     {"USER","mockbuild"},
                     {"VSN","1.0"},
                     {"XDG_RUNTIME_DIR","/run/user/1000"},
                     {"XDG_SESSION_ID","c2"},
                     {"REBAR","/usr/bin/rebar"}]},
               {abort_on_error,"Command [compile] failed!\n"}]
DEBUG: Port Cmd: "./post_compile.escript"
Port Opts: [{env,[{"REBAR_DEPS_DIR",
                   "/builddir/build/BUILD/mimetypes-1.0/deps"},
                  {"ERL_LIBS","/builddir/build/BUILD/mimetypes-1.0/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 "},
                  {"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  -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 -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 -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  -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  -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  -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","b005866c505341719b0edd77b54643a2"},
                  {"JOURNAL_STREAM","7:5290"},
                  {"LANG","C"},
                  {"LD","ld"},
                  {"LDFLAGS",
                   "-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"},
                  {"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/mimetypes-1.0"},
                  {"PYTHON_DISALLOW_AMBIGUOUS_VERSION","warn"},
                  {"RANLIB","ranlib"},
                  {"REBAR_DEPS_PREFER_LIBS","TRUE"},
                  {"REBAR_VSN_CACHE_FILE",
                   "/builddir/build/BUILD/mimetypes-1.0/vsn.cache"},
                  {"ROOTDIR","/usr/lib64/erlang"},
                  {"RPM_ARCH","riscv64"},
                  {"RPM_BUILD_DIR","/builddir/build/BUILD"},
                  {"RPM_BUILD_ROOT",
                   "/builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.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-mimetypes"},
                  {"RPM_PACKAGE_RELEASE","12.fc28"},
                  {"RPM_PACKAGE_VERSION","1.0"},
                  {"RPM_SOURCE_DIR","/builddir/build/SOURCES"},
                  {"SHELL","/bin/bash"},
                  {"SHLVL","4"},
                  {"STRIP","strip"},
                  {"TERM","vt220"},
                  {"USER","mockbuild"},
                  {"VSN","1.0"},
                  {"XDG_RUNTIME_DIR","/run/user/1000"},
                  {"XDG_SESSION_ID","c2"},
                  {"REBAR","/usr/bin/rebar"}]},
            exit_status,
            {line,16384},
            use_stdio,stderr_to_stdout,hide]
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.6ndCQN
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64
+ cd mimetypes-1.0
+ '[' mimetypes '!=' '' ']'
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/lib64/erlang/lib/mimetypes-1.0/
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/lib64/erlang/lib/mimetypes-1.0/ebin/
+ '[' -f ebin/mimetypes.app ']'
+ /usr/bin/install -m 0644 -p ebin/mimetypes.app /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/lib64/erlang/lib/mimetypes-1.0/ebin/
+ /usr/bin/install -m 0644 -p ebin/mimetypes.beam ebin/mimetypes_app.beam ebin/mimetypes_disp.beam ebin/mimetypes_loader.beam ebin/mimetypes_map.beam ebin/mimetypes_parse.beam ebin/mimetypes_scan.beam ebin/mimetypes_sup.beam /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/lib64/erlang/lib/mimetypes-1.0/ebin/
+ '[' -d include/ ']'
+ '[' -d priv/ ']'
++ ls 'priv/*.so'
ls: cannot access 'priv/*.so': No such file or directory
+ install -D -p -m 0644 priv/mime.types /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/lib64/erlang/lib/mimetypes-1.0/priv/mime.types
+ /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-mimetypes-1.0-12.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YEPKHO
+ umask 022
+ cd /builddir/build/BUILD
+ cd mimetypes-1.0
+ DOCDIR=/builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/share/doc/erlang-mimetypes
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/share/doc/erlang-mimetypes
+ cp -pr README.md /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/share/doc/erlang-mimetypes
+ cp -pr THANKS /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64/usr/share/doc/erlang-mimetypes
+ exit 0
Provides: erlang-mimetypes = 1.0-12.fc28 erlang-mimetypes(riscv-64) = 1.0-12.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: erlang-compiler(riscv-64) erlang-erts(riscv-64) erlang-kernel(riscv-64) erlang-stdlib(riscv-64) erlang-syntax_tools(riscv-64)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64
Wrote: /builddir/build/SRPMS/erlang-mimetypes-1.0-12.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/erlang-mimetypes-1.0-12.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HPwSyJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd mimetypes-1.0
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-mimetypes-1.0-12.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff