[lldb-dev] [Bug 44864] New: lldb -python-path (with lldb installed using apt-get install lldb-9) returns an incorrect path

2020-02-10 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=44864

Bug ID: 44864
   Summary: lldb -python-path (with lldb installed using apt-get
install lldb-9) returns an incorrect path
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: pierre.vanhoutr...@arm.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

Hello,

I installed LLDB using "sudo apt-get install lldb-9" and "lldb-9 -python-path"
returns an incorrect path (does not exist). It returns
"/usr/lib/x86_64-linux-gnu/python3.6/site-packages".

Because of that issue, I was unable to use DExTer
(https://github.com/SNSystems/dexter) with that build of LLDB since it relies
on the output of "lldb -P" to find LLDB's Python package.

I tried building LLDB myself to see if the issue occured, but that build
correctly returns "/home/(current user)/lldb/lib/python2.7/dist-packages". (So
after adding my "build/bin" folder to my PATH, I was able to run DExTer)

This happened on my machine running Ubuntu 18.04.3 LTS. I also think that this
happens on pretty much any version of LLDB installed using apt-get.

Kind regards,
Pierre van Houtryve

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Moving lldbsuite API tests

2020-02-10 Thread Jordan Rupprecht via lldb-dev
Later today I'm planning to land D71151, which
moves lldb/packages/Python/lldbsuite/test to lldb/test/API, and removes
the lldb/test/API/testcases symlink. This is a large move, so I expect it
will cause conflict for many outstanding patches with lldb tests. However,
it should hopefully make testing the lldbsuite/test/api a little easier:
for example, you can now run "ninja check-lldb-api-lang" to run that
subdirectory of tests, which matches how ninja targets work for the rest of
llvm testing. (Note: "ninja check-lldb" still works without re-invoking
cmake, but you need to run cmake again to get all the sub targets). It also
removes the symlink, which confuses some tools, and makes file navigation
confusing.

I have verified no tests got lost in the move via:
(cd /path/to/src/llvm-build/tools/lldb/test && /usr/bin/python
/path/to/src/llvm-build/dev/./bin/llvm-lit -sv
/path/to/src/llvm-project/lldb/test/API --show-tests)
which shows no diffs before/after my patch


smime.p7s
Description: S/MIME Cryptographic Signature
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] Moving lldbsuite API tests

2020-02-10 Thread Jonas Devlieghere via lldb-dev
I'm very excited about this. Thank you for taking the time and effort
to make this happen!

On Mon, Feb 10, 2020 at 9:01 AM Jordan Rupprecht  wrote:
>
> Later today I'm planning to land D71151, which moves 
> lldb/packages/Python/lldbsuite/test to lldb/test/API, and removes the 
> lldb/test/API/testcases symlink. This is a large move, so I expect it will 
> cause conflict for many outstanding patches with lldb tests. However, it 
> should hopefully make testing the lldbsuite/test/api a little easier: for 
> example, you can now run "ninja check-lldb-api-lang" to run that subdirectory 
> of tests, which matches how ninja targets work for the rest of llvm testing. 
> (Note: "ninja check-lldb" still works without re-invoking cmake, but you need 
> to run cmake again to get all the sub targets). It also removes the symlink, 
> which confuses some tools, and makes file navigation confusing.
>
> I have verified no tests got lost in the move via:
> (cd /path/to/src/llvm-build/tools/lldb/test && /usr/bin/python 
> /path/to/src/llvm-build/dev/./bin/llvm-lit -sv 
> /path/to/src/llvm-project/lldb/test/API --show-tests)
> which shows no diffs before/after my patch
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] [llvm-dev] [cfe-dev] RFC: Switching from Bugzilla to Github Issues

2020-02-10 Thread Tom Stellard via lldb-dev
On 01/30/2020 12:47 PM, David Major wrote:
> Would it make sense to wait until 10.0.0 is released, in order to keep all 
> the blockers in one place?
> 

Yes, I think this makes sense, let's postpone until then.

-Tom

> 
> 
> On Thu, Jan 30, 2020 at 1:32 PM Tom Stellard via llvm-dev 
> mailto:llvm-...@lists.llvm.org>> wrote:
> 
> On 01/30/2020 10:24 AM, Aaron Ballman wrote:
> > On Thu, Jan 30, 2020 at 1:21 PM Tom Stellard via cfe-dev
> > mailto:cfe-...@lists.llvm.org>> wrote:
> >>
> >> On 10/24/2019 07:54 PM, James Y Knight via llvm-dev wrote:
> >>> We held a round-table at the llvm dev conference about what other 
> pieces of Github infrastructure we may want to use. This thread in particular 
> is about switching to github issue tracking. Use of other parts of Github 
> functionality was also discussed -- but that should be for other email 
> threads.
> >>>
> >>> Most of the ideas here were from other people. I /believe/ this 
> proposal represents the overall feeling of the folks at the round-table, in 
> spirit if not in exact details, but nobody else has reviewed this text, so I 
> can't make any specific such claim as to who the "we" represents, other than 
> myself. Just assume all the good ideas here were from others, and all the bad 
> parts I misremembered or invented.
> >>>
> >>>
> >>
> >> Hi,
> >>
> >> I want to restart this discussion.  There seemed to be support for 
> this,
> >> but we got held up trying to decide on the appropriate set of tags to
> >> use to classify issues.
> >>
> >> I propose that we move forward with this proposal and disable creation 
> of
> >> new bugs in bugzilla on Feb 11, and require all new bugs be filed via 
> GitHub
> >> issues from that date forward.
> >>
> >> I think that for choosing the tags to use, we should just take requests
> >> from the community over the next week and add whatever is asked for.  
> The main
> >> purpose of adding tags is so we can setup cc lists for bugs, so I 
> think this
> >> is a good way to ensure that we have tags people care about.  We can 
> always
> >> add more tags later if necessary.
> >>
> >> What does everyone think about this?
> >
> > What did we decide to do with all the existing issues in Bugzilla?
> >
> 
> This is undecided.  The first step of this  proposal only affects new 
> issues.
> Existing issues will remain in bugzilla and will be updated there too.  At
> some point in the future bugzilla will become read-only and/or the issues 
> will
> be migrated somewhere else, but no decision has been made about how to do 
> that yet.
> 
> -Tom
> 
> > ~Aaron
> >
> >>
> >> -Tom
> >>
> >>
> >>> Background
> >>> 
> >>> Our bugzilla installation is...not great. It's been not-great for a 
> long time now.
> >>>
> >>> Last year, I argued against switching to github issues. I was 
> somewhat optimistic that it was possible to improve our bugzilla in some 
> incremental ways...but we haven't. Additionally, the upstream bugzilla 
> project was supposed to make a new release of bugzilla ("harmony"), based on 
> bugzilla.mozilla.org  
> 's fork, which is much nicer. I thought we would 
> be able to upgrade to that. But there has been no such release, and not much 
> apparent progress towards such. I can't say with any confidence that there 
> will ever be. I no longer believe it really makes sense to continue using 
> bugzilla.
> >>>
> >>> This year, we again discussed switching. This time, nobody really 
> spoke up in opposition. So, this time, instead of debating /whether/ we 
> should switch, we discussed /how/ we should switch. And came up with a plan 
> to switch quickly.
> >>>
> >>> GitHub issues may not be perfect, but I see other similarly-large 
> projects using it quite successfully (e.g. rust-lang/rust) -- so I believe it 
> should be good for us, as well. Importantly, Github Issues is significantly 
> less user-hostile than our bugzilla is, for new contributors and downstream 
> developers who just want to tell us about bugs!
> >>>
> >>>
> >>> Proposal
> >>> 
> >>> We propose to enable Github issues for the llvm-project repository in 
> approximately two weeks from now, and instruct everyone to start filing new 
> issues there, rather than in bugzilla.
> >>>
> >>> Some things we'd like to get in place before turning on Github's 
> Issue tracker:
> >>> 1. Updated documentation.
> >>> 2. An initial set of issue tags we'd like to use for 
> triaging/categorizing issues.
> >>> 3. Maybe setup an initial issue template. Or maybe multiple 
> templates. Or maybe not.
> >>>
> >>> But more important are the things we do /not/ want to make 
> prerequisites for turning on Github issues:
> >>>
> >>> We do /not/ yet