Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Wrote: /builddir/build/SRPMS/icingadb-1.1.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nHgGuz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf icingadb-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/icingadb-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd icingadb-1.1.1 + /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.sM2vgW + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + sed -i -e 's|1.18$|1.21|' go.mod + go mod download github.com/onsi/ginkgo + go build -trimpath -o . ./cmd/... go: downloading github.com/go-redis/redis/v8 v8.11.5 go: downloading github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd go: downloading github.com/pkg/errors v0.9.1 go: downloading go.uber.org/zap v1.25.0 go: downloading golang.org/x/sync v0.3.0 go: downloading github.com/creasty/defaults v1.7.0 go: downloading github.com/goccy/go-yaml v1.11.0 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading github.com/mattn/go-sqlite3 v1.14.17 go: downloading github.com/vbauerster/mpb/v6 v6.0.4 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/ssgreg/journald v1.0.0 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/lib/pq v1.10.9 go: downloading golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 go: downloading golang.org/x/sys v0.6.0 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading go.uber.org/multierr v1.10.0 go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.12 go: downloading github.com/rivo/uniseg v0.2.0 go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/mattn/go-isatty v0.0.16 go: downloading github.com/mattn/go-colorable v0.1.13 # github.com/icinga/icingadb/pkg/version pkg/version/version.go:55:53: error: reference to undefined field or method 'Settings' 55 | for _, setting := range info.Settings { | ^ pkg/version/version.go:55:53: error: reference to undefined field or method 'Settings' pkg/version/version.go:55:25: error: range clause must have array, slice, string, map, or channel type 55 | for _, setting := range info.Settings { | ^ pkg/version/version.go:55:29: error: invalid type for range clause 55 | for _, setting := range info.Settings { | ^ note: module requires Go 1.21 # golang.org/x/sys/unix ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall.go:83:30: error: reference to undefined identifier 'unsafe.Slice' 83 | return string(unsafe.Slice(p, n)) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:1018:41: error: reference to undefined identifier 'unsafe.Slice' 1018 | sa.Name = string(unsafe.Slice((*byte)(unsafe.Pointer(&pp.Path[0])), n)) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:2289:23: error: reference to undefined identifier 'unsafe.Slice' 2289 | return unsafe.Slice((*byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type))+4)), n) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_unix.go:118:21: error: reference to undefined identifier 'unsafe.Slice' 118 | b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/sysvshm_unix.go:33:21: error: reference to undefined identifier 'unsafe.Slice' 33 | b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz)) | ^ note: module requires Go 1.17 # github.com/icinga/icingadb/pkg/com pkg/com/atomic.go:6:15: error: expected ']' 6 | type Atomic[T any] struct { | ^ pkg/com/atomic.go:8:1: error: expected declaration 8 | } | ^ pkg/com/atomic.go:10:16: error: expected ')' 10 | func (a *Atomic[T]) Load() (_ T, ok bool) { | ^ pkg/com/atomic.go:10:16: error: expected function name pkg/com/atomic.go:10:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:11:42: error: expected declaration 11 | if v, ok := a.v.Load().(box[T]); ok { | ^ pkg/com/atomic.go:13:9: error: expected declaration 13 | } | ^ pkg/com/atomic.go:15:9: error: expected declaration 15 | return | ^ pkg/com/atomic.go:16:1: error: expected declaration 16 | } | ^ pkg/com/atomic.go:18:16: error: expected ')' 18 | func (a *Atomic[T]) Store(v T) { | ^ pkg/com/atomic.go:18:16: error: expected function name pkg/com/atomic.go:18:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:20:1: error: expected declaration 20 | } | ^ pkg/com/atomic.go:22:16: error: expected ')' 22 | func (a *Atomic[T]) Swap(new T) (old T, ok bool) { | ^ pkg/com/atomic.go:22:16: error: expected function name pkg/com/atomic.go:22:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:23:55: error: expected declaration 23 | if old, ok := a.v.Swap(box[T]{new}).(box[T]); ok { | ^ pkg/com/atomic.go:25:9: error: expected declaration 25 | } | ^ pkg/com/atomic.go:27:9: error: expected declaration 27 | return | ^ pkg/com/atomic.go:28:1: error: expected declaration 28 | } | ^ pkg/com/atomic.go:30:16: error: expected ')' 30 | func (a *Atomic[T]) CompareAndSwap(old, new T) (swapped bool) { | ^ pkg/com/atomic.go:30:16: error: expected function name pkg/com/atomic.go:30:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:32:1: error: expected declaration 32 | } | ^ pkg/com/atomic.go:36:12: error: expected ']' 36 | type box[T any] struct { | ^ pkg/com/atomic.go:38:1: error: expected declaration 38 | } | ^ pkg/com/bulker.go:15:29: error: expected ']' 15 | type BulkChunkSplitPolicy[T any] func(T) bool | ^ pkg/com/bulker.go:17:36: error: expected ']' 17 | type BulkChunkSplitPolicyFactory[T any] func() BulkChunkSplitPolicy[T] | ^ pkg/com/bulker.go:20:16: error: expected '(' 20 | func NeverSplit[T any]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:20:19: error: expected ']' 20 | func NeverSplit[T any]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:20:19: error: expected ';' or newline after top level declaration pkg/com/bulker.go:22:1: error: expected declaration 22 | } | ^ pkg/com/bulker.go:26:18: error: expected '(' 26 | func SplitOnDupId[T contracts.IDer]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:26:21: error: expected ']' 26 | func SplitOnDupId[T contracts.IDer]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:26:21: error: expected ';' or newline after top level declaration pkg/com/bulker.go:29:9: error: expected declaration 29 | return func(ider T) bool { | ^ pkg/com/bulker.go:32:17: error: expected declaration 32 | _, ok := seenIds[id] | ^ pkg/com/bulker.go:33:17: error: expected declaration 33 | if ok { | ^ pkg/com/bulker.go:34:54: error: expected ';' or newline after top level declaration 34 | seenIds = map[string]struct{}{id: {}} | ^ pkg/com/bulker.go:35:17: error: expected declaration 35 | } else { | ^ pkg/com/bulker.go:36:47: error: expected ';' or newline after top level declaration 36 | seenIds[id] = struct{}{} | ^ pkg/com/bulker.go:37:17: error: expected declaration 37 | } | ^ pkg/com/bulker.go:39:17: error: expected declaration 39 | return ok | ^ pkg/com/bulker.go:40:9: error: expected declaration 40 | } | ^ pkg/com/bulker.go:41:1: error: expected declaration 41 | } | ^ pkg/com/bulker.go:43:16: error: expected '(' 43 | func neverSplit[T any](T) bool { | ^ pkg/com/bulker.go:43:19: error: expected ']' 43 | func neverSplit[T any](T) bool { | ^ pkg/com/bulker.go:43:19: error: expected ';' or newline after top level declaration pkg/com/bulker.go:45:1: error: expected declaration 45 | } | ^ pkg/com/bulker.go:48:15: error: expected ']' 48 | type Bulker[T any] struct { | ^ pkg/com/bulker.go:50:9: error: expected declaration 50 | ctx context.Context | ^ pkg/com/bulker.go:51:9: error: expected declaration 51 | mu sync.Mutex | ^ pkg/com/bulker.go:52:1: error: expected declaration 52 | } | ^ pkg/com/bulker.go:55:15: error: expected '(' 55 | func NewBulker[T any]( | ^ pkg/com/bulker.go:55:18: error: expected ']' 55 | func NewBulker[T any]( | ^ pkg/com/bulker.go:55:18: error: expected ';' or newline after top level declaration pkg/com/bulker.go:64:9: error: expected declaration 64 | go b.run(ch, count, splitPolicyFactory) | ^ pkg/com/bulker.go:66:9: error: expected declaration 66 | return b | ^ pkg/com/bulker.go:67:1: error: expected declaration 67 | } | ^ pkg/com/bulker.go:70:16: error: expected ')' 70 | func (b *Bulker[T]) Bulk() <-chan []T { | ^ pkg/com/bulker.go:70:16: error: expected function name pkg/com/bulker.go:70:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:72:1: error: expected declaration 72 | } | ^ pkg/com/bulker.go:74:16: error: expected ')' 74 | func (b *Bulker[T]) run(ch <-chan T, count int, splitPolicyFactory BulkChunkSplitPolicyFactory[T]) { | ^ pkg/com/bulker.go:74:16: error: expected function name pkg/com/bulker.go:74:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:77:9: error: expected declaration 77 | bufCh := make(chan T, count) | ^ pkg/com/bulker.go:78:9: error: expected declaration 78 | splitPolicy := splitPolicyFactory() | ^ pkg/com/bulker.go:79:9: error: expected declaration 79 | g, ctx := errgroup.WithContext(b.ctx) | ^ pkg/com/bulker.go:81:9: error: expected declaration 81 | g.Go(func() error { | ^ pkg/com/bulker.go:84:17: error: expected declaration 84 | for { | ^ pkg/com/bulker.go:89:33: error: expected declaration 89 | } | ^ pkg/com/bulker.go:91:33: error: expected declaration 91 | bufCh <- v | ^ pkg/com/bulker.go:92:25: error: expected declaration 92 | case <-ctx.Done(): | ^ pkg/com/bulker.go:94:25: error: expected declaration 94 | } | ^ pkg/com/bulker.go:95:17: error: expected declaration 95 | } | ^ pkg/com/bulker.go:96:9: error: expected declaration 96 | }) | ^ pkg/com/bulker.go:98:9: error: expected declaration 98 | g.Go(func() error { | ^ pkg/com/bulker.go:99:36: error: expected declaration 99 | for done := false; !done; { | ^ pkg/com/bulker.go:99:43: error: expected declaration 99 | for done := false; !done; { | ^ pkg/com/bulker.go:101:25: error: expected declaration 101 | timeout := time.After(256 * time.Millisecond) | ^ pkg/com/bulker.go:103:25: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:103:44: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:103:71: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:108:49: error: expected declaration 108 | done = true | ^ pkg/com/bulker.go:110:49: error: expected declaration 110 | break | ^ pkg/com/bulker.go:111:41: error: expected declaration 111 | } | ^ pkg/com/bulker.go:113:41: error: expected declaration 113 | if splitPolicy(v) { | ^ pkg/com/bulker.go:116:57: error: expected declaration 116 | buf = make([]T, 0, count) | ^ pkg/com/bulker.go:117:49: error: expected declaration 117 | } | ^ pkg/com/bulker.go:119:49: error: expected declaration 119 | timeout = time.After(256 * time.Millisecond) | ^ pkg/com/bulker.go:120:41: error: expected declaration 120 | } | ^ pkg/com/bulker.go:122:41: error: expected declaration 122 | buf = append(buf, v) | ^ pkg/com/bulker.go:123:33: error: expected declaration 123 | case <-timeout: | ^ pkg/com/bulker.go:125:33: error: expected declaration 125 | case <-ctx.Done(): | ^ pkg/com/bulker.go:127:33: error: expected declaration 127 | } | ^ pkg/com/bulker.go:128:25: error: expected declaration 128 | } | ^ pkg/com/bulker.go:130:25: error: expected declaration 130 | if len(buf) > 0 { | ^ pkg/com/bulker.go:132:25: error: expected declaration 132 | } | ^ pkg/com/bulker.go:134:25: error: expected declaration 134 | splitPolicy = splitPolicyFactory() | ^ pkg/com/bulker.go:135:17: error: expected declaration 135 | } | ^ pkg/com/bulker.go:137:17: error: expected declaration 137 | return nil | ^ pkg/com/bulker.go:138:9: error: expected declaration 138 | }) | ^ pkg/com/bulker.go:142:9: error: expected declaration 142 | _ = g.Wait() | ^ pkg/com/bulker.go:143:1: error: expected declaration 143 | } | ^ pkg/com/bulker.go:146:10: error: expected '(' 146 | func Bulk[T any]( | ^ pkg/com/bulker.go:146:13: error: expected ']' 146 | func Bulk[T any]( | ^ pkg/com/bulker.go:146:13: error: expected ';' or newline after top level declaration pkg/com/bulker.go:151:9: error: expected declaration 151 | } | ^ pkg/com/bulker.go:153:9: error: expected declaration 153 | return NewBulker(ctx, ch, count, splitPolicyFactory).Bulk() | ^ pkg/com/bulker.go:154:1: error: expected declaration 154 | } | ^ pkg/com/bulker.go:158:13: error: expected '(' 158 | func oneBulk[T any](ctx context.Context, ch <-chan T) <-chan []T { | ^ pkg/com/bulker.go:158:16: error: expected ']' 158 | func oneBulk[T any](ctx context.Context, ch <-chan T) <-chan []T { | ^ pkg/com/bulker.go:158:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:160:9: error: expected declaration 160 | go func() { | ^ pkg/com/bulker.go:163:17: error: expected declaration 163 | for { | ^ pkg/com/bulker.go:168:33: error: expected declaration 168 | } | ^ pkg/com/bulker.go:170:33: error: expected declaration 170 | select { | ^ pkg/com/bulker.go:171:54: error: expected ';' or newline after top level declaration 171 | case out <- []T{item}: | ^ pkg/com/bulker.go:174:33: error: expected declaration 174 | } | ^ pkg/com/bulker.go:175:25: error: expected declaration 175 | case <-ctx.Done(): | ^ pkg/com/bulker.go:177:25: error: expected declaration 177 | } | ^ pkg/com/bulker.go:178:17: error: expected declaration 178 | } | ^ pkg/com/bulker.go:179:9: error: expected declaration 179 | }() | ^ pkg/com/bulker.go:181:9: error: expected declaration 181 | return out | ^ pkg/com/bulker.go:182:1: error: expected declaration 182 | } | ^ note: module requires Go 1.21 # go.uber.org/multierr ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:224:20: error: reference to undefined identifier 'atomic.Bool' 224 | copyNeeded atomic.Bool | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:265:9: error: range clause must have array, slice, string, map, or channel type 265 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:277:9: error: range clause must have array, slice, string, map, or channel type 277 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:368:32: error: incompatible type for return value 1 (type has no methods) 368 | return &multiError{errors: out} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:385:16: error: incompatible type for return value 1 (type has no methods) 385 | return &multiError{errors: nonNilErrs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:454:44: error: reference to undefined name 'errors' 454 | return &multiError{errors: errs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:454:32: error: incompatible type for return value 1 (type has no methods) 454 | return &multiError{errors: errs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:457:44: error: reference to undefined name 'errors' 457 | return &multiError{errors: []error{left, right}} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:457:32: error: incompatible type for return value 1 (type has no methods) 457 | return &multiError{errors: []error{left, right}} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:40:9: error: range clause must have array, slice, string, map, or channel type 40 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:53:9: error: range clause must have array, slice, string, map, or channel type 53 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:265:13: error: invalid type for range clause 265 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:277:13: error: invalid type for range clause 277 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:40:13: error: invalid type for range clause 40 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:53:13: error: invalid type for range clause 53 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:213:41: error: invalid use of '...' with non-slice/non-string 213 | return append(([]error)(nil), eg.Errors()...) | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:228:5: error: incompatible type in initialization (type has no methods) 228 | var _ errorGroup = (*multiError)(nil) | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:379:63: error: invalid use of '...' with non-slice/non-string 379 | nonNilErrs = append(nonNilErrs, nested.errors...) | ^ note: module requires Go 1.19 # go.uber.org/zap/internal/pool ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:34:13: error: expected ']' 34 | type Pool[T any] struct { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:36:1: error: expected declaration 36 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:9: error: expected '(' 40 | func New[T any](fn func() T) *Pool[T] { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:12: error: expected ']' 40 | func New[T any](fn func() T) *Pool[T] { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:12: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:45:25: error: expected declaration 45 | }, | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:46:18: error: expected ';' or newline after top level declaration 46 | }, | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:48:1: error: expected declaration 48 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected ')' 51 | func (p *Pool[T]) Get() T { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected function name ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:53:1: error: expected declaration 53 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected ')' 56 | func (p *Pool[T]) Put(x T) { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected function name ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:58:1: error: expected declaration 58 | } | ^ note: module requires Go 1.19 # golang.org/x/exp/constraints ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:13:9: error: invalid character 0x7e in input file 13 | ~int | ~int8 | ~int16 | ~int32 | ~int64 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:20:9: error: invalid character 0x7e in input file 20 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:27:9: error: expected signature or type name 27 | Signed | Unsigned | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:34:9: error: invalid character 0x7e in input file 34 | ~float32 | ~float64 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:41:9: error: invalid character 0x7e in input file 41 | ~complex64 | ~complex128 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:49:9: error: expected signature or type name 49 | Integer | Float | ~string | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:49:27: error: invalid character 0x7e in input file 49 | Integer | Float | ~string | ^ note: module requires Go 1.18 # github.com/icinga/icingadb/pkg/utils pkg/utils/utils.go:222:19: error: expected '(' 222 | func ChanFromSlice[T any](values []T) <-chan T { | ^ pkg/utils/utils.go:222:22: error: expected ']' 222 | func ChanFromSlice[T any](values []T) <-chan T { | ^ pkg/utils/utils.go:222:22: error: expected ';' or newline after top level declaration pkg/utils/utils.go:224:9: error: expected declaration 224 | for _, value := range values { | ^ pkg/utils/utils.go:226:9: error: expected declaration 226 | } | ^ pkg/utils/utils.go:228:9: error: expected declaration 228 | close(ch) | ^ pkg/utils/utils.go:230:9: error: expected declaration 230 | return ch | ^ pkg/utils/utils.go:231:1: error: expected declaration 231 | } | ^ note: module requires Go 1.21 # github.com/mattn/go-sqlite3 ../../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.14.17/sqlite3_opt_serialize.go:41:75: error: reference to undefined identifier 'math.MaxInt' 41 | if sz > C.sqlite3_int64(math.MaxInt) { | ^ error: Bad exit status from /var/tmp/rpm-tmp.sM2vgW (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sM2vgW (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define \'"\'"\'__spec_check_template exit 0; \'"\'"\' /builddir/build/originals/icingadb.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '"'"'__spec_check_template exit 0; '"'"' /builddir/build/originals/icingadb.spec' Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Wrote: /builddir/build/SRPMS/icingadb-1.1.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OcKzrX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf icingadb-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/icingadb-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd icingadb-1.1.1 + /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.b3LO14 + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + sed -i -e 's|1.18$|1.21|' go.mod + go mod download github.com/onsi/ginkgo + go build -trimpath -o . ./cmd/... go: downloading github.com/creasty/defaults v1.7.0 go: downloading github.com/go-redis/redis/v8 v8.11.5 go: downloading github.com/goccy/go-yaml v1.11.0 go: downloading github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd go: downloading github.com/pkg/errors v0.9.1 go: downloading go.uber.org/zap v1.25.0 go: downloading golang.org/x/sync v0.3.0 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading github.com/mattn/go-sqlite3 v1.14.17 go: downloading github.com/vbauerster/mpb/v6 v6.0.4 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/ssgreg/journald v1.0.0 go: downloading github.com/lib/pq v1.10.9 go: downloading golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading golang.org/x/sys v0.6.0 go: downloading go.uber.org/multierr v1.10.0 go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.12 go: downloading github.com/rivo/uniseg v0.2.0 go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/mattn/go-isatty v0.0.16 # github.com/icinga/icingadb/pkg/version pkg/version/version.go:55:53: error: reference to undefined field or method 'Settings' 55 | for _, setting := range info.Settings { | ^ pkg/version/version.go:55:53: error: reference to undefined field or method 'Settings' pkg/version/version.go:55:25: error: range clause must have array, slice, string, map, or channel type 55 | for _, setting := range info.Settings { | ^ pkg/version/version.go:55:29: error: invalid type for range clause 55 | for _, setting := range info.Settings { | ^ note: module requires Go 1.21 # golang.org/x/sys/unix ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall.go:83:30: error: reference to undefined identifier 'unsafe.Slice' 83 | return string(unsafe.Slice(p, n)) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:1018:41: error: reference to undefined identifier 'unsafe.Slice' 1018 | sa.Name = string(unsafe.Slice((*byte)(unsafe.Pointer(&pp.Path[0])), n)) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:2289:23: error: reference to undefined identifier 'unsafe.Slice' 2289 | return unsafe.Slice((*byte)(unsafe.Pointer(uintptr(unsafe.Pointer(&fh.fileHandle.Type))+4)), n) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_unix.go:118:21: error: reference to undefined identifier 'unsafe.Slice' 118 | b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), length) | ^ ../../../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/sysvshm_unix.go:33:21: error: reference to undefined identifier 'unsafe.Slice' 33 | b := unsafe.Slice((*byte)(unsafe.Pointer(addr)), int(info.Segsz)) | ^ note: module requires Go 1.17 # github.com/icinga/icingadb/pkg/com pkg/com/atomic.go:6:15: error: expected ']' 6 | type Atomic[T any] struct { | ^ pkg/com/atomic.go:8:1: error: expected declaration 8 | } | ^ pkg/com/atomic.go:10:16: error: expected ')' 10 | func (a *Atomic[T]) Load() (_ T, ok bool) { | ^ pkg/com/atomic.go:10:16: error: expected function name pkg/com/atomic.go:10:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:11:42: error: expected declaration 11 | if v, ok := a.v.Load().(box[T]); ok { | ^ pkg/com/atomic.go:13:9: error: expected declaration 13 | } | ^ pkg/com/atomic.go:15:9: error: expected declaration 15 | return | ^ pkg/com/atomic.go:16:1: error: expected declaration 16 | } | ^ pkg/com/atomic.go:18:16: error: expected ')' 18 | func (a *Atomic[T]) Store(v T) { | ^ pkg/com/atomic.go:18:16: error: expected function name pkg/com/atomic.go:18:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:20:1: error: expected declaration 20 | } | ^ pkg/com/atomic.go:22:16: error: expected ')' 22 | func (a *Atomic[T]) Swap(new T) (old T, ok bool) { | ^ pkg/com/atomic.go:22:16: error: expected function name pkg/com/atomic.go:22:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:23:55: error: expected declaration 23 | if old, ok := a.v.Swap(box[T]{new}).(box[T]); ok { | ^ pkg/com/atomic.go:25:9: error: expected declaration 25 | } | ^ pkg/com/atomic.go:27:9: error: expected declaration 27 | return | ^ pkg/com/atomic.go:28:1: error: expected declaration 28 | } | ^ pkg/com/atomic.go:30:16: error: expected ')' 30 | func (a *Atomic[T]) CompareAndSwap(old, new T) (swapped bool) { | ^ pkg/com/atomic.go:30:16: error: expected function name pkg/com/atomic.go:30:16: error: expected ';' or newline after top level declaration pkg/com/atomic.go:32:1: error: expected declaration 32 | } | ^ pkg/com/atomic.go:36:12: error: expected ']' 36 | type box[T any] struct { | ^ pkg/com/atomic.go:38:1: error: expected declaration 38 | } | ^ pkg/com/bulker.go:15:29: error: expected ']' 15 | type BulkChunkSplitPolicy[T any] func(T) bool | ^ pkg/com/bulker.go:17:36: error: expected ']' 17 | type BulkChunkSplitPolicyFactory[T any] func() BulkChunkSplitPolicy[T] | ^ pkg/com/bulker.go:20:16: error: expected '(' 20 | func NeverSplit[T any]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:20:19: error: expected ']' 20 | func NeverSplit[T any]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:20:19: error: expected ';' or newline after top level declaration pkg/com/bulker.go:22:1: error: expected declaration 22 | } | ^ pkg/com/bulker.go:26:18: error: expected '(' 26 | func SplitOnDupId[T contracts.IDer]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:26:21: error: expected ']' 26 | func SplitOnDupId[T contracts.IDer]() BulkChunkSplitPolicy[T] { | ^ pkg/com/bulker.go:26:21: error: expected ';' or newline after top level declaration pkg/com/bulker.go:29:9: error: expected declaration 29 | return func(ider T) bool { | ^ pkg/com/bulker.go:32:17: error: expected declaration 32 | _, ok := seenIds[id] | ^ pkg/com/bulker.go:33:17: error: expected declaration 33 | if ok { | ^ pkg/com/bulker.go:34:54: error: expected ';' or newline after top level declaration 34 | seenIds = map[string]struct{}{id: {}} | ^ pkg/com/bulker.go:35:17: error: expected declaration 35 | } else { | ^ pkg/com/bulker.go:36:47: error: expected ';' or newline after top level declaration 36 | seenIds[id] = struct{}{} | ^ pkg/com/bulker.go:37:17: error: expected declaration 37 | } | ^ pkg/com/bulker.go:39:17: error: expected declaration 39 | return ok | ^ pkg/com/bulker.go:40:9: error: expected declaration 40 | } | ^ pkg/com/bulker.go:41:1: error: expected declaration 41 | } | ^ pkg/com/bulker.go:43:16: error: expected '(' 43 | func neverSplit[T any](T) bool { | ^ pkg/com/bulker.go:43:19: error: expected ']' 43 | func neverSplit[T any](T) bool { | ^ pkg/com/bulker.go:43:19: error: expected ';' or newline after top level declaration pkg/com/bulker.go:45:1: error: expected declaration 45 | } | ^ pkg/com/bulker.go:48:15: error: expected ']' 48 | type Bulker[T any] struct { | ^ pkg/com/bulker.go:50:9: error: expected declaration 50 | ctx context.Context | ^ pkg/com/bulker.go:51:9: error: expected declaration 51 | mu sync.Mutex | ^ pkg/com/bulker.go:52:1: error: expected declaration 52 | } | ^ pkg/com/bulker.go:55:15: error: expected '(' 55 | func NewBulker[T any]( | ^ pkg/com/bulker.go:55:18: error: expected ']' 55 | func NewBulker[T any]( | ^ pkg/com/bulker.go:55:18: error: expected ';' or newline after top level declaration pkg/com/bulker.go:64:9: error: expected declaration 64 | go b.run(ch, count, splitPolicyFactory) | ^ pkg/com/bulker.go:66:9: error: expected declaration 66 | return b | ^ pkg/com/bulker.go:67:1: error: expected declaration 67 | } | ^ pkg/com/bulker.go:70:16: error: expected ')' 70 | func (b *Bulker[T]) Bulk() <-chan []T { | ^ pkg/com/bulker.go:70:16: error: expected function name pkg/com/bulker.go:70:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:72:1: error: expected declaration 72 | } | ^ pkg/com/bulker.go:74:16: error: expected ')' 74 | func (b *Bulker[T]) run(ch <-chan T, count int, splitPolicyFactory BulkChunkSplitPolicyFactory[T]) { | ^ pkg/com/bulker.go:74:16: error: expected function name pkg/com/bulker.go:74:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:77:9: error: expected declaration 77 | bufCh := make(chan T, count) | ^ pkg/com/bulker.go:78:9: error: expected declaration 78 | splitPolicy := splitPolicyFactory() | ^ pkg/com/bulker.go:79:9: error: expected declaration 79 | g, ctx := errgroup.WithContext(b.ctx) | ^ pkg/com/bulker.go:81:9: error: expected declaration 81 | g.Go(func() error { | ^ pkg/com/bulker.go:84:17: error: expected declaration 84 | for { | ^ pkg/com/bulker.go:89:33: error: expected declaration 89 | } | ^ pkg/com/bulker.go:91:33: error: expected declaration 91 | bufCh <- v | ^ pkg/com/bulker.go:92:25: error: expected declaration 92 | case <-ctx.Done(): | ^ pkg/com/bulker.go:94:25: error: expected declaration 94 | } | ^ pkg/com/bulker.go:95:17: error: expected declaration 95 | } | ^ pkg/com/bulker.go:96:9: error: expected declaration 96 | }) | ^ pkg/com/bulker.go:98:9: error: expected declaration 98 | g.Go(func() error { | ^ pkg/com/bulker.go:99:36: error: expected declaration 99 | for done := false; !done; { | ^ pkg/com/bulker.go:99:43: error: expected declaration 99 | for done := false; !done; { | ^ pkg/com/bulker.go:101:25: error: expected declaration 101 | timeout := time.After(256 * time.Millisecond) | ^ pkg/com/bulker.go:103:25: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:103:44: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:103:71: error: expected declaration 103 | for drain := true; drain && len(buf) < count; { | ^ pkg/com/bulker.go:108:49: error: expected declaration 108 | done = true | ^ pkg/com/bulker.go:110:49: error: expected declaration 110 | break | ^ pkg/com/bulker.go:111:41: error: expected declaration 111 | } | ^ pkg/com/bulker.go:113:41: error: expected declaration 113 | if splitPolicy(v) { | ^ pkg/com/bulker.go:116:57: error: expected declaration 116 | buf = make([]T, 0, count) | ^ pkg/com/bulker.go:117:49: error: expected declaration 117 | } | ^ pkg/com/bulker.go:119:49: error: expected declaration 119 | timeout = time.After(256 * time.Millisecond) | ^ pkg/com/bulker.go:120:41: error: expected declaration 120 | } | ^ pkg/com/bulker.go:122:41: error: expected declaration 122 | buf = append(buf, v) | ^ pkg/com/bulker.go:123:33: error: expected declaration 123 | case <-timeout: | ^ pkg/com/bulker.go:125:33: error: expected declaration 125 | case <-ctx.Done(): | ^ pkg/com/bulker.go:127:33: error: expected declaration 127 | } | ^ pkg/com/bulker.go:128:25: error: expected declaration 128 | } | ^ pkg/com/bulker.go:130:25: error: expected declaration 130 | if len(buf) > 0 { | ^ pkg/com/bulker.go:132:25: error: expected declaration 132 | } | ^ pkg/com/bulker.go:134:25: error: expected declaration 134 | splitPolicy = splitPolicyFactory() | ^ pkg/com/bulker.go:135:17: error: expected declaration 135 | } | ^ pkg/com/bulker.go:137:17: error: expected declaration 137 | return nil | ^ pkg/com/bulker.go:138:9: error: expected declaration 138 | }) | ^ pkg/com/bulker.go:142:9: error: expected declaration 142 | _ = g.Wait() | ^ pkg/com/bulker.go:143:1: error: expected declaration 143 | } | ^ pkg/com/bulker.go:146:10: error: expected '(' 146 | func Bulk[T any]( | ^ pkg/com/bulker.go:146:13: error: expected ']' 146 | func Bulk[T any]( | ^ pkg/com/bulker.go:146:13: error: expected ';' or newline after top level declaration pkg/com/bulker.go:151:9: error: expected declaration 151 | } | ^ pkg/com/bulker.go:153:9: error: expected declaration 153 | return NewBulker(ctx, ch, count, splitPolicyFactory).Bulk() | ^ pkg/com/bulker.go:154:1: error: expected declaration 154 | } | ^ pkg/com/bulker.go:158:13: error: expected '(' 158 | func oneBulk[T any](ctx context.Context, ch <-chan T) <-chan []T { | ^ pkg/com/bulker.go:158:16: error: expected ']' 158 | func oneBulk[T any](ctx context.Context, ch <-chan T) <-chan []T { | ^ pkg/com/bulker.go:158:16: error: expected ';' or newline after top level declaration pkg/com/bulker.go:160:9: error: expected declaration 160 | go func() { | ^ pkg/com/bulker.go:163:17: error: expected declaration 163 | for { | ^ pkg/com/bulker.go:168:33: error: expected declaration 168 | } | ^ pkg/com/bulker.go:170:33: error: expected declaration 170 | select { | ^ pkg/com/bulker.go:171:54: error: expected ';' or newline after top level declaration 171 | case out <- []T{item}: | ^ pkg/com/bulker.go:174:33: error: expected declaration 174 | } | ^ pkg/com/bulker.go:175:25: error: expected declaration 175 | case <-ctx.Done(): | ^ pkg/com/bulker.go:177:25: error: expected declaration 177 | } | ^ pkg/com/bulker.go:178:17: error: expected declaration 178 | } | ^ pkg/com/bulker.go:179:9: error: expected declaration 179 | }() | ^ pkg/com/bulker.go:181:9: error: expected declaration 181 | return out | ^ pkg/com/bulker.go:182:1: error: expected declaration 182 | } | ^ note: module requires Go 1.21 # go.uber.org/multierr ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:224:20: error: reference to undefined identifier 'atomic.Bool' 224 | copyNeeded atomic.Bool | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:265:9: error: range clause must have array, slice, string, map, or channel type 265 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:277:9: error: range clause must have array, slice, string, map, or channel type 277 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:368:32: error: incompatible type for return value 1 (type has no methods) 368 | return &multiError{errors: out} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:385:16: error: incompatible type for return value 1 (type has no methods) 385 | return &multiError{errors: nonNilErrs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:454:44: error: reference to undefined name 'errors' 454 | return &multiError{errors: errs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:454:32: error: incompatible type for return value 1 (type has no methods) 454 | return &multiError{errors: errs} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:457:44: error: reference to undefined name 'errors' 457 | return &multiError{errors: []error{left, right}} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:457:32: error: incompatible type for return value 1 (type has no methods) 457 | return &multiError{errors: []error{left, right}} | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:40:9: error: range clause must have array, slice, string, map, or channel type 40 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:53:9: error: range clause must have array, slice, string, map, or channel type 53 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:265:13: error: invalid type for range clause 265 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:277:13: error: invalid type for range clause 277 | for _, item := range merr.errors { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:40:13: error: invalid type for range clause 40 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error_pre_go120.go:53:13: error: invalid type for range clause 53 | for _, err := range merr.Errors() { | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:213:41: error: invalid use of '...' with non-slice/non-string 213 | return append(([]error)(nil), eg.Errors()...) | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:228:5: error: incompatible type in initialization (type has no methods) 228 | var _ errorGroup = (*multiError)(nil) | ^ ../../../go/pkg/mod/go.uber.org/multierr@v1.10.0/error.go:379:63: error: invalid use of '...' with non-slice/non-string 379 | nonNilErrs = append(nonNilErrs, nested.errors...) | ^ note: module requires Go 1.19 # go.uber.org/zap/internal/pool ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:34:13: error: expected ']' 34 | type Pool[T any] struct { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:36:1: error: expected declaration 36 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:9: error: expected '(' 40 | func New[T any](fn func() T) *Pool[T] { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:12: error: expected ']' 40 | func New[T any](fn func() T) *Pool[T] { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:40:12: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:45:25: error: expected declaration 45 | }, | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:46:18: error: expected ';' or newline after top level declaration 46 | }, | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:48:1: error: expected declaration 48 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected ')' 51 | func (p *Pool[T]) Get() T { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected function name ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:51:14: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:53:1: error: expected declaration 53 | } | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected ')' 56 | func (p *Pool[T]) Put(x T) { | ^ ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected function name ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:56:14: error: expected ';' or newline after top level declaration ../../../go/pkg/mod/go.uber.org/zap@v1.25.0/internal/pool/pool.go:58:1: error: expected declaration 58 | } | ^ note: module requires Go 1.19 # golang.org/x/exp/constraints ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:13:9: error: invalid character 0x7e in input file 13 | ~int | ~int8 | ~int16 | ~int32 | ~int64 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:20:9: error: invalid character 0x7e in input file 20 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:27:9: error: expected signature or type name 27 | Signed | Unsigned | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:34:9: error: invalid character 0x7e in input file 34 | ~float32 | ~float64 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:41:9: error: invalid character 0x7e in input file 41 | ~complex64 | ~complex128 | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:49:9: error: expected signature or type name 49 | Integer | Float | ~string | ^ ../../../go/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/constraints/constraints.go:49:27: error: invalid character 0x7e in input file 49 | Integer | Float | ~string | ^ note: module requires Go 1.18 # github.com/icinga/icingadb/pkg/utils pkg/utils/utils.go:222:19: error: expected '(' 222 | func ChanFromSlice[T any](values []T) <-chan T { | ^ pkg/utils/utils.go:222:22: error: expected ']' 222 | func ChanFromSlice[T any](values []T) <-chan T { | ^ pkg/utils/utils.go:222:22: error: expected ';' or newline after top level declaration pkg/utils/utils.go:224:9: error: expected declaration 224 | for _, value := range values { | ^ pkg/utils/utils.go:226:9: error: expected declaration 226 | } | ^ pkg/utils/utils.go:228:9: error: expected declaration 228 | close(ch) | ^ pkg/utils/utils.go:230:9: error: expected declaration 230 | return ch | ^ pkg/utils/utils.go:231:1: error: expected declaration 231 | } | ^ note: module requires Go 1.21 # github.com/mattn/go-sqlite3 ../../../go/pkg/mod/github.com/mattn/go-sqlite3@v1.14.17/sqlite3_opt_serialize.go:41:75: error: reference to undefined identifier 'math.MaxInt' 41 | if sz > C.sqlite3_int64(math.MaxInt) { | ^ error: Bad exit status from /var/tmp/rpm-tmp.b3LO14 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.b3LO14 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define \'"\'"\'__spec_check_template exit 0; \'"\'"\' /builddir/build/originals/icingadb.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '"'"'__spec_check_template exit 0; '"'"' /builddir/build/originals/icingadb.spec' Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Wrote: /builddir/build/SRPMS/icingadb-1.1.1-1.el9.src.rpm Child return code was: 0 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Wrote: /builddir/build/SRPMS/icingadb-1.1.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.krb6my + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf icingadb-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/icingadb-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd icingadb-1.1.1 + /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.GAtuh5 + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + sed -i -e 's|1.18$|1.21|' go.mod + sed -i -e 's|1.14.17$|1.14.22|' go.mod + go mod download github.com/onsi/ginkgo + go build -trimpath -o . ./cmd/... go: downloading github.com/creasty/defaults v1.7.0 go: downloading github.com/goccy/go-yaml v1.11.0 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/vbauerster/mpb/v6 v6.0.4 go: downloading go.uber.org/zap v1.25.0 go: downloading golang.org/x/sync v0.3.0 go: downloading github.com/go-redis/redis/v8 v8.11.5 go: downloading github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/lib/pq v1.10.9 go: downloading github.com/ssgreg/journald v1.0.0 go: downloading github.com/google/uuid v1.3.0 go: downloading golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d go: downloading golang.org/x/sys v0.6.0 go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.12 go: downloading github.com/rivo/uniseg v0.2.0 go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading go.uber.org/multierr v1.10.0 go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/mattn/go-isatty v0.0.16 go: downloading github.com/mattn/go-colorable v0.1.13 cmd/icingadb-migrate/main.go:19:2: missing go.sum entry for module providing package github.com/mattn/go-sqlite3 (imported by github.com/icinga/icingadb/cmd/icingadb-migrate); to add: go get github.com/icinga/icingadb/cmd/icingadb-migrate error: Bad exit status from /var/tmp/rpm-tmp.GAtuh5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GAtuh5 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define \'"\'"\'__spec_check_template exit 0; \'"\'"\' /builddir/build/originals/icingadb.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '"'"'__spec_check_template exit 0; '"'"' /builddir/build/originals/icingadb.spec' Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.spec'], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Wrote: /builddir/build/SRPMS/icingadb-1.1.1-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.spec"], chrootPath='/var/lib/mock/alma+epel-9-x86_64/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=1001gid=1001user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/originals/icingadb.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1691452800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pqrdDd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf icingadb-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/icingadb-1.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd icingadb-1.1.1 + /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.X7Lnsu + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + sed -i -e 's|1.18$|1.21|' go.mod + sed -i -e 's|1.14.17$|1.14.22|' go.mod + go get github.com/icinga/icingadb/cmd/icingadb-migrate go: downloading github.com/creasty/defaults v1.7.0 go: downloading github.com/goccy/go-yaml v1.11.0 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading github.com/mattn/go-sqlite3 v1.14.22 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/vbauerster/mpb/v6 v6.0.4 go: downloading go.uber.org/zap v1.25.0 go: downloading golang.org/x/sync v0.3.0 go: downloading github.com/go-redis/redis/v8 v8.11.5 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/lib/pq v1.10.9 go: downloading github.com/ssgreg/journald v1.0.0 go: downloading github.com/google/uuid v1.3.0 go: downloading golang.org/x/exp v0.0.0-20220613132600-b0d781184e0d go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 go: downloading golang.org/x/sys v0.6.0 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/mattn/go-runewidth v0.0.12 go: downloading github.com/rivo/uniseg v0.2.0 go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading go.uber.org/multierr v1.10.0 go: downloading github.com/cespare/xxhash/v2 v2.1.2 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/mattn/go-isatty v0.0.16 + go mod download github.com/onsi/ginkgo + go build -trimpath -o . ./cmd/... go: downloading github.com/okzk/sdnotify v0.0.0-20180710141335-d9becc38acbd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dfunAc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64 + cd icingadb-1.1.1 + install -Dpm 0755 icingadb /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/sbin/icingadb + install -Dpm 0755 icingadb-migrate /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/sbin/icingadb-migrate + install -dm 0750 /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/etc/icingadb + install -pm 0640 config.example.yml /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/etc/icingadb/config.yml + install -Dpm 0644 /builddir/build/SOURCES/icingadb.service /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/lib/systemd/system/icingadb.service + install -dm 0755 /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb + cp -rv schema /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/ 'schema' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema' 'schema/mysql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql' 'schema/mysql/schema.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql/schema.sql' 'schema/mysql/upgrades' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql/upgrades' 'schema/mysql/upgrades/1.0.0-rc2.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql/upgrades/1.0.0-rc2.sql' 'schema/mysql/upgrades/1.0.0.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql/upgrades/1.0.0.sql' 'schema/mysql/upgrades/1.1.1.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/mysql/upgrades/1.1.1.sql' 'schema/pgsql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/pgsql' 'schema/pgsql/schema.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/pgsql/schema.sql' 'schema/pgsql/upgrades' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/pgsql/upgrades' 'schema/pgsql/upgrades/1.1.1.sql' -> '/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/icingadb/schema/pgsql/upgrades/1.1.1.sql' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: icingadb-1.1.1-1.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M0uhkY + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/doc/icingadb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/doc/icingadb + cp -pr README.md /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/doc/icingadb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VTmK8U + umask 022 + cd /builddir/build/BUILD + cd icingadb-1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/licenses/icingadb + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/licenses/icingadb + cp -pr LICENSE /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64/usr/share/licenses/icingadb + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/icingadb/config.yml Provides: config(icingadb) = 1.1.1-1.el9 icingadb = 1.1.1-1.el9 icingadb(x86-64) = 1.1.1-1.el9 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/icingadb-1.1.1-1.el9.x86_64 Wrote: /builddir/build/RPMS/icingadb-1.1.1-1.el9.x86_64.rpm Child return code was: 0