Closed dkwo closed 3 months ago
Yeah, not having an actual build error is a bit of a problem to figure this one out.
Do you have a link to the full build log?
CC="cc" CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)" go install -v -tags "libsqlite3" ./...
github.com/lxc/incus/v6/internal/server/seccomp
# github.com/lxc/incus/v6/internal/server/seccomp
internal/server/seccomp/sysinfo_32.go:11:23: invalid operation: s.Bufferram / s.Unit (mismatched types uint64 and uint32)
internal/server/seccomp/sysinfo_32.go:12:21: invalid operation: s.Freeram / s.Unit (mismatched types uint64 and uint32)
internal/server/seccomp/sysinfo_32.go:13:22: invalid operation: s.Freeswap / s.Unit (mismatched types uint64 and uint32)
internal/server/seccomp/sysinfo_32.go:15:23: invalid operation: s.Sharedram / s.Unit (mismatched types uint64 and uint32)
internal/server/seccomp/sysinfo_32.go:16:22: invalid operation: s.Totalram / s.Unit (mismatched types uint64 and uint32)
internal/server/seccomp/sysinfo_32.go:17:23: invalid operation: s.Totalswap / s.Unit (mismatched types uint64 and uint32)
make: *** [Makefile:37: build] Error 1
thanks. the patch fixes the build error on 32 bit.
(the previous issue in 6.1 was fixed https://github.com/lxc/incus/issues/861) this time i do not get many info, see an excerpt here:
this happens when crosscompiling on void linux to i686, armv7l, armv6l https://github.com/void-linux/void-packages/pull/50251 (host is 64, target is 32)