[Scons-dev] howto debug configure

William Deegan bill at baddogconsulting.com
Thu Apr 3 13:40:24 EDT 2014


Pawel,

Likely you’re better off bringing such questions to the users mailing list.
The devel mailing list is meant to discuss the internal development of SCons.
I’m cc’ing that list.
I believe there is a config.log generated when you run the configure context.

Also, can you create a small reproducible test case for this?
That way we can try it out and see what’s going on.


-Bill

On April 3, 2014 at 2:13:01 AM, Paweł Tomulik (ptomulik at meil.pw.edu.pl) wrote:

> W dniu 06.09.2013 19:47, Neal Becker pisze:

> > I have a lot working, but not configure. I don't know how to debug it.

> >

> > even with --debug=stacktrace, the stack trace is not useful. I don't have

> > any idea where this error is coming from:

> >

> > file ,line 92:

> > Configure(confdir = .sconf_temp)

> > scons: Configure: Checking for C header file unuran.h...

> > .sconf_temp/conftest_0.c <-

> > |

> > |#include "unuran.h"

> > |

> > |

> > scons: Configure: Caught exception while building ".sconf_temp/conftest_0.c":

> >

> > Traceback (most recent call last):

> > File "/home/nbecker/scons-replaced-by-scons-

> > p3/bootstrap/src/engine/SCons/Job.py", line 201, in start

> > task.execute()

> > File "/home/nbecker/scons-replaced-by-scons-

> > p3/bootstrap/src/engine/SCons/SConf.py", line 352, in execute

> > raise e

> > TypeError: unicode argument expected, got 'str'

> >

> > _______________________________________________

> > Scons-dev mailing list

> > Scons-dev at scons.org

> > http://two.pairlist.net/mailman/listinfo/scons-dev

>

> Hi,

>

> I think, this is a bug in SCons. I've addressed it in BitBucket PR 126:

> https://bitbucket.org/scons/scons/pull-request/126/

>

> Best Regards!

>

> --

> Pawel Tomulik

>

> _______________________________________________

> Scons-dev mailing list

> Scons-dev at scons.org

> http://two.pairlist.net/mailman/listinfo/scons-dev

>




More information about the Scons-dev mailing list