==> Building on ceruledge ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 447 100% 0.00kB/s 0:00:00 447 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 700 74% 683.59kB/s 0:00:00 936 100% 914.06kB/s 0:00:00 (xfr#2, to-chk=1/4) age-plugin-tpm-0.2.0-3.log 208 100% 203.12kB/s 0:00:00 208 100% 203.12kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 545 bytes received 100 bytes 430.00 bytes/sec total size is 1,579 speedup is 2.45 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root3 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change Download Size core/openssl 3.1.4-1 3.2.0-1 0.65 MiB 4.70 MiB Total Download Size: 4.70 MiB Total Installed Size: 9.52 MiB Net Upgrade Size: 0.65 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... openssl-3.2.0-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading openssl... [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root3]...done ==> Making package: age-plugin-tpm 0.2.0-3 (Tue Dec 19 20:36:54 2023) ==> Retrieving sources...  -> Found age-plugin-tpm-0.2.0.tar.gz ==> Validating source files with sha256sums... age-plugin-tpm-0.2.0.tar.gz ... Passed ==> Making package: age-plugin-tpm 0.2.0-3 (Tue Dec 19 20:37:48 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/fuse-common 3.16.2-1 0.00 MiB extra/fuse2 2.9.9-4 0.40 MiB extra/json-glib 1.8.0-1 0.94 MiB extra/libtpms 0.9.6-1 0.84 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/git 2.43.0-1 24.90 MiB extra/go 2:1.21.5-1 202.21 MiB extra/swtpm 0.8.1-1 0.41 MiB Total Installed Size: 229.93 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing go... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing fuse-common... installing fuse2... installing json-glib... installing libtpms... installing swtpm... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found age-plugin-tpm-0.2.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting age-plugin-tpm-0.2.0.tar.gz with bsdtar ==> Starting build()... go: downloading github.com/google/go-tpm v0.9.1-0.20230629100720-f17b0354fbfc go: downloading github.com/spf13/cobra v1.7.0 go: downloading golang.org/x/term v0.10.0 go: downloading github.com/foxboron/swtpm_test v0.0.0-20230713215421-517b6cf0f7cd go: downloading github.com/twpayne/go-pinentry v0.2.0 go: downloading golang.org/x/crypto v0.11.0 go: downloading golang.org/x/sys v0.10.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/rs/zerolog v1.26.0 go: downloading go.uber.org/multierr v1.8.0 go: downloading go.uber.org/atomic v1.7.0 ==> Starting check()... go: downloading github.com/google/go-tpm-tools v0.3.13-0.20230620182252-4639ecce2aba # github.com/google/go-tpm-tools/simulator/internal In file included from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47, from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/internal/internal_cgo.go:45: /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:52:9: error: #error Unable to determine RADIX_BITS from compiler environment 52 | # error Unable to determine RADIX_BITS from compiler environment | ^~~~~ In file included from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82, from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52: /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:66:3: error: #error "Unsupported radix" 66 | # error "Unsupported radix" | ^~~~~ /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:312:9: error: #error "RADIX_BITS must either be 32 or 64" 312 | # error "RADIX_BITS must either be 32 or 64" | ^~~~~ In file included from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317: /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:73:5: error: #error Ossl library is using different radix 73 | # error Ossl library is using different radix | ^~~~~ In file included from /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:85: /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/CryptRand.h:67:30: error: division by zero in #if 67 | #if ((DRBG_KEY_SIZE_BITS % RADIX_BITS) != 0) \ | ^ /build/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.13-0.20230620182252-4639ecce2aba/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/CryptRand.h:69:2: error: #error "Key size and IV for DRBG must be even multiples of the radix" 69 | #error "Key size and IV for DRBG must be even multiples of the radix" | ^~~~~ ok github.com/foxboron/age-plugin-tpm/cmd/age-plugin-tpm 4.974s ok github.com/foxboron/age-plugin-tpm/internal/bech32 0.064s FAIL github.com/foxboron/age-plugin-tpm/plugin [build failed] FAIL ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root3/build receiving incremental file list age-plugin-tpm-0.2.0-3-riscv64-build.log age-plugin-tpm-0.2.0-3-riscv64-check.log sent 62 bytes received 1,153 bytes 2,430.00 bytes/sec total size is 3,668 speedup is 3.02