Closed
Description
Description
Building with:
CGO_ENABLED=0 GOOS=linux GOARCH=arm go build
Results in:
# github.com/xuri/excelize/v2
Error: ../../../go/pkg/mod/github.com/xuri/excelize/v2@v2.9.1/file.go:214:47: math.MaxUint32 (untyped int constant 4294967295) overflows int
Error: ../../../go/pkg/mod/github.com/xuri/excelize/v2@v2.9.1/file.go:231:48: math.MaxUint32 (untyped int constant 4294967295) overflows int
Error: Process completed with exit code 1.
Steps to reproduce the issue
Building with:
CGO_ENABLED=0 GOOS=linux GOARCH=arm go build
Describe the results you received
Results in:
# github.com/xuri/excelize/v2
Error: ../../../go/pkg/mod/github.com/xuri/excelize/v2@v2.9.1/file.go:214:47: math.MaxUint32 (untyped int constant 4294967295) overflows int
Error: ../../../go/pkg/mod/github.com/xuri/excelize/v2@v2.9.1/file.go:231:48: math.MaxUint32 (untyped int constant 4294967295) overflows int
Error: Process completed with exit code 1.
Also check: https://github.com/Azure/azqr/actions/runs/15023313985/job/42217738830?pr=456
Describe the results you expected
Successful build
Go version
1.24.3
Excelize version or commit ID
v2.9.1
Environment
Linux Ubuntu
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.