Coder Social home page Coder Social logo

Comments (6)

achuchev avatar achuchev commented on June 11, 2024

Same for me, but for Linux x64. I used the instruction for the JSS page.

VERSION="0.1.9"
ASSET_REF=$(echo "jsctl-$VERSION-$(uname -s)-$(uname -m)" | tr '[:upper:]' '[:lower:]')
ARCHIVE="$ASSET_REF.tar.gz"
curl -LO https://github.com/jetstack/jsctl/releases/download/v$VERSION/$ARCHIVE
tar -zxvf $ARCHIVE
sudo mv ./$ASSET_REF/jsctl /usr/local/bin/jsctl

It fails with

=$(echo "jsctl-$VERSION-$(uname -s)-$(uname -m)" | tr '[:upper:]' '[:lower:]')
ARCHIVE="$ASSET_REF.tar.gz"
curl -LO https://github.com/jetstack/jsctl/releases/download/v$VERSION/$ARCHIVE
tar -zxvf $ARCHIVE
sudo mv ./$ASSET_REF/jsctl /usr/local/bin/jsctl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9 100 9 0 0 40 0 --:--:-- --:--:-- --:--:-- 40

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot
stat './jsctl-0.1.9-linux-x86_64/jsctl': No such file or directory

The reason is the architecture. The script expect x86_64, but the artefacts are using the golang architecture name i.e., amd64 (e.g., jsctl-0.1.9-linux-arm64.tar.gz)

root@web:/home/alice# echo $ASSET_REF $ARCHIVE
jsctl-0.1.9-linux-x86_64 jsctl-0.1.9-linux-x86_64.tar.gz

image

image

from jsctl.

charlieegan3 avatar charlieegan3 commented on June 11, 2024

Sorry about this both, I hope to have addressed this in #44

from jsctl.

charlieegan3 avatar charlieegan3 commented on June 11, 2024

#44 featured in the https://github.com/jetstack/jsctl/releases/tag/v0.1.10 release, would an intel user be able to confirm that this has been addressed?

from jsctl.

achuchev avatar achuchev commented on June 11, 2024

@charlieegan3 I can confirm that it works on Intel x64 and macOS Apple silicon.

image

from jsctl.

amcginlay avatar amcginlay commented on June 11, 2024

I think this issue #51 is a variation of the same/similar problem.

from jsctl.

charlieegan3 avatar charlieegan3 commented on June 11, 2024

Closing in favour of #51

from jsctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.