tag 525593 + patch tag 534003 + patch tag 534030 + patch thanks Hi,
> scons: *** […] TypeError : cannot concatenate 'str' and 'list' objects
These bugs come from the behavior of _do_create_keywords() in
/usr/lib/scons/SCons/Action.py (line 332, scons 1.2.0-2). It interprets
this line from admin/generic.py
la_file = env.Action(build_la_file, string_la_file, ['BKSYS_VNUM',
'BKSYS_DESTDIR'])
by appending the list as a whole to another list. The correct usage
appears to be
la_file = env.Action(build_la_file, string_la_file, 'BKSYS_VNUM',
'BKSYS_DESTDIR')
As at least three packages are affected, it might be an alternative to
make scons accept this syntax; it seems to have been supported before,
after all.
Cheers,
--
Michael Schutte <[email protected]>
--- a/admin/generic.py 2009-07-11 16:25:14.000000000 +0200 +++ b/admin/generic.py 2009-07-11 16:25:30.000000000 +0200 @@ -492,7 +492,7 @@ def string_la_file(target, source, env): print "building '%s' from '%s'" % (target[0].name, source[0].name) - la_file = env.Action(build_la_file, string_la_file, ['BKSYS_VNUM', 'BKSYS_DESTDIR']) + la_file = env.Action(build_la_file, string_la_file, 'BKSYS_VNUM', 'BKSYS_DESTDIR') env['BUILDERS']['LaFile'] = env.Builder(action=la_file,suffix='.la',src_suffix=env['SHLIBSUFFIX']) ## Function for building shared libraries
signature.asc
Description: Digital signature

