Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download Flutter 3.10.7 #33

Open
francescopedronomnys opened this issue Aug 23, 2023 · 1 comment
Open

Unable to download Flutter 3.10.7 #33

francescopedronomnys opened this issue Aug 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@francescopedronomnys
Copy link

francescopedronomnys commented Aug 23, 2023

Orb version:

Tried on 1.1.0, but I'm not expecting this to work on latest version.

What happened:

Flutter 3.10.7 is not installed using this orb.

Expected behavior:

Flutter 3.10.7 is correctly installed.

Additional Information:

Flutter 3.10.7 is release as an hotfix (see this page), and so is not available as an archived package to be downloaded from https://storage.googleapis.com.

Full output follows:

#!/bin/bash -eo pipefail
if [ ! -d ~/development/flutter ]; then
  mkdir -p ~/development
  if [ "$(uname)" == 'Darwin' ]; then
    curl -o flutter_sdk.zip https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.10.7-stable.zip
    unzip -qq flutter_sdk.zip -d ~/development
    rm flutter_sdk.zip
  elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then
    curl -o flutter_sdk.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.10.7-stable.tar.xz
    tar xf flutter_sdk.tar.xz -C ~/development
    rm -f flutter_sdk.tar.xz
  else
    echo "Your platform ($(uname -a)) is not supported."
    exit 1
  fi
fi
echo 'export PATH=~/development/flutter/bin:$PATH' >> $BASH_ENV

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   240  100   240    0     0   5853      0 --:--:-- --:--:-- --:--:--  5853
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Exited with code exit status 2
CircleCI received exit code 2
@francescopedronomnys francescopedronomnys added the bug Something isn't working label Aug 23, 2023
@b0ric
Copy link

b0ric commented Sep 30, 2023

Looking at the current version of src/scripts/install-sdk.sh, I don't even understand how it can work. There's no command to unzip / untar the flutter package to the $INSTALL_LOCATION

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants