[LLVMdev] LNT install

David Callahan dcallahan at fb.com
Tue Feb 3 14:09:50 PST 2015


Thanks for the reply Renato.

I modified lnt/lnt/__init__.py and that seemed to fix my problem.

‹david 

Index: lnt/__init__.py
===================================================================
--- lnt/__init__.py	(revision 227274)
+++ lnt/__init__.py	(working copy)
@@ -1,6 +1,6 @@
 __author__ = 'Daniel Dunbar'
 __email__ = 'daniel at zuster.org'
 __versioninfo__ = (0, 4, 1)
-__version__ = '.'.join(map(str, __versioninfo__)) + 'dev'
+__version__ = '.'.join(map(str, __versioninfo__)) + '.dev0'
 
 __all__ = []





On 1/30/15, 4:48 AM, "Renato Golin" <renato.golin at linaro.org> wrote:

>Hi David,
>
>That's weird, I have setup LNT in multiple different distros and have
>never seen this. Looks like no one ever tested on the system you're
>running. Can you share a bit more of your environment?
>
>Also, you can check the setup.py to see if it does any stripping of
>package names, which could go wrong in the wrong environment.
>
>cheers,
>--renato
>
>On 29 January 2015 at 20:13, David Callahan <dcallahan at fb.com> wrote:
>> I  followed the lnt quickstart directions but got this diagnostic when
>>doing
>> the setup:
>>
>>
>>
>> bash-3.2$   ~/mysandbox/bin/python ~/lnt/setup.py develop
>>
>> 
>>/Users/dcallahan/mysandbox/lib/python2.7/site-packages/setuptools/dist.py
>>:284:
>> UserWarning: The version spec\
>>
>> ified requires normalization, consider using '0.4.1.dev0' instead of
>> '0.4.1dev'.
>>
>> Š
>>
>>
>>
>>
>>
>> Subsequently I get this error: >
>>
>>
>>
>> /Users/dcallahan/mysandbox/bin/lnt runtest nt --sandbox
>> /Users/dcallahan/tmp/sand --cc /Users/dcallahan/bu\
>>
>> ild/Debug+Asserts/bin/clang --test-suite
>>/Users/dcallahan/llvm-test-suite
>>
>> error: installed distribution LNT 0.4.1.dev0 is not current (LNT
>>0.4.1dev),
>> you may need to reinstall
>>
>> LNT or rerun 'setup.py develop' if using development mode.
>>
>>
>>
>>
>>
>> Any pointers on what might be going wrong?
>>
>>
>>
>> Thanks
>>
>> david
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu
>>https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=ZVN
>>jlDMF0FElm4dQtryO4A%3D%3D%0A&r=8am7JZUn9ir%2BIPWQGSonqw%3D%3D%0A&m=K4sBmN
>>8qK6AAnK%2Fyf%2FrPilhX8g2JT0oG5yFvQ7d7RDs%3D%0A&s=ab809b944b3753b228053b1
>>5afc5e3e600a5950a3cad8cdba3bcb4bf05a82902
>> 
>>https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailm
>>an/listinfo/llvmdev&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=8am7JZUn9ir%2BIPW
>>QGSonqw%3D%3D%0A&m=K4sBmN8qK6AAnK%2Fyf%2FrPilhX8g2JT0oG5yFvQ7d7RDs%3D%0A&
>>s=c6201c691de06cb9c4dbbaf59aabf0cd24c1989d8abbb86401d27af1192b9c35
>>





More information about the llvm-dev mailing list