Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 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/f39-build-2287034-55650/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=1689724800 Wrote: /builddir/build/SRPMS/erlang-lager-3.9.2-8.fc39.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/f39-build-2287034-55650/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=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1pzUV8 + 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 + rm -rf /builddir/build/BUILD/lager-3.9.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lager-3.9.2-SPECPARTS + /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.Gyo0t6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 *.app file (or *.app.src template) was found. + CXX=g++ + export CXX + cd lager-3.9.2 + '[' '!' -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 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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.yaGKaB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch ++ dirname /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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-8.fc39.noarch/usr/share/erlang/lib/lager-3.9.2/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.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-8.fc39.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-8.fc39.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-8.fc39.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-8.fc39 --unique-debug-suffix -3.9.2-8.fc39.noarch --unique-debug-src-base erlang-lager-3.9.2-8.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lager-3.9.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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.8gVZOV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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-...[17.830 s] ok error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[7.831 s] ok error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[5.441 s] ok [done in 31.590 s] module 'lager' lager: get_sink_handler_status_ascii_test...[0.001 s] ok lager: get_sink_handler_status_latin_test...[0.001 s] ok lager: get_sink_handler_status_unicode_test...[0.001 s] ok [done in 0.020 s] module 'lager_app' lager_app:326: -application_config_mangling_test_/0-fun-9- (Explode the file backend handlers)...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)...=ERROR REPORT==== 22-Jan-2024::19:16:05.786796 === Cannot have same file ("same_file.log") in multiple file backends 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)...ok lager_app:411: -check_handler_config_test_/0-fun-12- (lager_file_backend_bad)...[0.004 s] ok lager_app:414: -check_handler_config_test_/0-fun-9- (Invalid config dies)...[0.001 s] ok lager_app:417: -check_handler_config_test_/0-fun-7- (Invalid config dies)...[0.030 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.002 s] ok [done in 1.380 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-...ok lager_console_backend: -console_log_test_/0-fun-51- (regular console logging)...[0.023 s] ok lager_console_backend: -console_log_test_/0-fun-48- (verbose console logging)...[0.355 s] ok lager_console_backend: -console_log_test_/0-fun-45- (custom format console logging)...[0.325 s] ok lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...*timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from glc_code:compile_forms/2 (src/glc_code.erl, line 621) in call from glc_code:compile/3 (src/glc_code.erl, line 52) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace/3 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 290) in call from lager_console_backend:'-console_log_test_/0-fun-42-'/1 (/builddir/build/BUILD/lager-3.9.2/src/lager_console_backend.erl, line 365) undefined lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...*timed out* in function code_server:call/1 (code_server.erl, line 156) in call from glc_code:load_binary/2 (src/glc_code.erl, line 633) in call from glc_code:compile/3 (src/glc_code.erl, line 53) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace/3 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 290) in call from lager_console_backend:'-console_log_test_/0-fun-37-'/1 (/builddir/build/BUILD/lager-3.9.2/src/lager_console_backend.erl, line 395) undefined lager_console_backend: -console_log_test_/0-fun-30- (blacklisting a loglevel works)...[0.781 s] ok lager_console_backend: -console_log_test_/0-fun-25- (whitelisting a loglevel works)...[1.133 s] ok lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[1.943 s] ok lager_console_backend: -console_log_test_/0-fun-13- (console backend with custom group leader using a trace and an ID)...*timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from glc_code:compile_forms/2 (src/glc_code.erl, line 621) in call from glc_code:compile/3 (src/glc_code.erl, line 52) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace/3 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 290) in call from lager_console_backend:'-console_log_test_/0-fun-13-'/1 (/builddir/build/BUILD/lager-3.9.2/src/lager_console_backend.erl, line 531) undefined lager_console_backend: -set_loglevel_test_/0-fun-8- (Get/set loglevel test)...[0.587 s] ok lager_console_backend: -set_loglevel_test_/0-fun-3- (Get/set invalid loglevel test)...[0.002 s] ok [done in 80.232 s] module 'lager_crash_log' lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.527 s] ok lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.041 s] ok lager_crash_log: -filesystem_test_/0-fun-21- (file that becomes unavailable at runtime should trigger an error message)...[0.909 s] ok lager_crash_log: -filesystem_test_/0-fun-11- (unavailable files that are fixed at runtime should start having log messages written)...[1.000 s] ok lager_crash_log: -filesystem_test_/0-fun-6- (external logfile rotation/deletion should be handled)...[1.001 s] ok [done in 37.512 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.006 s] ok lager_default_formatter:305: -basic_test_/0-fun-53- (Non existent metadata can default to string)...[0.347 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)...[0.002 s] 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)...[0.002 s] ok lager_default_formatter:375: -basic_test_/0-fun-39- (Metadata can be printed in its enterity)...[0.002 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.001 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)...[0.001 s] 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.002 s] ok lager_default_formatter:459: -basic_test_/0-fun-23- (Uppercase Severity Formatting - DEBUG)...[0.001 s] ok lager_default_formatter:468: -basic_test_/0-fun-21- (Uppercase Severity Formatting - INFO)...[0.002 s] ok lager_default_formatter:477: -basic_test_/0-fun-19- (Uppercase Severity Formatting - NOTICE)...[0.001 s] ok lager_default_formatter:486: -basic_test_/0-fun-17- (Uppercase Severity Formatting - WARNING)...[0.001 s] 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)...[0.001 s] ok lager_default_formatter:513: -basic_test_/0-fun-11- (Uppercase Severity Formatting - ALERT)...[0.001 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.002 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.008 s] ok [done in 1.600 s] module 'lager_file_backend' lager_file_backend: get_loglevel_test...[0.001 s] ok lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[1.755 s] ok lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.760 s] ok lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[1.407 s] ok lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[1.917 s] ok lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.581 s] ok lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.603 s] ok lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.720 s] ok lager_file_backend: -filesystem_test_/0-fun-62- (unavailable files that are fixed at runtime should start having log messages written)...[2.601 s] ok lager_file_backend: -filesystem_test_/0-fun-55- (external logfile rotation/deletion should be handled)...[1.146 s] ok lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.992 s] ok lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[1.137 s] ok lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[1.679 s] ok lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[1.398 s] ok lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.368 s] ok lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...[0.618 s] ok lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[1.170 s] ok lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.027 s] ok lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[2.252 s] ok lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[2.169 s] ok lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...*timed out* in function gen:do_call/4 (gen.erl, line 240) in call from gen_event:rpc/2 (gen_event.erl, line 471) in call from lager:do_log_impl/10 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 158) in call from lager_file_backend:'-filesystem_test_/0-fun-12-'/0 (/builddir/build/BUILD/lager-3.9.2/src/lager_file_backend.erl, line 960) 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 543) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 368) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 526) undefined lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...*timed out* in function code_server:call/1 (code_server.erl, line 156) in call from glc_code:load_binary/2 (src/glc_code.erl, line 633) in call from glc_code:compile/3 (src/glc_code.erl, line 53) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace_file/4 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 266) in call from lager_file_backend:'-filesystem_test_/0-fun-10-'/0 (/builddir/build/BUILD/lager-3.9.2/src/lager_file_backend.erl, line 974) undefined lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...*timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from glc_code:compile_forms/2 (src/glc_code.erl, line 621) in call from glc_code:compile/3 (src/glc_code.erl, line 52) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace_file/4 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 266) in call from lager_file_backend:'-filesystem_test_/0-fun-8-'/0 (/builddir/build/BUILD/lager-3.9.2/src/lager_file_backend.erl, line 989) undefined lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[2.204 s] ok lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[2.595 s] ok lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[1.537 s] ok lager_file_backend:1137: -config_validation_test_/0-fun-27- (missing file)...[0.001 s] ok lager_file_backend:1141: -config_validation_test_/0-fun-25- (bad level)...[0.001 s] ok lager_file_backend:1145: -config_validation_test_/0-fun-23- (bad size)...[0.001 s] 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)...[0.002 s] 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)...ok lager_file_backend:1165: -config_validation_test_/0-fun-13- (bad sync_interval)...ok lager_file_backend:1169: -config_validation_test_/0-fun-11- (bad sync_size)...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 199.383 s] module 'lager_format' module 'lager_handler_watcher' lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[11.573 s] ok lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[11.275 s] ok lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[16.356 s] ok [done in 39.218 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 240) in call from gen_server:call/3 (gen_server.erl, line 415) in call from file:call/2 (file.erl, line 1602) in call from filelib:do_is_regular/2 (filelib.erl, line 150) 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 122) in call from lists:foreach_1/2 (lists.erl, line 1686) 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 1686) undefined ======================================================= Failed: 0. Skipped: 0. Passed: 104. One or more tests were cancelled. ===> Error running tests error: Bad exit status from /var/tmp/rpm-tmp.8gVZOV (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8gVZOV (%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 597, 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