Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-831143-28367/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/erlang-lager-3.9.2-7.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-831143-28367/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bozp7Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lager-3.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lager-3.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lager-3.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0003-Allow-trace-filter-to-silence-log-output.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0004-Add-test-and-some-documentation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0005-Separate-line-and-col-metadata-on-OTP-24.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0006-Since-Erlang-24-stacktraces-include-BIF-and-NIF-func.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0007-Workaround-for-Erlang-25.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0008-Workaround-for-slow-builders-increase-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qVIOq0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 *.app file (or *.app.src template) was found. + '[' '!' -f src/lager.app.src -a '!' -f src/lager.app -a '!' -f ebin/lager.app ']' + echo '*.app file (or *.app.src template) was found.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.2/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/lager-3.9.2"}, "3.9.2"}.' + 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/rebar3 compile skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling lager /builddir/build/BUILD/lager-3.9.2/src/lager_util.erl:436:44: Warning: variable 'F' is unused % 436| check_trace(Attrs, {Filter, Level, Dest} = F) when is_tuple(Filter) -> % | ^ src/lager_util.erl:436:44: Warning: variable 'F' is unused + '[' -f doc/overview.edoc ']' No 'doc/overview.edoc' file was found, so docs aren't generated. + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RbtW6N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch ++ dirname /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 + '[' lager '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch/usr/share/erlang/lib/lager-3.9.2/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch/usr/share/erlang/lib/lager-3.9.2/ebin/ + '[' -f _build/default/lib/lager/ebin/lager.app ']' + /usr/bin/install -m 0644 -p _build/default/lib/lager/ebin/lager.app /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch/usr/share/erlang/lib/lager-3.9.2/ebin/ + /usr/bin/install -m 0644 -p _build/default/lib/lager/ebin/error_logger_lager_h.beam _build/default/lib/lager/ebin/lager.beam _build/default/lib/lager/ebin/lager_app.beam _build/default/lib/lager/ebin/lager_backend_throttle.beam _build/default/lib/lager/ebin/lager_common_test_backend.beam _build/default/lib/lager/ebin/lager_config.beam _build/default/lib/lager/ebin/lager_console_backend.beam _build/default/lib/lager/ebin/lager_crash_log.beam _build/default/lib/lager/ebin/lager_default_formatter.beam _build/default/lib/lager/ebin/lager_file_backend.beam _build/default/lib/lager/ebin/lager_format.beam _build/default/lib/lager/ebin/lager_handler_watcher.beam _build/default/lib/lager/ebin/lager_handler_watcher_sup.beam _build/default/lib/lager/ebin/lager_manager_killer.beam _build/default/lib/lager/ebin/lager_msg.beam _build/default/lib/lager/ebin/lager_rotator_behaviour.beam _build/default/lib/lager/ebin/lager_rotator_default.beam _build/default/lib/lager/ebin/lager_stdlib.beam _build/default/lib/lager/ebin/lager_sup.beam _build/default/lib/lager/ebin/lager_transform.beam _build/default/lib/lager/ebin/lager_trunc_io.beam _build/default/lib/lager/ebin/lager_util.beam /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch/usr/share/erlang/lib/lager-3.9.2/ebin/ + '[' -d include/ ']' ++ ls include/lager.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/lager.hrl /builddir/build/BUILDROOT/erlang-lager-3.9.2-7.fc38.noarch/usr/share/erlang/lib/lager-3.9.2/include/lager.hrl + '[' -d priv/ ']' ++ ls 'priv/*.so' ls: cannot access 'priv/*.so': No such file or directory + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.9.2-7.fc38 --unique-debug-suffix -3.9.2-7.fc38.noarch --unique-debug-src-base erlang-lager-3.9.2-7.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lager-3.9.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BwDopO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.2/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + /usr/bin/rebar3 eunit skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling lager /builddir/build/BUILD/lager-3.9.2/src/lager_util.erl:436:44: Warning: variable 'F' is unused % 436| check_trace(Attrs, {Filter, Level, Dest} = F) when is_tuple(Filter) -> % | ^ src/lager_util.erl:436:44: Warning: variable 'F' is unused /builddir/build/BUILD/lager-3.9.2/test/crash.erl:27:13: Warning: invalid function call % 27| {reply, M(), State}; % | ^ /builddir/build/BUILD/lager-3.9.2/test/crash.erl:66:11: Warning: the call to list_to_binary/1 will fail with a 'badarg' exception % 66| Res = list_to_binary(["foo", bar]), % | ^ test/crash.erl:27:13: Warning: invalid function call test/crash.erl:66:11: Warning: the call to list_to_binary/1 will fail with a 'badarg' exception /builddir/build/BUILD/lager-3.9.2/test/pr_stacktrace_test.erl:14:5: Warning: the call to integer_to_list/1 will fail with a 'badarg' exception % 14| integer_to_list(1.0). % | ^ test/pr_stacktrace_test.erl:14:5: Warning: the call to integer_to_list/1 will fail with a 'badarg' exception ===> Performing EUnit tests... ======================== EUnit ======================== file "lager.app" application 'lager' module 'error_logger_lager_h' error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[5.469 s] ok error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.958 s] ok error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.589 s] ok [done in 7.036 s] module 'lager' lager: get_sink_handler_status_ascii_test...[0.001 s] ok lager: get_sink_handler_status_latin_test...ok lager: get_sink_handler_status_unicode_test...[0.001 s] ok [done in 0.015 s] module 'lager_app' lager_app:326: -application_config_mangling_test_/0-fun-9- (Explode the file backend handlers)...[0.001 s] ok lager_app:339: -application_config_mangling_test_/0-fun-7- (Explode the short form of backend file handlers)...[0.001 s] ok lager_app:352: -application_config_mangling_test_/0-fun-5- (Explode with formatter info)...ok lager_app:363: -application_config_mangling_test_/0-fun-3- (Explode short form with short formatter info)...ok lager_app:374: -application_config_mangling_test_/0-fun-1- (New form needs no expansion)...ok lager_app:408: -check_handler_config_test_/0-fun-15- (lager_file_backend_good)...[0.001 s] ok lager_app:411: -check_handler_config_test_/0-fun-12- (lager_file_backend_bad)...=ERROR REPORT==== 24-Jun-2023::07:11:15.902847 === Cannot have same file ("same_file.log") in multiple file backends [0.003 s] ok lager_app:414: -check_handler_config_test_/0-fun-9- (Invalid config dies)...ok lager_app:417: -check_handler_config_test_/0-fun-7- (Invalid config dies)...[0.039 s] ok lager_app:420: -check_handler_config_test_/0-fun-5- (Old Lager config works)...ok lager_app:423: -check_handler_config_test_/0-fun-2- (New Config missing its list should fail)...[0.001 s] ok lager_app_tests: get_env_test (module 'lager_app_tests')...[0.001 s] ok [done in 0.136 s] module 'lager_backend_throttle' module 'lager_common_test_backend' module 'lager_config' module 'lager_console_backend' lager_console_backend:242: -console_config_validation_test_/0-fun-7-...ok lager_console_backend:243: -console_config_validation_test_/0-fun-5-...ok lager_console_backend:244: -console_config_validation_test_/0-fun-3-...ok lager_console_backend:245: -console_config_validation_test_/0-fun-1-...[0.001 s] ok lager_console_backend: -console_log_test_/0-fun-51- (regular console logging)...[0.014 s] ok lager_console_backend: -console_log_test_/0-fun-48- (verbose console logging)...[0.019 s] ok lager_console_backend: -console_log_test_/0-fun-45- (custom format console logging)...[0.006 s] ok lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...[1.243 s] ok lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.373 s] ok lager_console_backend: -console_log_test_/0-fun-30- (blacklisting a loglevel works)...[0.521 s] ok lager_console_backend: -console_log_test_/0-fun-25- (whitelisting a loglevel works)...[0.515 s] ok lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[0.613 s] ok lager_console_backend: -console_log_test_/0-fun-13- (console backend with custom group leader using a trace and an ID)...*failed* in function lager_console_backend:'-console_log_test_/0-fun-13-'/1 (/builddir/build/BUILD/lager-3.9.2/src/lager_console_backend.erl, line 550) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assertEqual,[{module,lager_console_backend}, {line,550}, {expression,"lager_config : get ( { lager_event , loglevel } )"}, {expected,{0,[]}}, {value,{0, [{{all,[{module,'=',lager_console_backend}]}, {mask,255}, {lager_console_backend,trace_test}}]}}]} output:<<"">> lager_console_backend: -set_loglevel_test_/0-fun-8- (Get/set loglevel test)...[0.016 s] ok lager_console_backend: -set_loglevel_test_/0-fun-3- (Get/set invalid loglevel test)...[0.003 s] ok [done in 10.749 s] module 'lager_crash_log' lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.033 s] ok lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.029 s] ok lager_crash_log: -filesystem_test_/0-fun-21- (file that becomes unavailable at runtime should trigger an error message)...[0.073 s] ok lager_crash_log: -filesystem_test_/0-fun-11- (unavailable files that are fixed at runtime should start having log messages written)...[0.023 s] ok lager_crash_log: -filesystem_test_/0-fun-6- (external logfile rotation/deletion should be handled)...[0.139 s] ok [done in 7.336 s] module 'lager_default_formatter' lager_default_formatter:277: -basic_test_/0-fun-59- (Default formatting test)...[0.001 s] ok lager_default_formatter:286: -basic_test_/0-fun-57- (Basic Formatting)...[0.001 s] ok lager_default_formatter:295: -basic_test_/0-fun-55- (Default equivalent formatting test)...[0.001 s] ok lager_default_formatter:305: -basic_test_/0-fun-53- (Non existent metadata can default to string)...[0.001 s] ok lager_default_formatter:315: -basic_test_/0-fun-51- (Non existent metadata can default to other metadata)...[0.001 s] ok lager_default_formatter:325: -basic_test_/0-fun-49- (Non existent metadata can default to a string2)...ok lager_default_formatter:335: -basic_test_/0-fun-47- (Metadata can have extra formatting)...[0.001 s] ok lager_default_formatter:345: -basic_test_/0-fun-45- (Metadata can have extra formatting1)...[0.001 s] ok lager_default_formatter:355: -basic_test_/0-fun-43- (Metadata can have extra formatting2)...[0.001 s] ok lager_default_formatter:365: -basic_test_/0-fun-41- (Metadata can have extra formatting3)...ok lager_default_formatter:375: -basic_test_/0-fun-39- (Metadata can be printed in its enterity)...[0.001 s] ok lager_default_formatter:385: -basic_test_/0-fun-37- (Metadata can be printed in its enterity with custom seperators)...[0.001 s] ok lager_default_formatter:395: -basic_test_/0-fun-35- (Metadata can have extra formatting with width 1)...[0.002 s] ok lager_default_formatter:409: -basic_test_/0-fun-33- (Metadata can have extra formatting with width 2)...[0.001 s] ok lager_default_formatter:419: -basic_test_/0-fun-31- (Metadata can have extra formatting with width 3)...[0.001 s] ok lager_default_formatter:429: -basic_test_/0-fun-29- (Metadata can have extra formatting with width 4)...ok lager_default_formatter:439: -basic_test_/0-fun-27- (Metadata can have extra formatting with width 5)...[0.001 s] ok lager_default_formatter:449: -basic_test_/0-fun-25- (Metadata can have extra formatting with width 6)...[0.001 s] ok lager_default_formatter:459: -basic_test_/0-fun-23- (Uppercase Severity Formatting - DEBUG)...ok lager_default_formatter:468: -basic_test_/0-fun-21- (Uppercase Severity Formatting - INFO)...ok lager_default_formatter:477: -basic_test_/0-fun-19- (Uppercase Severity Formatting - NOTICE)...ok lager_default_formatter:486: -basic_test_/0-fun-17- (Uppercase Severity Formatting - WARNING)...ok lager_default_formatter:495: -basic_test_/0-fun-15- (Uppercase Severity Formatting - ERROR)...[0.001 s] ok lager_default_formatter:504: -basic_test_/0-fun-13- (Uppercase Severity Formatting - CRITICAL)...ok lager_default_formatter:513: -basic_test_/0-fun-11- (Uppercase Severity Formatting - ALERT)...[0.002 s] ok lager_default_formatter:522: -basic_test_/0-fun-9- (Uppercase Severity Formatting - EMERGENCY)...[0.001 s] ok lager_default_formatter:534: -basic_test_/0-fun-5- (pterm presence test)...[0.003 s] ok lager_default_formatter:550: -basic_test_/0-fun-3- (pterm absence test)...[0.001 s] ok lager_default_formatter:566: -basic_test_/0-fun-1- (node formatting basic)...[0.007 s] ok [done in 0.155 s] module 'lager_file_backend' lager_file_backend: get_loglevel_test...ok lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.070 s] ok lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.035 s] ok lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.025 s] ok lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[0.030 s] ok lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.039 s] ok lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.039 s] ok lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.086 s] ok lager_file_backend: -filesystem_test_/0-fun-62- (unavailable files that are fixed at runtime should start having log messages written)...[0.046 s] ok lager_file_backend: -filesystem_test_/0-fun-55- (external logfile rotation/deletion should be handled)...[0.148 s] ok lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.084 s] ok lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.109 s] ok lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.108 s] ok lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.239 s] ok lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.047 s] ok lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...[0.081 s] ok lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[0.092 s] ok lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.028 s] ok lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.061 s] ok lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.646 s] ok lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.608 s] ok lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[1.005 s] ok lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.631 s] ok lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[2.099 s] ok lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.513 s] ok lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.062 s] ok lager_file_backend:1137: -config_validation_test_/0-fun-27- (missing file)...ok lager_file_backend:1141: -config_validation_test_/0-fun-25- (bad level)...ok lager_file_backend:1145: -config_validation_test_/0-fun-23- (bad size)...ok lager_file_backend:1149: -config_validation_test_/0-fun-21- (bad count)...ok lager_file_backend:1153: -config_validation_test_/0-fun-19- (bad high water mark)...ok lager_file_backend:1157: -config_validation_test_/0-fun-17- (bad date)...ok lager_file_backend:1161: -config_validation_test_/0-fun-15- (blank date is ok)...[0.001 s] ok lager_file_backend:1165: -config_validation_test_/0-fun-13- (bad sync_interval)...[0.001 s] ok lager_file_backend:1169: -config_validation_test_/0-fun-11- (bad sync_size)...[0.001 s] ok lager_file_backend:1173: -config_validation_test_/0-fun-9- (bad check_interval)...ok lager_file_backend:1177: -config_validation_test_/0-fun-7- (bad sync_on level)...ok lager_file_backend:1181: -config_validation_test_/0-fun-5- (bad formatter module)...ok lager_file_backend:1185: -config_validation_test_/0-fun-3- (bad formatter config)...ok lager_file_backend:1189: -config_validation_test_/0-fun-1- (unknown option)...ok [done in 25.556 s] module 'lager_format' module 'lager_handler_watcher' lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.468 s] ok lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.562 s] ok lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[7.631 s] ok [done in 20.679 s] module 'lager_handler_watcher_sup' module 'lager_manager_killer' module 'lager_msg' module 'lager_rotator_behaviour' module 'lager_rotator_default' lager_rotator_default: rotate_file_test...*timed out* in function gen:do_call/4 (gen.erl, line 237) in call from gen_server:call/3 (gen_server.erl, line 381) in call from file:call/2 (file.erl, line 1606) in call from lager_rotator_default:'-rotate_file_test/0-fun-3-'/3 (/builddir/build/BUILD/lager-3.9.2/src/lager_rotator_default.erl, line 125) in call from lists:foreach_1/2 (lists.erl, line 1442) in call from lager_rotator_default:'-rotate_file_test/0-fun-4-'/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_rotator_default.erl, line 132) in call from lists:foreach_1/2 (lists.erl, line 1442) in call from lager_rotator_default:rotate_file_test/0 (/builddir/build/BUILD/lager-3.9.2/src/lager_rotator_default.erl, line 135) undefined ======================================================= Failed: 1. Skipped: 0. Passed: 109. One or more tests were cancelled. ===> Error running tests error: Bad exit status from /var/tmp/rpm-tmp.BwDopO (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BwDopO (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec