>>> ibm-sw-tpm2 1563 Downloading --2020-08-19 02:58:16-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz Resolving sourceforge.net (sourceforge.net)... 216.105.38.13 Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ [following] --2020-08-19 02:58:17-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/ Reusing existing connection to sourceforge.net:443. HTTP request sent, awaiting response... 302 Found Location: https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download [following] --2020-08-19 02:58:17-- https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm1563.tar.gz/download Reusing existing connection to sourceforge.net:443. HTTP request sent, awaiting response... 302 Found Location: https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1597805897&use_mirror=kumisystems [following] --2020-08-19 02:58:17-- https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz?r=&ts=1597805897&use_mirror=kumisystems Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://kumisystems.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz [following] --2020-08-19 02:58:18-- https://kumisystems.dl.sourceforge.net/project/ibmswtpm2/ibmtpm1563.tar.gz Resolving kumisystems.dl.sourceforge.net (kumisystems.dl.sourceforge.net)... 148.251.120.111, 2a01:4f8:210:1057::2 Connecting to kumisystems.dl.sourceforge.net (kumisystems.dl.sourceforge.net)|148.251.120.111|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 673153 (657K) [application/x-gzip] Saving to: '/srv/storage/autobuild/run/instance-3/output-1/build/.ibmtpm1563.tar.gz.gM3dZ5/output' 0K .......... .......... .......... .......... .......... 7% 4.80M 0s 50K .......... .......... .......... .......... .......... 15% 5.35M 0s 100K .......... .......... .......... .......... .......... 22% 46.5M 0s 150K .......... .......... .......... .......... .......... 30% 33.9M 0s 200K .......... .......... .......... .......... .......... 38% 6.42M 0s 250K .......... .......... .......... .......... .......... 45% 38.8M 0s 300K .......... .......... .......... .......... .......... 53% 40.4M 0s 350K .......... .......... .......... .......... .......... 60% 38.5M 0s 400K .......... .......... .......... .......... .......... 68% 8.20M 0s 450K .......... .......... .......... .......... .......... 76% 42.1M 0s 500K .......... .......... .......... .......... .......... 83% 50.7M 0s 550K .......... .......... .......... .......... .......... 91% 41.3M 0s 600K .......... .......... .......... .......... .......... 98% 52.2M 0s 650K ....... 100% 78.8M=0.04s 2020-08-19 02:58:18 (14.8 MB/s) - '/srv/storage/autobuild/run/instance-3/output-1/build/.ibmtpm1563.tar.gz.gM3dZ5/output' saved [673153/673153] ibmtpm1563.tar.gz: OK (sha1: a2a5335024a2edc1739f08b99e716fa355be627d) ibmtpm1563.tar.gz: OK (md5: 13013612b3a13dc935fefe1a5684179c) ibmtpm1563.tar.gz: OK (sha256: fc3a17f8315c1f47670764f2384943afc0d3ba1e9a0422dacb08d455733bd1e9) >>> ibm-sw-tpm2 1563 Extracting gzip -d -c /srv/storage/autobuild/run/instance-3/dl/ibm-sw-tpm2/ibmtpm1563.tar.gz | /srv/storage/autobuild/run/instance-3/output-1/host/bin/tar --strip-components=1 -C /srv/storage/autobuild/run/instance-3/output-1/build/ibm-sw-tpm2-1563 -xf - >>> ibm-sw-tpm2 1563 Patching Applying 0001-Use-LONG_BIT-to-define-RADIX_BITS.patch using patch: patching file src/LibSupport.h patching file src/makefile >>> ibm-sw-tpm2 1563 Configuring >>> ibm-sw-tpm2 1563 Building PATH="/srv/storage/autobuild/run/instance-3/output-1/host/bin:/srv/storage/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /srv/storage/autobuild/run/instance-3/output-1/build/ibm-sw-tpm2-1563/src PATH="/srv/storage/autobuild/run/instance-3/output-1/host/bin:/srv/storage/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-ar" AS="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-as" LD="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-ld" NM="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-nm" CC="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc" GCC="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc" CPP="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-cpp" CXX="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-g++" FC="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gfortran" F77="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gfortran" RANLIB="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-ranlib" READELF="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-readelf" STRIP="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-strip" OBJCOPY="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-objcopy" OBJDUMP="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/srv/storage/autobuild/run/instance-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/srv/storage/autobuild/run/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/srv/storage/autobuild/run/instance-3/output-1/host/lib -Wl,-rpath,/srv/storage/autobuild/run/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-as" DEFAULT_LINKER="/srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/srv/storage/autobuild/run/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/srv/storage/autobuild/run/instance-3/output-1/host/arc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/srv/storage/autobuild/run/instance-3/output-1/build/ibm-sw-tpm2-1563/src' /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACTCommands.c -o ACTCommands.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO ACT_spt.c -o ACT_spt.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmCap.c -o AlgorithmCap.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AlgorithmTests.c -o AlgorithmTests.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AsymmetricCommands.c -o AsymmetricCommands.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Attest_spt.c -o Attest_spt.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AttestationCommands.c -o AttestationCommands.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO AuditCommands.c -o AuditCommands.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Bits.c -o Bits.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnConvert.c -o BnConvert.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMath.c -o BnMath.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO BnMemory.c -o BnMemory.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Cancel.c -o Cancel.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO CapabilityCommands.c -o CapabilityCommands.o /srv/storage/autobuild/run/instance-3/output-1/host/bin/arc-linux-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -c -ggdb -O0 -DTPM_POSIX -D_POSIX_ -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DTPM_NUVOTON -DUSE_BIT_FIELD_STRUCTURES=NO Clock.c -o Clock.o Clock.c: In function '_plat__RealTime': Clock.c:138:5: error: implicit declaration of function 'clock_gettime' [-Werror=implicit-function-declaration] 138 | clock_gettime(CLOCK_MONOTONIC, &systime); | ^~~~~~~~~~~~~ Clock.c:138:5: error: nested extern declaration of 'clock_gettime' [-Werror=nested-externs] Clock.c:138:19: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) 138 | clock_gettime(CLOCK_MONOTONIC, &systime); | ^~~~~~~~~~~~~~~ Clock.c:138:19: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors make[1]: *** [makefile:90: Clock.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/srv/storage/autobuild/run/instance-3/output-1/build/ibm-sw-tpm2-1563/src' make: *** [package/pkg-generic.mk:250: /srv/storage/autobuild/run/instance-3/output-1/build/ibm-sw-tpm2-1563/.stamp_built] Error 2 make: Leaving directory '/srv/storage/autobuild/run/instance-3/buildroot'