[Scons-dev] Help debugging
Paweł Tomulik
ptomulik at meil.pw.edu.pl
Wed Sep 16 17:17:00 EDT 2015
By the way,
do you use SHLIBVERSION or so? If not, then the current code is broken
also for non-versioned libraries, so maybe it could be good to merge
PR#247 which fixes this?
W dniu 16.09.2015 o 23:09, Paweł Tomulik pisze:
> Russel,
>
> if you can sacrify 1 minute, you may clone
> https://bitbucket.org/ptomulik/scons2 and see if it works for you
> (python ~/path/to/cloned/scons2/src/script/scons.py).
>
>
> Regards!
>
> W dniu 16.09.2015 o 21:32, William Blevins pisze:
>> Russel,
>>
>> I looked into this at one point. Please see some notes that I made
>> here: http://scons.tigris.org/issues/show_bug.cgi?id=3006
>>
>> I can give you a better idea of the code area if you would like to
>> investigate. I know Pawell is already reworking he SharedLibrary code.
>> It was not written well since flags were based on platform versus
>> tool: https://bitbucket.org/scons/scons/pull-requests/247/new-versioned-libraries-gnulink-and/diff
>>
>> V/R,
>> William
>>
>> On Wed, Sep 16, 2015 at 6:22 PM, Russel Winder <russel at winder.org.uk
>> <mailto:russel at winder.org.uk>> wrote:
>>
>> On Wed, 2015-09-16 at 07:03 -0400, Gary Oberbrunner wrote:
>> > --debug=explain might help, Russel.
>>
>> Aha, a strong RTFM moment their :-)
>>
>> OK so I do that and get:
>>
>> scons: rebuilding `processAll_library_d.so' because the contents of
>> the build action changed
>> action: SharedFlagChecker(target, source, env)
>> VersionedSharedLibrary(target, source, env)
>>
>> which leads to todays WTF moment! Absolutely nothing has changed on the
>> filestore or in the SConstruct file, so this must be in SCons itself,
>> most likely due to something in the D tool. Except that neither
>> SharedFlagChecker or VersionedSharedLibrary appear in any of the D-
>> related tools code.
>>
>> VersionedSharedLibrary is in __init__.py, so I guess I have to go
>> there…
>>
>> --
>> Russel.
>> =============================================================================
>> Dr Russel Winder t: +44 20 7585 2200
>> <tel:%2B44%2020%207585%202200> voip: sip:russel.winder at ekiga.net
>> <mailto:sip%3Arussel.winder at ekiga.net>
>> 41 Buckmaster Road m: +44 7770 465 077
>> <tel:%2B44%207770%20465%20077> xmpp: russel at winder.org.uk
>> <mailto:russel at winder.org.uk>
>> London SW11 1EN, UK w: www.russel.org.uk
>> <http://www.russel.org.uk> skype: russel_winder
>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org <mailto:Scons-dev at scons.org>
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>>
>>
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>
>
--
Pawel Tomulik
More information about the Scons-dev
mailing list