:: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging-with-build-support] (i486)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-with-build-support-i486/root] -> [build]...done ==> Making package: png2svg 1.6.0-1.0 (Tue Oct 1 13:05:53 2024) ==> Retrieving sources... -> Updating png2svg git repo... ==> Validating source files with b2sums... png2svg ... Passed gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: png2svg 1.6.0-1.0 (Tue Oct 1 13:06:02 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for go: :: Repository core-staging 1) gcc-go :: Repository core 2) gcc-go Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (5) perl-error-0.17029-7.0 perl-mailtools-2.21-9.0 perl-timedate-2.33-7.0 gcc-go-14.2.1+r134+gab884fffe3fc-1.0 git-2.46.2-1.0 Total Installed Size: 147.04 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 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 gcc-go... :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Warn about old perl modules (5/5) Updating the info directory file... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of png2svg git repo... Cloning into 'png2svg'... done. Switched to a new branch 'makepkg' ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags github.com/russross/blackfriday/v2 github.com/cpuguy83/go-md2man/v2/md2man github.com/xrash/smetrics github.com/urfave/cli/v2 # github.com/urfave/cli/v2 ../../vendor/github.com/urfave/cli/v2/sliceflag.go:12:21: error: expected ‘]’ 12 | SliceFlag[T SliceFlagTarget[E], S ~[]E, E any] struct { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:12:43: error: invalid character 0x7e in input file 12 | SliceFlag[T SliceFlagTarget[E], S ~[]E, E any] struct { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:16:9: error: expected identifier 16 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:16:9: error: missing ‘)’ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:34:17: error: expected declaration 34 | SetDestination(slice []E) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:36:17: error: expected declaration 36 | GetDestination() []E | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:37:9: error: expected declaration 37 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:41:9: error: expected declaration 41 | MultiStringFlag = SliceFlag[*StringSliceFlag, []string, string] | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:45:9: error: expected declaration 45 | MultiFloat64Flag = SliceFlag[*Float64SliceFlag, []float64, float64] | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:49:9: error: expected declaration 49 | MultiInt64Flag = SliceFlag[*Int64SliceFlag, []int64, int64] | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:53:9: error: expected declaration 53 | MultiIntFlag = SliceFlag[*IntSliceFlag, []int, int] | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:55:9: error: expected declaration 55 | flagValueHook struct { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:57:17: error: expected declaration 57 | hook func() | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:58:9: error: expected declaration 58 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:59:1: error: expected declaration 59 | ) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:64:26: error: missing ‘)’ 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:64:56: error: expected ‘;’ or newline after top level declaration 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:65:9: error: expected declaration 65 | _ SliceFlagTarget[string] = (*SliceFlag[*StringSliceFlag, []string, string])(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:66:9: error: expected declaration 66 | _ SliceFlagTarget[string] = (*MultiStringFlag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:67:9: error: expected declaration 67 | _ SliceFlagTarget[float64] = (*MultiFloat64Flag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:68:9: error: expected declaration 68 | _ SliceFlagTarget[int64] = (*MultiInt64Flag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:69:9: error: expected declaration 69 | _ SliceFlagTarget[int] = (*MultiIntFlag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:71:9: error: expected declaration 71 | _ Generic = (*flagValueHook)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:72:9: error: expected declaration 72 | _ Serializer = (*flagValueHook)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:73:1: error: expected declaration 73 | ) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:75:19: error: expected ‘)’ 75 | func (x *SliceFlag[T, S, E]) Apply(set *flag.FlagSet) error { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:75:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:75:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:78:9: error: expected declaration 78 | destination := x.Destination | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:79:9: error: expected declaration 79 | if destination == nil { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:82:17: error: expected declaration 82 | return x.Target.Apply(set) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:83:9: error: expected declaration 83 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:85:9: error: expected declaration 85 | x.Target.SetDestination(x.convertSlice(*destination)) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:87:9: error: expected declaration 87 | return applyFlagValueHook(set, x.Target.Apply, func() { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:89:9: error: expected declaration 89 | }) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:90:1: error: expected declaration 90 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:92:19: error: expected ‘)’ 92 | func (x *SliceFlag[T, S, E]) convertSlice(slice S) []E { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:92:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:92:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:94:9: error: expected declaration 94 | copy(result, slice) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:95:9: error: expected declaration 95 | return result | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:96:1: error: expected declaration 96 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:98:19: error: expected ‘)’ 98 | func (x *SliceFlag[T, S, E]) SetValue(slice S) { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:98:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:98:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:100:1: error: expected declaration 100 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:102:19: error: expected ‘)’ 102 | func (x *SliceFlag[T, S, E]) SetDestination(slice S) { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:102:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:102:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:105:9: error: expected declaration 105 | } else { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:107:9: error: expected declaration 107 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:108:1: error: expected declaration 108 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:110:19: error: expected ‘)’ 110 | func (x *SliceFlag[T, S, E]) GetDestination() S { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:110:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:110:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:111:42: error: expected declaration 111 | if destination := x.Destination; destination != nil { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:113:9: error: expected declaration 113 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:114:9: error: expected declaration 114 | return nil | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:115:1: error: expected declaration 115 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:117:19: error: expected ‘)’ 117 | func (x *SliceFlag[T, S, E]) String() string { return x.Target.String() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:117:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:117:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:118:19: error: expected ‘)’ 118 | func (x *SliceFlag[T, S, E]) Names() []string { return x.Target.Names() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:118:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:118:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:119:19: error: expected ‘)’ 119 | func (x *SliceFlag[T, S, E]) IsSet() bool { return x.Target.IsSet() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:119:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:119:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:120:19: error: expected ‘)’ 120 | func (x *SliceFlag[T, S, E]) IsRequired() bool { return x.Target.IsRequired() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:120:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:120:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:121:19: error: expected ‘)’ 121 | func (x *SliceFlag[T, S, E]) TakesValue() bool { return x.Target.TakesValue() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:121:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:121:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:122:19: error: expected ‘)’ 122 | func (x *SliceFlag[T, S, E]) GetUsage() string { return x.Target.GetUsage() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:122:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:122:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:123:19: error: expected ‘)’ 123 | func (x *SliceFlag[T, S, E]) GetValue() string { return x.Target.GetValue() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:123:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:123:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:124:19: error: expected ‘)’ 124 | func (x *SliceFlag[T, S, E]) GetDefaultText() string { return x.Target.GetDefaultText() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:124:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:124:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:125:19: error: expected ‘)’ 125 | func (x *SliceFlag[T, S, E]) GetEnvVars() []string { return x.Target.GetEnvVars() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:125:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:125:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:126:19: error: expected ‘)’ 126 | func (x *SliceFlag[T, S, E]) IsVisible() bool { return x.Target.IsVisible() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:126:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:126:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:127:19: error: expected ‘)’ 127 | func (x *SliceFlag[T, S, E]) GetCategory() string { return x.Target.GetCategory() } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:127:19: error: expected function name ../../vendor/github.com/urfave/cli/v2/sliceflag.go:127:19: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:212:23: error: expected ‘(’ 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:212:26: error: expected ‘]’ 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:212:26: error: expected ‘;’ or newline after top level declaration ../../vendor/github.com/urfave/cli/v2/sliceflag.go:212:33: error: invalid character 0x7e in input file 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:215:9: error: expected declaration 215 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:216:9: error: expected declaration 216 | return factory(defaults...) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:217:1: error: expected declaration 217 | } | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:129:10: error: use of undefined type ‘flagValueHook’ 129 | func (x *flagValueHook) Set(value string) error { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:14:29: error: use of undefined type ‘S’ 14 | Value S | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:14:29: error: use of undefined type ‘S’ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:130:20: error: reference to field ‘value’ in object which has no fields or methods 130 | if err := x.value.Set(value); err != nil { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:133:10: error: reference to field ‘hook’ in object which has no fields or methods 133 | x.hook() | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:180:13: error: reference to field ‘value’ in object which has no fields or methods 180 | if x.value != nil { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:182:26: error: reference to field ‘value’ in object which has no fields or methods 182 | if s := x.value.String(); !isZeroValue(x.value, s) { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:182:57: error: reference to field ‘value’ in object which has no fields or methods 182 | if s := x.value.String(); !isZeroValue(x.value, s) { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:190:26: error: reference to field ‘value’ in object which has no fields or methods 190 | if value, ok := x.value.(Serializer); ok { | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:193:17: error: reference to field ‘String’ in object which has no fields or methods 193 | return x.String() | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:205:66: error: reference to undefined name ‘value’ 205 | tmp.VisitAll(func(f *flag.Flag) { set.Var(&flagValueHook{value: f.Value, hook: hook}, f.Name, f.Usage) }) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:226:22: error: reference to field ‘value’ in object which has no fields or methods 226 | v = h.value | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:64:11: error: use of undefined type ‘SliceFlagTarget’ 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ ../../vendor/github.com/urfave/cli/v2/sliceflag.go:205:51: error: argument 1 has incompatible type (type has no methods) 205 | tmp.VisitAll(func(f *flag.Flag) { set.Var(&flagValueHook{value: f.Value, hook: hook}, f.Name, f.Usage) }) | ^ (null):0: confused by earlier errors, bailing out github.com/lucasb-eyer/go-colorful github.com/peterhellberg/gfx github.com/xyproto/burnpal github.com/xyproto/palgen github.com/xyproto/tinysvg github.com/xyproto/png2svg ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-with-build-support-i486/build/build used straw: :with_build_support:without_check: build@euronuc-i486