Details

    Description

      I got the following error on M1 chip Mac with arm64 arch.

      mani@mani-MBP16 incubator-yunikorn-scheduler-interface % make              

      /Library/Developer/CommandLineTools/usr/bin/make -C /Users/mani/codebase/yunikorn/incubator-yunikorn-scheduler-interface/ build

      cat scheduler-interface-spec.md | sed -n -e '/```protobuf$/,/```$/ p' | sed '/```/d' >> si.proto.tmp

      awk '{ if (length > 200) print NR, $0 }' si.proto.tmp | diff - /dev/null

      (diff si.proto.tmp si.proto > /dev/null 2>&1 || mv -f si.proto.tmp si.proto) && \

      rm -f si.proto.tmp

      test -d lib/go/common || mkdir -p lib/go/common

      cat scheduler-interface-spec.md | sed -n -e '/``constants$/,/```$/ p' | sed '/```/d' >> lib/go/common/constants.go.tmp

      (diff lib/go/common/constants.go.tmp lib/go/common/constants.go > /dev/null 2>&1 || mv -f lib/go/common/constants.go.tmp lib/go/common/constants.go) && \

      rm -f lib/go/common/constants.go.tmp

      test -d lib/go/api || mkdir -p lib/go/api

      cat scheduler-interface-spec.md | sed -n -e '/``golang$/,/```$/ p' | sed '/```/d' >> lib/go/api/interface.go.tmp

      (diff lib/go/api/interface.go.tmp lib/go/api/interface.go > /dev/null 2>&1 || mv -f lib/go/api/interface.go.tmp lib/go/api/interface.go) && \

      rm -f lib/go/api/interface.go.tmp

      /Library/Developer/CommandLineTools/usr/bin/make -C lib/go

      arm64

      mkdir -p protoc && \

      curl -L https://github.com/protocolbuffers/protobuf/releases/download/v3.16.0/protoc-3.16.0-osx-arm64.zip -o protoc/protoc-3.16.0-osx-arm64.zip && \

      unzip protoc/protoc-3.16.0-osx-arm64.zip -d protoc && \

      chmod 0755 protoc/bin/protoc

        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                       Dload  Upload   Total   Spent    Left  Speed

      100     9  100     9    0     0     15      0 -::- -::- -::-    15

      Archive:  protoc/protoc-3.16.0-osx-arm64.zip

        End-of-central-directory signature not found.  Either this file is not

        a zipfile, or it constitutes one disk of a multi-part archive.  In the

        latter case the central directory and zipfile comment will be found on

        the last disk(s) of this archive.

      unzip:  cannot find zipfile directory in one of protoc/protoc-3.16.0-osx-arm64.zip or

              protoc/protoc-3.16.0-osx-arm64.zip.zip, and cannot find protoc/protoc-3.16.0-osx-arm64.zip.ZIP, period.

      make[2]: *** [protoc/bin/protoc] Error 9

      make[1]: *** [build] Error 2

      make: *** [all] Error 2

      Attachments

        Issue Links

          Activity

            People

              mani Manikandan R
              mani Manikandan R
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: