Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3318

panic: ubuntu1804 platform name changed on archlinuxarm

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 356

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            i@jingbei.li Jingbei Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: