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 x86_64 --nodeps /builddir/build/SPECS/pesign.spec'], chrootPath='/var/lib/mock/dist-an23-build-329937-69396/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/pesign.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=1680739200 Wrote: /builddir/build/SRPMS/pesign-0.112-27.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/pesign.spec'], chrootPath='/var/lib/mock/dist-an23-build-329937-69396/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/pesign.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=1680739200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9inYhD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pesign-0.112 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pesign-0.112.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pesign-0.112 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/mkdir -p pesign-0.112/ + cd pesign-0.112/ + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/certs.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /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/pesign-0.112/.git/ + git config user.email pesign-owner@fedoraproject.org + git config user.name 'Fedora Ninjas' + git add . + git commit -a -q -m '0.112 baseline.' + git am /builddir/build/SOURCES/0001-cms-kill-generate_integer-it-doesn-t-build-on-i686-a.patch /builddir/build/SOURCES/0002-Fix-command-line-parsing.patch /builddir/build/SOURCES/0003-gcc-don-t-error-on-stuff-in-includes.patch /builddir/build/SOURCES/0004-Fix-certficate-argument-name.patch /builddir/build/SOURCES/0005-Fix-description-of-ascii-armor-option-in-manpage.patch /builddir/build/SOURCES/0006-Make-ascii-work-since-we-documented-it.patch /builddir/build/SOURCES/0007-Switch-pesign-client-to-also-accept-token-cert-macro.patch /builddir/build/SOURCES/0008-pesigcheck-Verify-with-the-cert-as-an-object-signer.patch /builddir/build/SOURCES/0009-pesigcheck-make-certfile-actually-work.patch /builddir/build/SOURCES/0010-signerInfos-make-sure-err-is-always-initialized.patch /builddir/build/SOURCES/0011-pesign-make-pesign-h-tell-you-the-file-name.patch /builddir/build/SOURCES/0012-Add-coverity-build-scripts.patch /builddir/build/SOURCES/0013-Document-implicit-fallthrough.patch /builddir/build/SOURCES/0014-Actually-setfacl-each-directory-of-our-key-storage.patch /builddir/build/SOURCES/0015-oid-add-SHIM_EKU_MODULE_SIGNING_ONLY-and-fix-our-arr.patch /builddir/build/SOURCES/0016-efikeygen-add-modsign.patch /builddir/build/SOURCES/0017-check_cert_db-try-even-harder-to-pick-a-reasonable-v.patch /builddir/build/SOURCES/0018-show-which-db-we-re-checking.patch /builddir/build/SOURCES/0019-more-about-the-time.patch /builddir/build/SOURCES/0020-try-to-say-why-something-fails.patch /builddir/build/SOURCES/0021-Fix-race-condition-in-SEC_GetPassword.patch /builddir/build/SOURCES/0022-sysvinit-Create-the-socket-directory-at-runtime.patch /builddir/build/SOURCES/0023-Better-authorization-scripts.-Again.patch /builddir/build/SOURCES/0024-Make-the-daemon-also-try-to-give-better-errors-on-EP.patch /builddir/build/SOURCES/0025-certdb-fix-PRTime-printfs-for-i686.patch /builddir/build/SOURCES/0026-Clean-up-gcc-command-lines-a-little.patch /builddir/build/SOURCES/0027-Make-pesign-users-groups-static-in-the-repo.patch /builddir/build/SOURCES/0028-rpm-Make-the-client-signer-use-the-fedora-values-unl.patch /builddir/build/SOURCES/0029-Make-macros.pesign-error-in-kojibuilder-if-we-don-t-.patch /builddir/build/SOURCES/0030-Replace-var-run-with-run.patch /builddir/build/SOURCES/0031-efikeygen-Fix-the-build-with-nss-3.44.patch /builddir/build/SOURCES/0032-Use-normal-file-permissions-instead-of-ACLs.patch /builddir/build/SOURCES/1002-pesign-gcc10.patch Applying: cms: kill generate_integer(), it doesn't build on i686 and it's unused. Applying: Fix command line parsing Applying: gcc: don't error on stuff in includes. Applying: Fix "certficate" argument name. Applying: Fix description of --ascii-armor option in manpage Applying: Make --ascii work, since we documented it. Applying: Switch pesign client to also accept token/cert macros rather than use hard coded values Applying: pesigcheck: Verify with the cert as an object signer Applying: pesigcheck: make --certfile actually work Applying: signerInfos: make sure err is always initialized Applying: pesign: make "pesign -h" tell you the file name. Applying: Add coverity build scripts Applying: Document implicit fallthrough. Applying: Actually setfacl /each/ directory of our key storage. Applying: oid: add SHIM_EKU_MODULE_SIGNING_ONLY and fix our array indices. Applying: efikeygen: add --modsign Applying: check_cert_db(): try even harder to pick a reasonable validation time. Applying: show which db we're checking Applying: more about the time Applying: try to say why something fails Applying: Fix race condition in SEC_GetPassword Applying: sysvinit: Create the socket directory at runtime Applying: Better authorization scripts. Again. Applying: Make the daemon also try to give better errors on -EPERM etc. Applying: certdb: fix PRTime printfs for i686 Applying: Clean up gcc command lines a little Applying: Make pesign-{users,groups} static in the repo. Applying: rpm: Make the client signer use the fedora values unless overridden Applying: Make macros.pesign error in kojibuilder if we don't have perms on the socket Applying: Replace /var/run with /run Applying: efikeygen: Fix the build with nss 3.44 Applying: Use normal file permissions instead of ACLs Applying: pesigcheck: remove superfluous type settings + 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.iuMBag + 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 -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 -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 pesign-0.112 + make PREFIX=/usr LIBDIR=/usr/lib64 make[1]: Entering directory '/builddir/build/BUILD/pesign-0.112/include' make[1]: Nothing to be done for 'deps'. make[1]: Leaving directory '/builddir/build/BUILD/pesign-0.112/include' make[1]: Entering directory '/builddir/build/BUILD/pesign-0.112/libdpe' make -f /builddir/build/BUILD/pesign-0.112/Make.deps deps SOURCES="libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c" make[2]: Entering directory '/builddir/build/BUILD/pesign-0.112/libdpe' gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .libdpe.d libdpe.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_addcert.d pe_addcert.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_allocspace.d pe_allocspace.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_begin.d pe_begin.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_end.d pe_end.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_error.d pe_error.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_getdatadir.d pe_getdatadir.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_getpehdr.d pe_getpehdr.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_getscn.d pe_getscn.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_getshdr.d pe_getshdr.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_nextscn.d pe_nextscn.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_opthdr.d pe_opthdr.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_rawfile.d pe_rawfile.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_readall.d pe_readall.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_update.d pe_update.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_updatefile.d pe_updatefile.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pe_updatenull.d pe_updatenull.c echo SOURCES=libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c SOURCES=libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c make[2]: Leaving directory '/builddir/build/BUILD/pesign-0.112/libdpe' make[1]: Leaving directory '/builddir/build/BUILD/pesign-0.112/libdpe' make[1]: Entering directory '/builddir/build/BUILD/pesign-0.112/src' make -f /builddir/build/BUILD/pesign-0.112/Make.deps deps SOURCES="cms_common.c content_info.c oid.c password.c signed_data.c signer_info.c ucs2.c pesign_context.c actions.c client.c efikeygen.c efisiglist.c siglist.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c" make[2]: Entering directory '/builddir/build/BUILD/pesign-0.112/src' gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .cms_common.d cms_common.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .content_info.d content_info.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .oid.d oid.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .password.d password.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .signed_data.d signed_data.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .signer_info.d signer_info.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .ucs2.d ucs2.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pesign_context.d pesign_context.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .actions.d actions.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .client.d client.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .efikeygen.d efikeygen.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .efisiglist.d efisiglist.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .siglist.d siglist.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pesigcheck.d pesigcheck.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pesigcheck_context.d pesigcheck_context.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .certdb.d certdb.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .pesign.d pesign.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -MM -MG -MF .daemon.d daemon.c echo SOURCES=cms_common.c content_info.c oid.c password.c signed_data.c signer_info.c ucs2.c pesign_context.c actions.c client.c efikeygen.c efisiglist.c siglist.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c SOURCES=cms_common.c content_info.c oid.c password.c signed_data.c signer_info.c ucs2.c pesign_context.c actions.c client.c efikeygen.c efisiglist.c siglist.c pesigcheck.c pesigcheck_context.c certdb.c pesign.c pesign_context.c actions.c daemon.c make[2]: Leaving directory '/builddir/build/BUILD/pesign-0.112/src' make[1]: Leaving directory '/builddir/build/BUILD/pesign-0.112/src' make[1]: Entering directory '/builddir/build/BUILD/pesign-0.112/include' for x in libdpe ; do \ make -C $x all ; \ done make[2]: Entering directory '/builddir/build/BUILD/pesign-0.112/include/libdpe' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/pesign-0.112/include/libdpe' make[1]: Leaving directory '/builddir/build/BUILD/pesign-0.112/include' make[1]: Entering directory '/builddir/build/BUILD/pesign-0.112/libdpe' make -f /builddir/build/BUILD/pesign-0.112/Make.deps deps SOURCES="libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c" make[2]: Entering directory '/builddir/build/BUILD/pesign-0.112/libdpe' echo SOURCES=libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c SOURCES=libdpe.c pe_addcert.c pe_allocspace.c pe_begin.c pe_end.c pe_error.c pe_getdatadir.c pe_getpehdr.c pe_getscn.c pe_getshdr.c pe_nextscn.c pe_opthdr.c pe_rawfile.c pe_readall.c pe_update.c pe_updatefile.c pe_updatenull.c make[2]: Leaving directory '/builddir/build/BUILD/pesign-0.112/libdpe' gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -c -o libdpe.o libdpe.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -c -o pe_addcert.o pe_addcert.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -c -o pe_allocspace.o pe_allocspace.c gcc -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 -Wall -Werror -Wextra -Wsign-compare -Wno-unused-result -Wno-unused-function -Wsign-compare -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/builddir/build/BUILD/pesign-0.112/include -Wmaybe-uninitialized -grecord-gcc-switches -Werror -c -o pe_begin.o pe_begin.c In file included from libdpe.h:23, from pe_begin.c:30: In function 'determine_kind', inlined from 'determine_kind' at common.h:77:1, inlined from 'read_unmmapped_file' at pe_begin.c:190:17, inlined from 'read_file.constprop.0' at pe_begin.c:260:9: common.h:106:40: error: array subscript 1 is outside array bounds of 'union [1]' [-Werror=array-bounds] 106 | switch (le16_to_cpu(peo->magic)) { pe_begin.c: In function 'read_file.constprop.0': pe_begin.c:176:11: note: at offset 152 into object 'mem' of size 152 176 | } mem; | ^~~ cc1: all warnings being treated as errors make[1]: *** [/builddir/build/BUILD/pesign-0.112/Make.rules:33: pe_begin.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/pesign-0.112/libdpe' make: *** [Makefile:26: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.iuMBag (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.iuMBag (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/pesign.spec\n', 1)] 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 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 x86_64 --nodeps /builddir/build/SPECS/pesign.spec