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

Ryan Lovelett swift-dev at ryan.lovelett.me
Tue Apr 19 12:53:30 CDT 2016


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 proposed on Friday work for you?
I've built from master and created the symbolic links and restored
functionality to lldb and the REPL.
 
If that does work I think that gives me something to work towards for
fixing it permanently.
 
>
> Joe
>
>
> On Fri, Apr 15, 2016 at 10:13 PM, Ryan Lovelett <swift-
> dev at ryan.lovelett.me> wrote:
>> 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_64/glibc.modulemap which does not
>>  > exist. However, /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap
>>  > does exist.
>>
>> /usr/lib/swift/linux/x86_64/glibc.modulemap
>>
>>  >
>>  > Provided a symbolic link from
>>  > /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap to
>>  > /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap. Voila! It is
>>  > importing now.
>>
>>  Provided a symbolic link from
>>  /usr/lib/swift/linux/x86_64/glibc.modulemap to
>> /usr/lib/lldb/clang/linux/x86_64/glibc.modulemap. Voila! It is
>> importing now.
>>
>>  >
>>  > I'll start working on a patch in the morning (of course if someone
>>  > beats me to it I won't be mad; please). Just thought I'd update
>>  > those interested with a work around in the meantime.
>>
>> It is late. I'm clearly done for the day.
>
>
>
> --
> Joseph Bell
> http://dev.iachieved.it/iachievedit/
> @iachievedit
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-lldb-dev/attachments/20160419/1e2ed100/attachment.html>


More information about the swift-lldb-dev mailing list