==> Building on Q ==> Attempt to run pkgver()... ==> Making package: sqlc 1.15.0-1 (Tue 27 Sep 2022 11:41:51 AM EEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Updating sqlc git repo... ==> Validating source files with b2sums... ==> Extracting sources...  -> Creating working copy of sqlc git repo... ==> Starting prepare()... ==> Starting pkgver()... ==> Sources are ready. ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/sqlc ./ PKGBUILD 1,649 100% 0.00kB/s 0:00:00 1,649 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) sqlc-1.15.0-1.log 907 100% 885.74kB/s 0:00:00 907 100% 885.74kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,338 bytes received 93 bytes 954.00 bytes/sec total size is 2,512 speedup is 1.76 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 452 100% 0.00kB/s 0:00:00 452 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 392 bytes received 38 bytes 172.00 bytes/sec total size is 452 speedup is 1.05 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix9 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Making package: sqlc 1.15.0-1 (Tue Sep 27 10:42:03 2022) ==> Retrieving sources... -> Cloning sqlc git repo... ==> Validating source files with b2sums... ==> Making package: sqlc 1.15.0-1 (Tue Sep 27 10:42:13 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/git 2.37.3-1 30.56 MiB community/go 2:1.19-1 434.27 MiB Total Installed Size: 465.05 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui 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 go... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of sqlc git repo... Cloning into 'sqlc'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... go: downloading google.golang.org/protobuf v1.28.1 go: downloading github.com/jackc/pgx/v4 v4.16.1 go: downloading github.com/lib/pq v1.10.6 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b go: downloading github.com/spf13/cobra v1.5.0 go: downloading github.com/jackc/pgconn v1.12.1 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/bytecodealliance/wasmtime-go v0.39.0 go: downloading github.com/jinzhu/inflection v1.0.0 go: downloading github.com/google/go-cmp v0.5.8 go: downloading github.com/go-sql-driver/mysql v1.6.0 go: downloading github.com/mattn/go-sqlite3 v1.14.13 go: downloading github.com/pingcap/tidb/parser v0.0.0-20220725134311-c80026e61f00 go: downloading github.com/r-value/pg_query_go/v2 v2.0.0-20220926071338-875303a22c67 go: downloading github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220626175859-9abda183db8e go: downloading github.com/jackc/chunkreader/v2 v2.0.1 go: downloading github.com/jackc/pgio v1.0.0 go: downloading golang.org/x/text v0.3.7 go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 go: downloading github.com/jackc/pgproto3/v2 v2.3.0 go: downloading github.com/jackc/pgpassfile v1.0.0 go: downloading github.com/jackc/pgtype v1.11.0 go: downloading github.com/inconshreveable/mousetrap v1.0.0 go: downloading github.com/pingcap/errors v0.11.5-0.20210425183316-da1aaba5fb63 go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 go: downloading github.com/pingcap/log v0.0.0-20210906054005-afc726e70354 go: downloading golang.org/x/exp v0.0.0-20220428152302-39d4317da171 go: downloading go.uber.org/zap v1.19.1 go: downloading go.uber.org/atomic v1.9.0 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 go: downloading github.com/pkg/errors v0.9.1 go: downloading go.uber.org/multierr v1.7.0 go: downloading github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/cockroachdb/apd v1.1.0 go: downloading github.com/gofrs/uuid v4.0.0+incompatible go: downloading github.com/shopspring/decimal v1.2.0 go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 go: downloading github.com/BurntSushi/toml v0.3.1 go: downloading go.uber.org/goleak v1.1.11-0.20210813005559-691160354723 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/benbjohnson/clock v1.1.0 go: downloading github.com/kr/pretty v0.2.1 go: downloading github.com/kr/text v0.1.0 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/r-value/bigfft v0.0.0-20220926185850-905acca3ec15 ==> Starting pkgver()... ==> Starting build()... internal/race crypto/internal/subtle math/bits unicode/utf16 unicode/utf8 golang.org/x/text/encoding/internal/identifier internal/goarch github.com/pingcap/tidb/parser/tidb golang.org/x/text/internal/utf8internal internal/itoa vendor/golang.org/x/crypto/internal/subtle crypto/subtle github.com/kyleconroy/sqlc/internal/sql/lang internal/goos internal/unsafeheader encoding github.com/kyleconroy/sqlc/internal/info internal/goexperiment container/list golang.org/x/exp/constraints internal/nettrace unicode vendor/golang.org/x/crypto/cryptobyte/asn1 google.golang.org/protobuf/internal/flags runtime/internal/syscall crypto/internal/boring/sig internal/cpu sync/atomic runtime/internal/atomic runtime/internal/math internal/abi runtime/internal/sys google.golang.org/protobuf/internal/set golang.org/x/exp/slices math internal/bytealg runtime internal/reflectlite sync internal/testlog internal/singleflight google.golang.org/protobuf/internal/pragma math/rand runtime/cgo errors sort internal/oserror path io vendor/golang.org/x/net/dns/dnsmessage strconv crypto/internal/nistec/fiat syscall container/heap hash crypto/internal/randutil text/tabwriter bytes strings hash/fnv hash/crc32 crypto/rc4 crypto reflect github.com/kyleconroy/sqlc/internal/sql/ast golang.org/x/text/transform vendor/golang.org/x/text/transform net/http/internal/ascii go/build/constraint bufio regexp/syntax golang.org/x/text/encoding golang.org/x/text/runes internal/syscall/execenv internal/syscall/unix time crypto/internal/nistec github.com/kyleconroy/sqlc/internal/migrations golang.org/x/text/encoding/internal regexp golang.org/x/text/encoding/unicode golang.org/x/text/encoding/charmap golang.org/x/text/encoding/korean golang.org/x/text/encoding/japanese golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/traditionalchinese context go.uber.org/zap/buffer io/fs internal/poll github.com/jinzhu/inflection internal/fmtsort encoding/binary go.uber.org/zap/internal/bufferpool embed github.com/kyleconroy/sqlc/internal/inflection os encoding/base64 crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field crypto/internal/edwards25519/field crypto/cipher encoding/pem crypto/internal/edwards25519 vendor/golang.org/x/crypto/chacha20 crypto/des crypto/internal/boring crypto/hmac crypto/sha1 crypto/sha256 crypto/sha512 crypto/aes internal/godebug google.golang.org/protobuf/internal/detrand go.uber.org/zap/internal/exit github.com/kyleconroy/sqlc/internal/opts io/ioutil path/filepath fmt vendor/golang.org/x/crypto/chacha20poly1305 internal/intern vendor/golang.org/x/crypto/hkdf os/exec net/netip github.com/kyleconroy/sqlc/internal/pattern github.com/kyleconroy/sqlc/internal/sql/sqlpath mime/quotedprintable vendor/golang.org/x/crypto/curve25519 log go/token encoding/hex github.com/kyleconroy/sqlc/internal/metadata google.golang.org/protobuf/internal/version net/url github.com/pingcap/tidb/parser/format go.uber.org/zap/internal/color net/http/internal flag github.com/kyleconroy/sqlc/internal/source google.golang.org/protobuf/internal/errors mime runtime/trace compress/flate encoding/json vendor/golang.org/x/net/http2/hpack github.com/kyleconroy/sqlc/internal/sql/sqlerr text/template/parse github.com/kyleconroy/sqlc/internal/sql/astutils go/doc/comment math/big gopkg.in/yaml.v3 vendor/golang.org/x/text/unicode/norm github.com/antlr/antlr4/runtime/Go/antlr github.com/pganalyze/pg_query_go/v2/parser encoding/csv google.golang.org/protobuf/encoding/protowire github.com/kyleconroy/sqlc/internal/multierr github.com/kyleconroy/sqlc/internal/sql/catalog net github.com/davecgh/go-spew/spew go.uber.org/zap/internal/ztest vendor/golang.org/x/text/unicode/bidi github.com/pingcap/tidb/parser/opcode go/scanner google.golang.org/protobuf/reflect/protoreflect compress/gzip github.com/kyleconroy/sqlc/internal/engine/postgresql/contrib go/ast text/template github.com/kyleconroy/sqlc/internal/debug gopkg.in/natefinch/lumberjack.v2 go.uber.org/atomic vendor/golang.org/x/text/secure/bidirule github.com/kyleconroy/sqlc/internal/tracer google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/genid vendor/golang.org/x/net/idna go.uber.org/multierr github.com/pingcap/errors crypto/internal/boring/bbig crypto/rand crypto/elliptic crypto/dsa go/constant encoding/asn1 github.com/remyoudompheng/bigfft google.golang.org/protobuf/reflect/protoregistry github.com/kyleconroy/sqlc/internal/config/convert google.golang.org/protobuf/internal/encoding/json google.golang.org/protobuf/internal/encoding/text go/internal/typeparams go/printer github.com/kyleconroy/sqlc/internal/sql/named go.uber.org/zap/zapcore crypto/rsa crypto/ed25519 github.com/pingcap/tidb/parser/mysql # github.com/remyoudompheng/bigfft asm: JAL: expected integer register in rd position panic: register out of range, want 15360 < 0 < 15391 goroutine 1 [running]: cmd/internal/obj/riscv.regVal(...) /usr/lib/go/src/cmd/internal/obj/riscv/obj.go:968 cmd/internal/obj/riscv.regI(0x0?) /usr/lib/go/src/cmd/internal/obj/riscv/obj.go:975 +0xdc cmd/internal/obj/riscv.encodeJ(0xc00001aba0) /usr/lib/go/src/cmd/internal/obj/riscv/obj.go:1302 +0x50 cmd/internal/obj/riscv.(*instruction).encode(0xc00001aba0) /usr/lib/go/src/cmd/internal/obj/riscv/obj.go:1646 +0x4c cmd/internal/obj/riscv.assemble(0xc0000fe200, 0xc0000ec100, 0xc00007e600?) /usr/lib/go/src/cmd/internal/obj/riscv/obj.go:2218 +0x76c cmd/internal/obj.Flushplist(0xc0000fe200, 0xc0000cde70, 0x0, {0x4000800638, 0x20}) /usr/lib/go/src/cmd/internal/obj/plist.go:151 +0x6b4 main.main() /usr/lib/go/src/cmd/asm/main.go:96 +0x78c go/parser google.golang.org/protobuf/proto crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/internal/encoding/defval crypto/ecdsa google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc go/format go/types github.com/kyleconroy/sqlc/internal/engine/sqlite/parser google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/internal/impl github.com/kyleconroy/sqlc/internal/config github.com/kyleconroy/sqlc/internal/sql/rewrite github.com/kyleconroy/sqlc/internal/sql/validate google.golang.org/protobuf/internal/filetype vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 github.com/spf13/pflag google.golang.org/protobuf/runtime/protoimpl mime/multipart vendor/golang.org/x/net/http/httpguts github.com/kyleconroy/sqlc/internal/python/ast github.com/kyleconroy/sqlc/internal/plugin google.golang.org/protobuf/types/descriptorpb crypto/tls github.com/spf13/cobra github.com/kyleconroy/sqlc/internal/python/poet github.com/kyleconroy/sqlc/internal/python/printer google.golang.org/protobuf/reflect/protodesc github.com/kyleconroy/sqlc/internal/ext github.com/kyleconroy/sqlc/internal/codegen/json github.com/kyleconroy/sqlc/internal/ext/process github.com/kyleconroy/sqlc/internal/codegen/sdk github.com/kyleconroy/sqlc/internal/ext/wasm github.com/kyleconroy/sqlc/internal/codegen/kotlin github.com/kyleconroy/sqlc/internal/codegen/python github.com/kyleconroy/sqlc/internal/codegen/golang github.com/kyleconroy/sqlc/cmd/sqlc-gen-json github.com/golang/protobuf/proto net/http/httptrace net/http net/http/httputil go.uber.org/zap github.com/kyleconroy/sqlc/internal/bundler go.uber.org/zap/zaptest github.com/pingcap/log github.com/pingcap/tidb/parser/terror github.com/pingcap/tidb/parser/auth github.com/pingcap/tidb/parser/charset github.com/kyleconroy/sqlc/internal/engine/sqlite github.com/pganalyze/pg_query_go/v2 github.com/kyleconroy/sqlc/internal/engine/postgresql ==> ERROR: A failure occurred in build().  Aborting... receiving incremental file list sqlc-1.15.0-1-riscv64-build.log sqlc-1.15.0-1-riscv64-pkgver.log sqlc-1.15.0-1-riscv64-prepare.log sent 81 bytes received 3,281 bytes 1,344.80 bytes/sec total size is 10,863 speedup is 3.23