You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2022/05/13 07:07:00 UTC

[jira] [Created] (YUNIKORN-1209) SI build failed on arm64

Manikandan R created YUNIKORN-1209:
--------------------------------------

             Summary: SI build failed on arm64
                 Key: YUNIKORN-1209
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1209
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: scheduler-interface
            Reporter: Manikandan R
            Assignee: Manikandan R
             Fix For: 1.1.0


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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org