[Scons-users] Implicit dependency `None' not found

William Blevins wblevins001 at gmail.com
Sun Apr 3 11:58:30 EDT 2016


Continuation of last email:

I imagine that the issue is when context.env.AppendUnique(LIBS=[lib]) where
I expect lib=None.

>     libfile = check_sysconfig('get_config_var("LIBRARY")')
>     match = re.search('(python.*)\.(a|so|dylib)', libfile)
>     lib = None
>     if match:
>         lib = match.group(1)
>         context.env.AppendUnique(LIBS=[lib])
>
>

On Sun, Apr 3, 2016 at 4:45 PM, William Blevins <wblevins001 at gmail.com>
wrote:

> Based on the depth of the two None values, the missing dependency of the
> exe may be a library. The None at the '#' level isn't obvious to me, but I
> will review the attachments the first email and see if anything jumps at
> me. The stdout of a c-file which may be generated is a bit suspicious; is
> that file getting written correctly or am I just looking at some debug
> prints?
>
> On Sun, Apr 3, 2016 at 1:58 PM, Stefan Seefeld <stefan at seefeld.name>
> wrote:
>
>> William,
>>
>> thanks for the suggestion.
>>
>> On 03.04.2016 06:43, William Blevins wrote:
>> > Stefan,
>> >
>> > Have you tried looking at "--tree=prune" to figure out which file has
>> > the None dependency? Try it with "--dry-run" if the compile error is
>> > blocking the post process.
>>
>> I have added the '--tree=prune' option, which yields the attached
>> output. There are a few dependencies on 'None' listed there, but no more
>> details that would tell me why, or what 'None' actually means in that
>> context. That's unfortunately not helpful.
>>
>>
>> Thanks,
>>         Stefan
>>
>>
>> --
>>
>>       ...ich hab' noch einen Koffer in Berlin...
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160403/c7be7760/attachment-0001.html>


More information about the Scons-users mailing list