[swift-dev] repl/test-repl-glibc.py Failure on Ubuntu

Ryan Lovelett swift-dev at ryan.lovelett.me
Thu Apr 14 08:47:40 CDT 2016

On Thu, Apr 14, 2016, at 09:17 AM, Joseph Bell via swift-dev wrote:
> Howdy,
> I've mentioned this once before and didn't get any feedback; I thought
> I'd give it one more shot.
> Has anyone out there tried building, from scratch, the Swift 3.0
> package on Ubuntu?  The compile, link, packaging steps all complete
> successfully, but then the repl/test-repl-glibc.py fails.  The failure
> is that the REPL doesn't interact (the underlying script is using
> pexpect to send/expect) properly:
> 2> import Glibc
> warning: <REPL>:1:1: warning: #line directive is deprecated, please
> use #sourceLocation instead
> #line 2 "repl.swift"
> ^~~~~
> #sourceLocation
> warning: repl.swift:3:1: warning: #line directive is deprecated,
> please use #sourceLocation instead
> #line
> ^~~~~
> #sourceLocation
> error: repl.swift:2:8: error: missing required module 'SwiftGlibc'
> import Glibc
> This is occurring on two separate Ubuntu 14.04 systems, one of which
> is a greenfield VM with all of the prerequisites/clang-3.6 installed.
> Stumped on this one and was just curious if anyone can reproduce.
I can also reproduce. I actually broght this up yesterday too (just on a
different list) [1]. I suggest you go vote for SR-1109 [2] which is the
bug report for this issue.
I think this is show stopper. Not for the REPL break but because it also
breaks the debugger on Linux as well.
Right now I'm trying to bisect the repos to see which commit(s?) might
have introduced this regression. Kate Stone mentioned that she thinks
this issue was introduced sometime after the 3-16 snapshot. I'm trying
to corroborate that.
[1] https://lists.swift.org/pipermail/swift-lldb-dev/Week-of-Mon-20160411/000106.html
[2] https://bugs.swift.org/browse/SR-1109
> Thanks,
> Joe
> ---
> http://dev.iachieved.it/iachievedit/
> @iachievedit
> _________________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160414/b9e4c1ac/attachment.html>

More information about the swift-dev mailing list