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

2016-04-19 Thread Ryan Lovelett via swift-dev
First I want to say wonderful help! Thank you. On Fri, Apr 15, 2016, at 06:01 PM, Jim Ingham wrote: > The REPL makes a swift compiler, in which it runs your code (obvious...) > So when you do "import " in the REPL, we need to load that > module into our swift compiler. In the lldb REPL that is ma

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

2016-04-19 Thread Ryan Lovelett via swift-dev
On Tue, Apr 19, 2016, at 11:00 AM, Joseph Bell wrote: > Hi all, > > Has anyone looked further at getting the REPL working again on the > master branch builds?  Or for that matter installed pexpect on the CI > server to properly fail the build? @Joe, Out of curiosity, did the work-around I propo

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

2016-04-19 Thread Mishal Shah via swift-dev
Hi Joseph, We are currently reviewing pexpect module with security team, once we have an approval I will install it on swift-ci system. Thanks, Mishal shah > On Apr 19, 2016, at 8:23 AM, Todd Fiala via swift-lldb-dev > wrote: > > Hi Joseph, > > I'll poke around at this today and see if I c

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

2016-04-19 Thread Todd Fiala via swift-dev
Hi Joseph, I'll poke around at this today and see if I can get this rolling forward (or at least figure out what we're waiting on). Thanks for your patience! -Todd On Tue, Apr 19, 2016 at 8:00 AM, Joseph Bell via swift-lldb-dev < swift-lldb-...@swift.org> wrote: > Hi all, > > Has anyone looked

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

2016-04-19 Thread Joseph Bell via swift-dev
Hi all, Has anyone looked further at getting the REPL working again on the master branch builds? Or for that matter installed pexpect on the CI server to properly fail the build? Joe On Fri, Apr 15, 2016 at 10:13 PM, Ryan Lovelett wrote: > Facepalm. > > On Fri, Apr 15, 2016, at 11:11 PM, Rya

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

2016-04-15 Thread Ryan Lovelett via swift-dev
Facepalm. On Fri, Apr 15, 2016, at 11:11 PM, Ryan Lovelett wrote: > Progress. Hat tip to William Dillon (@hpux735 on Twitter) for pointing > something out; `strace` > > Ran `strace` on the REPL while trying to import Glibc. Noticed that it > was looking for a file: /usr/lib/lldb/clang/linux/x86_6

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

2016-04-15 Thread Ryan Lovelett via swift-dev
Progress. Hat tip to William Dillon (@hpux735 on Twitter) for pointing something out; `strace` Ran `strace` on the REPL while trying to import Glibc. Noticed that it was looking for a file: /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap which does not exist. However, /usr/lib/lldb/clang/linux/x8

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

2016-04-15 Thread Jim Ingham via swift-dev
The REPL makes a swift compiler, in which it runs your code (obvious...) So when you do "import " in the REPL, we need to load that module into our swift compiler. In the lldb REPL that is managed in SwiftExpressionParser::PerformAutoImport. This will call lldb's SwiftASTContext::FindAndLoadM