Re: minimal.bkl + mingw error.

"M.Z." <[email protected]> Thu, 27 Nov 2008 18:40:59 +0100
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
I look inside bug tracker.
But I find only the ticket #230 with the same problem.

Then I try to modify mk.py and look why the line

assert conditions[cname].exprs == condexpr_list

fails.

If I make
bakefile -f mingw -DWX_PYTHON=0 minimal.bkl all works fine.

Why?

This is the log I take.
The lines marked mz>> are my lines.

C:\wxWidgets\2.8.9\build\bakefiles\wxpresets\sample>bakefile -f mingw 
-I.. minimal.bkl
mz>> conditions[cname].exprs:
mz>>  WX_DEBUG 1
mz>>  WX_PYTHON 0
mz>> condexpr_list:
mz>>  WX_DEBUG 1
mz>>  WX_PYTHON 0
mz>> assert:  False
Traceback (most recent call last):
   File "C:\Tools\Bakefile\src\bakefile.py", line 237, in <module>
     run(sys.argv[1:])
   File "C:\Tools\Bakefile\src\bakefile.py", line 204, in run
     read_ok = reader.read(args[0])
   File "c:\tools\bakefile\src\reader.py", line 1150, in read
     processFile(filename)
   File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
     __doProcess(file=filename)
   File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
     processNodes(m.children)
   File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
     h(e)
   File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
     if processFileIfExists(os.path.join(dir, file), justOnce):
   File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
     processFile(filename, onlyOnce)
   File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
     __doProcess(file=filename)
   File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
     processNodes(m.children)
   File "c:\tools\bakefile\src\reader.py", line 1071, in processNodes
     processNodes(e.children)
   File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
     h(e)
   File "c:\tools\bakefile\src\reader.py", line 943, in handleInclude
     if processFileIfExists(os.path.join(dir, file), justOnce):
   File "c:\tools\bakefile\src\reader.py", line 1112, in processFileIfExists
     processFile(filename, onlyOnce)
   File "c:\tools\bakefile\src\reader.py", line 1108, in processFile
     __doProcess(file=filename)
   File "c:\tools\bakefile\src\reader.py", line 1080, in __doProcess
     processNodes(m.children)
   File "c:\tools\bakefile\src\reader.py", line 1077, in processNodes
     h(e)
   File "c:\tools\bakefile\src\reader.py", line 171, in handleSet
     cond = mk.makeCondition(condstr)
   File "C:\Tools\Bakefile\src\mk.py", line 457, in makeCondition
     assert conditions[cname].exprs == condexpr_list
AssertionError
Error executing the script!




Vaclav Slavik ha scritto:
> On Thu, 2008-11-27 at 09:48 +0100, news.gmane.org wrote:
>> Where I mistake?
> 
> Only in not searching the bug tracker first.
> 
> Vaclav
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bakefile-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bakefile-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/