[swift-users] Unusual REPL failure on Linux

Thomas Catterall me at swizzlr.co
Sat Dec 5 12:25:48 CST 2015


Update:

Works on a local VM, fails on most cloud VMs. Apparently there's a particular restricted flag that needs to be set. Looks like I won't need any more help on this, but thanks for all your input thus far!

https://github.com/swiftdocker/docker-swift/issues/9#issuecomment-162134824

Sent from my iPhone

> On 4 Dec 2015, at 21:41, Thomas Catterall <me at swizzlr.co> wrote:
> 
> Ubuntu 14.04 LTS, but the dockerized version so presumably missing deps.
> 
> Sent from my iPhone
> 
>> On 4 Dec 2015, at 18:06, Mish Awadah <mawadah at apple.com> wrote:
>> 
>> I haven’t seen this before. What version of Linux is being used? 
>> 
>> - mish
>> 
>>> On Dec 3, 2015, at 8:08 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>> 
>>>> On Thu, Dec 3, 2015 at 4:31 PM, swizzlr <me at swizzlr.co> wrote:
>>>> We’re trying to put Swift inside Docker, and it works for compilation, but crucially the REPL does not:
>>>> 
>>>> `error: failed to launch REPL process: process launch failed: 'A' packet returned an error: 8`
>>>> 
>>>> If anyone has any suspicions as to the origin of this error, please do let us know. We’re tracking the issue here: https://github.com/swiftdocker/docker-swift/issues/9
>>>> 
>>>> (I left work early for this. I am so very happy Swift is OSS now!)
>>> 
>>> 
>>> + Sean, Enrico, Mish -- have you seen this?
>>> 
>>> Dmitri
>>> 
>>> -- 
>>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
>>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151205/f8d886d7/attachment-0001.html>


More information about the swift-users mailing list