[Scons-users] Problems with ParseFlags()

William Blevins wblevins001 at gmail.com
Sun Mar 27 10:19:56 EDT 2016


Dirk,

I'm not sure that this is a bug. It may just be that the SCons User's Guide
is not specific about the assumptions of ParseConfig implementation.

It appears that SCons ParseConfig is expecting results from pkg-config in
the form given by "--cflags" and not "--libs" (at least in terms of rpath).
It may be that BOTH options are required based on the SCons User's Guide
examples, but we should really cross reference the code in
src/engine/SCons/Environment.py:do_parse against known gcc/g++ flags vs ld
flags to guarantee that this is a consistent assumption and update SCons
User's Guide documentation respectively.

V/R,
William

On Sun, Mar 27, 2016 at 3:01 PM, Dirk Bächle <tshortik at gmx.de> wrote:

> Hi there,
>
> On 26.03.2016 23:23, Fred Wright wrote:
>
>>
>> I recently had to track down the reason that attempts to build GPSD on
>> FreeBSD with ncurses enabled were crashing scons.  The trigger was the
>> pkg_config data that FreeBSD has for ncurses:
>>
>> ...
>>
>>
>>
> here are two links to discussions of this issue:
>
>   https://reviews.freebsd.org/D5129
>   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178732
>
> , which make me wonder whether SCons should bother about "-rpath" at all.
> I see that there might be room for improvement regarding the exception
> handling and error messaging for ParseFlags()*, but I don't see the missing
> "-rpath" option as a bug...it's simply not implemented. And for good
> reasons as it looks... ;)
>
>
> Best regards,
>
> Dirk
>
> * We should file a bug for this problem separately.
>
>
> _______________________________________________
> 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/20160327/bd70a311/attachment.html>


More information about the Scons-users mailing list