[Scons-users] Not allowed to have 2 Configure with diff env??

Gary Oberbrunner garyo at oberbrunner.com
Mon May 6 15:17:52 EDT 2013


I'm not surprised. Configure contexts are a bit fragile. Please file a
bug.


On Mon, May 6, 2013 at 3:01 PM, Strand, Kyle J <kyle.strand at beckman.com>wrote:


> I see this as well.

>

> Minimal failing Sconstruct file:

>

> env = Environment()

> conf1 = Configure(env)

> env2 = Environment()

> conf2 = Configure(env2)

>

> Output:

>

> scons: ***

> File "C:\TSconsDir\scbug\SConstruct", line 4, in <module>

> ________________________________

> Kyle Strand, Software Intern

> Beckman Coulter, Inc., Life Sciences Division

> 4862 Innovation Drive, Fort Collins, Colorado, 80525

> (970) 204-7036

>

> ________________________________________

> From: scons-users-bounces at scons.org [scons-users-bounces at scons.org] on

> behalf of Neal Becker [ndbecker2 at gmail.com]

> Sent: Monday, May 06, 2013 12:16 PM

> To: scons-users at scons.org

> Subject: [Scons-users] Not allowed to have 2 Configure with diff env??

>

> I see if I have 2 environments, and 2 statements

>

> conf = Configure (env)

>

> and

>

> conf2 = Configure (env2)

>

> scons just gives and error, with no message or traceback (which, BTW,

> sucks).

>

> If I get rid of the second Configure, it's OK.

>

> Is there such a restriction? If so, can we please document it? Is there a

> workaround?

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

> Please be advised that this email may contain confidential

> information. If you are not the intended recipient, please notify us

> by email by replying to the sender and delete this message. The

> sender disclaims that the content of this email constitutes an offer

> to enter into, or the acceptance of, any agreement; provided that the

> foregoing does not invalidate the binding effect of any digital or

> other electronic reproduction of a manual signature that is included

> in any attachment.

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>




--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130506/363da522/attachment.html>


More information about the Scons-users mailing list