[Scons-users] TryAction ('pkgconfig ..') and PRINT_CMD_LINE_FUNC => exception.

Jos De Laender jos at de-laender.be
Mon Dec 10 14:12:15 EST 2012


Hi Dirk,

This simple test code has *exactly* the same problem.
See the output attached.
Obviously it has something to see with unicode, but what/where/how I
have no clue .... It must be scons internals.
I am on LANG=nl_BE.UTF-8.
I tried setting LANG=C but at no help.

Weird, isn't it ?


Jos

OUTPUT @ my machine :

jos at debian:~/tmp_dirk/print_cmd_line_func_test$ scons
scons: Reading SConscript files ...
Checking for 'pkg-config' ...
no
FOOBAR :0
scons: done reading SConscript files.
scons: Building targets ...
Installing main.o
Installing main
scons: done building targets.
jos at debian:~/tmp_dirk/print_cmd_line_func_test$

OUTPUT @ my machine when just returning :

scons: Reading SConscript files ...
Checking for 'pkg-config' ...
yes
FOOBAR :1
scons: done reading SConscript files.
scons: Building targets ...
scons: done building targets.
jos at debian:~/tmp_dirk/print_cmd_line_func_test$

CONFIG LOG WHEN FAILING :

file /home/jos/tmp_dirk/print_cmd_line_func_test/SConstruct,line 45:
Configure(confdir = .sconf_temp)
Installing .sconf_temp/conftest_0scons: Configure: Caught exception
while building ".sconf_temp/conftest_0":

Traceback (most recent call last):
File "/usr/local/lib/scons-2.2.0/SCons/Job.py", line 201, in start
task.execute()
File "/usr/local/lib/scons-2.2.0/SCons/SConf.py", line 352, in execute
raise e
TypeError: can't write str to text stream
scons: Configure: no



Op 10-12-12 18:44, Dirk Bächle schreef:

> Hi Jos,

>

> On 10.12.2012 10:30, Jos De Laender wrote:

>> Dirk,

>>

>> First of all, thanks for doing the effort. Appreciated.

>> For sure I'm willing to share it, it follows.

>> [...]

>

> thanks a lot for the source code. Unfortunately, I'm not able to

> reproduce the error on my side. Attached you can find a small project

> that works fine for me...maybe you can try it out and see what's the

> difference to your version.

>

> Hope this helps you somehow...if you find out more and have further

> questions, just raise your finger again.

>

> Regards,

>

> Dirk

>

>

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

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



--
Jos De Laender
www.jodela.be



More information about the Scons-users mailing list