Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbxtool.spec'], chrootPath='/var/lib/mock/dist-an23-build-135244-49620/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dbxtool.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1632355200 Wrote: /builddir/build/SRPMS/dbxtool-8-5.0.1.an23.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dbxtool.spec'], chrootPath='/var/lib/mock/dist-an23-build-135244-49620/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dbxtool.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1632355200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mnMolU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dbxtool-8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dbxtool-8.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd dbxtool-8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /builddir/build/BUILD/dbxtool-8/.git/ + git config user.email dbxtool-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git add . + git commit -a -q -m '8 baseline.' + git am /builddir/build/SOURCES/dbxtool-8-ccldflags.patch /builddir/build/SOURCES/0001-don-t-use-f-in-dbxtool.service.patch /builddir/build/SOURCES/0002-Make-quiet-exit-on-missing-PK-KEK-not-return-error-s.patch /builddir/build/SOURCES/0003-fix-relop-in-esl_iter_next.patch Applying: Respect environment CCLDFLAGS Applying: *don't* use -f in dbxtool.service Applying: Make quiet exit on missing PK/KEK not return error status. Applying: fix relop in esl_iter_next() + git config --unset user.email + git config --unset user.name + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5fnSg2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dbxtool-8 + make PREFIX=/usr LIBDIR=/usr/lib64 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'CCLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' make -C src TOPDIR=/builddir/build/BUILD/dbxtool-8 SRCDIR=/builddir/build/BUILD/dbxtool-8/src/ make[1]: Entering directory '/builddir/build/BUILD/dbxtool-8/src' gcc -I/builddir/build/BUILD/dbxtool-8/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fshort-wchar -fno-strict-aliasing -fno-merge-constants -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -Werror -Werror=format-security -Wsign-compare -Werror=sign-compare -Wno-unused-result -Wno-unused-function -Wno-error=cpp -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fexceptions -I/usr/include/efivar -M -MM -MF .esltree.P esltree.c gcc -I/builddir/build/BUILD/dbxtool-8/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fshort-wchar -fno-strict-aliasing -fno-merge-constants -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -Werror -Werror=format-security -Wsign-compare -Werror=sign-compare -Wno-unused-result -Wno-unused-function -Wno-error=cpp -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fexceptions -I/usr/include/efivar -M -MM -MF .iter.P iter.c gcc -I/builddir/build/BUILD/dbxtool-8/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fshort-wchar -fno-strict-aliasing -fno-merge-constants -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -Werror -Werror=format-security -Wsign-compare -Werror=sign-compare -Wno-unused-result -Wno-unused-function -Wno-error=cpp -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fexceptions -I/usr/include/efivar -M -MM -MF .dbxtool.P dbxtool.c gcc -I/builddir/build/BUILD/dbxtool-8/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fshort-wchar -fno-strict-aliasing -fno-merge-constants -std=gnu11 -D_GNU_SOURCE -Wall -Wextra -Werror -Werror=format-security -Wsign-compare -Werror=sign-compare -Wno-unused-result -Wno-unused-function -Wno-error=cpp -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fexceptions -I/usr/include/efivar -c dbxtool.c -o dbxtool.o In file included from dbxtool.c:37: esl.h:50: error: "EFI_TIME_ADJUST_DAYLIGHT" redefined [-Werror] 50 | #define EFI_TIME_ADJUST_DAYLIGHT 0x01 | In file included from /usr/include/efivar/efivar.h:21, from dbxtool.c:23: /usr/include/efivar/efivar-types.h:83: note: this is the location of the previous definition 83 | #define EFI_TIME_ADJUST_DAYLIGHT ((uint8_t)0x01) | esl.h:51: error: "EFI_TIME_IN_DAYLIGHT" redefined [-Werror] 51 | #define EFI_TIME_IN_DAYLIGHT 0x02 | /usr/include/efivar/efivar-types.h:84: note: this is the location of the previous definition 84 | #define EFI_TIME_IN_DAYLIGHT ((uint8_t)0x02) | esl.h:53: error: "EFI_UNSPECIFIED_TIMEZONE" redefined [-Werror] 53 | #define EFI_UNSPECIFIED_TIMEZONE 0x07ff | /usr/include/efivar/efivar-types.h:86: note: this is the location of the previous definition 86 | #define EFI_UNSPECIFIED_TIMEZONE ((uint16_t)0x07ff) | cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/dbxtool-8/Make.rules:14: dbxtool.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dbxtool-8/src' make: *** [Makefile:15: src] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.5fnSg2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5fnSg2 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/dbxtool.spec