bugMyPaint - Bugs: bug #21228, Scons 2.3 error compiling

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #21228: Scons 2.3 error compiling

Submitted by:  Bakhtiar <tumagonx>
Submitted on:  Fri 25 Oct 2013 11:49:01 PM UTC  
 
Severity: 2 - MinorPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: Planned Release: None
Operating System: Windows

Sat 26 Oct 2013 12:26:34 PM UTC, comment #1:

probably unrelated to mypaint's sconstruct. This version doesn't seems respect tools=['mingw'] and assume msvc compiler.

Bakhtiar <tumagonx>
Project Administrator
Fri 25 Oct 2013 11:49:01 PM UTC, original submission:

Works well with Scons 2.1, but 2.3 throw:

scons: Reading SConscript files ...
building for 'python' (use scons python_binary=xxx to change)
using 'python-config' (use scons python_config=xxx to change)
Enabling i18n for brushlib in full application build
swig -Wall -o mypaintlib_wrap.cpp -noproxydel -python -c++ mypaintlib.i
rm -f _mypaintlib.so
AttributeError: 'str' object has no attribute 'attributes':
File "D:\Sources\mypaint\mypaint\SConstruct", line 204:
application = SConscript('./SConscript')
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 609:
return method(*args, **kw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 546:
return _SConscript(self.fs, files, *subst_kw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 260:
exec file in call_stack[-1].globals
File "D:\Sources\mypaint\mypaint\SConscript", line 10:
mypaintlib = SConscript('lib/SConscript')
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 609:
return method(*args, **kw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 546:
return _SConscript(self.fs, files, *subst_kw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Script\SConscript.py", line 260:
exec file in call_stack[-1].globals
File "D:\Sources\mypaint\mypaint\lib\SConscript", line 104:
module = build_py_module(env, '../_mypaintlib', Split(src), SHLIBPREFIX="")
File "D:\Sources\mypaint\mypaint\lib\SConscript", line 37:
return env.SharedLibrary(*args, **kwargs)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Environment.py", line 259:
return MethodWrapper.__call__(self, target, source, args, *kw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Environment.py", line 223:
return self.method(*nargs, **kwargs)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Builder.py", line 632:
return self._execute(env, target, source, OverrideWarner(kw), ekw)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Builder.py", line 553:
tlist, slist = self._create_nodes(env, target, source)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Builder.py", line 517:
target, source = self.emitter(target=tlist, source=slist, env=env)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Builder.py", line 343:
target, source = e(target, source, env)
File "X:\moluccas\opt\python\scons-2.3.0\SCons\Tool\link.py", line 72:
tgt.attributes.shared = 1

Bakhtiar <tumagonx>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tumagonx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup