[Scons-dev] howto debug configure

Paweł Tomulik ptomulik at meil.pw.edu.pl
Thu Apr 3 05:02:40 EDT 2014


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 <string>,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



More information about the Scons-dev mailing list