Skip to content

Release golang-k8s-sigs-yaml version 1.2.0-3+apertis1

On a 32-bit system, math.MaxInt64 does not compile, causing the below failure

gopkg.in/yaml.v2
sigs.k8s.io/yaml
   dh_auto_test -O--buildsystem=golang
	cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 sigs.k8s.io/yaml
# sigs.k8s.io/yaml [sigs.k8s.io/yaml.test]
src/sigs.k8s.io/yaml/yaml_test.go:28:26: constant 9223372036854775807 overflows int
FAIL	sigs.k8s.io/yaml [build failed]
dh_auto_test: cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 sigs.k8s.io/yaml returned exit code 2
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Use int64(math.MaxInt64) instead of math.MaxInt64 to compile on 32 bit system.

Import Debian changes 1.2.0-3 which includes the above change.

Merge request reports