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

Swift language does not work in wsl #1341

Closed
GERMANOCARELLA opened this issue Nov 9, 2016 · 6 comments
Closed

Swift language does not work in wsl #1341

GERMANOCARELLA opened this issue Nov 9, 2016 · 6 comments

Comments

@GERMANOCARELLA
Copy link

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

  • A brief description
    I installed swift language downloaded from www.swift.org, for ubuntu 16.04.
    I installed clang and libicu-dev.
    So I ran
    swift

  • Expected results
    A swift shell

  • Actual results (with terminal output if applicable)
    Failed to run REPL process: a packet returned error: 8

  • Your Windows build number
    Last build

  • Steps / All commands required to reproduce the error from a brand new installation
    download from www.swift.org
    tar xzf swift-release.tar.gz
    cd swift-directory
    cp -R * /
    apt install clang libicu-dev
    swift

  • Strace of the failing command

  • Required packages and commands to install
    clang
    libicu-dev
    See our contributing instructions for assistance.

@AndyDeany
Copy link

AndyDeany commented Nov 10, 2016

You should probably be using the version of Swift for Ubuntu 14.04, as this is what Bash for Windows is based upon (you can check your version with lsb_release -a, but it should be 14.04). I still get the same issue with the correct version however.

Ignore me, it's 16.04, thanks @fpqc.

@GERMANOCARELLA
Copy link
Author

Hi,

Probably is because swift uses executable stack that is not supported in
wsl.

Il 10/11/2016 10:56, Andrew Dean ha scritto:

You should probably be using the version of Swift for Ubuntu 14.04, as
this is what Bash for Windows is based upon. I still get the same
issue with the correct version however.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1341 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDyKtb_zG1Cgu2-Rf81h-QisktsTZzVks5q8uprgaJpZM4KuA2e.

@fpqc
Copy link

fpqc commented Nov 10, 2016

@AndyDeany Nope, new official target is 16.04.

@AndyDeany
Copy link

@fpqc Really? How do I update?

@jackchammons
Copy link
Contributor

sudo do-release-upgrade

@jackchammons
Copy link
Contributor

Marking this Swift issue as a duplicate of #286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants