-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
705
Hi, I'm trying to build mongodb-tools on archlinuxarm (aarch64) with the PKGBUILD at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mongodb-tools.
However, the build process shows "panic: ubuntu1804 platform name changed".
==> Starting build()...
go: downloading github.com/craiggwilson/goke v0.0.0-20220110201909-adb8bfb05d58
go: downloading github.com/mattn/go-isatty v0.0.16
go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
go: downloading github.com/aws/aws-sdk-go v1.44.258
go: downloading golang.org/x/sys v0.8.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/jmespath/go-jmespath v0.4.0
START | build
panic: ubuntu1804 platform name changed
goroutine 1 [running]:
github.com/mongodb/mongo-tools/release/platform.DetectLocal()
github.com/mongodb/mongo-tools/release/platform/platform.go:127 +0x408
github.com/mongodb/mongo-tools/buildscript.getPlatform()
github.com/mongodb/mongo-tools/buildscript/build.go:237 +0xe4
github.com/mongodb/mongo-tools/buildscript.buildToolBinary(0x400016ce00, {0xaaaae51db11c, 0x8}, {0xaaaae51d9a15, 0x3})
github.com/mongodb/mongo-tools/buildscript/build.go:70 +0x54
github.com/mongodb/mongo-tools/buildscript.BuildTools(0xaaaae548ef08?)
github.com/mongodb/mongo-tools/buildscript/build.go:33 +0xcc
github.com/craiggwilson/goke/task.Run(0x400003c728?, {0x4000124010?, 0x400003c768?, 0xaaaae4fa72a0?})
github.com/craiggwilson/goke@v0.0.0-20220110201909-adb8bfb05d58/task/run.go:68 +0x4e8
main.main()
./build.go:31 +0x5c
exit status 2
==> ERROR: A failure occurred in build().
The full build log is available at https://github.com/arch4edu/cactus/actions/runs/5303734639/jobs/9599575303.
To reproduce this issue, please run `extra-aarch64-build – -- -A` on an aarch64 archlinuxarm.