-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

reassign 522414 csound
retitle 522414 clean rule broken: scons needs commonEnvironment defined
severity 522414 important
thanks

Hi,

The command "scons --clean" in the CSound package still fails with scons 
1.2.0, but now spits out a new error message:

scons: warning: The Options class is deprecated; use the Variables class 
instead.
File "/home/jonas/src/GITauth/collab-maint/csound/SConstruct", line 71, in 
<module>
NameError: name 'commonEnvironment' is not defined:
   File "/home/jonas/src/GITauth/collab-maint/csound/SConstruct", line 253:
     commandOptions.Update(commonEnvironment)

(I am unaware if warning and error above is related or not)

As tested earlier, it works if I apply the earlier proposed patch:

diff --git a/SConstruct b/SConstruct
- --- a/SConstruct
+++ b/SConstruct
@@ -249,7 +249,7 @@ commandOptions.Add('tclversion',
  # This section also sets up customized options for third-party libraries, 
which
  # should take priority over default options.
  
- -commonEnvironment = Environment(ENV = {'PATH' : os.environ['PATH']})
+commonEnvironment = Environment(ENV = os.environ)
  commandOptions.Update(commonEnvironment)
  
  def compilerIntel():


A quick test seems to indicate that ccache is no longer the only trigger 
of this: I suspect CSound is completely unable to compile with SCons 
1.2.0 until this is fixed!


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknXUgIACgkQn7DbMsAkQLgpSwCaAo7opQt8M1LnQ7mVnHEymjqv
aXMAoIgz2SUgMjoo6k1bL9Hk8OmPdooq
=A7pa
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to