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: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: Planned Release: None
Operating System: Windows

Sun 20 Jul 2014 12:34:22 AM UTC, comment #2:

Hi - is this still happening under scons 2.3.1 or 2.3.2?

Sounds like a scons bug to me, but I'll make sure I keep on testing changes to the SCons*en with scons 2.1.0 (current Debian stable, where MyPaint builds but the GUI breaks due to old Gtk libs...)

-------------------

This bug tracker will shortly be moving to github. As part of this
process, we're reviewing old bug reports on gna.org. Please
respond so that we know this bug is still live.

https://github.com/mypaint/mypaint/issues for the mypaint app, or
https://github.com/mypaint/libmypaint/issues for its brushlib

Andrew Chadwick <achadwick>
Project Administrator
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 achadwick (Posted a comment)
  • -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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 20 Jul 2014 12:34:22 AM UTCachadwickStatusNone=>Need Info
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup