>>> nsq: Building testing/nsq 1.2.1-r7 (using abuild 3.10.0-r0) started Thu, 06 Apr 2023 19:56:50 +0000 >>> nsq: Checking sanity of /home/buildozer/aports/testing/nsq/APKBUILD... >>> nsq: Analyzing dependencies... >>> nsq: Installing for build: build-base go (1/2) Installing go (1.20.3-r0) (2/2) Installing .makedepends-nsq (20230406.195652) Executing busybox-1.36.0-r5.trigger OK: 565 MiB in 103 packages >>> nsq: Cleaning up srcdir >>> nsq: Cleaning up pkgdir >>> nsq: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nsq-1.2.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1235k 100 1235k 0 0 9170k 0 --:--:-- --:--:-- --:--:-- 9222k >>> nsq: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nsq-1.2.1.tar.gz >>> nsq: Checking sha512sums... nsq-1.2.1.tar.gz: OK no-fmt.patch: OK more-test-procs.patch: OK >>> nsq: Unpacking /var/cache/distfiles/edge/nsq-1.2.1.tar.gz... >>> nsq: no-fmt.patch patching file test.sh >>> nsq: more-test-procs.patch patching file test.sh go build -o build/nsqd ./apps/nsqd go build -o build/nsqlookupd ./apps/nsqlookupd go build -o build/nsqadmin ./apps/nsqadmin go build -o build/nsq_to_nsq ./apps/nsq_to_nsq go build -o build/nsq_to_file ./apps/nsq_to_file go build -o build/nsq_to_http ./apps/nsq_to_http go build -o build/nsq_tail ./apps/nsq_tail go build -o build/nsq_stat ./apps/nsq_stat go build -o build/to_nsq ./apps/to_nsq ? github.com/nsqio/nsq/apps/nsq_stat [no test files] ? github.com/nsqio/nsq/apps/nsq_tail [no test files] ? github.com/nsqio/nsq/apps/nsq_to_file [no test files] ? github.com/nsqio/nsq/apps/nsq_to_nsq [no test files] ok github.com/nsqio/nsq/apps/nsq_to_http 0.005s ok github.com/nsqio/nsq/apps/nsqadmin 0.004s ok github.com/nsqio/nsq/apps/nsqd 0.007s ? github.com/nsqio/nsq/apps/to_nsq [no test files] ? github.com/nsqio/nsq/bench/bench_channels [no test files] ? github.com/nsqio/nsq/bench/bench_reader [no test files] ok github.com/nsqio/nsq/apps/nsqlookupd 0.007s ? github.com/nsqio/nsq/bench/bench_writer [no test files] ? github.com/nsqio/nsq/internal/app [no test files] ? github.com/nsqio/nsq/internal/auth [no test files] ? github.com/nsqio/nsq/internal/dirlock [no test files] ? github.com/nsqio/nsq/internal/http_api [no test files] ok github.com/nsqio/nsq/internal/clusterinfo 0.005s ok github.com/nsqio/nsq/internal/lg 0.005s ok github.com/nsqio/nsq/internal/pqueue 0.004s ? github.com/nsqio/nsq/internal/quantile [no test files] ? github.com/nsqio/nsq/internal/statsd [no test files] ok github.com/nsqio/nsq/internal/protocol 0.004s [no tests to run] ? github.com/nsqio/nsq/internal/test [no test files] ok github.com/nsqio/nsq/internal/stringy 0.004s ? github.com/nsqio/nsq/internal/version [no test files] ? github.com/nsqio/nsq/internal/writers [no test files] ok github.com/nsqio/nsq/internal/util 0.004s ok github.com/nsqio/nsq/nsqadmin 4.938s ok github.com/nsqio/nsq/nsqd 5.319s ok github.com/nsqio/nsq/nsqlookupd 1.889s building apps/nsq_stat building apps/nsq_tail building apps/nsq_to_file building apps/nsq_to_http building apps/nsq_to_nsq building apps/nsqadmin building apps/nsqd building apps/nsqlookupd building apps/to_nsq building bench/bench_channels building bench/bench_reader building bench/bench_writer diff internal/dirlock/dirlock_windows.go.orig internal/dirlock/dirlock_windows.go --- internal/dirlock/dirlock_windows.go.orig +++ internal/dirlock/dirlock_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package dirlock diff internal/dirlock/dirlock.go.orig internal/dirlock/dirlock.go --- internal/dirlock/dirlock.go.orig +++ internal/dirlock/dirlock.go @@ -1,3 +1,4 @@ +//go:build !windows && !illumos // +build !windows,!illumos package dirlock diff internal/dirlock/dirlock_illumos.go.orig internal/dirlock/dirlock_illumos.go --- internal/dirlock/dirlock_illumos.go.orig +++ internal/dirlock/dirlock_illumos.go @@ -1,3 +1,4 @@ +//go:build illumos // +build illumos package dirlock diff nsqd/channel.go.orig nsqd/channel.go --- nsqd/channel.go.orig +++ nsqd/channel.go @@ -363,8 +363,8 @@ // // `timeoutMs` == 0 - requeue a message immediately // `timeoutMs` > 0 - asynchronously wait for the specified timeout -// and requeue a message (aka "deferred requeue") -// +// +// and requeue a message (aka "deferred requeue") func (c *Channel) RequeueMessage(clientID int64, id MessageID, timeout time.Duration) error { // remove from inflight first msg, err := c.popInFlightMessage(clientID, id) diff nsqd/dqname.go.orig nsqd/dqname.go --- nsqd/dqname.go.orig +++ nsqd/dqname.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package nsqd diff nsqd/nsqd.go.orig nsqd/nsqd.go --- nsqd/nsqd.go.orig +++ nsqd/nsqd.go @@ -577,8 +577,7 @@ // resizePool adjusts the size of the pool of queueScanWorker goroutines // -// 1 <= pool <= min(num * 0.25, QueueScanWorkerPoolMax) -// +// 1 <= pool <= min(num * 0.25, QueueScanWorkerPoolMax) func (n *NSQD) resizePool(num int, workCh chan *Channel, responseCh chan bool, closeCh chan int) { idealPoolSize := int(float64(num) * 0.25) if idealPoolSize < 1 { diff nsqd/message.go.orig nsqd/message.go --- nsqd/message.go.orig +++ nsqd/message.go @@ -70,10 +70,11 @@ // | (int64) || || (hex string encoded in ASCII) || (binary) // | 8-byte || || 16-byte || N-byte // ------------------------------------------------------------------------------------------... -// nanosecond timestamp ^^ message ID message body -// (uint16) -// 2-byte -// attempts +// +// nanosecond timestamp ^^ message ID message body +// (uint16) +// 2-byte +// attempts func decodeMessage(b []byte) (*Message, error) { var msg Message diff nsqd/dqname_windows.go.orig nsqd/dqname_windows.go --- nsqd/dqname_windows.go.orig +++ nsqd/dqname_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package nsqd >>> nsq: Entering fakeroot... >>> nsq*: Running postcheck for nsq >>> nsq*: Preparing package nsq... >>> nsq*: Stripping binaries >>> nsq*: Scanning shared objects >>> nsq*: Tracing dependencies... go so:libc.musl-x86_64.so.1 >>> nsq*: Package size: 56.6 MB >>> nsq*: Compressing data... >>> nsq*: Create checksum... >>> nsq*: Create nsq-1.2.1-r7.apk >>> nsq: Build complete at Thu, 06 Apr 2023 19:57:42 +0000 elapsed time 0h 0m 52s >>> nsq: Cleaning up srcdir >>> nsq: Cleaning up pkgdir >>> nsq: Uninstalling dependencies... (1/2) Purging .makedepends-nsq (20230406.195652) (2/2) Purging go (1.20.3-r0) Executing busybox-1.36.0-r5.trigger OK: 395 MiB in 101 packages >>> nsq: Updating the testing/x86_64 repository index... >>> nsq: Signing the index...