Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1695093834.660275/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: Macro expanded in comment on line 96: %{_bindir}/tbprovisioner Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kunpengsecl-2.0.2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1695093834.660275/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: Macro expanded in comment on line 96: %{_bindir}/tbprovisioner Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kunpengsecl-2.0.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1695093834.660275/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kunpengsecl.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 /etc/profile.d/system-info.sh: line 55: ps: command not found warning: Macro expanded in comment on line 96: %{_bindir}/tbprovisioner Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ekJ6kd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kunpengsecl-2.0.2 + /usr/bin/mkdir -p kunpengsecl-2.0.2 + cd kunpengsecl-2.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/kunpengsecl-v2.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/vendor.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5CYdzH + umask 022 + cd /builddir/build/BUILD + cd kunpengsecl-2.0.2 + make build make -C attestation vendor || exit $?; make[1]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' make[1]: 'vendor' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' for name in attestation; do\ make -C $name build || exit $?;\ done make[1]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' for name in common tee ras rac tas kms; do\ make -C $name build || exit $?;\ done make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/common' go build -mod=vendor -o pkg/typdefs typdefs/*.go go build -mod=vendor -o pkg/logger logger/*.go go build -mod=vendor -o pkg/cryptotools cryptotools/*.go make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/common' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee' for name in ./tverlib/miracl ./tverlib/verifier ./tverlib/simulator demo; do\ make -C $name build || exit $?;\ done make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/miracl' CC=gcc CFLAGS=-fPIC python3 config64.py -o 33 > ./build.log make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/miracl' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/verifier' gcc -fPIC -shared -o libteeverifier.so teeverifier.c ../miracl/core.a -I /usr/local/include -I ../miracl -L /usr/local/lib -lcrypto -lcjson make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/verifier' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/simulator' gcc -fPIC -shared -o libqca.so teeqca.c -lcjson gcc -fPIC -shared -o libteec.so teec.c make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/simulator' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/demo' go build -mod=vendor -o pkg/attester ./attester_demo/cmd/*.go go build -mod=vendor -o pkg/atools ./attester_demo/attestertools/*.go go build -mod=vendor -o pkg/qcaserver ./qca_demo/cmd/*.go go build -mod=vendor -o pkg/qapi ./qca_demo/qapi/*.go go build -mod=vendor -o pkg/qtools ./qca_demo/qcatools/*.go make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/demo' make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/ras' go build -mod=vendor -o pkg/cache cache/*.go go build -mod=vendor -o pkg/clientapi clientapi/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/config config/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/trustmgr trustmgr/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/kcms/kcmstools kcms/kcmstools/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/kcms/kdb kcms/kdb/*.go go build -mod=vendor -o pkg/ras cmd/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/ras' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/rac' cd ka/ktalib; \ gcc -fPIC -shared -o libkta.so ktalib.c -I /opt/itrustee_sdk/include/CA/ go build -mod=vendor -o pkg/ractools ractools/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/raagent cmd/raagent/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ #go build -mod=vendor -o pkg/tbprovisioner cmd/tbprovisioner/*.go go build -mod=vendor -o pkg/rahub cmd/rahub/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/rac' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tas' cd miracl; echo -e "33\n0" | python3 config64.py > /dev/null go build -mod=vendor -o pkg/akserver cmd/*.go go build -mod=vendor -o pkg/akissuer akissuer/*.go go build -mod=vendor -o pkg/clientapi clientapi/*.go go build -mod=vendor -o pkg/config config/*.go go build -mod=vendor -o pkg/database database/*.go go build -mod=vendor -o pkg/restapi restapi/*.go make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tas' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/kms' go build -mod=vendor -o pkg *.go make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/kms' make[1]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X508cO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 ++ dirname /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 + cd kunpengsecl-2.0.2 + make install DESTDIR=/builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 make -C attestation vendor || exit $?; make[1]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' make[1]: 'vendor' is up to date. make[1]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' for name in attestation; do\ make -C $name install || exit $?;\ done make[1]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' for name in common tee ras rac tas kms; do\ make -C $name install || exit $?;\ done make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/common' to be completed make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/common' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee' for name in ./tverlib/miracl ./tverlib/verifier ./tverlib/simulator demo; do\ make -C $name install || exit $?;\ done make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/miracl' CC=gcc CFLAGS=-fPIC python3 config64.py -o 33 > ./build.log CC=gcc CFLAGS=-fPIC python3 config64.py -o 33 > ./build.log make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/miracl' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/verifier' gcc -fPIC -shared -o libteeverifier.so teeverifier.c ../miracl/core.a -I /usr/local/include -I ../miracl -L /usr/local/lib -lcrypto -lcjson gcc -fPIC -shared -o libteeverifier.so teeverifier.c ../miracl/core.a -I /usr/local/include -I ../miracl -L /usr/local/lib -lcrypto -lcjson mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/include install -m 755 libteeverifier.so /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64 install -m 644 teeverifier.h /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/include make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/verifier' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/simulator' gcc -fPIC -shared -o libqca.so teeqca.c -lcjson gcc -fPIC -shared -o libteec.so teec.c mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 install -m 755 libqca.so /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver install -m 755 libteec.so /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/tverlib/simulator' make[3]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/demo' go build -mod=vendor -o pkg/attester ./attester_demo/cmd/*.go go build -mod=vendor -o pkg/atools ./attester_demo/attestertools/*.go go build -mod=vendor -o pkg/qcaserver ./qca_demo/cmd/*.go go build -mod=vendor -o pkg/qapi ./qca_demo/qapi/*.go go build -mod=vendor -o pkg/qtools ./qca_demo/qcatools/*.go mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/attester /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/attester /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/attester /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 755 pkg/attester /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 644 ./attester_demo/cmd/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/attester install -m 755 ../../quick-scripts/prepare-attesterconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/attester install -m 644 ../../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/attester install -m 644 ../../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/attester install -m 644 ../../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/attester install -m 755 pkg/qcaserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 644 ./qca_demo/cmd/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/qcaserver install -m 755 ../../quick-scripts/prepare-qcaconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver install -m 644 ../../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/qcaserver install -m 644 ../../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/qcaserver install -m 644 ../../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/qcaserver make[3]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee/demo' make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tee' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/ras' go build -mod=vendor -o pkg/cache cache/*.go go build -mod=vendor -o pkg/clientapi clientapi/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/config config/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/trustmgr trustmgr/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/kcms/kcmstools kcms/kcmstools/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/kcms/kdb kcms/kdb/*.go go build -mod=vendor -o pkg/ras cmd/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/ras /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/ras /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 755 pkg/ras /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 644 ./cmd/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/ras install -m 755 ../quick-scripts/prepare-database-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 755 ../quick-scripts/clear-database.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 755 ../quick-scripts/createTable.sql /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 755 ../quick-scripts/dropTable.sql /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 755 ../quick-scripts/clearTable.sql /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 755 ../quick-scripts/prepare-rasconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/ras install -m 644 ../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/ras install -m 644 ../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/ras install -m 644 ../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/ras make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/ras' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/rac' cd ka/ktalib; \ gcc -fPIC -shared -o libkta.so ktalib.c -I /opt/itrustee_sdk/include/CA/ go build -mod=vendor -o pkg/ractools ractools/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ go build -mod=vendor -o pkg/raagent cmd/raagent/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ #go build -mod=vendor -o pkg/tbprovisioner cmd/tbprovisioner/*.go go build -mod=vendor -o pkg/rahub cmd/rahub/*.go # github.com/google/go-tpm-tools/simulator/internal In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvSetStartupAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:1707:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 1707 | NvSetStartupAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from include.c:113: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvReadAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:51:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 51 | NvReadAccessChecks( | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c: In function 'NvWriteAccessChecks': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/NV_spt.c:99:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 99 | NvWriteAccessChecks( | ^~~~~~~~~~~~~~~~~~~ In file included from include.c:184: /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvWriteIndexAttributes': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:975:1: note: parameter passing for argument of type 'TPMA_NV' changed in GCC 9.1 975 | NvWriteIndexAttributes( | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c: In function 'NvNextByType': /builddir/build/BUILD/kunpengsecl-2.0.2/attestation/vendor/github.com/google/go-tpm-tools/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/NvDynamic.c:149:17: warning: 'nvHandle' may be used uninitialized in this function [-Wmaybe-uninitialized] 149 | *handle = nvHandle; | ~~~~~~~~^~~~~~~~~~ mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/rac /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/rahub /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/default_test /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/rac /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/rahub /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rac /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rahub /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 755 pkg/raagent /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 755 pkg/rahub /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 644 ./cmd/raagent/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/rac install -m 644 ./cmd/rahub/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/rahub install -m 644 ./cmd/raagent/ascii_runtime_measurements* /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/default_test install -m 644 ./cmd/raagent/binary_bios_measurements* /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/default_test install -m 755 ../quick-scripts/integritytools/*.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/rac install -m 755 ../quick-scripts/prepare-racconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/rac/ install -m 755 ../quick-scripts/prepare-hubconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/rahub/ install -m 644 ../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rac install -m 644 ../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rac install -m 644 ../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rac install -m 644 ../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rahub install -m 644 ../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rahub install -m 644 ../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/rahub install -m 755 ka/ktalib/libkta.so /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64 make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/rac' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tas' cd miracl; echo -e "33\n0" | python3 config64.py > /dev/null mkdir: cannot create directory ‘core’: File exists mkdir: cannot create directory ‘core/FP512BN’: File exists go build -mod=vendor -o pkg/akserver cmd/*.go go build -mod=vendor -o pkg/akissuer akissuer/*.go go build -mod=vendor -o pkg/clientapi clientapi/*.go go build -mod=vendor -o pkg/config config/*.go go build -mod=vendor -o pkg/database database/*.go go build -mod=vendor -o pkg/restapi restapi/*.go mkdir -p /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/tas /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/tas /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/tas /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 755 pkg/akserver /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/tas install -m 644 ./cmd/config.yaml /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/etc/attestation/tas install -m 755 ../quick-scripts/prepare-tasconf-env.sh /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/tas install -m 644 ./cmd/*.pem /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin install -m 644 ../../README.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/tas install -m 644 ../../README.en.md /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/tas install -m 644 ../../LICENSE /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/doc/attestation/tas make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/tas' make[2]: Entering directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/kms' to be completed make[2]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation/kms' make[1]: Leaving directory '/builddir/build/BUILD/kunpengsecl-2.0.2/attestation' + /usr/bin/find-debuginfo -j4 -i --build-id-seed 2.0.2-1 --unique-debug-suffix -2.0.2-1.aarch64 --unique-debug-src-base kunpengsecl-2.0.2-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/kunpengsecl-2.0.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/qcaserver explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/attester explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/raagent explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/rahub extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/attester extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/qcaserver extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/rahub extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/raagent explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/ras explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/tas explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libkta.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libteeverifier.so extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libkta.so extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libteeverifier.so gdb-add-index: No index was created for /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libkta.so gdb-add-index: [Was there no debuginfo? Was there already an index?] gdb-add-index: No index was created for /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/lib64/libteeverifier.so gdb-add-index: [Was there no debuginfo? Was there already an index?] explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libqca.so extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libqca.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libteec.so extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libteec.so extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/ras gdb-add-index: No index was created for /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libqca.so gdb-add-index: [Was there no debuginfo? Was there already an index?] extracting debug info from /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/bin/tas gdb-add-index: No index was created for /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64/usr/share/attestation/qcaserver/libteec.so gdb-add-index: [Was there no debuginfo? Was there already an index?] 23916 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: kunpengsecl-rac-2.0.2-1.aarch64 Provides: kunpengsecl-rac = 2.0.2-1 kunpengsecl-rac(aarch-64) = 2.0.2-1 libkta.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libkta.so()(64bit) libqca.so()(64bit) libteec.so()(64bit) libteec_adaptor.so()(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-ras-2.0.2-1.aarch64 Provides: kunpengsecl-ras = 2.0.2-1 kunpengsecl-ras(aarch-64) = 2.0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libqca.so()(64bit) libteec.so()(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-rahub-2.0.2-1.aarch64 Provides: kunpengsecl-rahub = 2.0.2-1 kunpengsecl-rahub(aarch-64) = 2.0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libqca.so()(64bit) libteec.so()(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-qcaserver-2.0.2-1.aarch64 Provides: kunpengsecl-qcaserver = 2.0.2-1 kunpengsecl-qcaserver(aarch-64) = 2.0.2-1 libqca.so()(64bit) libteec.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcjson.so.1()(64bit) libqca.so()(64bit) libteec.so()(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-attester-2.0.2-1.aarch64 Provides: kunpengsecl-attester = 2.0.2-1 kunpengsecl-attester(aarch-64) = 2.0.2-1 libteeverifier.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcjson.so.1()(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libqca.so()(64bit) libteec.so()(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-tas-2.0.2-1.aarch64 Provides: kunpengsecl-tas = 2.0.2-1 kunpengsecl-tas(aarch-64) = 2.0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libteeverifier.so()(64bit) rtld(GNU_HASH) Processing files: kunpengsecl-devel-2.0.2-1.aarch64 Provides: kunpengsecl-devel = 2.0.2-1 kunpengsecl-devel(aarch-64) = 2.0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kunpengsecl-debuginfo-2.0.2-1.aarch64 Provides: kunpengsecl-debuginfo = 2.0.2-1 kunpengsecl-debuginfo(aarch-64) = 2.0.2-1 libkta.so-2.0.2-1.aarch64.debug()(64bit) libqca.so-2.0.2-1.aarch64.debug()(64bit) libteec.so-2.0.2-1.aarch64.debug()(64bit) libteeverifier.so-2.0.2-1.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kunpengsecl-debugsource(aarch-64) = 2.0.2-1 Processing files: kunpengsecl-debugsource-2.0.2-1.aarch64 Provides: kunpengsecl-debugsource = 2.0.2-1 kunpengsecl-debugsource(aarch-64) = 2.0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 Wrote: /builddir/build/RPMS/kunpengsecl-tas-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-ras-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-rac-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-qcaserver-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-debugsource-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-devel-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-rahub-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-attester-2.0.2-1.aarch64.rpm Wrote: /builddir/build/RPMS/kunpengsecl-debuginfo-2.0.2-1.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QjU5VY + umask 022 + cd /builddir/build/BUILD + cd kunpengsecl-2.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kunpengsecl-2.0.2-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0